CentOS 7 packstack - Instance fails, Error: Volume did not finish being created
Hello there, I installed packstack -allinone on CentOS 7 of openstack ocata. I created a single instance with my manually created image of Lubuntu 16.04. But now i can not create any more instance. Instance creation fails with error -
Build of instance e485ce56-c91c-4a5f-b02a-7a8937264f63 aborted: Volume dbacff49-3263-4728-952d-f4563f70589e did not finish being created even after we waited 3 seconds or 2 attempts. And its status is error.
I have tried with cirros still same problem. But can still start and use the instance of Lubuntu i created with 20GB disk. I have uploaded logs of cinder and nova here - https://www.dropbox.com/s/kokxhq04v6jydzo/logs.tar.gz?dl=0 (https://www.dropbox.com/s/kokxhq04v6j...) . Keep in mind i am a beginner user. Kindly help.
Edit: I can launch instances if i set create new volume to "No". Output of df, pvs and vgs -
[root@localhost mirza]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/centos-root 171305296 37026124 125554284 23% /
devtmpfs 8053972 0 8053972 0% /dev
tmpfs 8070296 24372 8045924 1% /dev/shm
tmpfs 8070296 9488 8060808 1% /run
tmpfs 8070296 0 8070296 0% /sys/fs/cgroup
/dev/sda9 1038336 235972 802364 23% /boot
/dev/sda8 1046516 9960 1036556 1% /boot/efi
/dev/loop0 1900368 6148 1772980 1% /srv/node/swiftloopback
tmpfs 1614060 4 1614056 1% /run/user/42
tmpfs 1614060 32 1614028 1% /run/user/1000
tmpfs 1614060 0 1614060 0% /run/user/0
tmpfs 1614060 0 1614060 0% /run/user/163
[root@localhost mirza]# pvs
PV VG Fmt Attr PSize PFree
/dev/loop1 cinder-volumes lvm2 a-- <20.60g 612.00m
/dev/sda10 centos lvm2 a-- <198.10g 0
[root@localhost mirza]# vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 2 0 wz--n- <198.10g 0
cinder-volumes 1 1 0 wz--n- <20.60g 612.00m
I use an ipad and can't see your logs, but my guess is that you have no space left for additional volumes. Packstack implements Cinder volumes on an LVM physical volume that resides on a loopback device of a few GB. Run
df
,pvs
orvgs
for confirmation.The Horizon instance creation dialog has a flag for volume creation. It's on by default. Reset it and try again; you will then launch an instance whose disk is implemented on ephemeral storage rather than a Cinder volume. That should work if you have no other problems.
Sorry for late reply. I was travelling to another country. There is not enough space here in comment to add output of df, pvs and vgs. I am adding them to the question. One thins is that if i do not create a new volume for a instance it finishes building and i can run it.
I do not see any option to reset the flag in horizon instance creation dialog.