magnum/magnum/common
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
..
cert_manager Remove unused LOG to keep code clean 2016-07-13 01:47:12 +00:00
x509 Make 'signing csr' accept Unicode CA Private key 2016-06-21 10:55:23 +09:00
__init__.py Create a ReST API entrypoint 2014-11-18 14:01:20 -07:00
clients.py Pass some common cert related arguments to clients 2016-06-27 17:48:16 +00:00
config.py Moved CORS middleware configuration into oslo-config-generator 2016-03-09 13:02:07 -08:00
context.py Fix global stack list in periodic task 2016-07-27 10:11:51 +02:00
docker_utils.py Remove container object 2016-08-01 16:16:20 +02:00
exception.py Fix ironic template 2016-08-09 11:27:55 +02:00
k8s_manifest.py Fix H405 and E131 ignored pep8 rules 2015-09-23 12:21:09 +01:00
keystone.py Fix global stack list in periodic task 2016-07-27 10:11:51 +02:00
name_generator.py Auto generate Bay/BayModel name 2016-06-17 19:02:55 +08:00
paths.py Remove imports from oslo namespaces 2015-02-08 02:59:30 +00:00
policy.py Remove unused LOG to keep code clean 2016-07-13 01:47:12 +00:00
rpc.py Update Magnum service name and description 2016-05-23 15:59:16 -05:00
rpc_service.py Fix global stack list in periodic task 2016-07-27 10:11:51 +02:00
safe_utils.py Trivial: Remove vim header in source files 2015-12-30 09:44:13 -05:00
service.py Moved CORS middleware configuration into oslo-config-generator 2016-03-09 13:02:07 -08:00
short_id.py Convert bytes to string in get_id for python3 compatibility 2016-02-29 14:34:01 +08:00
urlfetch.py Add i18n support for some ERROR message 2016-07-17 20:55:49 +08:00
utils.py Remove redundant utils code 2016-05-27 10:50:26 +01:00
yamlutils.py Add i18n support for some ERROR message 2016-07-17 20:55:49 +08:00