Re: [one-users] Files in /var/tmp/one/vmm/kvm/ disappear.

2012-03-09 Thread Jaime Melis
Hello Richard,

I'm not sure if this is related to OpenNebula, maybe there's some other
daemon who's removing those files. Just to be sure it isn't OpenNebula, I
suggest you audit that file to discover the PID of the process removing it:

# install audit package
# start the auditd daemon
$ auditctl -w /var/tmp/one/vmm/kvm/deploy -p war -k opennebula_remotes

wait for the unwanted delete to take place (you'll find the log in
/var/log/audit/audit.log)

Once you're finished do
$ auditctl -W /var/tmp/one/vmm/kvm/deploy -p war -k opennebula_remotes
# shut down the auditd daemon

Regards,
Jaime

On Thu, Mar 8, 2012 at 11:37 PM, richard -rw- weinberger 
richard.weinber...@gmail.com wrote:

 Hi!

 I see a very strange issue on OpenNebula 3.0.
 From time to time most files n /var/tmp/one/vmm/kvm/ disappear on all my
 hosts.

 $ ls /var/tmp/one/vmm/kvm/
 kvmrc  poll

 vs.

 $ ls /var/tmp/one/vmm/kvm/
 cancel  deploy  kvmrc  migrate  migrate_local  poll  poll_ganglia
 restore  save  shutdown

 After a onehost sync all files come back.
 But it takes some time and is very annoying.

 Is this a known bug?
 /var/tmp/one is on each host a regular directory on top of ext4.

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




-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
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] Files in /var/tmp/one/vmm/kvm/ disappear.

2012-03-09 Thread richard -rw- weinberger
On Fri, Mar 9, 2012 at 10:13 AM, Jaime Melis jme...@opennebula.org wrote:
 Hello Richard,

 I'm not sure if this is related to OpenNebula, maybe there's some other
 daemon who's removing those files. Just to be sure it isn't OpenNebula, I
 suggest you audit that file to discover the PID of the process removing it:

This must be a strange daemon which removes only some files from the directory.
One my hosts runs a well defined set of applications.
None of them deletes files from /var/tmp/one/vmm/kvm/.

 # install audit package
 # start the auditd daemon
 $ auditctl -w /var/tmp/one/vmm/kvm/deploy -p war -k opennebula_remotes

 wait for the unwanted delete to take place (you'll find the log in
 /var/log/audit/audit.log)

 Once you're finished do
 $ auditctl -W /var/tmp/one/vmm/kvm/deploy -p war -k opennebula_remotes
 # shut down the auditd daemon


Anyway, I'll try audit.

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


[one-users] Creating a VM Image

2012-03-09 Thread Snyman, Adrian
Hi there,

I have been reading through the docs on how the vm's are created / deployed, 
and I must admit that I still can't quite get how it all fits together.

If I want to create a vm - what is the best way to do this ?
Ie: I have the CentOS 6.2 dvd image.

I would like to build a Linux Base image that will then get extended by a 
template to be a DNS or DB or WEB server.
I have used cobbler to do this on existing machine based installations with 
success, but I am trying to figure out how
To do this with a VM deployment.

When I create a filesystem, I use a raw image file. When trying a qcow type 
image - centos doesn't see any disk space.

Then, I build a VM through the virt-manager interface - but surely I can do 
this within OpenNebula ?

My apologies for sounding naïve- just trying to get to grips with all of this 
.. :)



Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211




This email and all contents are subject to the following disclaimer:

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


Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]

2012-03-09 Thread Ruben S. Montero
Hi

It seems that a libvirt problem, either is not running at pcls or it is
misconfigured. You have a couple of hints about configuring libvirt for KVM
at [1].

My other concern is your permissions problem. Are you using the OpenSUSE
package or installing from source?

[1] http://www.opennebula.org/documentation:rel3.2:kvmg#configuration

Thanks

Ruben

On Fri, Mar 9, 2012 at 7:58 AM, biro lehel lehel.b...@yahoo.com wrote:

  Hello,

 I checked your suggestions, and although the scripts existed inside kvm.d,
 I didn't have execution permissions on them. I also run 'onehost sync'.

 However, now I get a monitoring error while running 'onehost show pcls',
 oned.log containing the following:

 Fri Mar  9 08:45:45 2012 [InM][I]: Monitoring host pcls (6)
 Fri Mar  9 08:45:50 2012 [InM][I]: Command execution fail: 'if [ -x
 /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm 6 pcls;
 else  exit 42; fi'
 Fri Mar  9 08:45:50 2012 [InM][I]: WARNING: no socket to connect to
 Fri Mar  9 08:45:50 2012 [InM][I]: error: authentication failed:
 authentication failed
 Fri Mar  9 08:45:50 2012 [InM][I]: error: failed to connect to the
 hypervisor
 Fri Mar  9 08:45:50 2012 [InM][E]: Error executing kvm.rb
 Fri Mar  9 08:45:50 2012 [InM][I]: ExitCode: 255
 Fri Mar  9 08:45:50 2012 [InM][E]: Error monitoring host 6 : MONITOR
 FAILURE 6 Error executing kvm.rb

 On the other hand, running run_probes on pcls result in the same warning,
 but also outputs the expected  data:

 # /var/tmp/one/im/run_probes kvm 6 pcls
 WARNING: no socket to connect to
 ARCH=x86_64 MODELNAME=Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
 HYPERVISOR=kvm TOTALCPU=400 CPUSPEED=3301 TOTALMEMORY=16446744
 USEDMEMORY=724860 FREEMEMORY=15721884 FREECPU=381.6 USEDCPU=18.4 NETRX=0
 NETTX=0 HOSTNAME=pcls

 I did check the documentation at [1], the only thing missing is that I
 didn't perform the following line:

