-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding multiple Ephemeral Volumes to Compute Instance on OpenStack #4042
Comments
Hi there, I didn't know you could do this. 😄 It looks like this works by passing the ephemeral disks to the "block_device_mapping_v2": [
{
"boot_index": 0,
"delete_on_termination": true,
"destination_type": "local",
"source_type": "image",
"uuid": "036fa6c1-b9c1-435c-9d70-83de40d4af96"
},
{
"boot_index": -1,
"delete_on_termination": true,
"destination_type": "local",
"guest_format": "ext4",
"source_type": "blank",
"volume_size": "1"
},
{
"boot_index": -1,
"delete_on_termination": true,
"destination_type": "local",
"guest_format": "ext4",
"source_type": "blank",
"volume_size": "1"
}
], This should be supported in Gophercloud, under the Thanks for reporting this. Hopefully we'll be able to get this enabled soon. |
Thanks for the update @jtopjian. Looking forward to the multiple |
Just a quick update: I have this working but need to get a few small changes into Gophercloud. If you're interested, here is the working code: https://github.com/jtopjian/terraform/tree/jtopjian-openstack-multi-ephemeral There might be minor changes to those two branches over time. |
Thanks a lot for the update @jtopjian! |
@jtopjian I feel like my timing is very fortunate, as it looks like this is really close to being done. If I am reading this right, you merged #4288 yesterday, which was a prerequisite for you creating a PR for your jtopjian-openstack-multi-ephemeral branch (jtopjian/terraform@d681c25)? |
@justinclayton Yep, all correct. 😄 The next step is to get rackspace/gophercloud#515 merged and then I'll be able to open a PR for jtopjian@d681c25. |
@afritzler @justinclayton Hey guys, just a heads up that I opened #5131. If you can, please test and let me know if you have any problems or comments! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi guys,
is there a way to add multiple ephemeral volumes to a given instance?
Of course your flavor has to have a big enough ephemeral size configured.
http://docs.openstack.org/cli-reference/content/novaclient_commands.html#novaclient_subcommand_boot
Regards,
Andreas
The text was updated successfully, but these errors were encountered: