Ask Your Question
1

cinder in two node setup [closed]

asked 2015-08-12 02:11:37 -0500

updated 2015-08-13 06:03:59 -0500

How can i install and configure the cinder in controller machine?

Openstack release: Juno,

Setup Type: Two node setup (first one is controller and second one is for compute).

only one partition is created in controller side where Ubuntu i.e. openstack is already running. In another word we can say there is no separate partition created for cinder and i want to use my existing partition.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by IRSHAD
close date 2015-08-18 05:16:56.982645

Comments

Issue has been resolve now by creating a separate logical partition in controller machine. Thanks to all for your response.

IRSHAD gravatar imageIRSHAD ( 2015-08-18 05:18:11 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
2

answered 2015-08-12 09:28:37 -0500

dbaxps gravatar image

updated 2015-08-13 06:54:42 -0500

This setup was tested on RDO Juno on CentOS 7.X (it matches your requirements) :-
http://lxer.com/module/newswire/view/...
Actually, RH doesn't recommend thin LVMs in prod environment, what is suggested by @vincent-legoll
See details here:- https://ask.openstack.org/en/question...

edit flag offensive delete link more

Comments

Just out of curiosity, do you have any link to that RH non-recommendation ?

vincent-legoll gravatar imagevincent-legoll ( 2015-08-13 06:06:07 -0500 )edit

Default AIO packstack install does it. It was stated multiple times ( in particular on RDO mailing list ), that thin LVM setup may serve only as POC , but never been used in real environment.
LVMiSCSI cinder back-end setup is a standard way. See links in my answer.

dbaxps gravatar imagedbaxps ( 2015-08-13 06:48:21 -0500 )edit
1

answered 2015-08-12 08:57:21 -0500

Instead of using a real hard disk partition, you can try with a block-device-in-a-file

# fallocate -l 1G /tmp/test.bin
# losetup /dev/loop0 /tmp/test.bin

Then use loop0 instead of sdb to configure cinder... You'll have to do the losetup thing each time you reboot, though...

I have not actually tested this, but that ought to work... Please tell us if you manage to get it working.

edit flag offensive delete link more
0

answered 2015-08-18 05:15:53 -0500

Thanks vincent-legoll and dbaxps for your response.

I have resolve the issue by creating a logical volume in controller machine and cinder is now working fine. All the cinder services are running in controller machine.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-08-12 02:11:37 -0500

Seen: 550 times

Last updated: Aug 18 '15