objname error in QosPolicy

Bug #1843368 reported by zhanghao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
zhanghao

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.

Tags: qos
zhanghao (zhanghao2)
Changed in neutron:
assignee: nobody → zhanghao (zhanghao2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/681158

Changed in neutron:
status: New → In Progress
tags: added: qos
Changed in neutron:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/681158
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2c83e0750954798024212062a20bb5f90788ab2e
Submitter: Zuul
Branch: master

commit 2c83e0750954798024212062a20bb5f90788ab2e
Author: zhanghao2 <email address hidden>
Date: Tue Aug 13 17:11:08 2019 -0400

    Fix objname error in QosPolicy

    This patch fixes objname error in class QosPolicy.

    Change-Id: Idc67b2d8f7cca19f59f39b9c884d8cec2c12e867
    Closes-Bug: #1843368

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 15.0.0.0b1

This issue was fixed in the openstack/neutron 15.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.