- /etc/default/libvirt-bin : add *-l* option to libvirtd_opts

 , since I didn't have the mentioned file on my machine (I'm running
 OpenNebula 3.2.0 on an openSUSE 12.1 machine).

 I was curious, and I run 'virsh -c qemu' command, resulting in the
 following:

 # virsh -c qemu
 WARNING: no socket to connect to
 error: internal error unexpected Xen URI path 'qemu', try
 ///var/lib/xen/xend-socket
 error: failed to connect to the hypervisor

 Since I want to use KVM, and not Xen, as my hypervisor for OpenNebula, I
 smell a problem here. What am I missing? Any help?

 [1]: http://opennebula.org/documentation:rel3.2:kvmg



 --- On *Thu, 3/8/12, Ruben S. Montero rsmont...@opennebula.org* wrote:


 From: Ruben S. Montero rsmont...@opennebula.org
 Subject: Re: [one-users] Monitoring issue right after host creation [No
 Monitoring Information | OpenNebula 3.2.0]
 To: biro lehel lehel.b...@yahoo.com
 Cc: users@lists.opennebula.org
 Date: Thursday, March 8, 2012, 7:04 PM

 Yes,

 I mean the contents of the directory. run_probes, just executes the
 scripts in /var/tmp/one/im/kvm.d (in your case). The reason for no output
 of run_probes is an empty kvm.d. Could you check the contents of that
 directory (and execute any script there)?

 BTW run_probes is a very simple shell script (similar to run_parts) you
 may want to execute it with bash -xv /var/tmp/one/im/run_probes kvm 4 pcls

 On Thu, Mar 8, 2012 at 5:57 PM, biro lehel lehel.b...@yahoo.com wrote:

 Hello Ruben,

 as I mentioned at the bottom of my previous email, I already run
 /var/tmp/one/im/run_probes with the necessary parameters on pcls (my only
 host), which resulted in the same (empty) output. The file exists, it just
 doesn't produce the expected (or any) output, and I couldn't find the
 reason so far.

 I didn't try 'onehost sync', but I could try tomorrow morning (since I got
 home already, and I'm not at the respective computers), if you consider
 that it might help.

 Any other suggestions?

 Cheers,
 Lehel.

 --- On *Thu, 3/8/12, Ruben S. Montero rsmont...@opennebula.org* wrote:


 From: Ruben S. Montero rsmont...@opennebula.org
 Subject: Re: [one-users] Monitoring issue right after host creation [No
 Monitoring Information | OpenNebula 3.2.0]
 To: biro lehel lehel.b...@yahoo.com
 Cc: users@lists.opennebula.org
 Date: Thursday, March 8, 2012, 6:17 PM

 Hi,

 Could you please check the contents of  /var/tmp/one/im/ at pcls? It seems
 that there are no probes there. If that's the case you can copy them by
 hand or use onehost sync and wait for a monitoring action on the host.

 Cheers

 Ruben

 On Thu, Mar 8, 2012 at 4:25 PM, biro lehel 
 lehel.b...@yahoo.comhttp://mc/compose?to=lehel.b...@yahoo.com
  wrote:

 Hello,

 I tried to add my one and only host, by executing on the front-end:

  onehost create pcls im_kvm vmm_kvm tm_shared dummy

 Issuing the 'onehost list' command, the result seems to be the one
 expected. However, issuing 'onehost show pcls' command results in zero
 values and NO monitoring information:

 oneadmin@linux-4dsu:~/remotes/im 

[one-users] create vm error : No space left on device

2012-03-09 Thread 张光鹏
Hi,
I created a vm on opennebula2.2,but failed .Then i checked the vm.log, and i 
found the reason:
scp: /one_images/277/images/disk.0: No space left on device 
So,i want to know before opennebula scheduling host ,will it check the disk 
space whether meet the virtual machine .
In my opinion , if the host space is not enough to assign , it shouldnot be 
scheduled.
Please masters pointing me .



张光鹏
tel:  13718913184
mail: zhan...@neusoft.com
移动互联网事业部

东软集团股份有限公司
http://www.neusoft.com
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---
image/jpeg___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Not enough free memory error

2012-03-09 Thread 张光鹏
Hi,
I created a vm on opennebula2.2,but failed .Then i checked the vm.log, and i 
found the reason:
Not enough free memory and enable-dom0-ballooning is False, so I cannot release 
any more.  I need 1061888 KiB but only have 886004. 
I know this means the vms on my host takes too much memory and the left free 
memory isnot enough for the new one.

So, i think it is not reasonable. If the resource is not enough ,the host 
should not be scheduled . Opennebula can detect host's resource ,why not add 
some logic to avoid this problem . Opennebula can print something to stop 
creation before it scp image , or add a new state for this situation.
And I also want to ask masters if the new version (such as one3.0 or 3.2.1) 
will see the problem. 
 
Please tell me .

Thanks!



张光鹏
tel:  13718913184
mail: zhan...@neusoft.com
移动互联网事业部

东软集团股份有限公司
http://www.neusoft.com
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---
image/jpeg___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Creating a VM Image

2012-03-09 Thread Olivier Sallou


Le 3/9/12 10:34 AM, Snyman, Adrian a écrit :

 Hi there,

  

 I have been reading through the docs on how the vm's are created /
 deployed, and I must admit that I still can't quite get how it all
 fits together.

  

 If I want to create a vm -- what is the best way to do this ?

 Ie: I have the CentOS 6.2 dvd image.

  

 I would like to build a Linux Base image that will then get extended
 by a template to be a DNS or DB or WEB server.

 I have used cobbler to do this on existing machine based installations
 with success, but I am trying to figure out how

 To do this with a VM deployment.

  

 When I create a filesystem, I use a raw image file. When trying a qcow
 type image -- centos doesn't see any disk space.

  

 Then, I build a VM through the virt-manager interface -- but surely I
 can do this within OpenNebula ?

OpenNebula is not for VM creation. You can indeed use virt-manager, or
VirtualBox (then transform your image to approriate format).
If you have an empty disk image, you could attach a CentOS DVD image to
CDROM then connect to the VNC of your image to do the install but I
don't think it is the easiest/better thing to do.

  

 My apologies for sounding naïve- just trying to get to grips with all
 of this .. J

  

  

  

 Regards,

 Adrian Snyman

 Linux Systems Administrator

 Tel: 011-559-4929

 Cell: 082-600-1211

  


 

 This email and all contents are subject to the following disclaimer:

 http://disclaimer.uj.ac.za


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

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


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


Re: [one-users] Creating a VM Image

2012-03-09 Thread Snyman, Adrian
Thanks for the feedback Oliver !!

Next question then:
The resulting install will be an image - how does the templating system get 
utilized to update IP address / hostname, and
Any other custom kernel arguments ?


Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211



From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Olivier Sallou
Sent: 09 March 2012 12:23 PM
To: users@lists.opennebula.org
Subject: Re: [one-users] Creating a VM Image



Le 3/9/12 10:34 AM, Snyman, Adrian a écrit :
Hi there,

I have been reading through the docs on how the vm's are created / deployed, 
and I must admit that I still can't quite get how it all fits together.

If I want to create a vm - what is the best way to do this ?
Ie: I have the CentOS 6.2 dvd image.

I would like to build a Linux Base image that will then get extended by a 
template to be a DNS or DB or WEB server.
I have used cobbler to do this on existing machine based installations with 
success, but I am trying to figure out how
To do this with a VM deployment.

When I create a filesystem, I use a raw image file. When trying a qcow type 
image - centos doesn't see any disk space.

Then, I build a VM through the virt-manager interface - but surely I can do 
this within OpenNebula ?
OpenNebula is not for VM creation. You can indeed use virt-manager, or 
VirtualBox (then transform your image to approriate format).
If you have an empty disk image, you could attach a CentOS DVD image to CDROM 
then connect to the VNC of your image to do the install but I don't think it is 
the easiest/better thing to do.


My apologies for sounding naïve- just trying to get to grips with all of this 
.. :)



Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211




This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za




___

Users mailing list

Users@lists.opennebula.orgmailto:Users@lists.opennebula.org

http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



--

Olivier Sallou

IRISA / University of Rennes 1

Campus de Beaulieu, 35000 RENNES - FRANCE

Tel: 02.99.84.71.95



gpg key id: 4096R/326D8438  (keyring.debian.org)

Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438





This email and all contents are subject to the following disclaimer:

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


Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]

2012-03-09 Thread biro lehel
Hi Ruben,

I am using the OpenSUSE package (installed through 
YaST). Just to make sure that I did the configurations right (I'm sure I
 didn't):

At (I quote from the documentation): To be able to use
 the images copied by OpenNebula, change also the user and group under 
which the libvirtd is run to “oneadmin”, what exactly needs to be done?
 I am a Linux-noob (or at least, not at all an expert), so forget me 
this question, but how do I set the user and group under which a daemon 
is run? I have checked under which user is the libvirtd daemon is 
currently running, and indeed it is root (since I probably set it and 
put it in init.d as the root user).

Also: (typically  oneadmin) has to pertain to the libvirtd and kvm 
groups in order to use the daemon and be able to launch VMs.
What are the
 libvirtd and kvm groups? And how how do I achieve the necessary 
configuration?

I did some configuration, but I just want to make sure that I'm not missing 
anything (which I probably do).

Ruben? Anyone? 

Thank you,
Lehel.

--- On Fri, 3/9/12, Ruben S. Montero rsmont...@opennebula.org wrote:

From: Ruben S. Montero rsmont...@opennebula.org
Subject: Re: [one-users] Monitoring issue right after host creation [No 
Monitoring Information | OpenNebula 3.2.0]
To: biro lehel lehel.b...@yahoo.com
Cc: users@lists.opennebula.org
Date: Friday, March 9, 2012, 11:42 AM

Hi
It seems that a libvirt problem, either is not running at pcls or it is 
misconfigured. You have a couple of hints about configuring libvirt for KVM at 
[1].
My other concern is your permissions problem. Are you using the OpenSUSE 
package or installing from source?


[1] http://www.opennebula.org/documentation:rel3.2:kvmg#configuration
Thanks


Ruben

On Fri, Mar 9, 2012 at 7:58 AM, biro lehel lehel.b...@yahoo.com wrote:




Hello,

I checked your suggestions, and although the scripts existed inside kvm.d, I 
didn't have execution permissions on them. I also run 'onehost sync'.

However, now I get a monitoring error while running 'onehost show pcls', 
oned.log containing the following:



Fri Mar  9 08:45:45 2012 [InM][I]: Monitoring host pcls (6)
Fri Mar  9 08:45:50 2012 [InM][I]: Command execution fail: 'if [ -x 
/var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm 6 pcls;
 else  exit 42; fi'
Fri Mar  9 08:45:50 2012 [InM][I]: WARNING: no socket to connect to
Fri Mar  9 08:45:50 2012
 [InM][I]: error: authentication failed: authentication failed
Fri Mar  9 08:45:50 2012 [InM][I]: error: failed to connect to the hypervisor
Fri Mar  9 08:45:50 2012 [InM][E]: Error executing kvm.rb
Fri Mar  9 08:45:50 2012 [InM][I]: ExitCode: 255


Fri Mar  9 08:45:50 2012 [InM][E]: Error monitoring host 6 : MONITOR FAILURE 6 
Error executing kvm.rb

On the other hand, running run_probes on pcls result in the same warning, but 
also outputs the expected  data:



# /var/tmp/one/im/run_probes kvm 6 pcls
WARNING: no socket to connect to
ARCH=x86_64 MODELNAME=Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz HYPERVISOR=kvm 
TOTALCPU=400 CPUSPEED=3301 TOTALMEMORY=16446744 USEDMEMORY=724860 
FREEMEMORY=15721884 FREECPU=381.6 USEDCPU=18.4 NETRX=0 NETTX=0 HOSTNAME=pcls



I did check the documentation at [1], the only thing missing is that I didn't 
perform the following line:

 /etc/default/libvirt-bin : add -l option to libvirtd_opts
, since I didn't have the mentioned file on my machine (I'm running OpenNebula 
3.2.0 on an openSUSE 12.1 machine).



I was curious, and I run 'virsh -c qemu' command, resulting in the following:

# virsh -c qemu
WARNING: no socket to connect to
error: internal error unexpected Xen URI path 'qemu', try 
///var/lib/xen/xend-socket


error: failed to connect to the hypervisor

Since I want to use KVM, and not Xen, as my hypervisor for OpenNebula, I smell 
a problem here. What am I missing? Any help?

[1]: http://opennebula.org/documentation:rel3.2:kvmg





--- On Thu, 3/8/12, Ruben S. Montero rsmont...@opennebula.org wrote:



From: Ruben S. Montero rsmont...@opennebula.org
Subject: Re: [one-users] Monitoring issue right after host creation [No 
Monitoring Information | OpenNebula 3.2.0]


To: biro lehel lehel.b...@yahoo.com
Cc:
 users@lists.opennebula.org
Date: Thursday, March 8, 2012, 7:04 PM

Yes,
I mean the contents of the directory. run_probes, just executes the scripts in 
/var/tmp/one/im/kvm.d (in your case). The reason for no output of run_probes is 
an empty kvm.d. Could you check the contents of that directory (and execute any 
script there)? 




BTW run_probes is a very simple shell script (similar to run_parts) you may 
want to execute it with bash -xv /var/tmp/one/im/run_probes kvm 4 pcls
On Thu, Mar 8, 2012 at 5:57 PM, biro lehel lehel.b...@yahoo.com wrote:




Hello Ruben,



as I mentioned at the bottom of my previous email, I already run 
/var/tmp/one/im/run_probes with the necessary parameters on pcls (my only 
host), which resulted in the same (empty) output. The file exists, it just 
doesn't 

Re: [one-users] Creating a VM Image

2012-03-09 Thread Olivier Sallou


Le 3/9/12 11:51 AM, Snyman, Adrian a écrit :

 Thanks for the feedback Oliver !!

  

 Next question then:

 The resulting install will be an image -- how does the templating
 system get utilized to update IP address / hostname, and

 Any other custom kernel arguments ?

