magnum/magnum
OTSUKA, Yuanying 08531c1702 Fix ironic template
This is workaround fix to support baremetal.
Following items are remained to support.
* Documents
* Functional test

To test this template, there are some requirements and problem as below.

Requirements:
* `ephemeral_disk` on ironic baremetal flavor
  `ephemeral_disk` is used for docker storage instead of cinder volume.

* `fixed_subnet` must be setup with dns_nameservers like following.
    * `neutron subnet-update private-subnet --dns-nameserver 8.8.8.8`

* `fixed_subnet` must be IP version 4.
  if you use devstack, please add following configuration.
    * `IP_VERSION=4`

* Fedora 23 image including kubernetes, etcd, flannel.

Problem:
Ironic stores `instance_info` about nova instance.
`instance_info` contains config_drive data, but this data can be
too large to store ironic.nodes table.
Magnum uses large config drive data to setup k8s.
It means, we can not start ironic instance by Magnum.

Workaround fix is changing column type of ironic.nodes.instance_info.
Following sql will help you.

  `alter table ironic.nodes modify instance_info LONGTEXT;`

Partial-Implements: blueprint magnum-baremetal-full-support
Change-Id: Ica87610b9114bff4277b492de8fe528fe2860108
Closes-Bug: #1454895
Closes-Bug: #1472938
Co-Authored-By: Spyros Trigazis <strigazi@gmail.com>
2016-08-09 11:27:55 +02:00
..
api Merge "Restricted Magnum service state to 'up' and 'down'" 2016-08-09 00:39:37 +00:00
cmd Remove container object 2016-08-01 16:16:20 +02:00
common Fix ironic template 2016-08-09 11:27:55 +02:00
conductor Remove container object 2016-08-01 16:16:20 +02:00
db Remove container object 2016-08-01 16:16:20 +02:00
drivers Fix ironic template 2016-08-09 11:27:55 +02:00
hacking Add hacking rule for explicit import of _ function 2016-07-29 23:17:06 +05:30
locale/ja/LC_MESSAGES Remove unused POT files 2016-06-14 16:17:29 +00:00
objects Merge "Restricted Magnum service state to 'up' and 'down'" 2016-08-09 00:39:37 +00:00
public/css Incorporate feedback from the Initial commit review 2014-11-18 14:25:08 +00:00
service Fix global stack list in periodic task 2016-07-27 10:11:51 +02:00
servicegroup Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
tests Fix ironic template 2016-08-09 11:27:55 +02:00
MANIFEST.in Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
__init__.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
i18n.py Setup for translation 2015-05-24 03:13:55 +00:00
opts.py Remove container object 2016-08-01 16:16:20 +02:00
version.py Remove coding:utf-8 2015-08-03 23:28:22 +08:00