← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1554230] [NEW] Clean up warnings about UUIDField invalid values

 

Public bug reported:

Nova test logs are full of the following:

Captured stderr:
~~~~~~~~~~~~~~~~
    /home/jaypipes/repos/nova/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/fields.py:325: FutureWarning: fake-instance is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField for further details
      "for further details" % value, FutureWarning)

Should be an easy task to go through and change all the invalid UUID
values to use nova.tests.uuidsentinel values instead.

** Affects: nova
     Importance: Low
     Assignee: Rahul U Nair (rahulunair)
         Status: Triaged


** Tags: low-hanging-fruit

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

Title:
  Clean up warnings about UUIDField invalid values

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  Nova test logs are full of the following:

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      /home/jaypipes/repos/nova/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/fields.py:325: FutureWarning: fake-instance is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField for further details
        "for further details" % value, FutureWarning)

  Should be an easy task to go through and change all the invalid UUID
  values to use nova.tests.uuidsentinel values instead.

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