Zhou Zheng Sheng has posted comments on this change. Change subject: Add simple text-based console in vdsClient ......................................................................
Patch Set 3: (1 inline comment) .................................................... File vdsm_cli/vdsClient.py Line 1621: if len(response['vmList']) == 0: Line 1622: return -1, 'Can not find vm \'%s\'' % args[0] Line 1623: Line 1624: vmName = response['vmList'][0]['vmName'] Line 1625: p = subprocess.Popen(["virsh", "-c", conn, "console", vmName]) When I try to connect libvirtd using this code, virsh says it can not find CA cert in /etc/pki/CA. Since vdsm will configure libvirtd to use the CA cert and keys in /etc/pki/vdsm, I have to use a special connection string to connect to libvirtd: virsh -c 'qemu+tls:///system?pkipath=/etc/pki/vdsm/certs/;keyfile=/etc/pki/vdsm/keys/vdsmkey.pem' I find this information on http://libvirt.org/remote.html#Remote_URI_parameters Line 1626: p.wait() Line 1627: return 0, '' Line 1628: Line 1629: if __name__ == '__main__': -- To view, visit http://gerrit.ovirt.org/8041 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I368dbcbc2e180161f256f3fb450c344acb6a6c8a Gerrit-PatchSet: 3 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Xu He Jie <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Mark Wu <[email protected]> Gerrit-Reviewer: Ryan Harper <[email protected]> Gerrit-Reviewer: ShaoHe Feng <[email protected]> Gerrit-Reviewer: Xu He Jie <[email protected]> Gerrit-Reviewer: Zhou Zheng Sheng <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
