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
@YanhuiMa I use RHEL9/CentOSstream9 since a while now for my local environment and I encountered this error when you using old environments.
You can either use a complete new machine, or as a workaround enable legacy mode in libvirt in this way:
add mode = "legacy" to /etc/libvirt/libvirt.conf
sudo systemctl restart libvirtd
YanhuiMa
added a commit
to YanhuiMa/dev-scripts
that referenced
this issue
Feb 29, 2024
In RHEL9, there will be following error:
level=error msg=Error: failed to dial libvirt: dial unix /var/run/libvirt/libvirt-sock: connect: no such file or directory
level=error
level=error msg= with provider["openshift/local/libvirt"],
level=error msg= on main.tf line 1, in provider "libvirt":
level=error msg= 1: provider "libvirt" {
level=error
level=error msg=failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failure applying terraform for "bootstrap" stage: error applying Terraform configs: failed to apply Terraform: exit status 1
level=error
level=error msg=Error: failed to dial libvirt: dial unix /var/run/libvirt/libvirt-sock: connect: no such file or directory
level=error
level=error msg= with provider["openshift/local/libvirt"],
level=error msg= on main.tf line 1, in provider "libvirt":
level=error msg= 1: provider "libvirt" {
level=error
level=error
+(utils.sh:1): create_cluster(): auth_template_and_removetmp
+(utils.sh:858): auth_template_and_removetmp(): echo 4
+(utils.sh:859): auth_template_and_removetmp(): generate_auth_template
+(utils.sh:319): generate_auth_template(): set +x
The text was updated successfully, but these errors were encountered: