** Changed in: glance
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1515305
Title:
Reactivating an admins image returns a 500
Status in Glance:
Fix Released
Bug description:
When trying to reactivate an admins image it gets a 500 returned.
Console:
2015-11-11 15:25:23.210 ERROR glance.common.wsgi
[req-14abeda8-f037-4ca2-bbd7-2b02ec25d5df 84405b7957be46d7bd1b59f77c0fbe60
ee7437c495d9491093d40c73ac54be3f] Caught error: 'ImmutableImageProxy' object
has no attribute 'reactivate'
2015-11-11 15:25:23.210 TRACE glance.common.wsgi Traceback (most recent call
last):
2015-11-11 15:25:23.210 TRACE glance.common.wsgi File
"/opt/stack/glance/glance/common/wsgi.py", line 886, in __call__
2015-11-11 15:25:23.210 TRACE glance.common.wsgi request, **action_args)
2015-11-11 15:25:23.210 TRACE glance.common.wsgi File
"/opt/stack/glance/glance/common/wsgi.py", line 915, in dispatch
2015-11-11 15:25:23.210 TRACE glance.common.wsgi return method(*args,
**kwargs)
2015-11-11 15:25:23.210 TRACE glance.common.wsgi File
"/opt/stack/glance/glance/common/utils.py", line 425, in wrapped
2015-11-11 15:25:23.210 TRACE glance.common.wsgi return func(self, req,
*args, **kwargs)
2015-11-11 15:25:23.210 TRACE glance.common.wsgi File
"/opt/stack/glance/glance/api/v2/image_actions.py", line 65, in reactivate
2015-11-11 15:25:23.210 TRACE glance.common.wsgi image.reactivate()
2015-11-11 15:25:23.210 TRACE glance.common.wsgi AttributeError:
'ImmutableImageProxy' object has no attribute 'reactivate'
How to reproduce:
glance image-reactivate 709d022f-7ff3-438b-b672-cd21a2a7d467
Whats expected:
A forbidden.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1515305/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp