create instance fails after nova-docker integration

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

hanane gravatar image

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

hi i integrated nova-docker succesfully following this link : [ ( ] 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/", line 404, in build_instances context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/conductor/", line 448, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/", line 372, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/", line 121, in select_destinations return, 'select_destinations', **msg_args) File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/", line 158, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/", line 470, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/", 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


any help plz

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