Ask Your Question
0

problem with cinder

asked 2015-09-02 11:51:17 -0500

abdelsnake gravatar image

updated 2015-09-02 12:43:58 -0500

hello i have i problem with cinder-volum i install openstack juno centos multinodes (1cintroller+1network+3computes)and i have more partitiions in computes nodes i want to install cinder volume in this computes nodes but i have misconfig there is my configuration

in the first storage nodes(in compute node1)

pvcreate /dev/sdb1
pvcreate cinder-volume-1

[DEFAULT]
rpc_backend = rabbit
auth_strategy = keystone
my_ip = x.x.X.X
enabled_backends=lvmdriver-1
glance_host = controller

...
[lvmdriver-1]
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group = cinder-volumes-1
volume_backend_name=LVM_iSCSI
iscsi_protocol = iscsi
iscsi_helper = lioadm

in the second storage nodes(in compute node2)

pvcreate /dev/sdb1
pvcreate cinder-volume-2

[DEFAULT]
rpc_backend = rabbit
auth_strategy = keystone
my_ip = x.x.X.X
enabled_backends=lvmdriver-2
glance_host = controller

...
[lvmdriver-2]
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group = cinder-volumes-2
volume_backend_name=LVM_iSCSI
iscsi_protocol = iscsi
iscsi_helper = lioadm

in controller node i do same thing like here http://docs.openstack.org/juno/instal... finally : i can't create a volume they stack in creating but not created and can't delete it ?????

any idea plz

edit retag flag offensive close merge delete

Comments

Please, add logs from /var/log/cinder

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-09-02 12:43:16 -0500 )edit

thnx
my log cinder/volumes.log cinder.volume.manager Stderr: u' Volume group "cinder-volumes" not found\n Cannot process volume group cinder-volumes\n'

but First i want to know if there are misconfiguration in my config for cinder.conf and the creation fo vgroup?

abdelsnake gravatar imageabdelsnake ( 2015-09-02 15:18:15 -0500 )edit

@abdelsnake: you should edit the question to add more details, not add comment. Make it readable and clear for new readers.

smaffulli gravatar imagesmaffulli ( 2015-09-03 11:53:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-02 16:52:13 -0500

updated 2015-09-02 18:08:04 -0500

Hi, Volume group value in both nodes is not the same as the volume groups you had created.

volume_group = cinder-volumes-2
pvcreate cinder-volume-2

Regards

edit flag offensive delete link more

Comments

i forgot the "s" in but i add it is still the same error! can you offer me a method of volume group creation and configuration because I believe that I have planted somewhere.one just question in controller node it still the same like the guide???

abdelsnake gravatar imageabdelsnake ( 2015-09-03 03:09:56 -0500 )edit

Have you restarted cinder services after change the file? Anyway, if you have created a volume group with a diferent name, just put that name in volume_group option. If still having issues, paste the log

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-09-03 03:14:17 -0500 )edit

yes i had restart all service but in cinder-volumes status i have this message in red cinder : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvs --noheadings --unit=g -o vg_name,name,size --nosuffix cinder-volumes-2

abdelsnake gravatar imageabdelsnake ( 2015-09-03 04:03:40 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-02 11:51:17 -0500

Seen: 1,380 times

Last updated: Sep 02 '15