forked from openstack-k8s-operators/ci-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sushy_emulator integration in reproducer
It's a followup of openstack-k8s-operators#1753. We get rid of realpath filter which resolves the path using the controller's filesystem [1]. When the filesystems don't match between the controller and the remote machine, we might hit somme issues. For instance, when running controller on a Fedora CoreOS system, the `/home` gets resolved as `/var/home` by realpath, leading to incorrect path in remote machine. Without `realpath`, we end up with the `..` in the path which is a bit uggly but we keep the consistency. Also, we set the hypervisor ansible user used as the emulator libvirt user in order to have a more dynamic configuration, otherwise it fails by default if hypervisor ansible user is not `zuul` (i.e default user). [1] https://docs.ansible.com/ansible/latest/collections/ansible/builtin/realpath_filter.html#synopsis
- Loading branch information
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters