New deployed packstack openstack, Failed create instance due to volume failed to created
Donny Davis
donny at fortnebula.com
Sun Sep 6 07:15:23 UTC 2020
I would start by looking at the logs for cinder.
Donny Davis
c: 805 814 6800
On Sat, Sep 5, 2020, 7:50 PM dangerzone ar <dangerzonen at gmail.com> wrote:
> Hi Donny and team,
> This is the output of lvs and vgdisplay.
> I have tried reinstall my OS with different storage size (60G and 80G)
> both setup also got problem openstack to create new instance error with the
> volume and similar output where
> storage of cinder is too small.... even when I extend cinder volume and
> the size has been extended, still got volume error when trying to spin new
> vm... all this is new deployment.
> May I know how to resolve this...I want to test openstack. Thank you
>
> lvs
> LV VG Attr LSize Pool Origin Data%
> Meta% Move Log Cpy%Sync Convert
> home centos -wi-ao---- 23.33g
> root centos -wi-ao---- <47.79g
> swap centos -wi-ao---- <7.88g
> cinder-volumes-pool cinder-volumes twi-aotz-- 19.57g 0.00
> 10.55
>
> vgdisplay
> --- Volume group ---
> VG Name cinder-volumes
> System ID
> Format lvm2
> Metadata Areas 2
> Metadata Sequence No 17
> VG Access read/write
> VG Status resizable
> MAX LV 0
> Cur LV 1
> Open LV 0
> Max PV 0
> Cur PV 2
> Act PV 2
> VG Size 50.59 GiB
> PE Size 4.00 MiB
> Total PE 12952
> Alloc PE / Size 5020 / <19.61 GiB
> Free PE / Size 7932 / 30.98 GiB
> VG UUID LUenAt-0zrU-42HE-dmc3-bb2e-g4bi-HFDOTA
>
> --- Volume group ---
> VG Name centos
> System ID
> Format lvm2
> Metadata Areas 1
> Metadata Sequence No 4
> VG Access read/write
> VG Status resizable
> MAX LV 0
> Cur LV 3
> Open LV 3
> Max PV 0
> Cur PV 1
> Act PV 1
> VG Size <79.00 GiB
> PE Size 4.00 MiB
> Total PE 20223
> Alloc PE / Size 20222 / 78.99 GiB
> Free PE / Size 1 / 4.00 MiB
> VG UUID CKC4EU-9qXu-m77Z-x1O4-S0Rq-eLdZ-VczPOb
>
> On Sun, Sep 6, 2020 at 4:22 AM Donny Davis <donny at fortnebula.com> wrote:
>
>> What is the output of lvs? Also what size block device are you trying to
>> create?
>>
>> Donny Davis
>> c: 805 814 6800
>>
>> On Sat, Sep 5, 2020, 12:27 PM dangerzone ar <dangerzonen at gmail.com>
>> wrote:
>>
>>> 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
>>> extendedpvscan 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/20200906/01d2d6d4/attachment.html>
More information about the openstack-discuss
mailing list