creating volume fails

asked 2015-06-10 15:53:12 -0500

aesansun gravatar image

updated 2015-06-12 05:53:35 -0500

sunnyarora gravatar image

i have a very simple setup. have controller node and compute storage node. when creating a volume i get this error in the controller

ihcontrol01  cinder-scheduler.log 
2015-06-10 14:13:25.628 1068 ERROR cinder.scheduler.flows.create_volume [req-084ad6ac-7320-414e-b761-c5faa5b554f1 7c0e5f1bd9eb49c386f1f15e1f1c413e 364f13d600ae45e781d01dbc380267e3 - - -] Failed to schedule_create_volume: No valid host was found.

ihcompute cinder-volume.log seems i setup correctly

2015-06-10 14:56:40.267 4391 INFO cinder.volume.manager [-] Updating volume status
2015-06-10 14:57:40.268 4391 INFO cinder.volume.manager [-] Updating volume status
2015-06-10 14:58:40.268 4391 INFO cinder.volume.manager [-] Updating volume status
2015-06-10 14:59:40.268 4391 INFO cinder.volume.manager [-] Updating volume status
2015-06-10 15:00:40.268 4391 INFO cinder.volume.manager [-] Updating volume status
2015-06-10 15:01:40.269 4391 INFO cinder.volume.manager [-] Updating volume status

root@ihcompute:~# vgs
  VG             #PV #LV #SN Attr   VSize  VFree
  cinder-volumes   1   0   0 wz--n- 80.00g 80.00g

root@ihcompute:/etc/cinder# more cinder.conf
[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes

rpc_backend = rabbit
rabbit_host = ihcontrol01
rabbit_port = 5672

my_ip = 10.0.0.131
glance_host = ihcontrol01

[keystone_authtoken]
auth_uri =   http://ihcontrol01:5000  
auth_host = ihcontrol01
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = 123

[database]
connection = mysql://cinder:CINDER_DBPASS@ihcontrol01/cinder

when i run this i don't see my compute host should i

root@ihcontrol01:~# cinder-manage host list
host                            zone
ihcontrol01                     nova

I followed this documentation docs in openstack

on my compute server : shows i have 80gb free ..

root@ihcompute:/software/keystone# vgs
  VG             #PV #LV #SN Attr   VSize  VFree
  cinder-volumes   1   0   0 wz--n- 80.00g 80.00g

and i can't even create a 4 gb volume

cinder create --display-name myVolume3 4

let me know if i missed something .

many thanks

ae

edit retag flag offensive close merge delete

Comments

check below options & restarting service

rabbit_userid = guest
rabbit_password = PASSWORD (check for other configuration files for password of guest rabbit user)
rpc_backend=cinder.openstack.common.rpc.impl_kombu
notification_driver=cinder.openstack.common.notifier.rpc_notifier
sunnyarora gravatar imagesunnyarora ( 2015-06-12 11:48:57 -0500 )edit