gnt-node add fails on 14.04 LTS

Bug #1308571 reported by Brian Maloney
46
This bug affects 9 people
Affects Status Importance Assigned to Milestone
ganeti (Debian)
New
Unknown
ganeti (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In 14.04 LTS gnt-node add fails with the error message:

Unhandled Ganeti error: Could not reload SSH keys, command '/usr/local/lib/ganeti/daemon-util reload-ssh-keys' had exitcode 1 and error
Failure: command execution error:
Command 'ssh -oEscapeChar=none -oHashKnownHosts=no -oGlobalKnownHostsFile=/var/lib/ganeti/known_hosts -oUserKnownHostsFile=/dev/null -oCheckHostIp=no -oStrictHostKeyChecking=ask -4 ro...@10.0.1.12 /usr/local/lib/ganeti/prepare-node-join' failed: exited with exit code 1

This is due to the ssh reload command in /usr/lib/ganeti/daemon-util reload_ssh_keys() function being listed as /etc/init.d/ssh restart (which returns 1). A workaround is to change the command in that file to service ssh restart, but the correct fix would be to build ganeti passing --with-ssh-initscript='service ssh' to configure.

Additional details here:
https://groups.google.com/forum/#!topic/ganeti/eijfVwTCWXw

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ganeti (Ubuntu):
status: New → Confirmed
Changed in ganeti (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.