create volume option is shown, even without cinder enabled

Bug #1267438 reported by Matthias Runge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Matthias Runge
Havana
Fix Released
High
Matthias Runge

Bug Description

on http://localhost:8000/project/images_and_snapshots/

there is the "create volume" option enabled, even if cinder is disabled.

Revision history for this message
Matthias Runge (mrunge) wrote :

boot from image (creates a new volume) needs to be disabled, too

Matthias Runge (mrunge)
tags: added: havana-backport-potential
Changed in horizon:
importance: Undecided → High
milestone: none → icehouse-2
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/65675

Changed in horizon:
assignee: nobody → Matthias Runge (mrunge)
status: New → In Progress
David Lyle (david-lyle)
Changed in horizon:
milestone: icehouse-2 → icehouse-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/65675
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=33076684a9db19b5e25ba517ce3ac90bb5c25fc0
Submitter: Jenkins
Branch: master

commit 33076684a9db19b5e25ba517ce3ac90bb5c25fc0
Author: Matthias Runge <email address hidden>
Date: Thu Jan 9 13:21:50 2014 +0100

    disable volume creation, when cinder is disabled

    before this patch, it's possible to try to create a volume
    from an image, create a volume during instance creation etc.

    The same applies to create a volume from snapshot.

    Change-Id: Ib573487938e0833668b002d05574e587734ef829
    Closes-bug: 1267438

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/69343

Julie Pichon (jpichon)
tags: removed: havana-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/havana)

Reviewed: https://review.openstack.org/69343
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=361b76698bf368d4b7f8d31241a2f526fd5e96d9
Submitter: Jenkins
Branch: stable/havana

commit 361b76698bf368d4b7f8d31241a2f526fd5e96d9
Author: Matthias Runge <email address hidden>
Date: Thu Jan 9 13:21:50 2014 +0100

    disable volume creation, when cinder is disabled

    before this patch, it's possible to try to create a volume
    from an image, create a volume during instance creation etc.

    The same applies to create a volume from snapshot.

    Closes-bug: 1267438
    (cherry picked from commit 33076684a9db19b5e25ba517ce3ac90bb5c25fc0)

    Conflicts:
     openstack_dashboard/dashboards/project/images_and_snapshots/images/tables.py
     openstack_dashboard/dashboards/project/instances/workflows/create_instance.py

    Change-Id: Ib573487938e0833668b002d05574e587734ef829

Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-3 → 2014.1
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.