Comment 1 for bug 1777834

Revision history for this message
ezaspie03 (ezaspie03) wrote : Re: Can't update image visibility

Reproduced issue in queens:

[Description about Error]
Attempted to update visibility, min_disk and min_ram, ran into the same issue. However this was only reproducible when the image was created via cli. When the image was created via horizon, min_disk and min_ram were successfully changed.

Suggest change of title to "Unable to Change Metadata via horizon on Images Created with glance cli"

[Version]
openstack 3.14.0

[Logs]
[Fri Jun 22 07:44:57.440084 2018] [wsgi:error] [pid 32292:tid 140226579207936] [remote 10.0.0.44:51717] ERROR openstack_dashboard.api.rest.utils error invoking apiclient
[Fri Jun 22 07:44:57.440123 2018] [wsgi:error] [pid 32292:tid 140226579207936] [remote 10.0.0.44:51717] Traceback (most recent call last):
[Fri Jun 22 07:44:57.440140 2018] [wsgi:error] [pid 32292:tid 140226579207936] [remote 10.0.0.44:51717] File "/usr/share/openstack-dashboard/openstack_dashboard/api/rest/utils.py", line 127, in _wrapped
[Fri Jun 22 07:44:57.440147 2018] [wsgi:error] [pid 32292:tid 140226579207936] [remote 10.0.0.44:51717] data = function(self, request, *args, **kw)
[Fri Jun 22 07:44:57.440154 2018] [wsgi:error] [pid 32292:tid 140226579207936] [remote 10.0.0.44:51717] File "/usr/share/openstack-dashboard/openstack_dashboard/api/rest/glance.py", line 110, in patch
[Fri Jun 22 07:44:57.440160 2018] [wsgi:error] [pid 32292:tid 140226579207936] [remote 10.0.0.44:51717] **request.DATA['updated']
[Fri Jun 22 07:44:57.440166 2018] [wsgi:error] [pid 32292:tid 140226579207936] [remote 10.0.0.44:51717] KeyError: 'updated'