virsh -c qemu://127.0.0.1/session list --all give a wrong error prompt CA certificate '/etc/pki/CA/cacert.pem

Bug #803765 reported by Qiao Liyong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

virsh -c qemu://127.0.0.1/session list --all (no '+ssh')

virsh give a error prompt :
CA certificate '/etc/pki/CA/cacert.pem' no such file ..

look at code:

we could find that:

            transport_str = get_transport_from_scheme (conn->uri->scheme);

            if (!transport_str) {
                if (conn->uri->server)
                    transport = trans_tls;
                else
                    transport = trans_unix;
           }
at here : transport = trans_tls;

so it gives a CA certificate error prompt .
I think it should give a prompt like that : use +ssh | tcp .....

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for taking the time to submit this bug and helping to make Ubuntu better.

What you suggest definately sounds more user-friendly. I'm marking this 'Triaged' as I believe all the information needed is here.

Note that the patch should go in through upstream.

Changed in libvirt (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.