Bug 1858972 - Cirros 0.5.1 image does not boot on an OSP VM
Summary: Cirros 0.5.1 image does not boot on an OSP VM
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Lee Yarwood
QA Contact: nova-maint
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-20 23:16 UTC by pkomarov
Modified: 2020-10-02 13:00 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-02 13:00:34 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description pkomarov 2020-07-20 23:16:56 UTC
Description of problem:

Cirros 0.5.1 image does not boot on an OSP VM

Version-Release number of selected component (if applicable):
13, 16.1

How reproducible:
100%

Steps to Reproduce:
try to boot a VM with a 0.5.1 cirros image 

using tobiko
http://pastebin.test.redhat.com/885987

or using manual cmd:
http://pastebin.test.redhat.com/885989
then ssh to compute and try virsh console from the nova_libvirt container

Actual results:
vm console hangs because instance failed to boot
no prompt

Expected results:
see the vm user login prompt, ability to ssh into instance

Additional info:

Comment 1 pkomarov 2020-07-20 23:39:08 UTC
sosreports, stack home,all overcloud /var/log, are at : http://rhos-release.virt.bos.redhat.com/log/pkomarov_sosreports/BZ_1858972/

Comment 2 pkomarov 2020-07-20 23:51:48 UTC
sample tobiko log from a failure : 

http://pastebin.test.redhat.com/885994

Comment 3 Lee Yarwood 2020-07-22 22:52:19 UTC
0.5.0 introduced a requirement for at least 128MB of RAM [1], AFAICT that's why 0.5.1 isn't able to boot with the 64MB you've assigned in the flavor.

We recently had to bump this upstream [2] ahead of introducing 0.5.1 [3] FWIW.

Closing this out as NOTABUG, feel free to reopen if you still have issues after bumping the available RAM in your flavor.

[1] https://github.com/cirros-dev/cirros/releases/tag/0.5.0
[2] https://review.opendev.org/#/c/730307/
[3] https://review.opendev.org/#/c/711492/

Comment 4 pkomarov 2020-07-22 23:14:59 UTC
Thanks Lee , 128 of ram is what we're using for the flavor 

(overcloud) [stack@undercloud-0 ~]$ openstack flavor list
+--------------------------------------+------------------+-----+------+-----------+-------+-----------+
| ID                                   | Name             | RAM | Disk | Ephemeral | VCPUs | Is Public |
+--------------------------------------+------------------+-----+------+-----------+-------+-----------+
| f2e8a382-72dd-4889-b0bc-f720a7ee5019 | hbPetiFCz3mTucVH | 128 |    0 |         0 |     1 | True      |
+--------------------------------------+------------------+-----+------+-----------+-------+-----------+

So is this still closed ?

Comment 5 Lee Yarwood 2020-07-22 23:41:06 UTC
(In reply to pkomarov from comment #4)
> Thanks Lee , 128 of ram is what we're using for the flavor 
> 
> (overcloud) [stack@undercloud-0 ~]$ openstack flavor list
> +--------------------------------------+------------------+-----+------+-----
> ------+-------+-----------+
> | ID                                   | Name             | RAM | Disk |
> Ephemeral | VCPUs | Is Public |
> +--------------------------------------+------------------+-----+------+-----
> ------+-------+-----------+
> | f2e8a382-72dd-4889-b0bc-f720a7ee5019 | hbPetiFCz3mTucVH | 128 |    0 |    
> 0 |     1 | True      |
> +--------------------------------------+------------------+-----+------+-----
> ------+-------+-----------+
> 
> So is this still closed ?

Apologies but http://pastebin.test.redhat.com/885989 listed 64MB. 

Feel free to reopen if you're still not able to run instances with 128MB.

Can you also provide the following:

$ openstack server show $instance
$ openstack console log show $instance

Thanks

Comment 6 pkomarov 2020-07-27 11:57:21 UTC
still does not reproduce , I'll reopen if it does..

Comment 7 Federico Ressi 2020-09-24 10:38:28 UTC
Eliad suggested the cause could be we where creating the image with the wrong image format (raw instead of qcow2). I created a patch [1] that should fix it and restore the Cirros image to version 5.1 as specified on OpenStack documentation page [2]

[1] https://review.opendev.org/#/c/753970/
[2] https://docs.openstack.org/image-guide/obtain-images.html#cirros-test

Comment 8 Lee Yarwood 2020-10-02 13:00:34 UTC
This isn't an openstack-nova issue, closing again as NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.