-
Type:
Bug
-
Status: Resolved
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: FACT 3.13.5, FACT 3.11.11, FACT 3.14.6
-
Component/s: None
-
Labels:
-
Template:customfield_10700 322752
-
Team:Night's Watch
-
Story Points:3
-
Sprint:NW - 2019-10-02, NW - 2019-10-16
-
Method Found:Customer Feedback
-
CS Priority:Reviewed
-
Zendesk Ticket IDs:36058
-
Zendesk Ticket Count:1
-
Release Notes:Bug Fix
-
Release Notes Summary:
-
QA Risk Assessment:Needs Assessment
EL7 using NetworkManager on Azure does not report the cloud fact, even though it should.
On EL7 platforms using NetworkManager the dhclient lease file is not in the location where Facter is looking for it /var/lib/dhcp/dhclient.eth0.leases from https://github.com/puppetlabs/facter/blob/master/lib/inc/internal/facts/linux/virtualization_resolver.hpp#L37
If NetworkManager is in use the file instead needs to be looked for in /var/lib/NetworkManager/dhclient-<uuid>-eth0.lease. The code would need to search both locations for matches similarly to here: https://github.com/puppetlabs/facter/blob/master/lib/src/facts/bsd/networking_resolver.cc#L136-L169
Thank you.