murano-dashboard/muranodashboard/dynamic_ui
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
fields.py Update glanceclient from v1 to v2 to avoid deprecation errors. 2017-04-22 20:16:23 +00:00
forms.py Fix the import keypair url 2017-04-01 16:37:41 +08:00
helpers.py Ability to reference single object several times 2016-11-10 23:30:30 +00:00
services.py Ability to reference single object several times 2016-11-10 23:30:30 +00:00
version.py Add Parameters section to UI definition 2016-11-10 14:00:39 -08:00
yaql_expression.py Change Murano Dashboard Limit for Memory and Instances 2017-01-13 12:06:33 +01:00
yaql_functions.py Ability to reference single object several times 2016-11-10 23:30:30 +00:00