murano-dashboard/muranodashboard/images
Felipe Monteiro 273ed4797e Update glanceclient from v1 to v2 to avoid deprecation errors.
Currently, the app-catalog/images view in Horizon is throwing
a 300 HttpMultipleChoices exception, with the details:
"Requested version of OpenStack Images API is not available."

Also, the glance v1 client is deprecated, so we should move to glance
v2 wherever possible.

This patch, therefore, removes glanceclient v1 dependency
from murano dashboard as much as possible, especially
given that Glance team intends on removing it from Pike [0].

The only remaining places where the glanceclient v1 is kept
are:
  - in _ensure_images in muranodashboard/packages/views.py,
    which uses copy_from functionality from glanceclient v1 to load
    images automatically.
  - done in ImportPackageWizard, which sets each package to
    public if the image that was uploaded was public

[0] https://review.openstack.org/#/c/328390/

Closes-Bug: #1675171
Partially-Implements blueprint: migrate-to-glance-v2
Change-Id: Id5348bc34216d5f5ed7fbb8caf71139d64db3f61
2017-04-22 20:16:23 +00:00
..
__init__.py Remove the H104 pep8 ignore from tox.ini 2016-07-30 16:20:31 +08:00
forms.py Update glanceclient from v1 to v2 to avoid deprecation errors. 2017-04-22 20:16:23 +00:00
panel.py Split muranodashboard config into multiple files 2016-10-11 14:55:22 +03:00
tables.py Using rbac policy for images panel 2017-01-13 04:38:11 +00:00
urls.py Update URLs to Django 1.8 style 2016-02-13 13:27:13 +08:00
views.py Update glanceclient from v1 to v2 to avoid deprecation errors. 2017-04-22 20:16:23 +00:00