yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41010
[Bug 1515305] [NEW] Reactivating a admins image returns a 500
Public bug reported:
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.
** Affects: glance
Importance: Undecided
Assignee: Niall Bunting (niall-bunting)
Status: New
** Changed in: glance
Assignee: (unassigned) => Niall Bunting (niall-bunting)
--
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 a admins image returns a 500
Status in Glance:
New
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
Follow ups