you need to customize your image to load context parameter
(http://opennebula.org/documentation:rel3.2:cong).
Or your template only sets the MAC address and you connect to a DHCP server.

  

  

 Regards,

 Adrian Snyman

 Linux Systems Administrator

 Tel: 011-559-4929

 Cell: 082-600-1211

  

  

  

 *From:*users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] *On Behalf Of *Olivier Sallou
 *Sent:* 09 March 2012 12:23 PM
 *To:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Creating a VM Image

  



 Le 3/9/12 10:34 AM, Snyman, Adrian a écrit :

 Hi there,

  

 I have been reading through the docs on how the vm's are created /
 deployed, and I must admit that I still can't quite get how it all
 fits together.

  

 If I want to create a vm -- what is the best way to do this ?

 Ie: I have the CentOS 6.2 dvd image.

  

 I would like to build a Linux Base image that will then get extended
 by a template to be a DNS or DB or WEB server.

 I have used cobbler to do this on existing machine based installations
 with success, but I am trying to figure out how

 To do this with a VM deployment.

  

 When I create a filesystem, I use a raw image file. When trying a qcow
 type image -- centos doesn't see any disk space.

  

 Then, I build a VM through the virt-manager interface -- but surely I
 can do this within OpenNebula ?

 OpenNebula is not for VM creation. You can indeed use virt-manager, or
 VirtualBox (then transform your image to approriate format).
 If you have an empty disk image, you could attach a CentOS DVD image
 to CDROM then connect to the VNC of your image to do the install but
 I don't think it is the easiest/better thing to do.

  

 My apologies for sounding naïve- just trying to get to grips with all
 of this .. J

  

  

  

 Regards,

 Adrian Snyman

 Linux Systems Administrator

 Tel: 011-559-4929

 Cell: 082-600-1211

  

  

 


 This email and all contents are subject to the following disclaimer:

 http://disclaimer.uj.ac.za



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



 -- 
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95
  
 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
  

 

 This email and all contents are subject to the following disclaimer:

 http://disclaimer.uj.ac.za

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


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


Re: [one-users] Creating a VM Image

2012-03-09 Thread Snyman, Adrian
Aaahhh, so there is no direct interaction between the image and the Host then 
... (other than network bridging)


Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211



From: Olivier Sallou [mailto:olivier.sal...@irisa.fr]
Sent: 09 March 2012 02:37 PM
To: Snyman, Adrian
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Creating a VM Image



Le 3/9/12 11:51 AM, Snyman, Adrian a écrit :
Thanks for the feedback Oliver !!

Next question then:
The resulting install will be an image - how does the templating system get 
utilized to update IP address / hostname, and
Any other custom kernel arguments ?
you need to customize your image to load context parameter 
(http://opennebula.org/documentation:rel3.2:cong).
Or your template only sets the MAC address and you connect to a DHCP server.



Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211



From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Olivier Sallou
Sent: 09 March 2012 12:23 PM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Creating a VM Image



Le 3/9/12 10:34 AM, Snyman, Adrian a écrit :
Hi there,

I have been reading through the docs on how the vm's are created / deployed, 
and I must admit that I still can't quite get how it all fits together.

If I want to create a vm - what is the best way to do this ?
Ie: I have the CentOS 6.2 dvd image.

I would like to build a Linux Base image that will then get extended by a 
template to be a DNS or DB or WEB server.
I have used cobbler to do this on existing machine based installations with 
success, but I am trying to figure out how
To do this with a VM deployment.

When I create a filesystem, I use a raw image file. When trying a qcow type 
image - centos doesn't see any disk space.

Then, I build a VM through the virt-manager interface - but surely I can do 
this within OpenNebula ?
OpenNebula is not for VM creation. You can indeed use virt-manager, or 
VirtualBox (then transform your image to approriate format).
If you have an empty disk image, you could attach a CentOS DVD image to CDROM 
then connect to the VNC of your image to do the install but I don't think it is 
the easiest/better thing to do.

My apologies for sounding naïve- just trying to get to grips with all of this 
.. :)



Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211




This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za



___

Users mailing list

Users@lists.opennebula.orgmailto:Users@lists.opennebula.org

http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


--

Olivier Sallou

IRISA / University of Rennes 1

Campus de Beaulieu, 35000 RENNES - FRANCE

Tel: 02.99.84.71.95



gpg key id: 4096R/326D8438  (keyring.debian.org)

Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438





This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za



--

Olivier Sallou

IRISA / University of Rennes 1

Campus de Beaulieu, 35000 RENNES - FRANCE

Tel: 02.99.84.71.95



gpg key id: 4096R/326D8438  (keyring.debian.org)

Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438





This email and all contents are subject to the following disclaimer:

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


Re: [one-users] Creating a VM Image

2012-03-09 Thread Snyman, Adrian
Okay, one more thing :)

When you need to add additional disks/space - is this done with additional 
image files ?
If so, are they then imported when kvm starts the VM ?


Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211



From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Snyman, Adrian
Sent: 09 March 2012 02:46 PM
To: Olivier Sallou
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Creating a VM Image

Aaahhh, so there is no direct interaction between the image and the Host then 
... (other than network bridging)


Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211



From: Olivier Sallou [mailto:olivier.sal...@irisa.fr]
Sent: 09 March 2012 02:37 PM
To: Snyman, Adrian
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Creating a VM Image



Le 3/9/12 11:51 AM, Snyman, Adrian a écrit :
Thanks for the feedback Oliver !!

Next question then:
The resulting install will be an image - how does the templating system get 
utilized to update IP address / hostname, and
Any other custom kernel arguments ?
you need to customize your image to load context parameter 
(http://opennebula.org/documentation:rel3.2:cong).
Or your template only sets the MAC address and you connect to a DHCP server.


Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211



From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Olivier Sallou
Sent: 09 March 2012 12:23 PM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Creating a VM Image



Le 3/9/12 10:34 AM, Snyman, Adrian a écrit :
Hi there,

I have been reading through the docs on how the vm's are created / deployed, 
and I must admit that I still can't quite get how it all fits together.

If I want to create a vm - what is the best way to do this ?
Ie: I have the CentOS 6.2 dvd image.

I would like to build a Linux Base image that will then get extended by a 
template to be a DNS or DB or WEB server.
I have used cobbler to do this on existing machine based installations with 
success, but I am trying to figure out how
To do this with a VM deployment.

When I create a filesystem, I use a raw image file. When trying a qcow type 
image - centos doesn't see any disk space.

Then, I build a VM through the virt-manager interface - but surely I can do 
this within OpenNebula ?
OpenNebula is not for VM creation. You can indeed use virt-manager, or 
VirtualBox (then transform your image to approriate format).
If you have an empty disk image, you could attach a CentOS DVD image to CDROM 
then connect to the VNC of your image to do the install but I don't think it is 
the easiest/better thing to do.

My apologies for sounding naïve- just trying to get to grips with all of this 
.. :)



Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211




This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za


___

Users mailing list

Users@lists.opennebula.orgmailto:Users@lists.opennebula.org

http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


--

Olivier Sallou

IRISA / University of Rennes 1

Campus de Beaulieu, 35000 RENNES - FRANCE

Tel: 02.99.84.71.95



gpg key id: 4096R/326D8438  (keyring.debian.org)

Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438





This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za


--

Olivier Sallou

IRISA / University of Rennes 1

Campus de Beaulieu, 35000 RENNES - FRANCE

Tel: 02.99.84.71.95



gpg key id: 4096R/326D8438  (keyring.debian.org)

Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438





This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za



This email and all contents are subject to the following disclaimer:

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


Re: [one-users] Creating a VM Image

2012-03-09 Thread Olivier Sallou


Le 3/9/12 2:02 PM, Snyman, Adrian a écrit :

 Okay, one more thing J

  

 When you need to add additional disks/space -- is this done with
 additional image files ?

 If so, are they then imported when kvm starts the VM ?

Never tried, but in your template you can define disks, so they should
be imported just like the main hd on remote host.

  

  

 Regards,

 Adrian Snyman

 Linux Systems Administrator

 Tel: 011-559-4929

 Cell: 082-600-1211

  

  

  

 *From:*users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] *On Behalf Of *Snyman, Adrian
 *Sent:* 09 March 2012 02:46 PM
 *To:* Olivier Sallou
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Creating a VM Image

  

 Aaahhh, so there is no direct interaction between the image and the
 Host then ... (other than network bridging)

  

  

 Regards,

 Adrian Snyman

 Linux Systems Administrator

 Tel: 011-559-4929

 Cell: 082-600-1211

  

  

  

 *From:*Olivier Sallou [mailto:olivier.sal...@irisa.fr]
 *Sent:* 09 March 2012 02:37 PM
 *To:* Snyman, Adrian
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Creating a VM Image

  



 Le 3/9/12 11:51 AM, Snyman, Adrian a écrit :

 Thanks for the feedback Oliver !!

  

 Next question then:

 The resulting install will be an image -- how does the templating
 system get utilized to update IP address / hostname, and

 Any other custom kernel arguments ?

 you need to customize your image to load context parameter
 (http://opennebula.org/documentation:rel3.2:cong).
 Or your template only sets the MAC address and you connect to a DHCP
 server.

  

  

 Regards,

 Adrian Snyman

 Linux Systems Administrator

 Tel: 011-559-4929

 Cell: 082-600-1211

  

  

  

 *From:*users-boun...@lists.opennebula.org
 mailto:users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] *On Behalf Of *Olivier Sallou
 *Sent:* 09 March 2012 12:23 PM
 *To:* users@lists.opennebula.org mailto:users@lists.opennebula.org
 *Subject:* Re: [one-users] Creating a VM Image

  



 Le 3/9/12 10:34 AM, Snyman, Adrian a écrit :

 Hi there,

  

 I have been reading through the docs on how the vm's are created /
 deployed, and I must admit that I still can't quite get how it all
 fits together.

  

 If I want to create a vm -- what is the best way to do this ?

 Ie: I have the CentOS 6.2 dvd image.

  

 I would like to build a Linux Base image that will then get extended
 by a template to be a DNS or DB or WEB server.

 I have used cobbler to do this on existing machine based installations
 with success, but I am trying to figure out how

 To do this with a VM deployment.

  

 When I create a filesystem, I use a raw image file. When trying a qcow
 type image -- centos doesn't see any disk space.

  

 Then, I build a VM through the virt-manager interface -- but surely I
 can do this within OpenNebula ?

 OpenNebula is not for VM creation. You can indeed use virt-manager, or
 VirtualBox (then transform your image to approriate format).
 If you have an empty disk image, you could attach a CentOS DVD image
 to CDROM then connect to the VNC of your image to do the install but
 I don't think it is the easiest/better thing to do.

  

 My apologies for sounding naïve- just trying to get to grips with all
 of this .. J

  

  

  

 Regards,

 Adrian Snyman

 Linux Systems Administrator

 Tel: 011-559-4929

 Cell: 082-600-1211

  

  

 


 This email and all contents are subject to the following disclaimer:

 http://disclaimer.uj.ac.za

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

  

 -- 
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95
  
 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
  

  

 


 This email and all contents are subject to the following disclaimer:

 http://disclaimer.uj.ac.za

  

 -- 
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95
  
 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
  

  

 


 This email and all contents are subject to the following disclaimer:

 http://disclaimer.uj.ac.za


 

 This email and all contents are subject to the following disclaimer:

 http://disclaimer.uj.ac.za

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)

Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]

