← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1843368] [NEW] objname error in QosPolicy

 

Public bug reported:

class QosPolicy(rbac_db.NeutronRbacObject):
    def obj_make_compatible(self, primitive, target_version):
        if _target_version < (1, 3):
            standard_fields = ['revision_number', 'created_at', 'updated_at']
            for f in standard_fields:
                primitive.pop(f)
            if primitive['description'] is None:
                # description was not nullable before
                raise exception.IncompatibleObjectVersion(
                    objver=target_version, objname='QoSPolicy')

objname should be QosPolicy.

** Affects: neutron
     Importance: Undecided
     Assignee: zhanghao (zhanghao2)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => zhanghao (zhanghao2)

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

Title:
  objname error in QosPolicy

Status in neutron:
  New

Bug description:
  class QosPolicy(rbac_db.NeutronRbacObject):
      def obj_make_compatible(self, primitive, target_version):
          if _target_version < (1, 3):
              standard_fields = ['revision_number', 'created_at', 'updated_at']
              for f in standard_fields:
                  primitive.pop(f)
              if primitive['description'] is None:
                  # description was not nullable before
                  raise exception.IncompatibleObjectVersion(
                      objver=target_version, objname='QoSPolicy')

  objname should be QosPolicy.

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


Follow ups