yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02775
[Bug 1175725] Re: Spawn instance failed when use_ipv6=true in nova.conf and network does not contain IPv6
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-1
--
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/1175725
Title:
Spawn instance failed when use_ipv6=true in nova.conf and network
does not contain IPv6
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Here is the stack trace:
2013-05-02 10:58:26.246 ERROR nova.virt.hyperv.vmops [req-99f87ed2-98fe-4b75-a5b4-87c3d95b49de 6e15c99a64f34d9eb420e8dc751317e8 0384a4eb1bc54bf9b70f49c145015ad7] 'ip6s'
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops Traceback (most recent call last):
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops File "C:\Program Files (x86)\Python27\lib\site-packages\nova\virt\hyperv\vmops.py", line 179, in spawn
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops admin_password)
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops File "C:\Program Files (x86)\Python27\lib\site-packages\nova\virt\hyperv\vmops.py", line 231, in _create_config_drive
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops extra_md=extra_md)
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops File "C:\Program Files (x86)\Python27\lib\site-packages\nova\api\metadata\base.py", line 146, in __init__
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops cfg = netutils.get_injected_network_template(network_info)
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops File "C:\Program Files (x86)\Python27\lib\site-packages\nova\virt\netutils.py", line 94, in get_injected_network_template
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops address_v6 = mapping['ip6s'][0]['ip']
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops KeyError: 'ip6s'
2013-05-02 10:58:26.246 3768 TRACE nova.virt.hyperv.vmops
2013-05-02 10:58:39.397 ERROR nova.compute.manager [req-99f87ed2-98fe-4b75-a5b4-87c3d95b49de 6e15c99a64f34d9eb420e8dc751317e8 0384a4eb1bc54bf9b70f49c145015ad7] [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] Instance failed to spawn
2013-05-02 10:58:39.397 3768 TRACE nova.compute.manager [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] Traceback (most recent call last):
2013-05-02 10:58:39.397 3768 TRACE nova.compute.manager [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] File "C:\Program Files (x86)\Python27\lib\site-packages\nova\compute\manager.py", line 1109, in _spawn
2013-05-02 10:58:39.397 3768 TRACE nova.compute.manager [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] block_device_info)
2013-05-02 10:58:39.397 3768 TRACE nova.compute.manager [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] File "C:\Program Files (x86)\Python27\lib\site-packages\nova\virt\hyperv\driver.py", line 57, in spawn
2013-05-02 10:58:39.397 3768 TRACE nova.compute.manager [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] admin_password, network_info, block_device_info)
2013-05-02 10:58:39.397 3768 TRACE nova.compute.manager [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] File "C:\Program Files (x86)\Python27\lib\site-packages\nova\virt\hyperv\vmops.py", line 187, in spawn
2013-05-02 10:58:39.397 3768 TRACE nova.compute.manager [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] raise vmutils.HyperVException(_('Spawn instance failed'))
2013-05-02 10:58:39.397 3768 TRACE nova.compute.manager [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] HyperVException: Spawn instance failed
2013-05-02 10:58:39.397 3768 TRACE nova.compute.manager [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81]
2013-05-02 10:58:46.740 ERROR nova.compute.manager [req-99f87ed2-98fe-4b75-a5b4-87c3d95b49de 6e15c99a64f34d9eb420e8dc751317e8 0384a4eb1bc54bf9b70f49c145015ad7] [instance: 7b0ac2da-2d0e-484b-b5a3-09a150b71a81] Error: ['Traceback (most recent call last):\n', ' File "C:\\Program Files (x86)\\Python27\\lib\\site-packages\\nova\\compute\\manager.py", line 846, in _run_instance\n set_access_ip=set_access_ip)\n', ' File "C:\\Program Files (x86)\\Python27\\lib\\site-packages\\nova\\compute\\manager.py", line 1113, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', ' File "C:\\Program Files (x86)\\Python27\\lib\\contextlib.py", line 24, in __exit__\n self.gen.next()\n', ' File "C:\\Program Files (x86)\\Python27\\lib\\site-packages\\nova\\compute\\manager.py", line 1109, in _spawn\n block_device_info)\n', ' File "C:\\Program Files (x86)\\Python27\\lib\\site-packages\\nova\\virt\\hyperv\\driver.py", line 57, in spawn\n admin_password, network_info, block_device_info)\n', ' File "C:\\Program Files (x86)\\Python27\\lib\\site-packages\\nova\\virt\\hyperv\\vmops.py", line 187, in spawn\n raise vmutils.HyperVException(_(\'Spawn instance failed\'))\n', 'HyperVException: Spawn instance failed\n']
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1175725/+subscriptions