[dashboard] Murano should show error if glance v2 is used

Bug #1624423 reported by Kirill Zaitsev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Kirill Zaitsev
Newton
Fix Released
High
Kirill Zaitsev
Ocata
Fix Released
High
Kirill Zaitsev

Bug Description

Horizon currently supports glance v2. It broke murano-dashboard CI: See https://bugs.launchpad.net/murano/+bug/1624291 for more details.

Murano dashboard should support glance v2, but in this case we should not import images (since this functionality is currently not available (copy_from) in glance v2).

Instead if horizon is configured to use glance v2 murano-dashboard should rise a typical horizon warning, saying where the image can be downloaded.

Tags: dashboard
Changed in murano:
assignee: nobody → zhurong (zhu-rong)
status: Confirmed → In Progress
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :
tags: added: dashboard
Changed in murano:
assignee: zhurong (zhu-rong) → Kirill Zaitsev (kzaitsev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/372026
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=a9dfbc49036acbb564f5a3cae891ce56f27625b2
Submitter: Jenkins
Branch: master

commit a9dfbc49036acbb564f5a3cae891ce56f27625b2
Author: zhurong <email address hidden>
Date: Sun Sep 18 12:54:38 2016 +0800

    Murano-dashboard now shows warnings if glance v1 is unavailable

    Murano-dashboard currently does not fully support glance v2. This commit
    removes restriction to use murano-dashboard with v2-enabled horizon.
    All the relevant places now attempt to create a v1 client instead of v2.
    In case v1 is unavailable an error message is shown.

    Co-authored-by: Kirill Zaitsev <email address hidden>

    Closes-bug: #1624423
    Change-Id: I4cbadd125043cdefd12aac02ec2035005f2a6bc9

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/376980

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (stable/newton)

Reviewed: https://review.openstack.org/376980
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=4a4c7ba75c0f9bf205c50fe30c8cceb051585a9f
Submitter: Jenkins
Branch: stable/newton

commit 4a4c7ba75c0f9bf205c50fe30c8cceb051585a9f
Author: zhurong <email address hidden>
Date: Sun Sep 18 12:54:38 2016 +0800

    Murano-dashboard now shows warnings if glance v1 is unavailable

    Murano-dashboard currently does not fully support glance v2. This commit
    removes restriction to use murano-dashboard with v2-enabled horizon.
    All the relevant places now attempt to create a v1 client instead of v2.
    In case v1 is unavailable an error message is shown.

    Co-authored-by: Kirill Zaitsev <email address hidden>

    Closes-bug: #1624423
    Change-Id: I9dc76c50d6abf4c3400d742ee1848b434fe2b13c
    (cherry picked from commit I4cbadd125043cdefd12aac02ec2035005f2a6bc9)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 3.0.0.0rc2

This issue was fixed in the openstack/murano-dashboard 3.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 3.0.0

This issue was fixed in the openstack/murano-dashboard 3.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 3.1.0

This issue was fixed in the openstack/murano-dashboard 3.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.