yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49589
[Bug 1571629] [NEW] Azure data source contains hardcoded distribution-specific paths
Public bug reported:
The Azure data source (in sources/helpers/azure.py) attempts to read the
current DHCP lease from /var/lib/dhcp/dhclient.eth0.leases, but that
path does not exist on, for example, RHEL/Fedora/CentOS environments
(which appear to use /var/lib/dhclient/dhclient--eth0.lease).
The location of the lease file should probably be part of the Distro
object.
A secondary problem is that the WALinuxAgentShim class does not have any
access to the Distro object, so that code needs some fiddling to
implement this fix.
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1571629
Title:
Azure data source contains hardcoded distribution-specific paths
Status in cloud-init:
New
Bug description:
The Azure data source (in sources/helpers/azure.py) attempts to read
the current DHCP lease from /var/lib/dhcp/dhclient.eth0.leases, but
that path does not exist on, for example, RHEL/Fedora/CentOS
environments (which appear to use /var/lib/dhclient/dhclient--
eth0.lease).
The location of the lease file should probably be part of the Distro
object.
A secondary problem is that the WALinuxAgentShim class does not have
any access to the Distro object, so that code needs some fiddling to
implement this fix.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1571629/+subscriptions
Follow ups