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 patch 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