Comment 2 for bug 1571392

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.