<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Update generated answer file :-</p>
<p><br>
</p>
<p></p>
<div># Specify 'y' to install OpenStack Orchestration (heat). ['y', 'n']<br>
CONFIG_HEAT_INSTALL=y<br>
<br>
# Specify 'y' to install OpenStack Container Infrastructure<br>
# Management Service (magnum). ['y', 'n']<br>
CONFIG_MAGNUM_INSTALL=y<br>
</div>
<br>
<p></p>
<p>AIO packstack deployment is OK. public flat network recreated</p>
<p><br>
</p>
<p></p>
<div>[root@Server73Centos ~(keystone_admin)]# openstack service list<br>
+----------------------------------+------------+-----------------+<br>
| ID | Name | Type |<br>
+----------------------------------+------------+-----------------+<br>
| 12965615fc464139907a31c41d4bb70f | keystone | identity |<br>
| 250f93b7759140e28e11bd5f10b852fb | cinder | volume |<br>
| 32017c9eb1ac41bea75b41b05084832a | placement | placement |<br>
| 34bf4ef146b946f4ab2a5a8661fbf64d | heat-cfn | cloudformation |<br>
| 507ae90b1fe342e9a5d6ae72a590803d | aodh | alarming |<br>
| 75951116d8434862b588953f099d43d2 | ceilometer | metering |<br>
| 80cb79bcc2454b9ba69d5ee296f71bc7 | magnum | container-infra | <===<br>
| 9a64bb95a5de4aca836f33ed5a9ed79b | neutron | network |<br>
| 9b94ea12ec1849c588e96277e737f6c2 | swift | object-store |<br>
| 9dffaf1da9004043bc6b8dd2212722cc | gnocchi | metric |<br>
| a79fb914b5db48acb018c223d1006e62 | heat | orchestration |<br>
| affbc4a180304e5cb55c070f9e12087a | cinderv2 | volumev2 |<br>
| cf440e11bd10456792f77558c380eaa8 | glance | image |<br>
| edc36132717049609af9d4f7255fe2a9 | nova | compute |<br>
| f4a444f5fe2e41b5b9cf51c912f2932e | cinderv3 | volumev3 |<br>
<br>
+----------------------------------+------------+-----------------+<br>
<br>
[root@Server73Centos ~(keystone_admin)]# openstack endpoint list | grep magnum<br>
| 359d16b05d8b48efb3e7c7d5b515ad41 | RegionOne | magnum | container-infra | True | internal | http://192.168.122.54:9511/v1 |<br>
| abc84dd59613460e92074eff6ff2a6f5 | RegionOne | magnum | container-infra | True | public | http://192.168.122.54:9511/v1 |<br>
| d89da369cf444db69d06c50505079287 | RegionOne | magnum | container-infra | True | admin | http://192.168.122.54:9511/v1 |<br>
<br>
[root@Server73Centos ~(keystone_admin)]# magnum service-list<br>
+----+------+------------------+-------+----------+-----------------+---------------------------+---------------------------+<br>
| id | host | binary | state | disabled | disabled_reason | created_at | updated_at |<br>
+----+------+------------------+-------+----------+-----------------+---------------------------+---------------------------+<br>
| 1 | - | magnum-conductor | up | | - | 2017-02-24T15:19:59+00:00 | 2017-02-24T16:28:05+00:00 |<br>
+----+------+------------------+-------+----------+-----------------+---------------------------+---------------------------+<br>
</div>
<br>
<p></p>
<p>However, /var/log/magnum/magnum-conductor.log reports <br>
</p>
<p><br>
</p>
<p></p>
<div>2017-02-24 19:08:25.569 24641 WARNING magnum.common.cert_manager.local_cert_manager [req-65e47653-e20e-4add-97ec-3033f42acb01 - - - - -] Storing certificate data on the local filesystem. CertManager type 'local' should be used for testing purpose.<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server [req-65e47653-e20e-4add-97ec-3033f42acb01 - - - - -] Exception during message handling<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server Traceback (most recent call last):<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 153, in wrapper<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server return f(*args, **kwargs)<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/magnum/conductor/handlers/cluster_conductor.py", line 66, in cluster_create<br>
2017-02-24 19:08:25.861 24641 ERROR oslo_messaging.rpc.server cluster)<br>
</div>
<br>
<p></p>
<p>. . . . . . .</p>
<p><br>
</p>
<p></p>
<div>2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2229, in load<br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server return self.resolve()<br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in resolve<br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server module = __import__(self.module_name, fromlist=['__name__'], level=0)<br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/magnum/drivers/k8s_fedora_atomic_v1/driver.py", line 15, in <module><br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server from magnum.drivers.common import k8s_monitor<br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/magnum/drivers/common/k8s_monitor.py", line 16, in <module><br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server from magnum.conductor import k8s_api as k8s<br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/magnum/conductor/k8s_api.py", line 17, in <module><br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server from kubernetes import client as k8s_config<br>
2017-02-24 19:10:37.032 24641 ERROR oslo_messaging.rpc.server ImportError: No module named kubernetes<br>
<br>
EOF<br>
<br>
</div>
<p></p>
<p>------------------------------------------------------------<br>
</p>
<p>Consequently following error occurs</p>
<p>------------------------------------------------------------<br>
</p>
<p></p>
<div>[root@Server73Centos ~(keystone_admin)]# magnum bay-create --name demoswarmbay --baymodel demoswarmbaymodel --master-count 1 --node-count 1<br>
WARNING: Bay commands are deprecated and will be removed in a future release.<br>
Use cluster commands to avoid seeing this message.<br>
Request to create bay 5e8bf225-6ade-4766-8436-d7c39a488cff has been accepted.<br>
<br>
[root@Server73Centos ~(keystone_admin)]# magnum bay-show demoswarmbay<br>
WARNING: Bay commands are deprecated and will be removed in a future release.<br>
Use cluster commands to avoid seeing this message.<br>
+--------------------+--------------------------------------+<br>
| Property | Value |<br>
+--------------------+--------------------------------------+<br>
| status | CREATE_FAILED |<br>
| uuid | 5e8bf225-6ade-4766-8436-d7c39a488cff |<br>
| stack_id | - |<br>
| status_reason | No module named kubernetes | <=====<br>
| created_at | 2017-02-24T16:08:24+00:00 |<br>
| name | demoswarmbay |<br>
| updated_at | 2017-02-24T16:08:25+00:00 |<br>
| discovery_url | - |<br>
| bay_create_timeout | 60 |<br>
| api_address | - |<br>
| coe_version | - |<br>
| baymodel_id | 6c2ab006-5879-4425-80a6-8d51951ee7ba |<br>
| master_addresses | [] |<br>
| bay_faults | {} |<br>
| node_addresses | [] |<br>
| master_count | 1 |<br>
| container_version | - |<br>
| node_count | 1 |<br>
+--------------------+--------------------------------------+<br>
<br>
<br>
<div>[root@Server73Centos /(keystone_admin)]# find . -name "kuberne*" -print<br>
find: ‘./run/user/1000/gvfs’: Permission denied<br>
./usr/lib/python2.7/site-packages/sos/plugins/kubernetes.py<br>
./usr/lib/python2.7/site-packages/sos/plugins/kubernetes.pyc<br>
./usr/lib/python2.7/site-packages/sos/plugins/kubernetes.pyo<br>
./usr/lib/python2.7/site-packages/magnum/drivers/common/templates/kubernetes<br>
./usr/lib/python2.7/site-packages/magnum/drivers/k8s_fedora_ironic_v1/image/kubernetes<br>
</div>
<br>
</div>
<br>
<p></p>
<p>I believe I am missing something attempting to setup magnum, heat build even</p>
<p>doesn't start.</p>
<p>Please , advise.</p>
<p><br>
</p>
<p>Boris.<br>
</p>
<div style="color: rgb(0, 0, 0);">
<div class="PlainText">
<hr style="display:inline-block; width:98%" tabindex="-1">
<br>
</div>
<font size="2"><span style="font-size:10pt;"></span></font></div>
</div>
</body>
</html>