← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1777834] [NEW] Can't update image visibility

 

Public bug reported:

[Description about Error]
I created an image and tried to update "visibility" of the image.
As a result, updating was failed.

I could update "visibility" by openstack CLI and glance CLI.

So I think that this is a bug of horizon.

[Version]
I could reproduce this error at the following version.

* master(3696e8c32412e0f4cf4cf1ce21dbe8b0bf93afe0)
* 13.0.1(queens)

[Logs]

2018-06-20 08:59:35.510612 Unhandled exception in thread started by <function upload at 0x7f6be0992c80>
2018-06-20 08:59:35.510705 Traceback (most recent call last):
2018-06-20 08:59:35.510711   File "/opt/stack/horizon/openstack_dashboard/api/glance.py", line 547, in upload
2018-06-20 08:59:35.564607     filename = str(data.file.name)
2018-06-20 08:59:35.564708 AttributeError: '_io.BytesIO' object has no attribute 'name'
2018-06-20 08:59:46.887167 ERROR openstack_dashboard.api.rest.utils error invoking apiclient
2018-06-20 08:59:46.887212 Traceback (most recent call last):
2018-06-20 08:59:46.887215   File "/opt/stack/horizon/openstack_dashboard/api/rest/utils.py", line 127, in _wrapped
2018-06-20 08:59:46.887229     data = function(self, request, *args, **kw)
2018-06-20 08:59:46.887231   File "/opt/stack/horizon/openstack_dashboard/api/rest/glance.py", line 110, in patch
2018-06-20 08:59:46.887234     **request.DATA['updated']
2018-06-20 08:59:46.887235 KeyError: 'updated'

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1777834

Title:
  Can't update image visibility

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  [Description about Error]
  I created an image and tried to update "visibility" of the image.
  As a result, updating was failed.

  I could update "visibility" by openstack CLI and glance CLI.

  So I think that this is a bug of horizon.

  [Version]
  I could reproduce this error at the following version.

  * master(3696e8c32412e0f4cf4cf1ce21dbe8b0bf93afe0)
  * 13.0.1(queens)

  [Logs]

  2018-06-20 08:59:35.510612 Unhandled exception in thread started by <function upload at 0x7f6be0992c80>
  2018-06-20 08:59:35.510705 Traceback (most recent call last):
  2018-06-20 08:59:35.510711   File "/opt/stack/horizon/openstack_dashboard/api/glance.py", line 547, in upload
  2018-06-20 08:59:35.564607     filename = str(data.file.name)
  2018-06-20 08:59:35.564708 AttributeError: '_io.BytesIO' object has no attribute 'name'
  2018-06-20 08:59:46.887167 ERROR openstack_dashboard.api.rest.utils error invoking apiclient
  2018-06-20 08:59:46.887212 Traceback (most recent call last):
  2018-06-20 08:59:46.887215   File "/opt/stack/horizon/openstack_dashboard/api/rest/utils.py", line 127, in _wrapped
  2018-06-20 08:59:46.887229     data = function(self, request, *args, **kw)
  2018-06-20 08:59:46.887231   File "/opt/stack/horizon/openstack_dashboard/api/rest/glance.py", line 110, in patch
  2018-06-20 08:59:46.887234     **request.DATA['updated']
  2018-06-20 08:59:46.887235 KeyError: 'updated'

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1777834/+subscriptions


Follow ups