Train ovb job is failing, overcloud nodes are unreachable during
deployment, sshd service failed to start because with no hostkey available.
~~~
Unable to load host key: /etc/ssh/ssh_host_rsa_key
Unable to load host key: /etc/ssh/ssh_host_ecdsa_key
Unable to load host key: /etc/ssh/ssh_host_ed25519_key
~~~
This started after cloud-init 22.1, based on change log it seems
it is expected cloud-init to create these keys.
ssh_genkeytypes var in /etc/cloud/cloud.cfg should have the correct
values by default, But in the c8 image we are using - ssh_genkeytypes
is not set properly.
old c8 (on rdoproject)image have:-
~~~
ssh_genkeytypes: ~
~~~
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ci/+/840826 /opendev. org/openstack/ tripleo- ci/commit/ ccfe3f31e3d2104 a34b6cf485e5b22 35cab60338
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit ccfe3f31e3d2104 a34b6cf485e5b22 35cab60338
Author: Sandeep Yadav <email address hidden>
Date: Fri May 6 12:55:14 2022 +0530
Update default centos-8 base image
Train ovb job is failing, overcloud nodes are unreachable during
deployment, sshd service failed to start because with no hostkey available.
~~~ ssh_host_ rsa_key ssh_host_ ecdsa_key ssh_host_ ed25519_ key
Unable to load host key: /etc/ssh/
Unable to load host key: /etc/ssh/
Unable to load host key: /etc/ssh/
~~~
This started after cloud-init 22.1, based on change log it seems
it is expected cloud-init to create these keys.
ssh_genkeytypes var in /etc/cloud/ cloud.cfg should have the correct
values by default, But in the c8 image we are using - ssh_genkeytypes
is not set properly.
old c8 (on rdoproject)image have:- genkeytypes: ~
~~~
ssh_
~~~
vs new image on https:/ /cloud. centos. org/ have
~~~ genkeytypes: ['rsa', 'ecdsa', 'ed25519']
ssh_
~~~
Updating default image with this patch.
[1] https:/ /src.fedoraproj ect.org/ rpms/cloud- init/c/ b954b98a1c25b8d b753dcd4545e2a7 2bbd0a2790 /logserver. rdoproject. org/openstack- periodic- integration- main/opendev. org/openstack/ tripleo- ci/master/ periodic- tripleo- ci-centos- 9-ovb-3ctlr_ 1comp-featurese t001-master/ ec8fafc/ logs/overcloud- controller- 0/etc/cloud/ cloud.cfg. txt.gz
[2] https:/
Closes-Bug: #1971751 dda921b67b832bf e396bc248f3
Change-Id: Idcfbdc632e35f2