objname error in QosPolicy

Bug #1843368 reported by zhanghao on 2019-09-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
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 Edit Tag help
zhanghao (zhanghao2) on 2019-09-10
Changed in neutron:
assignee: nobody → zhanghao (zhanghao2)

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

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

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  Edit
Everyone can see this information.

Other bug subscribers