module ssh-authkey-fingerprints fails Input/output error: /dev/console
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Occasionally in vivid and wily I see:
util.py[WARNING]: Running module ssh-authkey-
looking at the log shows:
Traceback (most recent call last):
File "/usr/lib/
cc.
File "/usr/lib/
return self._runners.
File "/usr/lib/
results = functor(*args)
File "/usr/lib/
key_entries, hash_meth)
File "/usr/lib/
stderr=False, console=True)
File "/usr/lib/
with open(conpath, 'w') as wfh:
OSError: [Errno 5] Input/output error: '/dev/console'
the command line on this system looks like:
$ cat /proc/cmdline
BOOT_IMAGE=
The console is attached to an ipmi serial console.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: cloud-init 0.7.7~bzr1091-
ProcVersionSign
Uname: Linux 3.19.0-22-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Fri Jul 10 18:12:56 2015
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in cloud-init (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu): | |
assignee: | nobody → Wesley Wiedenmeier (wesley-wiedenmeier) |
Changed in cloud-init (Ubuntu): | |
status: | Triaged → Fix Committed |
My current guess on this is that the issue stems from system/ cloud-final. service =journal+ console
/lib/systemd/
having:
StandardOutput
and then also trying to directly write to /dev/console via 'multi_log'.