AvailabilityZonePluginBase isn't decorated with @six.add_metaclass

Bug #1573388 reported by John Perkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Brandon Logan

Bug Description

AvailabilityZonePluginBase isn't decorated with @six.add_metaclass, allowing for child classes that do not properly handle get_availability_zones and validate_availability_zones.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/309259

Changed in neutron:
assignee: nobody → John Perkins (john-d-perkins)
status: New → In Progress
Revision history for this message
Hirofumi Ichihara (ichihara-hirofumi) wrote :

Good catch.

Changed in neutron:
importance: Undecided → Low
Changed in neutron:
assignee: John Perkins (john-d-perkins) → Brandon Logan (brandon-logan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/309259
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=fe34afc13aee0d9c71bd1dca1327ef1eaddf73a6
Submitter: Jenkins
Branch: master

commit fe34afc13aee0d9c71bd1dca1327ef1eaddf73a6
Author: John Perkins <email address hidden>
Date: Thu Apr 21 22:38:28 2016 -0600

    Decorate AvailabilityZonePluginBase properly

    Without this, users could improperly overlook either
    get_availability_zones or validate_availability_zones.

    Change-Id: I6530dca041a92da2f1d0bf01d359e5edea3df5c0
    Closes-Bug: #1573388

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b1

This issue was fixed in the openstack/neutron 9.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.