Vitor de Lima has posted comments on this change.

Change subject: services, setup: Serial console proxy [WIP]
......................................................................


Patch Set 2:

(1 comment)

The virsh command negotiates a TLS connection to the target host's libvirtd 
using the client certificate provided in either the path specified by the 
pkipath URI parameter or the default ~/.pki/libvirt folder.

http://gerrit.ovirt.org/#/c/35906/2/packaging/services/ovirt-console-proxy/vmproxy
File packaging/services/ovirt-console-proxy/vmproxy:

Line 20: 
Line 21:     return user_guid, vm_name
Line 22: 
Line 23: def run_virsh_console(vm, host):
Line 24:     os.execlp('virsh', 'virsh', '-c', 'qemu+tls://' + host + 
'/system', 'console', vm)
> where do you specify the location?
virsh looks for the certificate in $HOME/.pki/libvirt by default, but you can 
connect to a host by using "virsh -c qemu+tls://host/system?pkipath=/somefolder 
console" to change its behaviour to look for it in /somefolder.
Line 25: 
Line 26: def main():
Line 27:     # FIXME: Logger
Line 28: 


-- 
To view, visit http://gerrit.ovirt.org/35906
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I034ef8e6d10da5dc93eda61e0c5c518ca13a5a28
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vitor de Lima <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Martin Polednik <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: Vitor de Lima <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to