r/openstack • u/[deleted] • Jun 08 '23
nova vs cinder as boot volume
good morning,
any good reason to keep nova glance images as default boot, instead of using creating a new volume in cinder?
using cinder for me is good at all because i can cinder-backup volumes to external nfs, nova boot volumes can only snap and create a new image in glance...
thank you
2
2
u/rmdf Jun 08 '23 edited Jun 14 '23
I used to boot from a image using 'openstack server create --image imagename ...' because you need to write less,but...
Today I prefer the two steps approach:
vol=$(openstack volume create --image...)
openstack server create --volume vol... For a reason. If there is an error, you can see if the problem is in cinder or is in nova. If the problem is Nova, you can solve and launch faster, because the volume was already created. Also, you set the volumes name for free.
5
u/SilverSQL Jun 08 '23
There's no good reason to keep booting from a local image. This is pure legacy and the official stance is to use Cinder volumes.
If you don't care about a particular volume past the instances' life, you can tell Nova to delete a particular volume when the instance is deleted.