Comment 8 for bug 1971751

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ci (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ci/+/840826
Committed: https://opendev.org/openstack/tripleo-ci/commit/ccfe3f31e3d2104a34b6cf485e5b2235cab60338
Submitter: "Zuul (22348)"
Branch: master

commit ccfe3f31e3d2104a34b6cf485e5b2235cab60338
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.

    ~~~
    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: ~
    ~~~

    vs new image on https://cloud.centos.org/ have

    ~~~
    ssh_genkeytypes: ['rsa', 'ecdsa', 'ed25519']
    ~~~

    Updating default image with this patch.

    [1] https://src.fedoraproject.org/rpms/cloud-init/c/b954b98a1c25b8db753dcd4545e2a72bbd0a2790
    [2] https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-9-ovb-3ctlr_1comp-featureset001-master/ec8fafc/logs/overcloud-controller-0/etc/cloud/cloud.cfg.txt.gz

    Closes-Bug: #1971751
    Change-Id: Idcfbdc632e35f2dda921b67b832bfe396bc248f3