From 7c32e6f3b3750738c1761ea16f74c4522bbdc856 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 29 Mar 2023 09:58:01 +0200 Subject: [PATCH] nova: Fix live migration on RHEL9 derivatives Closes-Bug: #2005119 Change-Id: I542f7ae19b4400355b04854f42a1d1802a6efeea --- ansible/roles/nova-cell/templates/sshd_config.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/roles/nova-cell/templates/sshd_config.j2 b/ansible/roles/nova-cell/templates/sshd_config.j2 index d51db02d0d..eb4aff220f 100644 --- a/ansible/roles/nova-cell/templates/sshd_config.j2 +++ b/ansible/roles/nova-cell/templates/sshd_config.j2 @@ -6,3 +6,6 @@ ListenAddress {{ migration_interface_address }} SyslogFacility AUTHPRIV UsePAM yes +{% if kolla_base_distro in ["centos", "rocky"] %} +Subsystem sftp /usr/libexec/openssh/sftp-server +{% endif %}