Re: [one-users] Controlling KVM VMs from network

2013-11-29 Thread Jaime Melis
Hello Daniel,

QMP is not available because afaik it's not compatible with Libvirt, and
OpenNebula requires Libvirt for KVM guests.

However, vncdo should work. We haven't tried it out, but if you enable
GRAPHICS = [ TYPE = vnc ] you should be able to use vncdo.

cheers,
Jaime


On Wed, Nov 27, 2013 at 1:08 PM, Daniel Dehennin 
daniel.dehen...@baby-gnu.org wrote:

 Hello,

 We are trying to build an automated integration test environment and are
 facing one issue: controlling KVM VMs.

 Looking around, we saw that jenkins.debian.net use “vncdo” to send keys
 to automated their qemu based tests[1].

 Another solution could be the use of the Qemu Machine Protocol[2].

 Is is possible do control VMs in this way with ONE?

 Regards.

 Footnotes:
 [1]
 http://anonscm.debian.org/gitweb/?p=users/holger/jenkins.debian.net.git;a=blob;f=bin/g-i-installation.sh;hb=HEAD

 [2]  http://wiki.qemu.org/QMP

 --
 Daniel Dehennin
 Récupérer ma clef GPG:
 gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Controlling KVM VMs from network

2013-11-29 Thread Jaime Melis
Hi,

I just found out about this, so you might be able to use QMP after all, via
Libvirt:

$ virsh help qemu-monitor-command

cheers,
Jaime


On Fri, Nov 29, 2013 at 11:24 AM, Jaime Melis jme...@opennebula.org wrote:

 Hello Daniel,

 QMP is not available because afaik it's not compatible with Libvirt, and
 OpenNebula requires Libvirt for KVM guests.

 However, vncdo should work. We haven't tried it out, but if you enable
 GRAPHICS = [ TYPE = vnc ] you should be able to use vncdo.

 cheers,
 Jaime


 On Wed, Nov 27, 2013 at 1:08 PM, Daniel Dehennin 
 daniel.dehen...@baby-gnu.org wrote:

 Hello,

 We are trying to build an automated integration test environment and are
 facing one issue: controlling KVM VMs.

 Looking around, we saw that jenkins.debian.net use “vncdo” to send keys
 to automated their qemu based tests[1].

 Another solution could be the use of the Qemu Machine Protocol[2].

 Is is possible do control VMs in this way with ONE?

 Regards.

 Footnotes:
 [1]
 http://anonscm.debian.org/gitweb/?p=users/holger/jenkins.debian.net.git;a=blob;f=bin/g-i-installation.sh;hb=HEAD

 [2]  http://wiki.qemu.org/QMP

 --
 Daniel Dehennin
 Récupérer ma clef GPG:
 gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Jaime Melis

 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | jme...@opennebula.org




-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Controlling KVM VMs from network

2013-11-29 Thread Daniel Dehennin
Jaime Melis jme...@opennebula.org writes:

 Hi,

 I just found out about this, so you might be able to use QMP after all, via
 Libvirt:

 $ virsh help qemu-monitor-command

Great, I'm not sure if several “control” monitors could be used at the
same time.

If not, it will interfere with ONE management of VMs :-/

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF


pgpWpXymJjWYP.pgp
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Controlling KVM VMs from network

2013-11-29 Thread Daniel Dehennin
Jaime Melis jme...@opennebula.org writes:

 Oh, I see what you mean. Well, it depends on what type of operations you
 want to execute. If you stop the virtual machine, OpenNebula will move it
 to UNKNOWN state, for example. But if you use it to manipulate parameters
 inside the virtual machine, OpenNebula will probably not care about that.

 Can you elaborate a bit more on what you are planning to do?

We plan to build an automatic test framework based on jenkins.debian.net,
but managing VMs with ONE.

We are looking at what's the best to send keys to VMs, mostly to select
a boot entry of an ISO image.

Using vncdo seems to not provide feedback, unlike QMP.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF


pgpN0ddW33v9Y.pgp
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Controlling KVM VMs from network

2013-11-27 Thread Daniel Dehennin
Hello,

We are trying to build an automated integration test environment and are
facing one issue: controlling KVM VMs.

Looking around, we saw that jenkins.debian.net use “vncdo” to send keys
to automated their qemu based tests[1].

Another solution could be the use of the Qemu Machine Protocol[2].

Is is possible do control VMs in this way with ONE?

Regards.

Footnotes: 
[1]  
http://anonscm.debian.org/gitweb/?p=users/holger/jenkins.debian.net.git;a=blob;f=bin/g-i-installation.sh;hb=HEAD

[2]  http://wiki.qemu.org/QMP

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF


pgpu74uJbCvHF.pgp
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org