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 1691985 - [8.1] cloud-init 18.5 rebase for fast provisioning on Azure [RHEL 8]
Summary: [8.1] cloud-init 18.5 rebase for fast provisioning on Azure [RHEL 8]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cloud-init
Version: 8.1
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: rc
: 8.1
Assignee: Eduardo Otubo
QA Contact: Yuhui Jiang
URL:
Whiteboard:
Depends On: 1687563
Blocks: 1654683 1666961 1687565 1850308
TreeView+ depends on / blocked
 
Reported: 2019-03-23 02:02 UTC by Brendan Conoboy
Modified: 2024-11-20 07:53 UTC (History)
10 users (show)

Fixed In Version: cloud-init-18.5-1.el8
Doc Type: Enhancement
Doc Text:
Clone Of: 1687563
Environment:
Last Closed: 2019-11-05 20:46:05 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3342 0 None None None 2019-11-05 20:46:39 UTC

Comment 2 Rick Barry 2019-04-09 16:14:53 UTC
Copying additional commits requested from RHEL 7.7 bug:

--- Comment #10 from Dan <danis> ---
Hi Eduardo, Rick - updating bug.
As mentioned, there were some issues with the package, we have approved commits
upstream, can you add these two fixes to the 18.5 package you prepared please?

Is there any chance you can get this back to us on Monday, so we test and
report back?

https://github.com/cloud-init/cloud-init/commit/0dc3a77f41f4544e4cb5a41637af7693410d4cdf
Azure: Ensure platform random_seed is always serializable as JSON.
Enables persisting Azure datasource (ds) data in the obj.pkl “pickled” config
in the instance directory

https://github.com/cloud-init/cloud-init/commit/528366820bb48c13957d0c58afc2a46a3ba84bef
Azure: Treat _unset network configuration as if it were absent
Make the Azure datasource correctly handle the unpickled ds data when the
network_config was
deliberately cleared before the config was persisted

Thanks,

Comment 4 Yuxin Sun 2019-06-10 09:32:51 UTC
Verified with cloud-init-18.5-4.el8 in standard provisioning. Pass.

Known issues:
1. Error logs in /var/log/messages: (the same as https://bugzilla.redhat.com/show_bug.cgi?id=1648375#c19)
2019-06-10 06:58:26,249 - handlers.py[DEBUG]: finish: azure-ds/load_azure_ds_dir: FAIL: load_azure_ds_dir
2019-06-10 06:58:29,807 - handlers.py[DEBUG]: finish: azure-ds/_get_value_from_leases_file: FAIL: _get_value_from_leases_file
2019-06-10 06:58:29,809 - handlers.py[DEBUG]: finish: azure-ds/find_endpoint: FAIL: find_endpoint
2. BZ#1598834
3. BZ#1692914 

Hi @Rick, according to https://bugzilla.redhat.com/show_bug.cgi?id=1692914#c1, is it necessary to fix BZ#1692914 in RHEL-8.1.0? Thanks!

Comment 5 Rick Barry 2019-06-10 13:52:55 UTC
(In reply to Yuxin Sun from comment #4)
> Verified with cloud-init-18.5-4.el8 in standard provisioning. Pass.
> 
> Known issues:
> 1. Error logs in /var/log/messages: (the same as
> https://bugzilla.redhat.com/show_bug.cgi?id=1648375#c19)
> 2019-06-10 06:58:26,249 - handlers.py[DEBUG]: finish:
> azure-ds/load_azure_ds_dir: FAIL: load_azure_ds_dir
> 2019-06-10 06:58:29,807 - handlers.py[DEBUG]: finish:
> azure-ds/_get_value_from_leases_file: FAIL: _get_value_from_leases_file
> 2019-06-10 06:58:29,809 - handlers.py[DEBUG]: finish:
> azure-ds/find_endpoint: FAIL: find_endpoint
> 2. BZ#1598834
> 3. BZ#1692914 
> 
> Hi @Rick, according to
> https://bugzilla.redhat.com/show_bug.cgi?id=1692914#c1, is it necessary to
> fix BZ#1692914 in RHEL-8.1.0? Thanks!

Hi Yuxin,

Yes, there are two BZs that we plan to fix for RHEL 8.1 to reach parity with the
fast provisioning code in 7.7 and 8.0.1:

1691987 - [8.1] [Azure] [RHEL 8] cloud-init dhcp.py dhcp_discovery() race with dhclient with preprovisioned VM in Azure
1692914 - [8.1] [WALA][cloud] cloud-init dhclient-hook script has some unexpected side-effects on Azure

Comment 8 errata-xmlrpc 2019-11-05 20:46:05 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-2019:3342


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