Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot create Cinder volumes

hi all

i am unable to create Cinder volumes

I have a 4 node set up at the moment controller1 compute1 network1 cinder1

I have followed the guide to install cinder on the controller1 node and have also followed the guide on the cinder1 node

here are the outputs of some of the commands that I have picked up Cinder1 pvdisplay --- Physical volume --- PV Name /dev/sdb VG Name cinder-volumes PV Size 50.00 GiB / not usable 4.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 12799 Free PE 12799 Allocated PE 0 PV UUID 13h6Dp-wcLQ-28Om-2sC4-21sq-04zn-AcpAXG

pvscan PV /dev/sdb VG cinder-volumes lvm2 [50.00 GiB / 50.00 GiB free] Total: 1 [50.00 GiB] / in use: 1 [50.00 GiB] / in no VG: 0 [0 ]

this is the error i am getting on the controller1 scheduler.log

2014-12-10 13:14:14.033 1319 ERROR cinder.scheduler.flows.create_volume [req-af4f5ce6-e00d-4acd-995b-7fa9a0837580 0b188de927e34893acd94a489fb1e167 d0d944054e504a7eb2ab114c0de98d63 - - -] Failed to schedule_create_volume: No valid host was found.

can anyone point me as to where to look at here if required i can send my cinder.conf files

thanks

Cannot create Cinder volumes

hi all

i am unable to create Cinder volumes

I have a 4 node set up at the moment controller1 compute1 network1 cinder1

I have followed the guide to install cinder on the controller1 node and have also followed the guide on the cinder1 node

here are the outputs of some of the commands that I have picked up up

Cinder1
pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdb
  VG Name               cinder-volumes
  PV Size               50.00 GiB / not usable 4.00 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              12799
  Free PE               12799
  Allocated PE          0
  PV UUID               13h6Dp-wcLQ-28Om-2sC4-21sq-04zn-AcpAXG

13h6Dp-wcLQ-28Om-2sC4-21sq-04zn-AcpAXG pvscan PV /dev/sdb VG cinder-volumes lvm2 [50.00 GiB / 50.00 GiB free] Total: 1 [50.00 GiB] / in use: 1 [50.00 GiB] / in no VG: 0 [0 ]

]

this is the error i am getting on the controller1 scheduler.log

 2014-12-10 13:14:14.033 1319 ERROR cinder.scheduler.flows.create_volume [req-af4f5ce6-e00d-4acd-995b-7fa9a0837580 0b188de927e34893acd94a489fb1e167 d0d944054e504a7eb2ab114c0de98d63 - - -] Failed to schedule_create_volume: No valid host was found.

found.

can anyone point me as to where to look at here if required i can send my cinder.conf filesfiles hi, thanks for the reply

thankshere is the output from controller1

cinder service-list
+------------------+-------------+------+---------+-------+----------------------------+
|      Binary      |     Host    | Zone |  Status | State |         Updated_at         |
+------------------+-------------+------+---------+-------+----------------------------+
| cinder-scheduler | controller1 | nova | enabled |   up  | 2014-12-10T18:54:11.000000 |
+------------------+-------------+------+---------+-------+----------------------------+


root@controller1:~# ll /var/lib/cinder/

total 64
drwxr-xr-x  3 cinder cinder  4096 Dec 10 11:58 ./

drwxr-xr-x 50 root   root    4096 Dec  9 08:25 ../

-rw-------  1 cinder cinder 46080 Dec 10 11:58 cinder.sqlite

drwxr-xr-x  2 cinder cinder  4096 Oct 21 18:58 volumes/

root@controller1:~# grep "var/lib" /etc/cinder/cinder.conf

state_path = /var/lib/cinder
volumes_dir = /var/lib/cinder/volumes

 grep "cinder-volumes" /etc/cinder/cinder.conf

volume_group = cinder-volumes

 mount

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu)
cgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,relatime,hugetlb)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)

here is the same outputs from cinder1

cinder service-list

The program 'cinder' is currently not installed. You can install it by typing:
apt-get install python-cinderclient

root@cinder:~# ll /var/lib/cinder/

total 64

drwxr-xr-x  3 cinder cinder  4096 Dec 10 10:03 ./

drwxr-xr-x 40 root   root    4096 Dec 10 10:03 ../

-rw-------  1 cinder cinder 46080 Dec 10 10:03 cinder.sqlite

drwxr-x---  2 cinder cinder  4096 Oct 21 18:58 volumes/

root@cinder:~# grep "var/lib" /etc/cinder/cinder.conf

state_path = /var/lib/cinder

volumes_dir = /var/lib/cinder/volumes

root@cinder:~# grep "cinder-volumes" /etc/cinder/cinder.conf

volume_group = cinder-volumes

root@cinder:~# mount

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock 
(rw,nosuid,nodev,default_permissions,allow_other)

thanks for the help