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 1788684 - [RHEL-8] cloud-init Azure byte swap (hyperV Gen2 Only)
Summary: [RHEL-8] cloud-init Azure byte swap (hyperV Gen2 Only)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cloud-init
Version: 8.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Eduardo Otubo
QA Contact: Huijuan Zhao
URL:
Whiteboard:
Depends On: 1788340
Blocks: 1810112 1810113
TreeView+ depends on / blocked
 
Reported: 2020-01-07 19:51 UTC by Rick Barry
Modified: 2021-08-30 06:58 UTC (History)
11 users (show)

Fixed In Version: cloud-init-18.5-11.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1788340
: 1810112 1810113 (view as bug list)
Environment:
Last Closed: 2020-04-28 16:03:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1719 0 None None None 2020-04-28 16:03:43 UTC

Description Rick Barry 2020-01-07 19:51:07 UTC
+++ This bug was initially created as a clone of Bug #1788340 +++

Description of problem:
Azure stores the instance ID with an incorrect byte ordering for the first parts. We have a host update that is causing a byte swap, and if the VM is rebooted after, the customer cannot login into their VM. A fix has been approved. We would like this fix to be patched into the current cloud-init packages for 7 and 8. This only impacts Gen2 hyperV images, but these will be updated with cloud-init end of Jan.

The fix is here:
https://github.com/canonical/cloud-init/pull/84

You cannot reproduce without a gen2 VM running on a host, and have a host update.

--- Additional comment from RHEL Program Management on 2020-01-07 00:11:38 UTC ---

Since this bug report was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from Rick Barry on 2020-01-07 19:48:11 UTC ---

Dan, thanks for the heads-up. I will clone this BZ to rhel-8 as well.

We'll need to discuss timing and options. I'll follow-up in email.

Comment 9 Rick Barry 2020-02-24 20:45:02 UTC
Dan, can your team quickly validate the official RHEL 8.2 cloud-init fix? We don't have much time left in the RHEL 8.2 release, so it would be great if you can test this as soon as possible.

Yuxin or Huijuan, can you please provide the cloud-init package in a public place for Dan to pull?

Comment 10 Yuxin Sun 2020-02-25 02:08:20 UTC
Hi Dan,

Please get the package here: http://people.redhat.com/~yuxisun/cloud-init-18.5-11.el8.noarch.rpm

Thanks!

Comment 11 Dan 2020-02-25 02:40:40 UTC
Hi Yuxin, sure.
I see you have asked for RHEL 8.2, will this be backported for RHEL 8.1, and 7.7, 7.8?

Thanks,

Comment 12 Huijuan Zhao 2020-02-25 03:39:16 UTC
(In reply to Dan from comment #11)
> Hi Yuxin, sure.
> I see you have asked for RHEL 8.2, will this be backported for RHEL 8.1, and
> 7.7, 7.8?

Hi Dan,

I think so, Rick already asked for PMApprove to backported for RHEL 8.1, and 7.7, 7.8, awaiting for Martin's ACK.
Thanks!

Comment 13 Rick Barry 2020-02-25 12:51:42 UTC
(In reply to Huijuan Zhao from comment #12)
> (In reply to Dan from comment #11)
> > Hi Yuxin, sure.
> > I see you have asked for RHEL 8.2, will this be backported for RHEL 8.1, and
> > 7.7, 7.8?
> 
> Hi Dan,
> 
> I think so, Rick already asked for PMApprove to backported for RHEL 8.1, and
> 7.7, 7.8, awaiting for Martin's ACK.
> Thanks!

Dan, once we have official builds for the 7.7, 7.8 and 8.1 z-streams, we'd like your team to run a quick validation for them. Will you be able to do that?

Comment 14 Dan 2020-02-27 16:17:59 UTC
Sure Rick, just let me know when you are ready.Did you get the Ack?

Comment 15 Huijuan Zhao 2020-03-03 02:34:18 UTC
(In reply to Yuxin Sun from comment #10)
> Hi Dan,
> 
> Please get the package here:
> http://people.redhat.com/~yuxisun/cloud-init-18.5-11.el8.noarch.rpm
> 
> Thanks!

Hi Dan,

Could you please help to verify this rhel-8.2 package? Since this bug is in 8.2 errata, we need to verify it before Mar 11.
Thanks!

Comment 16 Rick Barry 2020-03-03 16:32:57 UTC
(In reply to Dan from comment #14)
> Sure Rick, just let me know when you are ready.Did you get the Ack?

Hi Dan, as Huijuan mentioned in comment 15 the RHEL 8.2 package is ready for your testing. Hopefully, you can let us know your test results before March 11.

Regarding RHEL 7, I'll update you as soon as we get the RHEL 7.7.z package approved and ready for your testing.

Thanks!

Comment 18 Dan 2020-03-05 20:34:42 UTC
Hi Rick, for the 8.2 package, do you want us to test it on 8.1, or 8.2? 

If 8.2, we will need an image.

Comment 19 Rick Barry 2020-03-05 21:10:14 UTC
(In reply to Dan from comment #18)
> Hi Rick, for the 8.2 package, do you want us to test it on 8.1, or 8.2? 
> 
> If 8.2, we will need an image.

Hi Dan, it's best to test on 8.2.

I saw an announcement that RHEL 8.2 partner snapshot 2 was announced today which contains RHEL 8.2 installable images. Do you have access to that?

Comment 20 Dan 2020-03-05 23:48:08 UTC
I just chatted with Alfred, we don't have 8.2 yet, although he his asking, I will check in with him tomorrow.

Comment 21 Dan 2020-03-09 14:45:39 UTC
Rick - we still don't have an 8l2 image yet, the 11th deadline is not looking possible, although I have requested the cloud-init logs from RH tests, we will check those.

Any way to expedite getting an 8.2 image?

Comment 22 Rick Barry 2020-03-09 16:14:52 UTC
(In reply to Dan from comment #21)
> Rick - we still don't have an 8l2 image yet, the 11th deadline is not
> looking possible, although I have requested the cloud-init logs from RH
> tests, we will check those.
> 
> Any way to expedite getting an 8.2 image?

Hi Dan, can you check with Guy Bowerman and Alfred Sin? Guy was at the MSFT/RH weekly meeting today and said they have the RHEL 8.2 partner snapshot 2 contents. That would be the fastest way to get the image.

Comment 24 Dan 2020-03-13 23:13:30 UTC
Hi - we have the image now, and will start testing.

Comment 25 Huijuan Zhao 2020-03-24 02:51:07 UTC
(In reply to Dan from comment #24)
> Hi - we have the image now, and will start testing.

Hi Dan,

As we have to push rhel8 errata which is blocked by this bug verification, so I'd like to verify this bug according to our regression test results(pass), please reopen it if there is issue during your test. And could you please update your testing results here once done? 
Thanks!

Comment 26 Dan 2020-03-26 23:25:22 UTC
We have tested with the updated package and 8.2, all tests passed successfully.

Thanks,

Comment 27 Huijuan Zhao 2020-03-27 01:08:10 UTC
(In reply to Dan from comment #26)
> We have tested with the updated package and 8.2, all tests passed
> successfully.
> 
> Thanks,

Dan, thank you so much for your testing and update, which is very helpful to push 8.2 release.

Comment 29 errata-xmlrpc 2020-04-28 16:03:14 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, 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/RHBA-2020:1719


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