Jira (FACT-2004) cloud fact does not detect Azure with NetworkManager

25 views
Skip to first unread message

Sean Millichamp (JIRA)

unread,
Aug 29, 2019, 8:36:04 AM8/29/19
to puppe...@googlegroups.com
Sean Millichamp created an issue
 
Facter / Bug FACT-2004
cloud fact does not detect Azure with NetworkManager
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2019/08/29 5:35 AM
Priority: Normal Normal
Reporter: Sean Millichamp

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.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Gareth McGrillan (JIRA)

unread,
Aug 29, 2019, 8:49:03 AM8/29/19
to puppe...@googlegroups.com
Gareth McGrillan updated an issue
Change By: Gareth McGrillan
CS Priority: Needs Priority
Team: Night's Watch

Jarret Lavallee (JIRA)

unread,
Sep 12, 2019, 7:17:03 PM9/12/19
to puppe...@googlegroups.com
Jarret Lavallee updated an issue
Change By: Jarret Lavallee
CS Priority: Needs Priority Reviewed
Method Found: Needs Assessment Customer Feedback

Mihai Buzgau (JIRA)

unread,
Sep 16, 2019, 6:10:03 AM9/16/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Sep 17, 2019, 8:09:04 AM9/17/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR NW - Triage 2019-10-02

Gheorghe Popescu (JIRA)

unread,
Sep 18, 2019, 4:15:04 AM9/18/19
to puppe...@googlegroups.com

Ciprian Badescu (JIRA)

unread,
Sep 25, 2019, 9:54:05 AM9/25/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Oct 2, 2019, 4:40:14 AM10/2/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2019-10-02 , NW - 2019-10-16

Ciprian Badescu (JIRA)

unread,
Nov 14, 2019, 8:50:04 AM11/14/19
to puppe...@googlegroups.com

Austin Boyd (JIRA)

unread,
Dec 5, 2019, 6:38:05 AM12/5/19
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket IDs: 36058
Zendesk Ticket Count: 1

Dorin Pleava (JIRA)

unread,
Jan 8, 2020, 2:53:04 AM1/8/20
to puppe...@googlegroups.com
Dorin Pleava updated an issue
Change By: Dorin Pleava
Fix Version/s: FACT 3.11.11

Dorin Pleava (JIRA)

unread,
Jan 8, 2020, 9:46:03 AM1/8/20
to puppe...@googlegroups.com
Dorin Pleava updated an issue
Change By: Dorin Pleava
Fix Version/s: FACT 3.13.5

Jean Bond (JIRA)

unread,
Jan 14, 2020, 2:25:04 PM1/14/20
to puppe...@googlegroups.com
Jean Bond updated an issue
Change By: Jean Bond
Release Notes Summary: In previous releases, Facter did not report the `cloud` fact on Azure. This issue is now fixed.

azure fact will be detected by searching azure specific dhcp option in any lease file from /var/lib/dhcp and /var/lib/NetworkManager directories

Jean Bond (JIRA)

unread,
Jan 14, 2020, 3:46:04 PM1/14/20
to puppe...@googlegroups.com
Jean Bond updated an issue
Change By: Jean Bond
Labels: resolved-issue-added
Reply all
Reply to author
Forward
0 new messages