← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1614537] [NEW] Neutron Objects do not override the UUIDField to actually validate UUIDs

 

Public bug reported:

Oslo Versioned Objects' implmentation of the UUID Field does not
actually validate anything.

It is a wrapper around a string type.

Projects are advised that to actually validate UUIDs, they need to
override the field in their custom fields. [1]

Leaving it non validating can cause issues when the field is moved to
validate, or there is an assumption that it is being validated.

1 -
http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: oslo

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1614537

Title:
  Neutron Objects do not override the UUIDField to actually validate
  UUIDs

Status in neutron:
  New

Bug description:
  Oslo Versioned Objects' implmentation of the UUID Field does not
  actually validate anything.

  It is a wrapper around a string type.

  Projects are advised that to actually validate UUIDs, they need to
  override the field in their custom fields. [1]

  Leaving it non validating can cause issues when the field is moved to
  validate, or there is an assumption that it is being validated.

  1 -
  http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField

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


Follow ups