murano-dashboard/muranodashboard
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
..
api Static action for UI definition parameters 2016-11-10 23:30:18 +00:00
catalog Add Try/Exception block to get_image and get_supplier_image 2016-12-25 14:51:54 +08:00
categories Split muranodashboard config into multiple files 2016-10-11 14:55:22 +03:00
common Treat empty body as no body in parse_api_error 2016-12-19 15:36:47 +00:00
conf Using rbac policy for images panel 2017-01-13 04:38:11 +00:00
dynamic_ui Update glanceclient from v1 to v2 to avoid deprecation errors. 2017-04-22 20:16:23 +00:00
environments Fixes Deployment History tab incorrectly formatting status. 2017-02-07 10:02:09 -05:00
images Update glanceclient from v1 to v2 to avoid deprecation errors. 2017-04-22 20:16:23 +00:00
local Add js validation for dynamic UI 2017-03-10 08:14:36 +00:00
locale Imported Translations from Zanata 2017-04-18 07:18:32 +00:00
packages Update glanceclient from v1 to v2 to avoid deprecation errors. 2017-04-22 20:16:23 +00:00
static Add js validation for dynamic UI 2017-03-10 08:14:36 +00:00
templates Compress murano-dashboard JS scripts within a common context 2017-01-21 07:55:47 +00:00
templatetags Add and update the license header 2016-08-11 14:21:29 +08:00
tests Update glanceclient from v1 to v2 to avoid deprecation errors. 2017-04-22 20:16:23 +00:00
__init__.py KEERO-318 - Fix all occurrences of old names (keero, glazier) in Dashboard 2013-04-26 16:25:58 +04:00
dashboard.py Split muranodashboard config into multiple files 2016-10-11 14:55:22 +03:00
exceptions.py Add license info for exceptions.py 2016-01-06 06:30:15 +08:00
middleware.py Switch to oslo_log in murano-dashboard 2015-08-11 08:43:55 +00:00
version.py Add reno for RElease NOtes 2015-11-26 00:20:39 +03:00
views.py Rename 'murano' dashboard to 'app-catalog' 2016-09-06 12:46:46 +03:00