Skip to content

Commit

Permalink
[edpm_libvirt]Mount knonw_hosts file
Browse files Browse the repository at this point in the history
This is needed to support live migration as libvirt needs to initiate an
ssh connection between compute nodes.
  • Loading branch information
gibizer committed Oct 18, 2023
1 parent b9ca9a5 commit 5111212
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/edpm_libvirt/molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- "/var/lib/openstack/config/containers"
- "/var/log/containers"
- "/var/log/containers/stdouts"
- "/etc/ssh/ssh_known_hosts"
# extrenal deps
- "/var/lib/openstack/config/ceph"
# libvirt directories
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"/var/lib/nova:/var/lib/nova:shared,z",
"/run/libvirt:/run/libvirt:shared,z",
"/dev:/dev",
"/var/lib/openstack/config/ceph:/var/lib/kolla/config_files/ceph:ro"
"/var/lib/openstack/config/ceph:/var/lib/kolla/config_files/ceph:ro",
"/etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro"
]
}

0 comments on commit 5111212

Please sign in to comment.