Remove uart1 connection from Vagrant boxes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Won't Fix
|
Undecided
|
John Chittum | ||
livecd-rootfs (Ubuntu) |
Opinion
|
Undecided
|
John Chittum |
Bug Description
In discussions on lp: 1874453, a user (haggai-eran) ran into an issue with File::NULL being turned into an absolute path on a derivative image rather than staying the Ruby handling of File::NULL.
In comment 54 during verification (https:/
This led to me (jchittum) investigating removing configuring uart1 in CPC's base Vagrantfile (https:/
I propose the removal of the entire `config.vm.provider "virtualbox" do |vb|` stanza from the base Vagrantfile in Groovy and newer images, with further testing needed for possible SRU.
Changed in cloud-images: | |
assignee: | nobody → John Chittum (jchittum) |
Changed in livecd-rootfs (Ubuntu): | |
assignee: | nobody → John Chittum (jchittum) |
disabling `uart1` leads to `cloud-init` failures when writing keys:
``` config. cc_keys_ to_console' from '/usr/lib/ python3/ dist-packages/ cloudinit/ config/ cc_keys_ to_console. py'>) failed config. cc_keys_ to_console' from '/usr/lib/ python3/ dist-packages/ cloudinit/ config/ cc_keys_ to_console. py'>) failed python3/ dist-packages/ cloudinit/ util.py" , line 402, in multi_log
2020-10-26 18:37:30,888 - util.py[WARNING]: Running module keys-to-console (<module 'cloudinit.
2020-10-26 18:37:30,889 - util.py[DEBUG]: Running module keys-to-console (<module 'cloudinit.
Traceback (most recent call last):
File "/usr/lib/
wfh.flush()
OSError: [Errno 5] Input/output error
During handling of the above exception, another exception occurred:
OSError: [Errno 5] Input/output error
During handling of the above exception, another exception occurred:
Traceback (most recent call last): python3/ dist-packages/ cloudinit/ stages. py", line 848, in _run_modules python3/ dist-packages/ cloudinit/ cloud.py" , line 54, in run run(name, functor, args, freq, clear_on_fail) python3/ dist-packages/ cloudinit/ helpers. py", line 185, in run python3/ dist-packages/ cloudinit/ config/ cc_keys_ to_console. py", line 69, in handle multi_log( "%s\n" % (stdout.strip()), python3/ dist-packages/ cloudinit/ util.py" , line 402, in multi_log
File "/usr/lib/
ran, _r = cc.run(run_name, mod.handle, func_args,
File "/usr/lib/
return self._runners.
File "/usr/lib/
results = functor(*args)
File "/usr/lib/
util.
File "/usr/lib/
wfh.flush()
OSError: [Errno 5] Input/output error
```
We've had discussions regarding default console connections (specifically console=ttyS0) at various points. It appears cloud-init will have this specific issue when no console is connection is available at boot, at least for NoCloud