Unable to create volume using cinder-volume on a separate node without public url
Hi All,
Greetings, i need your help and advice regarding an issue that i am facing with cinder
I am unable to create a volume using cinder . I have cinder-volume which is on another machine. The cinder-api and the cinder-scheduler are on the controller machine.
For setting up the controller and the nova-nodes , my reference has been https:/
and for setting up the cinder-volume on another machine, my reference is http://
10.0.0.11 is the internal ip address of the contoller, on which i have cinder-
10.0.0.15 is the internal ip address of the cinder-volume machine, I also have nova running on this machine
The details for the cinder-volumes machine is as follows:
Contents of /etc/network/
# The primary network interface
auto eth0
iface eth0 inet static
address 10.0.0.15
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-search ubuntu
auto eth1
iface eth1 inet static
address 11.0.0.6
netmask 255.255.255.0
network 11.0.0.0
broadcast 10.0.0.255
Contents of /etc/cinder/
[DEFAULT]
rootwrap_config = /etc/cinder/
sql_connection = mysql:/
api_paste_confg = /etc/cinder/
iscsi_helper = tgtadm
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_driver = cinder.
rabbit_host = 10.0.0.11
rabbit_password = guest
rabbit_port = 5672
rabbit_userid = guest
rabbit_virtual_host = /
Contents of /etc/cinder/
[filter:authtoken]
#paste.
paste.filter_
service_protocol = http
#service_host = 127.0.0.1
service_host = 10.0.0.11
service_port = 5000
#auth_host = 127.0.0.1
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
#admin_tenant_name = %SERVICE_
#admin_user = %SERVICE_USER%
#admin_password = %SERVICE_PASSWORD%
Info on Volume group
$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-
On looking at /var/log/
root@compute-
2013-05-30 00:48:36 27950 TRACE cinder File "/usr/lib/
2013-05-30 00:48:36 27950 TRACE cinder self.manager = manager_
2013-05-30 00:48:36 27950 TRACE cinder File "/usr/lib/
2013-05-30 00:48:36 27950 TRACE cinder self.driver = importutils.
2013-05-30 00:48:36 27950 TRACE cinder File "/usr/lib/
2013-05-30 00:48:36 27950 TRACE cinder return import_
2013-05-30 00:48:36 27950 TRACE cinder File "/usr/lib/
2013-05-30 00:48:36 27950 TRACE cinder __import__(mod_str)
2013-05-30 00:48:36 27950 TRACE cinder ImportError: No module named drivers.lvm
2013-05-30 00:48:36 27950 TRACE cinder
I could not understand the reason for the above ImportError, what could be the reason, and what is the impact of the above error?
This is not my main issue, but a reason to worry nonetheless
On the Controller machine:
Contents of /etc/network/
auto lo
iface lo inet loopback
auto lo:0
iface lo:0 inet loopback
address 115.119.76.176
# The primary network interface
auto eth1
iface eth1 inet static
address 10.0.0.11
netmask 255.255.255.0
gateway 10.0.0.1
dns-nameservers 8.8.8.8
Keystone entries are as follows:
$ keystone service-list
+------
| id | name | type | description |
+------
| 0e6a599935a84f5
| 348de5b8bd704dd
| 7b3690696395440
| b3b8f8f5f85f4a2
| caf2c93e0af3409
| ebcdf12323df485
+------
$keystone endpoint-list
+------
| id | region | publicurl | internalurl | adminurl |
+------
| 5461a5e0610c47e
| 5bca500b846a400
| 79f18ba93dc746b
| b143a3aba3e849a
| cbccb4192e5c4b5
| cd4f766392fa412
+------
For cinder-volume, with port number 8776, i tried creating an endpoint without the publicurl, but the database got corrupted, so i used 10.0.0.15(the cinder-volume machine), now for $cinder list, i get a HTTP 400 error
So i gave the public ip address of http://
Please help.
Regards
Mohan
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Cinder Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mohan
- Solved:
- Last query:
- Last reply: