New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] CRC does not allow passing credentials to virsh when authentication is set up #1847
Comments
|
It's correct that crc provides no way of overriding qemu:///system, it expects that by adding the current user to the libvirt group, then access to qemu:///system will be passwordless. |
|
@cfergeau thanks for the prompt reply. $ groups
server1 wheel libvirtbut that doesn't help. However, your other suggestion of setting Unfortunately, it works fine for |
|
Did you exported |
|
|
|
@cfergeau In that case we should create/move this issue to driver side so we can able to create connection accordingly? |
If my theory is correct, at this point this is just an unverified guess :) |
|
Yes, I |
|
I filed https://gitlab.com/libvirt/libvirt-go/-/merge_requests/24 , when this is merged we'll have to figure out how to make use of this in the libvirt driver (where we prefer to keep a fixed libvirt-go version). |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
General information
crc setupbefore starting it (Yes/No)? YesCRC version
CodeReady Containers version: 1.19.0+94b0362 OpenShift version: 4.6.3 (embedded in executable)CRC status
CRC config
Host Operating System
Steps to reproduce
I have oVirt installed on my machine and I believe it has set up SASL authentication for
virsh.When I run
sudo virsh list, I need to provide authentication -or provide an authfile to
virshas such -Now, the problem is that CRC gives me no such option to pass credentials to
virshand hence it fails.crc setupExpected
crc setupshould work.Actual
Logs
Already posted above
The text was updated successfully, but these errors were encountered: