murano-dashboard/muranodashboard/packages
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
consts.py Separate internal MURANO_REPO_URL and DISPLAY_MURANO_REPO_URL 2016-08-29 03:45:41 +03:00
forms.py Use ThemableSelectWidget for themable selects. 2017-04-05 00:31:05 +01:00
panel.py Split muranodashboard config into multiple files 2016-10-11 14:55:22 +03:00
tables.py Rename 'murano' dashboard to 'app-catalog' 2016-09-06 12:46:46 +03:00
urls.py Fix Downloading Package blocks downloading next package 2016-05-24 00:31:55 -04:00
views.py Update glanceclient from v1 to v2 to avoid deprecation errors. 2017-04-22 20:16:23 +00:00