Bug 1828132 - [4.4][RHCOS] no payload device attached when starting an RHCOS VM as run-once
Summary: [4.4][RHCOS] no payload device attached when starting an RHCOS VM as run-once
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.4.1
: ---
Assignee: Liran Rotenberg
QA Contact: Beni Pelled
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-27 06:29 UTC by Beni Pelled
Modified: 2020-07-08 08:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-08 08:26:40 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)
RHCOS gets stuck on the boot (16.88 KB, image/png)
2020-04-27 06:35 UTC, Beni Pelled
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 108683 0 master MERGED frontend: fix run-once for ignition 2020-06-02 10:24:44 UTC

Description Beni Pelled 2020-04-27 06:29:58 UTC
Description of problem:
An RHCOS VM has no payload device (for the ignition file) when running the VM as run-once
- and the operating system gets stuck while booting.

Version-Release number of selected component (if applicable):
- RHV 4.4.0-0.33.master.el8ev
- rhcos-44.81.202004250133-0-openstack
- libvirt-6.0.0-17.module+el8.2.0+6257+0d066c28.x86_64
- vdsm-4.40.13-1.el8ev.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create an RHCOS VM (make sure RHCOS configured under 'Edit > General > Operation System')
2. Start the VM as run-once and check the 'Ignition 2.3.0' checkbox under 'Initial Run'.

Actual results:
No payload device attached to the VM and the VM gets stuck while booting

dumpxml result (empty):
# virsh -r dumpxml <rhcos_vm> | sed -n '/ovirt-vm:vmPayload/,/\/ovirt-vm:vmPayload/p'

Expected results:
Payload device is attached to the VM and RHCOS is up and running

dumpxml should result something like:
# virsh -r dumpxml <rhcos_vm> | sed -n '/ovirt-vm:vmPayload/,/\/ovirt-vm:vmPayload/p'
            <ovirt-vm:vmPayload>
                <ovirt-vm:volId>config-2</ovirt-vm:volId>
                <ovirt-vm:file path="openstack/latest/meta_data.json">ewogICJhdmFpbGFiaWxpdHlfem9uZSIgOiAibm92YSIsCiAgImxhdW5jaF9pbmRleCIgOiAiMCIsCiAgIm1ldGEiIDogewogICAgInJvbGUiIDogInNlcnZlciIsCiAgICAiZHNtb2RlIiA6ICJsb2NhbCIsCiAgICAiZXNzZW50aWFsIiA6ICJmYWxzZSIKICB9LAogICJ1dWlkIiA6ICIxYTkwNTA3Zi03MzllLTRmNWMtOWI5NS1mNWEzODk4ZmJiZGIiCn0=</ovirt-vm:file>
                <ovirt-vm:file path="openstack/latest/user_data">eyJpZ25pdGlvbiI6eyJ2ZXJzaW9uIjoiMi4zLjAifX0=</ovirt-vm:file>
            </ovirt-vm:vmPayload>

Additional info:
The VM works as expected when 'Ignition 2.3.0' is checked under 'Edit > Initial Run' and the VM runs in standard mode (not run-once)

Comment 1 Beni Pelled 2020-04-27 06:35:02 UTC
Created attachment 1682038 [details]
RHCOS gets stuck on the boot

Comment 2 Beni Pelled 2020-06-02 11:56:15 UTC
Verified with:
- ovirt-engine-4.4.1.1-0.5.el8ev.noarch
- libvirt-6.0.0-17.module+el8.2.0+6257+0d066c28.x86_64
- vdsm-4.40.18-1.el8ev.x86_64

Verification steps:
1. Create an RHCOS VM (rhcos-44.81.202004250133-0-openstack in my case)
2. Start the VM as run-once and check the 'Ignition 2.3.0' checkbox under 'Initial Run'.

Result:
- VM is up and running.

Comment 3 Sandro Bonazzola 2020-07-08 08:26:40 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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