2012-03-09 Thread biro lehel
Hello,

I managed to resolve the issues regarding the monitoring, by following the 
instructions at [1] (sections 7.1.1.1. and 7.1.1.2), and at [2] (the section 
regarding PolicyKit). Now, 'onehost show 6' results in the following (see 
below).

As you can see, although the monitoring info returned the correct result, it 
still contains an error message, which is stuck there from an earlier time (the 
timestamp of the error message is not the actual time of the monitoring, it 
shows the timestamp of an earlier unsuccessful monitoring try). The oned.log 
contains no errors. Also, I suppose because of this error message (which also 
appears at the bottom of the Host Template tab, with my current Host selected 
in Sunstone), the Monitoring Information tab shows There is no monitoring 
information for
 host 6 both at CPU and Memory info. Any idea how to work this around?

Also, my initial socket problem (I copy the following from messages.log):
Mar  9 10:10:57 pcls libvirtd[5603]: Starting libvirtd WARNING: no socket to 
connect to
Mar  9 10:10:57 pcls libvirtd[5603]: ..done

, still persist. This message also appears when trying to run anything related 
to 'virsh' on my host,, for ex:

 virsh -c qemu:///system list
WARNING: no socket to connect to
 Id Name State
--

, and also, it appears when running run_probes on my host (although after the 
warning, it returns the correct information).

It is kind of bothering me, and I could find the reason of it so far. It is 
also making it hard to trace the fact that besides this warning message, no 
errors messages are issued nowhere, and I couldn't trace it in the logs 
neither, so far. Any ideas what causes this socket warning? Please help.

All the best,
Lehel.



 onehost show 6
HOST 6 INFORMATION  
ID    : 6   
NAME  :
 pcls    
STATE : MONITORED   
IM_MAD    : im_kvm  
VM_MAD    : vmm_kvm 
VN_MAD    : dummy   
TM_MAD    :
 tm_shared   
LAST MONITORING TIME  : 1331310160  

HOST SHARES 
MAX MEM   : 16446748    
USED MEM (REAL)   : 773580  
USED MEM (ALLOCATED)  :
 0   
MAX CPU   : 400 
USED CPU (REAL)   : 42  
USED CPU (ALLOCATED)  : 0   
MAX DISK  : 0   
USED DISK (REAL)  :
 0   
USED DISK (ALLOCATED) : 0   
RUNNING VMS   : 0   

MONITORING INFORMATION  
ARCH=x86_64
CPUSPEED=1600
ERROR=[
  MESSAGE=Error monitoring host 6 : MONITOR FAILURE 6 Error executing kvm.rb
,
 
 TIMESTAMP=Fri Mar  9 12:12:32 2012 ]
FREECPU=357.2
FREEMEMORY=15673168
HOSTNAME=pcls
HYPERVISOR=kvm
MODELNAME=Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
NETRX=0
NETTX=0
TOTALCPU=400
TOTALMEMORY=16446748
USEDCPU=42.8
USEDMEMORY=773580


[1] 
http://doc.opensuse.org/documentation/html/openSUSE/opensuse-kvm/cha.libvirt.connect.html#sec.libvirt.connect.auth
[2] http://en.opensuse.org/SDB:Cloud_OpenNebula#Setting_up_a_cloud_node


--- On Fri, 3/9/12, biro lehel lehel.b...@yahoo.com wrote:

From: biro lehel lehel.b...@yahoo.com
Subject: Re: [one-users]
 Monitoring issue right after host creation [No Monitoring Information | 
OpenNebula 3.2.0]
To: users@lists.opennebula.org
Date: Friday, March 9, 2012, 1:00 PM

Hi Ruben,

I am using the OpenSUSE package (installed through 
YaST). Just to make sure that I did the configurations right (I'm sure I
 didn't):

At (I quote from the documentation): To be able to use
 the images copied by OpenNebula, change also the user and group under 
which the libvirtd is run to “oneadmin”, what exactly needs to be done?
 I am a Linux-noob (or at least, not at all an expert), so forget me 
this question, but how do I set the user and group under which a daemon 
is run? I have checked under which user is the libvirtd daemon is 
currently running, and indeed it is root (since I probably set it and 
put it in init.d as the root user).

Also: (typically  oneadmin) has to pertain to the libvirtd and kvm 
groups in order to use the daemon and be able to launch VMs.
What are the
 libvirtd and kvm groups? And how how do I achieve the necessary 
configuration?

I did some configuration, but I just want to make sure that I'm not missing 
anything (which I probably do).

Ruben? Anyone? 

Thank you,
Lehel.

--- On Fri, 3/9/12, Ruben S. Montero rsmont...@opennebula.org wrote:

From: Ruben S. Montero rsmont...@opennebula.org
Subject: Re: [one-users] Monitoring issue right after host creation [No 
Monitoring Information | OpenNebula 3.2.0]
To: biro lehel lehel.b...@yahoo.com
Cc: 

Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]

