yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #35840
[Bug 1476402] Re: boot fails on network /w only an ipv6 subnet, AttributeError: 'NoneType' object has no attribute 'get'
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => liberty-2
--
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/1476402
Title:
boot fails on network /w only an ipv6 subnet, AttributeError:
'NoneType' object has no attribute 'get'
Status in akanda:
Invalid
Status in OpenStack Compute (nova):
Fix Released
Bug description:
On rug startup, the devstack-created router appliance fails to spawn
with the following traceback in nova:
ams': None})]| from (pid=17775) _allocate_network_async /opt/stack/nova/nova/compute/manager.py:1527
2015-07-20 14:07:26.462 ERROR nova.compute.manager [req-057f87b7-b0b5-45e7-b6f8-5c6cbb7a2be0 neutron service] [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] Instance failed to spawn
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] Traceback (most recent call last):
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] File "/opt/stack/nova/nova/compute/manager.py", line 2110, in _build_resources
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] yield resources
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] File "/opt/stack/nova/nova/compute/manager.py", line 1982, in _build_and_run_instance
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] block_device_info=block_device_info)
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2409, in spawn
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] admin_pass=admin_password)
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2882, in _create_image
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] content=files, extra_md=extra_md, network_info=network_info)
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] File "/opt/stack/nova/nova/api/metadata/base.py", line 156, in __init__
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] self.network_metadata = netutils.get_network_metadata(network_info)
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] File "/opt/stack/nova/nova/virt/netutils.py", line 229, in get_network_metadata
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] if subnet_v4.get('ips'):
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] AttributeError: 'NoneType' object has no attribute 'get'
2015-07-20 14:07:26.462 TRACE nova.compute.manager [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7]
2015-07-20 14:07:26.464 INFO nova.compute.manager [req-057f87b7-b0b5-45e7-b6f8-5c6cbb7a2be0 neutron service] [instance: 2e5ff228-9d7b-436a-8053-6fcd11b02eb7] Terminating instance
A little digging shows that this recently merged into nova and is
likely the cause of the breakage:
https://review.openstack.org/#/c/102649/
To manage notifications about this bug go to:
https://bugs.launchpad.net/akanda/+bug/1476402/+subscriptions