← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1337472] Re: UnboundLocalError: local variable 'domain' referenced before assignment

 

This bug isn't invalid. The whole point of this test is that it uses old
code. We start with an icehouse deployment and test that. Then we
upgrade everything to master except for nova cpu and test that. So nova
cpu is running old code and will always run old code in this test.

One way to fix this bug would be to backport
5a98983e87e5020626db2e319f7b00ae547ae8e1 to icehouse. There may be other
approaches that are simpler, but I am not familiar enough with nova to
know.

** Changed in: nova
       Status: Invalid => Confirmed

** Changed in: grenade
       Status: New => Invalid

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

Title:
  UnboundLocalError: local variable 'domain' referenced before
  assignment

Status in Grenade - OpenStack upgrade testing:
  Invalid
Status in OpenStack Compute (Nova):
  Confirmed

Bug description:
  This unbound local error happens when running the grenade test that
  does not upgrade nova-cpu. In this test grenade upgrades all services
  but n-cpu then runs some tempest tests. Could be a backward compat
  issue?

  In any case domain is an unbound local variable in
  _create_domain_and_network() and seems to lead to the failure of
  instance creation.

  Logs for the node that failed can be seen starting at
  http://logs.openstack.org/48/104448/5/check/check-grenade-dsvm-
  partial-
  ncpu/6b93538/logs/old/screen-n-cpu.txt.gz?level=TRACE#_2014-07-03_17_15_26_819

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


References