yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90197
[Bug 1488891] Re: WALinuxAgentShim fails to handle escaped characters in dhclient.eth0.leases
This was fixed as of 0.7.6-444-g41900b72f
** Changed in: cloud-init
Status: In Progress => Fix Released
--
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/1488891
Title:
WALinuxAgentShim fails to handle escaped characters in
dhclient.eth0.leases
Status in cloud-init:
Fix Released
Bug description:
For example, a line of
option unknown-245 "dH\"l";
in dhclient.eth0.leases should yield an IP address of 100.72.34.108
but instead causes an exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cloudinit/sources/DataSourceAzure.py", line 249, in get_data
fabric_data = metadata_func()
File "/usr/lib/python3/dist-packages/cloudinit/sources/helpers/azure.py", line 289, in get_metadata_from_fabric
shim = WALinuxAgentShim()
File "/usr/lib/python3/dist-packages/cloudinit/sources/helpers/azure.py", line 210, in __init__
self.endpoint = self.find_endpoint()
File "/usr/lib/python3/dist-packages/cloudinit/sources/helpers/azure.py", line 237, in find_endpoint
endpoint_ip_address = socket.inet_ntoa(value)
OSError: packed IP wrong length for inet_ntoa
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1488891/+subscriptions
References