Is it necessary and mandatory to install cinder or swift?

asked 2017-05-19 05:56:22 -0600

trinh.quang gravatar image

Hi every body I am new user. I installed openstack version newton in 2 nodes: controller node and compute node I do not install cinder nor swift And I still can create instances Is it necessary and mandatory to install cinder or swift? Thanks all

edit retag flag offensive close merge delete


No, they are not mandatory. The default is that nova uses file based storage for instances: the base image is copied to the compute node into /var/lib/nova/instances/_base/, then a diff for each instance launched from this base image is stored under /var/lib/nova/instances/<instance_uuid>/disk

eblock gravatar imageeblock ( 2017-05-22 04:50:43 -0600 )edit

disk details:

root@compute:~ # file /var/lib/nova/instances/<INSTANCE>/disk
/var/lib/nova/instances/<INSTANCE>/disk: QEMU QCOW Image (v3), has backing file (path /var/lib/nova/instances/_base/<BASEIMAGE>)
eblock gravatar imageeblock ( 2017-05-22 04:52:31 -0600 )edit

But if you don't have cinder or swift installed, you won't be able to provide block storage for your instances. See the docs for details.

eblock gravatar imageeblock ( 2017-05-22 04:57:15 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-05-22 08:48:13 -0600

updated 2017-05-22 08:48:42 -0600

Like mentioned in the comments. Openstack itself works well without cinder & swift.

But, certain features will be not available.

If you let us know what your goals are we may can help you with the decision if you need cinder/swift or not.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2017-05-19 05:56:22 -0600

Seen: 318 times

Last updated: May 22 '17