You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launchpad user Mark Goddard(mgoddard) wrote on 2019-11-11T16:44:45.296606+00:00
If I run cloud-init with a config drive containing a metadata file which has local-hostname set to null, I get the following traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cloudinit/sources/init.py", line 447, in find_source
if s.get_data():
File "/usr/lib/python2.7/site-packages/cloudinit/sources/init.py", line 132, in get_data
self._get_standardized_metadata())
File "/usr/lib/python2.7/site-packages/cloudinit/sources/init.py", line 110, in _get_standardized_metadata
'local-hostname': self.get_hostname(),
File "/usr/lib/python2.7/site-packages/cloudinit/sources/init.py", line 317, in get_hostname
if util.is_ipv4(lhost):
File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 544, in is_ipv4
toks = instr.split('.')
Tested on CentOS 7.7, cloud-init 18.5.
The text was updated successfully, but these errors were encountered:
Launchpad user Chad Smith(chad.smith) wrote on 2019-12-18T17:55:36.237612+00:00
This bug is believed to be fixed in cloud-init in version 19.4. If this is still a problem for you, please make a comment and set the state back to New
This bug was originally filed in Launchpad as LP: #1852100
Launchpad details
Launchpad user Mark Goddard(mgoddard) wrote on 2019-11-11T16:44:45.296606+00:00
If I run cloud-init with a config drive containing a metadata file which has local-hostname set to null, I get the following traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cloudinit/sources/init.py", line 447, in find_source
if s.get_data():
File "/usr/lib/python2.7/site-packages/cloudinit/sources/init.py", line 132, in get_data
self._get_standardized_metadata())
File "/usr/lib/python2.7/site-packages/cloudinit/sources/init.py", line 110, in _get_standardized_metadata
'local-hostname': self.get_hostname(),
File "/usr/lib/python2.7/site-packages/cloudinit/sources/init.py", line 317, in get_hostname
if util.is_ipv4(lhost):
File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 544, in is_ipv4
toks = instr.split('.')
Tested on CentOS 7.7, cloud-init 18.5.
The text was updated successfully, but these errors were encountered: