create instance fails after nova-docker integration

asked 2017-06-18 06:04:49 -0600

hanane gravatar image

updated 2017-06-18 13:36:41 -0600

hi i integrated nova-docker succesfully following this link : [ https://wiki.openstack.org/wiki/Docker#Using_Nova-Docker (https://wiki.openstack.org/wiki/Docke...) ] i pulled an image sucessfully , and then i booted an instance , when i check nova-list i find the instance but with status : error in the dashboard (Horizon) when i click on my instance overview i have this message : No valid host was found. There are not enough hosts available. and this is the log details on the dashboard :

File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 404, in build_instances context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 448, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", line 372, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 121, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 470, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 461, in _send raise result

in the nova-compute.log i have the following error :

Cannot setup network: Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf ln -sf /proc/6472/ns/net /var/run/netns/94ead2e1e50f074a10fea81bb3d421109a269afc93d8614ab313f8f55e087058
Exit code: 99
Stdout: u''
Stderr: u'/usr/bin/nova-rootwrap: Unauthorized command: ln -sf /proc/6472/ns/net /var/run/netns/94ead2e1e50f074a10fea81bb3d421109a269afc93d8614ab313f8f55e087058 (no filter matched)\
edit retag flag offensive close merge delete

Comments

any help plz

hanane gravatar imagehanane ( 2017-06-19 17:37:33 -0600 )edit