gate-nova-python26 fails build

Bug #1205022 reported by Kravchenko Pavel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
High
Unassigned

Bug Description

gate-nova-python26 and gate-nova-python27 constantly fails build on the following test:

nova.tests.network.test_manager.VlanNetworkTestCase.test_add_fixed_ip_instance_without_vpn_requested_networks
Reason is that 'instance' dict missing uuid when called to log.
The logger expects it to have uuid key, but instead it has only {'display_name': 'testhost'}.

Traceback (most recent call last):
  File "/root/openstack/kpavel/nova/nova/tests/network/test_manager.py", line 1068, in test_add_fixed_ip_instance_without_vpn_requested_networks
    networks[0]['id'])
  File "/root/openstack/kpavel/nova/nova/network/manager.py", line 763, in add_fixed_ip_to_instance
    self._allocate_fixed_ips(context, instance_id, host, [network])
  File "/root/openstack/kpavel/nova/nova/network/manager.py", line 220, in _allocate_fixed_ips
    vpn=vpn, address=address)
  File "/root/openstack/kpavel/nova/nova/network/manager.py", line 1730, in allocate_fixed_ip
    if self._validate_instance_zone_for_dns_domain(context, instance):
  File "/root/openstack/kpavel/nova/nova/network/manager.py", line 799, in _validate_instance_zone_for_dns_domain
    instance_domain, instance=instance)
  File "/usr/lib/python2.7/logging/__init__.py", line 1427, in warning
    msg, kwargs = self.process(msg, kwargs)
  File "/root/openstack/kpavel/nova/nova/openstack/common/log.py", line 266, in process
    instance_extra = CONF.instance_format % instance
KeyError: 'uuid'

Affected Change: https://review.openstack.org/#/c/37407/

description: updated
Revision history for this message
Clark Boylan (cboylan) wrote :

I am removing this from openstack-ci as it appears to be a flaky test. (Probably being tickled by testr test ordering.)

Dan Smith (danms)
Changed in nova:
importance: Undecided → High
milestone: none → havana-3
status: New → Confirmed
Clark Boylan (cboylan)
no longer affects: openstack-ci
Revision history for this message
Chris Behrens (cbehrens) wrote :
Revision history for this message
Chris Behrens (cbehrens) wrote :

Marked as dup.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.