You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my Uyuni 2021.03 server, I've added a SLES 12 SP5 system that is hosting a few VMs on KVM. When I enable the virtualization-host formula for this host, the highstate can never be installed:
----------ID: virthost_packagesFunction: pkg.installedName: virthost_packagesResult: falseComment: An error was encountered while installing package(s): Zypper command failure: Running scope as unit run-r79db77c2e2734aaa93021b5b59f9aaf3.scope.Package 'python3-libvirt-python' not found.Started: 21:31:50.436522Duration: 722.826SLS: virtualization-hostChanged: {}
----------ID: nullFunction: service.runningName: nullResult: falseComment: One or more requisite failed: virtualization-host.virthost_packagesStarted: 21:31:51.160504Duration: 0.015SLS: virtualization-hostChanged: {}
----------
On SLES 12 SP5, there is no package called python3-libvirt-python, rather it has the python-libvirt-python package. I believe, the issue is in the following line where the package name is hardcoded rather than being put in a conditional:
If I move this package to the condition at the top of the file, then I'm able to apply the highstate on the SLES 12 SP5 host machine. But I do not know if this is the right way to handle this:
On my Uyuni 2021.03 server, I've added a SLES 12 SP5 system that is hosting a few VMs on KVM. When I enable the
virtualization-host
formula for this host, the highstate can never be installed:On SLES 12 SP5, there is no package called
python3-libvirt-python
, rather it has thepython-libvirt-python
package. I believe, the issue is in the following line where the package name is hardcoded rather than being put in a conditional:salt-formulas/virtualization-host-formula/virtualization-host/map.jinja
Line 24 in 9e0b723
If I move this package to the condition at the top of the file, then I'm able to apply the highstate on the SLES 12 SP5 host machine. But I do not know if this is the right way to handle this:
The text was updated successfully, but these errors were encountered: