'module' object has no attribute 'DeprecationWarning'

Bug #1517280 reported by Kai Qiang Wu(Kennan)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.versionedobjects
Fix Released
Undecided
Kai Qiang Wu(Kennan)

Bug Description

in our jenkins job found failure with this

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/wsmeext/pecan.py", line 84, in callfunction
    result = f(self, *args, **kwargs)

  File "<decorator-gen-4>", line 2, in patch

  File "/opt/stack/new/magnum/magnum/api/validation.py", line 90, in wrapper
    baymodel = api_utils.get_rpc_resource('BayModel', baymodel_ident)

  File "/opt/stack/new/magnum/magnum/api/controllers/v1/utils.py", line 75, in get_rpc_resource
    return resource.get_by_uuid(pecan.request.context, resource_ident)

  File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 173, in wrapper
    args, kwargs)

  File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 985, in object_class_action_versions
    'in a later release', warnings.DeprecationWarning)

AttributeError: 'module' object has no attribute 'DeprecationWarning'

Changed in oslo.versionedobjects:
assignee: nobody → Kai Qiang Wu(Kennan) (wkqwu)
Revision history for this message
Kai Qiang Wu(Kennan) (wkqwu) wrote :
Changed in oslo.versionedobjects:
status: New → Fix Committed
Changed in oslo.versionedobjects:
milestone: none → 1.0.0
status: Fix Committed → Fix Released
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.