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 Joshua Harlow(harlowja) wrote on 2016-07-14T22:53:48.362344+00:00
Seeing the following:
Jul 14 15:42:38 cent6-example [CLOUDINIT] util.py[DEBUG]: Failed to update the hostname to cent6-example.cloud.phx3.gdg (cent6-example)#012Traceback (most recent call last):#12 File "/usr/lib/python2.6/site-packages/cloudinit/config/cc_update_hostname.py", line 39, in handle#012 cloud.distro.update_hostname(hostname, fqdn, prev_fn)#12 File "/usr/lib/python2.6/site-packages/cloudinit/distros/init.py", line 214, in update_hostname#012 prev_hostname = self._read_hostname(prev_hostname_fn)#12 File "/usr/lib/python2.6/site-packages/cloudinit/distros/rhel.py", line 172, in _read_hostname#012 (_exists, contents) = rhel_util.read_sysconfig_file(filename)#12 File "/usr/lib/python2.6/site-packages/cloudinit/distros/rhel_util.py", line 64, in read_sysconfig_file#012 return (exists, SysConf(contents))#12 File "/usr/lib/python2.6/site-packages/cloudinit/distros/parsers/sys_conf.py", line 61, in init#12 write_empty_values=True)#12 File "/usr/lib/python2.6/site-packages/configobj.py", line 1219, in init#12 self._load(infile, configspec)#12 File "/usr/lib/python2.6/site-packages/configobj.py", line 1272, in _load#012 infile = self._handle_bom(infile)#12 File "/usr/lib/python2.6/site-packages/configobj.py", line 1422, in _handle_bom#012 if not line.startswith(BOM):#012UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)
This bug was originally filed in Launchpad as LP: #1603238
Launchpad details
Launchpad user Joshua Harlow(harlowja) wrote on 2016-07-14T22:53:48.362344+00:00
Seeing the following:
Jul 14 15:42:38 cent6-example [CLOUDINIT] util.py[DEBUG]: Failed to update the hostname to cent6-example.cloud.phx3.gdg (cent6-example)#012Traceback (most recent call last):#12 File "/usr/lib/python2.6/site-packages/cloudinit/config/cc_update_hostname.py", line 39, in handle#012 cloud.distro.update_hostname(hostname, fqdn, prev_fn)#12 File "/usr/lib/python2.6/site-packages/cloudinit/distros/init.py", line 214, in update_hostname#012 prev_hostname = self._read_hostname(prev_hostname_fn)#12 File "/usr/lib/python2.6/site-packages/cloudinit/distros/rhel.py", line 172, in _read_hostname#012 (_exists, contents) = rhel_util.read_sysconfig_file(filename)#12 File "/usr/lib/python2.6/site-packages/cloudinit/distros/rhel_util.py", line 64, in read_sysconfig_file#012 return (exists, SysConf(contents))#12 File "/usr/lib/python2.6/site-packages/cloudinit/distros/parsers/sys_conf.py", line 61, in init#12 write_empty_values=True)#12 File "/usr/lib/python2.6/site-packages/configobj.py", line 1219, in init#12 self._load(infile, configspec)#12 File "/usr/lib/python2.6/site-packages/configobj.py", line 1272, in _load#012 infile = self._handle_bom(infile)#12 File "/usr/lib/python2.6/site-packages/configobj.py", line 1422, in _handle_bom#012 if not line.startswith(BOM):#012UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)
$ rpm -qa | grep configobj
python-configobj-4.6.0-3.el6.noarch
This might be fixed in a newer configobj (probably is) but just wanted to note this here.
The text was updated successfully, but these errors were encountered: