Bug 1822883

Summary: [Azure][RHEL-7]Some parameter changes are not in waagent.conf
Product: Red Hat Enterprise Linux 7 Reporter: Yuxin Sun <yuxisun>
Component: WALinuxAgentAssignee: Vitaly Kuznetsov <vkuznets>
Status: CLOSED ERRATA QA Contact: Yuxin Sun <yuxisun>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.9CC: mrezanin, mtessun, ribarry, virt-maint, vkuznets, yacao
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: WALinuxAgent-2.2.46-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1822882 Environment:
Last Closed: 2020-09-30 07:44:29 UTC Type: ---
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: 1822882, 1827792    
Bug Blocks: 1794682    

Description Yuxin Sun 2020-04-10 09:52:38 UTC
+++ This bug was initially created as a clone of Bug #1822882 +++

Description of problem:
Due to the upstream readme these 3 parameters are changed, but not reflect to waagent.conf:
The Provisioning.Enabled and Provisioning.UseCloudInit parameters are removed since v2.2.45, but still exist in waagent.conf.
The Provisioning.Agent is added since v2.2.45, but not in waagent.conf
https://github.com/Azure/WALinuxAgent#provisioningusecloudinit-removed-in-2245
https://github.com/Azure/WALinuxAgent#provisioningusecloudinit-removed-in-2245
https://github.com/Azure/WALinuxAgent#provisioningagent

Version-Release number of selected component (if applicable):
WALinuxAgent-2.2.46-2.el8
WALinuxAgent-2.2.46-1.el8.2

How reproducible:
100%

Steps to Reproduce:
1. # cat /etc/waagent.conf

Actual results:
# Enable instance creation
Provisioning.Enabled=y

# Rely on cloud-init to provision
Provisioning.UseCloudInit=n

Expected results:
Something like this:
# Choose which provisioning agent to use (or allow waagent to figure it out by specifying "auto"). Possible options are "auto" (default), "waagent", "cloud-init", or "disabled".
Provisioning.Agent=auto

Additional info:
None

Comment 10 errata-xmlrpc 2020-09-30 07:44:29 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 (WALinuxAgent 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/RHEA-2020:4083