Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1846240

Summary: [cloud-init test] Cloud-init rebase to 19.4 testing in rhel-8.3.0
Product: Red Hat Enterprise Linux 8 Reporter: Huijuan Zhao <huzhao>
Component: cloud-initAssignee: Eduardo Otubo <eterrell>
Status: CLOSED ERRATA QA Contact: Huijuan Zhao <huzhao>
Severity: high Docs Contact:
Priority: high    
Version: 8.3CC: boyang, bpelled, eterrell, jgreguske, ldu, leiwang, mavital, pkomarov, ribarry, xiachen, xiliang, yacao, yuxisun
Target Milestone: rcKeywords: TestOnly
Target Release: 8.3Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:40:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1803095    
Bug Blocks:    

Comment 2 Beni Pelled 2020-06-11 14:22:27 UTC
Verified on ovirt-engine-4.4.1.2-0.10.el8ev with [1] which contains:
- RHEL-8.3.0-20200609.1
- cloud-init-19.4-4.el8

Verification steps:
Run the following cloud-init tests (ART - cloud-init module):
- RHEVM3-14364 - Create a new VM with cloud-init parameters, run VM and check configuration exists on VM
- RHEVM3-4795 - Create new VM with cloud-init parameters, Run VM with run-once with user root, and check configuration exists on VM
- RHEVM3-14369 - Migration VM with cloud init configuration
- RHEVM3-4796 - Check authorized ssh keys setting, connecting to VM without password
- RHEVM-25955 - Cloud-init data persistent over template created of a VM with cloud-init conf.

Result:
- All tests passed successfully.

[1] http://fileshare.englab.nay.redhat.com/pub/section1/s13rd/public/rhel-guest-image-cloudinit/rhel-guest-image-8.3-170-cloudinit-19.4-4.x86_64.qcow2

Comment 3 Yuxin Sun 2020-06-15 02:06:08 UTC
Verified on Azure with:
- RHEL-8.3.0-20200609.1
- cloud-init-19.4-4.el8

Test result: PASS
Debug log: http://10.73.196.185/results/azure/cloud-init/Azure_cloud-init-19_4-4_el8_noarch_RHEL-8_3_0-20200609_1_tier1_tier2_202006111053/results.html
1 failed case: test_cloudinit_check_cloudinit_log
Fail reason: known issue: BZ#1719631

Comment 5 Huijuan Zhao 2020-06-24 02:58:17 UTC
1. Automation test on AWS and ESXi with:
- RHEL-8.3.0-20200609.1
- cloud-init-19.4-3.el8

Test result: PASS. No regression issue found.

2. Automation test on openstack with:
- RHEL-8.3.0-20200616.0
- cloud-init-19.4-4.el8

Test result: PASS. No regression issue found.


3. Additional info:
On AWS with cloud-init-19.4-4.el8, there is regression bug 1746627, it is caused by the patch in bug 1834173. Eduardo and Miroslav are working on it.

So postpone the test deadline until new build((contain the fix for bug 1746627 and 1834173)) is available, and will update the test results on AWS with the new build.

Thank you all for the testing and update.

Comment 7 Huijuan Zhao 2020-06-28 09:48:03 UTC
(In reply to Huijuan Zhao from comment #5)
> 1. Automation test on AWS and ESXi with:
> - RHEL-8.3.0-20200609.1
> - cloud-init-19.4-3.el8
> 
> Test result: PASS. No regression issue found.
> 
> 2. Automation test on openstack with:
> - RHEL-8.3.0-20200616.0
> - cloud-init-19.4-4.el8
> 
> Test result: PASS. No regression issue found.
> 
> 
> 3. Additional info:
> On AWS with cloud-init-19.4-4.el8, there is regression bug 1746627, it is
> caused by the patch in bug 1834173. Eduardo and Miroslav are working on it.
> 

Xiao verified on AWS with cloud-init-19.4-7.el8, test result is PASS. No regression issue found.

Debug Log:
   - http://10.73.196.185/results/ec2_xen/cloudinit//home/ec2/logs/cloud-init-19.4-7.el8//job-2020-06-26T11.15-125d65c/results.html


According to all the test results, change the status to VERIFIED.
Thank you all!

Comment 10 errata-xmlrpc 2020-11-04 02:40:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: cloud-init security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2020:4650