** Also affects: nova-docker Importance: Undecided Status: New ** Changed in: nova Status: Confirmed => Invalid
-- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1249104 Title: nova docker - can't deploy multiple instances Status in OpenStack Compute (Nova): Invalid Status in Nova Docker Driver: New Bug description: Using docker 0.6.6 + devstack The docker virt driver does not appear to support multiple instances on a single boot call. For example a call like this (notice the --num- instances param): nova boot --image f4034eef-cac6-4059-b3f1-c3b080bc70e4 --flavor 84 --num-instances 5 cent Will produce errors like this in the n-cpu log 7/dist-packages/amqp/channel.py:71 [-] Channel open from (pid=28464) _open_ok /usr/local/lib/python2.7/dist-packages/amqp/channel.py:429R nova.compute.manager [req-237556e8-b961-45dd-a4e2-1aab217067e3 admin demo] [instance: 68ab99a6-6b90-45a8-8e28-79827ae78165] Error: Cannot setup network: Cannot find any PID under container "e9b3773625a0adf022b4800ad8f253c47a385f8954cb7573f1eaa7a87981df11"6-6b90-45a8-8e28-79827ae78165] File "/opt/stack/nova/nova/compute/manager.py", line 1030, in _build_instance6b90-45a8-8e28-79827ae78165] set_access_ip=set_access_ip)TRACE nova.compute.manager [instance: 68ab99a6-6b90-45a8-8e28-79827ae78165] File "/opt/stack/nova/nova/compute/manager.py", line 1439, in _spawn68ab99a6-6b90-45a8-8e28-79827ae78165] LOG.exception(_('Instance failed to spawn'), instance=instance)e: 68ab99a6-6b90-45a8-8e28-79827ae78165] File "/opt/stack/nova/nova/compute/manager.py", line 1436, in _spawn68ab99a6-6b90-45a8-8e28-79827ae78165] block_device_info)38:58.883 TRACE nova.compute.manager [instance: 68ab99a6-6b90-45a8-8e28-79827ae78165] File "/opt/stack/nova/nova/virt/docker/driver.py", line 317, in spawn8ab99a6-6b90-45a8-8e28-79827ae78165] instance_id=instance['name'])RACE nova.compute.manager [instance: 68ab99a6-6b90-45a8-8e28-79827ae78165] InstanceDeployFailure: Cannot setup network: Cannot find any PID under container "e9b3773625a0adf022b4800ad8f253c47a385f8954cb7573f1eaa7a87981df11" To reproduce: - push a docker image into glance - use nova boot with --num-instances param with a num greater than one - watch the vm boot fail - check the n-cpu.log for errors To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1249104/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp