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 1788340

Summary: [RHEL7] cloud-init Azure byte swap (hyperV Gen2 Only)
Product: Red Hat Enterprise Linux 7 Reporter: Dan <danis>
Component: cloud-initAssignee: Eduardo Otubo <eterrell>
Status: CLOSED CURRENTRELEASE QA Contact: Huijuan Zhao <huzhao>
Severity: medium Docs Contact:
Priority: high    
Version: 7.7CC: dkinkead, eterrell, huzhao, jenander, jgreguske, mtessun, ribarry, vkuznets, xiachen, yacao, yuxisun
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1788684 1810063 1810064 (view as bug list) Environment:
Last Closed: 2020-04-15 12:05:57 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:    
Bug Blocks: 1788684, 1797441, 1810063, 1810064    

Description Dan 2020-01-07 00:11:29 UTC
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.

Comment 2 Rick Barry 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.