Create VM with multiple ephemeral disks using 'openstack' client

Solution In Progress - Updated -

Issue

  • We're trying to create a VM with multiple ephemeral disks.

  • It works with the 'nova' client :

# nova boot --flavor test-flavor --image cirros --nic net-name=test-network --ephemeral size=1,format=ext4 --ephemeral size=2,format=ext4 test-vm
  • We can see the 2 ephemeral disks added to the VM :
Disks:
NAME MAJ:MIN        SIZE LABEL         MOUNTPOINT
vda  253:0   53687091200               
vda1 253:1   53678177280 cirros-rootfs /
vdb  253:16   1073741824 ephemeral0    /mnt
vdc  253:32   2147483648 ephemeral1    
  • However, we cannot find the syntax to do the same with the openstack client.

Environment

  • Red Hat OpenStack Platform 13.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content