← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1704423] [NEW] _test_unshelve_server intermittently fails in functional versioned notification tests

 

Public bug reported:

http://logs.openstack.org/39/483939/1/check/gate-nova-tox-functional-
ubuntu-xenial/95a614f/console.html#_2017-07-14_14_16_48_905908

None != u'compute': path: root.payload.nova_object.data.host

Looks like we're racing between the time that the vm_state is set to
SHELVED_OFFLOADED and the host is set to None:

https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L4446-L4457

So the test should be waiting for the notification after the state
change AND the instance.host is None.

** Affects: nova
     Importance: Medium
     Assignee: Balazs Gibizer (balazs-gibizer)
         Status: Triaged


** Tags: notifications testing

** Changed in: nova
     Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer)

-- 
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/1704423

Title:
  _test_unshelve_server intermittently fails in functional versioned
  notification tests

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  http://logs.openstack.org/39/483939/1/check/gate-nova-tox-functional-
  ubuntu-xenial/95a614f/console.html#_2017-07-14_14_16_48_905908

  None != u'compute': path: root.payload.nova_object.data.host

  Looks like we're racing between the time that the vm_state is set to
  SHELVED_OFFLOADED and the host is set to None:

  https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L4446-L4457

  So the test should be waiting for the notification after the state
  change AND the instance.host is None.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1704423/+subscriptions


Follow ups