Attach Volume when instance is shutoff is not possible

Bug #1251255 reported by Jordan Pittier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Jordan Pittier

Bug Description

Hi,
Currently with Horizon it's not possible to attach a volume to an instance which status is "Shutoff". The CLI allows this. Some OS doesn't support well volume hotplug (such as Windows server 2012 with virtio 0.1-65, as confirmed in the comments of http://www.cloudbase.it/openstack-windows-server-2012-r2-evalution-images/). Thus, for some OS, to shutdown the instance before attaching a volume is safer.

I suggest to loosen the patch which followed this bug report : https://bugs.launchpad.net/horizon/+bug/917779

I am working on a patch.

Jordan

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/56390

Changed in horizon:
assignee: nobody → Jordan Pittier (jordan-pittier)
status: New → In Progress
Changed in horizon:
assignee: Jordan Pittier (jordan-pittier) → Kieran Spear (kspear)
Kieran Spear (kspear)
Changed in horizon:
assignee: Kieran Spear (kspear) → Jordan Pittier (jordan-pittier)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/56390
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=3a9b18e3b9b7bf8bfd06bd239f710f11589abbbe
Submitter: Jenkins
Branch: master

commit 3a9b18e3b9b7bf8bfd06bd239f710f11589abbbe
Author: Kieran Spear <email address hidden>
Date: Fri Dec 20 14:16:01 2013 +1100

    Attach volume eventhough the instance is shutoff

    It should be possible to attach a volume to a shutoff instance.
    Nova CLI (nova volume-attach) allows this and Horizon should be
    on par.

    Change-Id: Ie7c351e5b23f218d6d10c80b9aebbf233c62b7be
    Closes-Bug: 1251255

Changed in horizon:
status: In Progress → Fix Committed
Kieran Spear (kspear)
Changed in horizon:
importance: Undecided → Low
milestone: none → icehouse-2
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-2 → 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.