Change in vdsm[master]: Add simple text-based console in vdsClient
Xu He Jie
xuhj at linux.vnet.ibm.com
Thu Oct 11 11:40:07 UTC 2012
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 <xuhj at linux.vnet.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Ryan Harper <ryanh at us.ibm.com>
Gerrit-Reviewer: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
Gerrit-Reviewer: Xu He Jie <xuhj at linux.vnet.ibm.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
More information about the vdsm-patches
mailing list