nova do not use local storage at boot time after cinder deployed

asked 2019-11-05 21:30:27 -0600

d4432 gravatar image

I successfully install Stein version with 1 controller node and 1 compute node and mount a nfs share at /var/lib/nova/instances on compute node,before I install cinder,nova use local storage to store instance root disk and boot from it.

$ ll instances/
total 34
drwxr-xr-x  5 nova nova   5 Nov  6  2019 ./
drwxr-xr-x 11 nova nova 133 Nov  5 08:46 ../
drwxr-xr-x  2 nova nova   5 Nov  6  2019 ac2ad150-069e-4ede-8e59-904a42e67ba9/
drwxr-xr-x  2 nova nova   3 Nov  6  2019 _base/
drwxr-xr-x  2 nova nova   3 Nov  6  2019 locks/

but after I install cinder on storage node,it will create a volume first and boot from it rather than boot from local storage.

When I stop cinder-volume on storage node,it will raise No valid backend was found. No weighed backends available.Apparently,nova still try to store root disk on cinder.

If I remove all cinder service ,it goes back.

How can I force nova to use local storage , because I want to use cinder as external disk attached to instance but not root disk.

BTY:I boot an instance from horizon dashboard,not from CLI.

Thanks to every experts!

edit retag flag offensive close merge delete


If you use Horizon, be aware that, by default, Horizon launches instances with volumes as root disks. There are options that change this behaviour.

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-05 21:33:23 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-11-05 22:21:23 -0600

d4432 gravatar image

Thanks for @Bernd Bausch tips,I check configuration reference from (

change settings in /etc/openstack-dashboard/

    'config_drive': False,
    'enable_scheduler_hints': True,
    'disable_image': False,
    'disable_instance_snapshot': False,
    'disable_volume': True,
    'disable_volume_snapshot': False,
    'create_volume': False,
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-11-05 21:30:27 -0600

Seen: 368 times

Last updated: Nov 05 '19