Menu entries missing from Horizon if cinder v1 endpoint is deleted

Bug #1670789 reported by Radoslav
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Lucas H. Xu

Bug Description

In the case where there is no cinder v1 endpoint created (or deleted - use openstack service delete cinder to reproduce) certain volume related menu entries are not displayed - Create volume from instance snapshot and create instance from volume - see attachments.

Revision history for this message
Radoslav (radoslav-milanov) wrote :
Revision history for this message
Radoslav (radoslav-milanov) wrote :
Revision history for this message
Radoslav (radoslav-milanov) wrote :
Revision history for this message
Radoslav (radoslav-milanov) wrote :
summary: - Menu entries missing from Horizon if cinder v1 endpoint is delete
+ Menu entries missing from Horizon if cinder v1 endpoint is deleted
description: updated
Revision history for this message
Lucas H. Xu (xuh-2) wrote :

I can confirm this in devstack horizon.

Changed in horizon:
status: New → Confirmed
Revision history for this message
Radomir Dopieralski (deshipu) wrote :
Revision history for this message
Lucas H. Xu (xuh-2) wrote :
Revision history for this message
Radomir Dopieralski (deshipu) wrote :

I'm helpless with Angular, so please take it.

Lucas H. Xu (xuh-2)
Changed in horizon:
assignee: nobody → Lucas H. Xu (xuh-2)
Revision history for this message
Radoslav (radoslav-milanov) wrote :

Can you make the check to consider Cinder present if any version is present - v1,v2,v3?

Revision history for this message
Lucas H. Xu (xuh-2) wrote :

Not sure if it is necessary to check v3 right now. Haven't seen any implementation in the code base for checking that yet. Will give a careful look on this. Thanks! Expecting to send out a patch for review by the end of this week.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/449317

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/449317
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=5ced2f87ef3b480f9d795a3c1ba648a1d0a072df
Submitter: Jenkins
Branch: master

commit 5ced2f87ef3b480f9d795a3c1ba648a1d0a072df
Author: Lucas H. Xu <email address hidden>
Date: Thu Mar 23 16:39:58 2017 -0400

    Change checking cinder v1 to check v2 in panels

    In general, in the case where there is no cinder v1 endpoint created
    (or deleted - use openstack service delete cinder to reproduce) certain
    volume related menu entries are not displayed

    This patch add a a new function to check cinder v2/v3 endpoints instead
    of only checking the v1 endpoint in instance launch model.

    Also, in the image panel, instead of checking v1 endpoint,
    it should check v2 and v3 as well.

    Change-Id: I642b2f62bb9502f958593c9fcad76e21ee1c80ad
    Closes-Bug: #1670789

Changed in horizon:
status: In Progress → Fix Released
Changed in horizon:
importance: Undecided → High
milestone: none → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/450566

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.0.0b1

This issue was fixed in the openstack/horizon 12.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/ocata)

Reviewed: https://review.openstack.org/450566
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=7c2cd41ca2f8843fcc5931b308f1bf13a8b31606
Submitter: Jenkins
Branch: stable/ocata

commit 7c2cd41ca2f8843fcc5931b308f1bf13a8b31606
Author: Lucas H. Xu <email address hidden>
Date: Thu Mar 23 16:39:58 2017 -0400

    Change checking cinder v1 to check v2 in panels

    In general, in the case where there is no cinder v1 endpoint created
    (or deleted - use openstack service delete cinder to reproduce) certain
    volume related menu entries are not displayed

    This patch add a a new function to check cinder v2/v3 endpoints instead
    of only checking the v1 endpoint in instance launch model.

    Also, in the image panel, instead of checking v1 endpoint,
    it should check v2 and v3 as well.

    Change-Id: I642b2f62bb9502f958593c9fcad76e21ee1c80ad
    Closes-Bug: #1670789
    (cherry picked from commit 5ced2f87ef3b480f9d795a3c1ba648a1d0a072df)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 11.0.3

This issue was fixed in the openstack/horizon 11.0.3 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.