Xu He Jie 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])
I think you need configure your ca and keys. When you install vdsm all in one, 
after you register your host to engine. vdsm will create link 
/etc/pki/CA/cacert.pem to vdsm's cacert.pem. And virsh will find cacert in 
/etc/pki/CA/cacert.pem in default. So if you run vdsClient in different 
machine, I think you need configure your ca and keys.
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

Reply via email to