Status: New
Owner: ----

New issue 338 by [email protected]: Cluster Bootstap fails if SSH_CONFIG_DIR/ssh_host_rsa_key.pub does not exist.
http://code.google.com/p/ganeti/issues/detail?id=338

What software version are you running? Please provide the output of "gnt-
cluster --version" and "gnt-cluster version".
gnt-cluster (ganeti v2.6.2-1048-g3add757) 2.6.2

What distribution are you using?
CentOS 6 with custom 3.6.9 kernel

What steps will reproduce the problem?
1. Install a new CentOS machine
2. Attempt to initialize a cluster with gnt-cluster init ...

What is the expected output? What do you see instead?
I get:
Traceback (most recent call last):
  File "/usr/local/sbin/gnt-cluster", line 21, in <module>
    sys.exit(main.Main())
File "/usr/lib/python2.6/site-packages/ganeti/client/gnt_cluster.py", line 1600, in Main
    aliases=aliases)
File "/usr/lib/python2.6/site-packages/ganeti/cli.py", line 2241, in GenericMain
    result = func(options, args)
File "/usr/lib/python2.6/site-packages/ganeti/rpc.py", line 131, in wrapper
    return fn(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/ganeti/client/gnt_cluster.py", line 226, in InitCluster
    disk_state=disk_state,
File "/usr/lib/python2.6/site-packages/ganeti/bootstrap.py", line 473, in InitCluster
    sshline = utils.ReadFile(constants.SSH_HOST_RSA_PUB)
File "/usr/lib/python2.6/site-packages/ganeti/utils/io.py", line 105, in ReadFile
    f = open(file_name, "r")
IOError: [Errno 2] No such file or directory: '/etc/ssh/ssh_host_rsa_key.pub'

Please provide any additional information below.
# ls /etc/ssh/
moduli      sshd_config       ssh_host_dsa_key  ssh_host_key.pub
ssh_config  sshd_config.ORIG  ssh_host_key      ssh_host_rsa_key

I am working on this issue already (it started as related to #236), but needed to split it off because it is distinct.

I probably need to petition for membership or some such, but I'd appreciate it if someone could assign this to me (and point me in the right direction to become a dev/contributor)

Reply via email to