[Openstack] [Openstack-magnum]

ABDELHAMID abde826 at gmail.com
Wed Oct 14 09:49:43 UTC 2015


Hello,

I need your help, I have set up Openstack-magnum at Kilo, and I get the
error bellow in *Heat-engine* logs.

Have you ever come across this problem ?

If you have any information on this subject, I am of course interested

Thanks for your help.

*Using Swarm COE:*  (*magnum --debug bay-create --name swarmbay --baymodel
swarmbaymodel --node-count 1 --master-count 1)*

...
2015-10-13 14:35:36.496 7216 DEBUG glanceclient.common.http
[req-e3d863b3-4622-454a-8be0-584723d0baf7 - admin] curl -g -i -X GET -H
'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent:
python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token:
{SHA1}b1b9142b35b7a99f289275f805252cf56a02b23a' -H 'Content-Type:
application/octet-stream'
http://192.168.100.4:9292/v1/images/detail?limit=20&name=fedora-21-atomic-6log_curl_request
/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py:189
2015-10-13 14:35:37.743 7216 INFO heat.engine.service
[req-10598247-e845-45d1-b4fe-6799fb8d601b - -] Service
68d5d60b-3608-44f8-a443-443c6083496e is updated
2015-10-13 14:35:38.247 7216 DEBUG glanceclient.common.http
[req-e3d863b3-4622-454a-8be0-584723d0baf7 - admin]
HTTP/1.1 200 OK
date: Tue, 13 Oct 2015 14:35:38 GMT
connection: close
content-type: application/json; charset=UTF-8
content-length: 537
x-openstack-request-id: req-req-f7203308-a38e-4f7e-9124-69d2e6207be7

{"images": [{"status": "active", "deleted_at": null, "name":
"fedora-21-atomic-6", "deleted": false, "container_format": "bare",
"created_at": "2015-10-11T13:52:07.000000", "disk_format": "qcow2",
"updated_at": "2015-10-11T13:52:56.000000", "min_disk": 0, "protected":
false, "id": "63fed263-e75c-4cfa-91bd-968f6464f259", "min_ram": 0,
"checksum": "cff876019578d857b397d7a914f30cdb", "owner":
"730c1f535d93419b8330ab3e6840407f", "is_public": false, "virtual_size":
null, "properties": {"os_distro": "fedora-atomic"}, "size": 961019904}]}
 log_http_response
/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py:203
2015-10-13 14:35:38.256 7216 INFO heat.engine.stack
[req-e3d863b3-4622-454a-8be0-584723d0baf7 - admin] *Property error:
resources.swarm_master.properties.flavor: "m1.docker" does not validate
nova.flavor (constraint not found)*
2015-10-13 14:35:38.259 7216 DEBUG oslo_messaging.rpc.dispatcher
[req-e3d863b3-4622-454a-8be0-584723d0baf7 - admin] Expected exception
during message handling *(Property error:
resources.swarm_master.properties.flavor: "m1.docker" does not validate
nova.flavor (constraint not found))* _dispatch_and_reply
/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py:145
....


*Using Kubernetes COE:* (*magnum --debug bay-create --name k8sbay
--baymodel k8sbaymodel --node-count 1 --master-count 1)*

....
{"images": [{"status": "active", "deleted_at": null, "name":
"fedora-21-atomic-6", "deleted": false, "container_format": "bare",
"created_at": "2015-10-11T13:52:07.000000", "disk_format": "qcow2",
"updated_at": "2015-10-11T13:52:56.000000", "min_disk": 0, "protected":
false, "id": "63fed263-e75c-4cfa-91bd-968f6464f259", "min_ram": 0,
"checksum": "cff876019578d857b397d7a914f30cdb", "owner":
"730c1f535d93419b8330ab3e6840407f", "is_public": false, "virtual_size":
null, "properties": {"os_distro": "fedora-atomic"}, "size": 961019904}]}
 log_http_response
/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py:203
2015-10-13 14:51:22.885 12558 INFO heat.engine.stack
[req-6ed438f5-99c4-4a46-837e-c34fa15c4960 - admin] Property error:
resources.kube_master.properties.flavor: 'OpenStackComputeShell' object has
no attribute '_discover_extensions'
2015-10-13 14:51:22.907 12558 DEBUG oslo_messaging.rpc.dispatcher
[req-6ed438f5-99c4-4a46-837e-c34fa15c4960 - admin] Expected exception
during message handling (Property error:
resources.kube_master.properties.flavor: 'OpenStackComputeShell' object has
no attribute '_discover_extensions') _dispatch_and_reply
/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py:145
2015-10-13 14:51:23.002 7216 INFO heat.engine.resource [-] CREATE:
TemplateResource "0" Stack "k8sbay-um2xtbbogwva-kube_masters-34vws4vbmkje"
[ebe8b098-516b-45b0-8169-17f71e3fafb7]
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource Traceback (most
recent call last):
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource   File
"/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 505, in
_action_recorder
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource     yield
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource   File
"/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 575, in
_do_action
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource     yield
self.action_handler_task(action, args=handler_args)
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource   File
"/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 310, in
wrapper
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource     step =
next(subtask)
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource   File
"/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 546, in
action_handler_task
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource     handler_data =
handler(*args)
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource   File
"/usr/lib/python2.7/dist-packages/heat/engine/resources/template_resource.py",
line 266, in handle_create
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource
self.child_params())
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource   File
"/usr/lib/python2.7/dist-packages/heat/engine/resources/stack_resource.py",
line 263, in create_with_template
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource
self.raise_local_exception(ex)
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource   File
"/usr/lib/python2.7/dist-packages/heat/engine/resources/stack_resource.py",
line 277, in raise_local_exception
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource     raise
exception.ResourceFailure(message, self, action=self.action)
2015-10-13 14:51:23.002 7216 ERROR heat.engine.resource ResourceFailure:
resources[0]: Property* error: resources.kube_master.properties.flavor:
'OpenStackComputeShell' object has no attribute '_discover_extensions'*

....

Best regards
Hamid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151014/3ccaaf32/attachment.html>


More information about the Openstack mailing list