kolla-ansible/ansible
Pierre Riteau bfa9dd97a9 Fix Nova scp failures on Debian Bookworm
The addition of an instance resize operation [1] to CI testing is
triggering a failure in kolla-ansible-debian-ovn jobs, which are using a
nodeset with multiple nodes:

    oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
    Command: scp -r /var/lib/nova/instances/8ca2c7e8-acae-404c-af7d-6cac38e354b8_resize/disk 192.0.2.2:/var/lib/nova/instances/8ca2c7e8-acae-404c-af7d-6cac38e354b8/disk
    Exit code: 255
    Stdout: ''
    Stderr: "Warning: Permanently added '[192.0.2.2]:8022' (ED25519) to the list of known hosts.\r\nsubsystem request failed on channel 0\r\nscp: Connection closed\r\n"

This is not seen on Ubuntu Jammy, which uses OpenSSH 8.9, while Debian
Bookworm uses OpenSSH 9.2. This is likely related to this change in
OpenSSH 9.0 [2]:

    This release switches scp(1) from using the legacy scp/rcp protocol
    to using the SFTP protocol by default.

Configure sftp subsystem like on RHEL9 derivatives. Even though it is
not yet required for Ubuntu, we also configure it so we are ready for
the Noble release.

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/904249
[2] https://www.openssh.com/txt/release-9.0

Closes-Bug: #2048700
Change-Id: I9f1129136d7664d5cc3b57ae5f7e8d05c499a2a5
2024-01-08 23:12:38 +01:00
..
action_plugins Fix maximum width of the DIB Multiline-YAML 2023-04-14 16:36:22 +03:00
filter_plugins haproxy: support single external frontend 2023-06-29 01:44:00 +02:00
group_vars Remove after-Zed TODOs 2023-12-28 08:35:54 +00:00
inventory Add support for LetsEncrypt-managed certs 2023-11-07 10:59:51 +01:00
library Rename kolla_docker to kolla_container 2023-11-15 13:54:57 +01:00
module_utils Fix long service restarts while using systemd 2024-01-05 10:06:56 +01:00
roles Fix Nova scp failures on Debian Bookworm 2024-01-08 23:12:38 +01:00
bifrost.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
certificates.yml certificates: generate libvirt TLS certificates 2022-02-03 14:32:38 +00:00
destroy.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
gather-facts.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
kolla-host.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
mariadb_backup.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
mariadb_recovery.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
mariadb.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
nova-libvirt-cleanup.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
nova.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
octavia-certificates.yml octavia: generate certificates automatically 2020-10-08 16:50:30 +02:00
post-deploy.yml post-deploy: add public-openrc.sh 2022-10-20 17:29:12 +02:00
prune-images.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
rabbitmq-reset-state.yml Add command to force reset the state of RabbitMQ 2023-08-25 10:09:58 +00:00
rabbitmq.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00
site.yml Support Ansible max_fail_percentage 2023-12-05 11:49:42 +01:00