2012-03-09 Thread Hector Sanjuan

Hello, your monitoring looks fine.

To get the monitoring information plots in sunstone you need to start the  
oneacctd daemon:


http://opennebula.org/documentation:rel3.2:sunstone#monitoring_and_plots

About your libvirtd warning, it think it's not critical. In my box I have  
the same warning but i was able to launch VMs with KVM.


Hope it helps,

Hector

En Fri, 09 Mar 2012 17:55:38 +0100, biro lehel lehel.b...@yahoo.com  
escribió:



Hello,

I managed to resolve the issues regarding the monitoring, by following  
the instructions at [1] (sections 7.1.1.1. and 7.1.1.2), and at [2] (the  
section regarding PolicyKit). Now, 'onehost show 6' results in the  
following (see below).


As you can see, although the monitoring info returned the correct  
result, it still contains an error message, which is stuck there from an  
earlier time (the timestamp of the error message is not the actual time  
of the monitoring, it shows the timestamp of an earlier unsuccessful  
monitoring try). The oned.log contains no errors. Also, I suppose  
because of this error message (which also appears at the bottom of the  
Host Template tab, with my current Host selected in Sunstone), the  
Monitoring Information tab shows There is no monitoring information  
for

 host 6 both at CPU and Memory info. Any idea how to work this around?

Also, my initial socket problem (I copy the following from messages.log):
Mar  9 10:10:57 pcls libvirtd[5603]: Starting libvirtd WARNING: no  
socket to connect to

Mar  9 10:10:57 pcls libvirtd[5603]: ..done

, still persist. This message also appears when trying to run anything  
related to 'virsh' on my host,, for ex:



virsh -c qemu:///system list

WARNING: no socket to connect to
 Id Name State
--

, and also, it appears when running run_probes on my host (although  
after the warning, it returns the correct information).


It is kind of bothering me, and I could find the reason of it so far. It  
is also making it hard to trace the fact that besides this warning  
message, no errors messages are issued nowhere, and I couldn't trace it  
in the logs neither, so far. Any ideas what causes this socket warning?  
Please help.


All the best,
Lehel.




onehost show 6
HOST 6  
INFORMATION 
ID: 6 NAME  :
 pcls  STATE : MONITORED  
IM_MAD: im_kvmVM_MAD:  
vmm_kvm   VN_MAD: dummy  
TM_MAD:
 tm_shared LAST MONITORING TIME  : 1331310160 
HOST  
SHARES
MAX MEM   : 16446748  USED MEM (REAL)   :  
773580USED MEM (ALLOCATED)  :
 0 MAX CPU   : 400   USED CPU  
(REAL)   : 42USED CPU (ALLOCATED)  :  
0 MAX DISK  : 0 USED DISK  
(REAL)  :
 0 USED DISK (ALLOCATED) : 0 RUNNING  
VMS   : 0  
MONITORING  
INFORMATION 
ARCH=x86_64

CPUSPEED=1600
ERROR=[
  MESSAGE=Error monitoring host 6 : MONITOR FAILURE 6 Error executing  
kvm.rb

,
  TIMESTAMP=Fri Mar  9 12:12:32 2012 ]
FREECPU=357.2
FREEMEMORY=15673168
HOSTNAME=pcls
HYPERVISOR=kvm
MODELNAME=Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
NETRX=0
NETTX=0
TOTALCPU=400
TOTALMEMORY=16446748
USEDCPU=42.8
USEDMEMORY=773580


[1]  
http://doc.opensuse.org/documentation/html/openSUSE/opensuse-kvm/cha.libvirt.connect.html#sec.libvirt.connect.auth

[2] http://en.opensuse.org/SDB:Cloud_OpenNebula#Setting_up_a_cloud_node


--- On Fri, 3/9/12, biro lehel lehel.b...@yahoo.com wrote:

From: biro lehel lehel.b...@yahoo.com
Subject: Re: [one-users]
 Monitoring issue right after host creation [No Monitoring Information |  
OpenNebula 3.2.0]

To: users@lists.opennebula.org
Date: Friday, March 9, 2012, 1:00 PM

Hi Ruben,

I am using the OpenSUSE package (installed through
YaST). Just to make sure that I did the configurations right (I'm sure I
 didn't):

At (I quote from the documentation): To be able to use
 the images copied by OpenNebula, change also the user and group under
which the libvirtd is run to “oneadmin”, what exactly needs to be done?
 I am a Linux-noob (or at least, not at all an expert), so forget me
this question, but how do I set the user and group under which a daemon
is run? I have checked under which user is the libvirtd daemon is
currently running, and indeed it is root (since I probably set it and
put it in init.d as the root user).

Also: (typically  oneadmin) has to pertain to the libvirtd and  
kvm groups in order to use the daemon and be able to launch VMs.

What are the
 libvirtd and kvm groups? And how how do I achieve the