[one-users] VM is always using a single CPU

Steffen Claus steffen.claus at scai.fraunhofer.de
Fri Aug 1 06:44:47 PDT 2014


Did you configure the value for "vCPU" as well? 

----- Ursprüngliche Mail -----

> Hi,
> I have an issue with CPUs, all my VMs have a single CPU whatever is
> set in my sunstone template.

> Executed command is:
> /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 2048 -smp
> 1,sockets=1,cores=1,threads=1 ....

> while in my template in sunstone I see :

> CPU 	2 I expect to have here 2 CPUs.

> The generated deployment file is below:

> <domain type='kvm' xmlns:qemu='
> http://libvirt.org/schemas/domain/qemu/1.0 '>
> <name>one-984</name>
> <cputune>
> <shares>2048</shares>
> </cputune>
> <memory>2097152</memory>
> <os>
> <type arch='x86_64'>hvm</type>
> <boot dev='hd'/>
> </os>
> <devices>
> <emulator>/usr/bin/kvm</emulator>
> <disk type='file' device='disk'>
> <source file='/var/lib/one//datastores/0/984/disk.0'/>
> <target dev='vda'/>
> <driver name='qemu' type='raw' cache='none'/>
> </disk>
> <disk type='file' device='cdrom'>
> <source file='/var/lib/one//datastores/0/984/disk.1'/>
> <target dev='hda'/>
> <readonly/>
> <driver name='qemu' type='raw'/>
> </disk>
> <interface type='bridge'>
> <source bridge='br0'/>
> <mac address='00:04:c0:a8:02:40'/>
> </interface>
> <graphics type='vnc' listen='0.0.0.0' port='6884' keymap='fr'/>
> </devices>
> <features>
> <acpi/>
> </features>
> </domain>

> Could you explain what is wrong ?

> I am using OpenNebula 4.2 (expecting an upgrade soon...)

> Thanks

> Olivier
> --

> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 

Steffen Claus 

Fraunhofer-Institut für Algorithmen und Wissenschaftliches Rechnen (SCAI) 
Schloss Birlinghoven 
D-53754 Sankt Augustin 
Tel: +49 2241 14-2511 
steffen.claus at scai.fraunhofer.de 
http://www.scai.fraunhofer.de 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140801/952b0376/attachment.htm>


More information about the Users mailing list