yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04813
[Bug 1190718] Re: manager.py : _validate_instance_zone_for_dns_domain throwing AttributeError: 'NoneType' object has no attribute 'availability_zone' error
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-3
--
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/1190718
Title:
manager.py : _validate_instance_zone_for_dns_domain throwing
AttributeError: 'NoneType' object has no attribute 'availability_zone'
error
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Using Devstack
*** USE MiniDNS driver ***
add instance_dns_manager=nova.network.minidns.MiniDNS to [default]
section in /etc/nova/nova.conf
*** CREATE PRIVATE DNS DOMAIN ***
stack@test:~/devstack$ nova dns-create-private-domain
--availability_zone nova foo.org
stack@test:~/devstack$ nova dns-domains
+---------+---------+---------+-------------------+
| domain | scope | project | availability_zone |
+---------+---------+---------+-------------------+
| foo.org | private | None | nova |
+---------+---------+---------+-------------------+
*** BOOT AN INSTANCE ***
stack@test:~/devstack$ nova boot --flavor 1 --image 5f789010-7e57-465f-950c-ed071c3b75ae "test-instance"
** IMMEDIATELY GOES INTO ERROR STATE ***
The following is the error in nova-network
2013-06-13 19:18:44.632 ERROR nova.openstack.common.rpc.amqp [req-53d54d74-d53c-49be-ac4b-f0ab9d4bc0fe admin admin] Exception during message handling
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 433, in _process_data
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp **args)
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/network/floating_ips.py", line 188, in deallocate_for_instance
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp super(FloatingIP, self).deallocate_for_instance(context, **kwargs)
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/network/manager.py", line 540, in deallocate_for_instance
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp self.deallocate_fixed_ip(context, fixed_ip['address'], host=host)
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/network/manager.py", line 247, in deallocate_fixed_ip
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp address)
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/network/manager.py", line 894, in deallocate_fixed_ip
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp if self._validate_instance_zone_for_dns_domain(context, instance):
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/network/manager.py", line 802, in _validate_instance_zone_for_dns_domain
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp dns_zone = domainref.availability_zone
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp AttributeError: 'NoneType' object has no attribute 'availability_zone'
2013-06-13 19:18:44.632 TRACE nova.openstack.common.rpc.amqp
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1190718/+subscriptions