attach volumes when launch instances

Bug #1571392 reported by Lingfeng Xiong
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Wishlist
Sunkara Ramya Sree

Bug Description

It is better to add a UI option allowing attaching volumes when launch a new instance.
Some instances need to mount the attached volume at boot time (usually software start at boot time). Without this feature, it is required to launch a instance, attach volume then reboot it to make the software to use that volume.

Tags: angularjs
Revision history for this message
Ankur (ankur-gupta-f) wrote :

Hello. Could you provide some more detail and use cases where this might be important. Thank you

Changed in horizon:
assignee: nobody → Ankur (ankur-gupta-f)
assignee: Ankur (ankur-gupta-f) → nobody
Revision history for this message
Lingfeng Xiong (xionglingfeng) wrote :

Hi Ankur,
For example. I installed a git server VM. The operating system is installed on a ephemeral device, but of course the repository must stay in a persistent driver. In this case, I created an volume and attach the volume to the VM.
To make my git server automatically start, I created items in /etc/fstab to mount that persistent driver. Then even my VM reboots, the software can automatically start.

However, for some reason, I need to delete the instance and recreate it from image. In Horizon, I clicked on "Launch instance" button and pick that image, then create a instance. After creation, the instance starts, and I do not have any chance to mount the volume. Then my git server starts without volume mounted, and failed.

There are two ways to solve this problem: 1. allow mounting volumes in instance creation, or 2. allow put instance to "shutdown" status after creation.

Revision history for this message
Ankur (ankur-gupta-f) wrote :

Thank you for your quick reply. Will look into it. Hopefully can get more feedback on community on the BKM to implement this.

Ankur (ankur-gupta-f)
Changed in horizon:
assignee: nobody → Ankur (ankur-gupta-f)
Revision history for this message
Itxaka Serrano (itxaka) wrote :

Sounds like this should be a BP rather than a bug?

Ankur (ankur-gupta-f)
Changed in horizon:
assignee: Ankur (ankur-gupta-f) → nobody
Matt Borland (palecrow)
Changed in horizon:
importance: Undecided → Wishlist
status: New → Confirmed
tags: added: angularjs
Changed in horizon:
assignee: nobody → Sunkara Ramya Sree (ramyasunkara)
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.