Problems with cinder-volume installation
Hi All,
I am facing problems while installing cinder-volume. Will be grateful for any help in solving the same.
I am trying to install cinder-volume on a separate machine. I also have compute node installed on this machine.
I have the cinder-api, cinder-scheduler on the controller with other services. I also have issues with the connection from the controller with the cinder-volume, for which i have raised a question. (https:/
This is regarding the cinder-volume installation. I list down the steps that i have done, and the error message that i get. Please let me know how to solve this problem
Controller ip address: 10.0.0.11 and cinder-volume ip address 10.0.0.15
1. Installed cinder-volume iscsitarget iscsitarget-dkms
2. Configure the iscsi services
Edited /etc/cinder/
[DEFAULT]
rootwrap_config = /etc/cinder/
sql_connection = mysql:/
volume_
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/
volume_
iscsi_helper=tgtadm
api_paste_confg = /etc/cinder/
rabbit_
rabbit_
rabbit_port=5672
rabbit_userid=guest
rabbit_
Edited /etc/cinder/
[filter:authtoken]
paste.filter_
service_protocol = http
service_host = 10.0.0.11
service_port = 5000
auth_host = 10.0.0.11
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = service_pass
signing_dir = /var/lib/cinder
I restart
cd /etc/init.d/; for i in $( ls cinder-* ); do sudo service $i restart; done
VG display output:
$vgdisplay
--- Volume group ---
VG Name cinder-volumes
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.82 TiB
PE Size 4.00 MiB
Total PE 476671
Alloc PE / Size 0 / 0
Free PE / Size 476671 / 1.82 TiB
VG UUID A0LGS0-
When i check the state of cinder-volume, i get the below message.
$cd /etc/init.d/; for i in $( ls cinder-* ); do sudo service $i status; done
-> cinder-volume stop/waiting
Is this okay?
In /var/log/
2013-06-09 13:24:13 10039 CRITICAL cinder [-] No module named drivers.lvm
2013-06-09 13:24:13 10039 TRACE cinder Traceback (most recent call last):
2013-06-09 13:24:13 10039 TRACE cinder File "/usr/bin/
2013-06-09 13:24:13 10039 TRACE cinder server = service.
2013-06-09 13:24:13 10039 TRACE cinder File "/usr/lib/
2013-06-09 13:24:13 10039 TRACE cinder periodic_
2013-06-09 13:24:13 10039 TRACE cinder File "/usr/lib/
2013-06-09 13:24:13 10039 TRACE cinder self.manager = manager_
2013-06-09 13:24:13 10039 TRACE cinder File "/usr/lib/
2013-06-09 13:24:13 10039 TRACE cinder self.driver = importutils.
2013-06-09 13:24:13 10039 TRACE cinder File "/usr/lib/
2013-06-09 13:24:13 10039 TRACE cinder return import_
2013-06-09 13:24:13 10039 TRACE cinder File "/usr/lib/
2013-06-09 13:24:13 10039 TRACE cinder __import__(mod_str)
2013-06-09 13:24:13 10039 TRACE cinder ImportError: No module named drivers.lvm
Can someone please let me know the reason for this error and the solution for the same.
Regards
Mohan
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Cinder Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Patrick Vinas
- Solved:
- Last query:
- Last reply: