ggiamarchi / vagrant-openstack-provider

Use Vagrant to manage OpenStack Cloud instances.
MIT License
247 stars 101 forks source link

Volume creation #290

Open ianabc opened 8 years ago

ianabc commented 8 years ago

Is it possible to create and attach volumes during the vagrant up? I can attach already existing volumes to machines, but it would be really nice to create and destroy them along with the machines they are attached to.

I've been trying to do this as a (heat)stack, but my Vagrantfile is multi-machine and at the moment saying vagrant destroy my-machine deletes the entire stack, removing volumes from other machines.

ktdreyer commented 7 years ago

@ianabc what was your current approach for creating the volumes?

ianabc commented 7 years ago

@ktdreyer My volumes tend to be long lived, so I eventually just switched to using heat templates directly.

FilBot3 commented 6 years ago

Short of using a HEAT template, normal OpenStack operations with this plugin don't automatically create ephemeral Volumes?

TechGuyChris commented 6 years ago

Hello, we use Openstack with Vagrant. Was this request ever fulfilled? This would definitely come in handy with some Oracle Database VMs that we have for testing. We need the extra disks for Oracles ASM which is a requirement for Oracle Databases. We'd like to be able to create/attach the disks at startup. They can be a duplicate of the data that is stored on the 'volume's in Openstack.