New deployed packstack openstack, Failed create instance due to volume failed to created

Javier Pena jpena at redhat.com
Mon Sep 7 07:23:43 UTC 2020


Hi, 

If SELinux is enabled on your machine, could you check if there are any AVCs (grep avc /var/log/audit/audit.log) related to iscsiadm? I have seen that in some deployments, and found out the instructions in [1] to be helpful. 

Regards, 
Javier 

[1] - https://www.server-world.info/en/note?os=CentOS_8&p=openstack_ussuri2&f=8 

----- Original Message -----

> Hi, my clean install openstack queens are not able to create simple instance.
> Got error

> Error: Failed to perform requested operation on instance "test1", the
> instance has an error status: Please try again later [Error: Build of
> instance 18c607fd-e919-4022-be7d-d178d7ab410e aborted: Volume
> 8a3b3e80-1593-46e5-8aa8-a5083bfbb46f did not finish being created even after
> we waited 9 seconds or 4 attempts. And its status is error.].

> Filesystem Size Used Avail Use% Mounted on
> devtmpfs 3.9G 0 3.9G 0% /dev
> tmpfs 3.9G 4.0K 3.9G 1% /dev/shm
> tmpfs 3.9G 25M 3.8G 1% /run
> tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
> /dev/mapper/centos-root 48G 34G 15G 71% /
> /dev/sda1 1014M 182M 833M 18% /boot
> /dev/mapper/centos-home 24G 33M 24G 1% /home
> tmpfs 783M 0 783M 0% /run/user/1000
> /dev/loop1 1.9G 6.1M 1.7G 1% /srv/node/swiftloopback
> tmpfs 783M 0 783M 0% /run/user/0

> pvs
> PV VG Fmt Attr PSize PFree
> /dev/loop0 cinder-volumes lvm2 a-- <20.60g 1012.00m
> /dev/sda2 centos lvm2 a-- <79.00g 4.00m

> vgs
> VG #PV #LV #SN Attr VSize VFree
> centos 1 3 0 wz--n- <79.00g 4.00m
> cinder-volumes 1 1 0 wz--n- <20.60g 1012.00m

> seems my cinder volume no free space. I install VM with 80G storage but
> cinder volume no space.
> I tried extend cinder volume as follows

> lvm vgextend "cinder-volumes" /dev/loop3
> Physical volume "/dev/loop3" successfully created.
> Volume group "cinder-volumes" successfully extended
> pvscan
> PV /dev/loop0 VG cinder-volumes lvm2 [<20.60 GiB / 1012.00 MiB free]
> PV /dev/loop3 VG cinder-volumes lvm2 [<30.00 GiB / <30.00 GiB free]
> PV /dev/sda2 VG centos lvm2 [<79.00 GiB / 4.00 MiB free]
> Total: 3 [<129.59 GiB] / in use: 3 [<129.59 GiB] / in no VG: 0 [0 ]

> vgs
> VG #PV #LV #SN Attr VSize VFree
> centos 1 3 0 wz--n- <79.00g 4.00m
> cinder-volumes 2 1 0 wz--n- 50.59g 30.98g

> When try to create new instance I keep getting the same volume error...
> Please help and advise what should I do...Please help...why 80G still not
> enough for cinder volume.

> Appreciate help. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200907/ed67e68f/attachment.html>


More information about the openstack-discuss mailing list