You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by h....@bestnetllc.co.jp on 2024/05/19 08:56:06 UTC
Exception during migrate:
Hello all
I ran into an issue where I was unable to migrate a newly created KVM
cluster.
-error contents-
Exception during migrate: org.libvirt.LibvirtException: invalid argument:
shares '0' must be in range [2, 262144]
I haven't changed any CloudStack settings and other clusters can be migrated
without any problems.
I would appreciate it if you could give me some hints.
Thanks&Regards
Re: Exception during migrate:
Posted by Bryan Lima <br...@apache.org>.
Hello, Hideyuki
What version of Apache CloudStack and which operating system are you
using in the hosts? Can you provide the output of the command *stat -fc
%T /sys/fs/cgroup/ *in the source host and the destination host?
Best regards,
Bryan
On 19/05/2024 09:56, h.chinda@bestnetllc.co.jp wrote:
> Hello Wei
> Thanks for the advice.
>
> physical host
> CPU speed = 2.4Ghz
>
> virtual machine
> CPU speed = 1Ghz
>
> cluster setting
> cpu.overprovisioning.factor=2
>
> I looked at the configuration of the physical host experiencing the problem (/etc/libvirt/qemu.conf), but there were no valid settings related to cgroups.
> Hmm
>
> Thanks & Regards
>
> -Hideyuki
> -----Original Message-----
> From: Wei ZHOU<us...@gmail.com>
> Sent: Sunday, May 19, 2024 6:14 PM
> To:users@cloudstack.apache.org
> Subject: Re: Exception during migrate:
>
> it seems you use cgroup v2.
>
> What's the cpu cores and cpu speed of the vm and physical host ?
> What's the value of cpu.overprovisioning.factor in the global/zone/cluster setting ?
>
>
> -Wei
>
> On Sun, May 19, 2024 at 10:56 AM<h....@bestnetllc.co.jp> wrote:
>> Hello all
>>
>>
>>
>> I ran into an issue where I was unable to migrate a newly created KVM
>> cluster.
>>
>>
>>
>> -error contents-
>>
>> Exception during migrate: org.libvirt.LibvirtException: invalid argument:
>> shares '0' must be in range [2, 262144]
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> I haven't changed any CloudStack settings and other clusters can be
>> migrated without any problems.
>>
>>
>>
>> I would appreciate it if you could give me some hints.
>>
>>
>>
>> Thanks&Regards
>>
RE: Exception during migrate:
Posted by h....@bestnetllc.co.jp.
Hello Wei
Thanks for the advice.
physical host
CPU speed = 2.4Ghz
virtual machine
CPU speed = 1Ghz
cluster setting
cpu.overprovisioning.factor=2
I looked at the configuration of the physical host experiencing the problem (/etc/libvirt/qemu.conf), but there were no valid settings related to cgroups.
Hmm
Thanks & Regards
-Hideyuki
-----Original Message-----
From: Wei ZHOU <us...@gmail.com>
Sent: Sunday, May 19, 2024 6:14 PM
To: users@cloudstack.apache.org
Subject: Re: Exception during migrate:
it seems you use cgroup v2.
What's the cpu cores and cpu speed of the vm and physical host ?
What's the value of cpu.overprovisioning.factor in the global/zone/cluster setting ?
-Wei
On Sun, May 19, 2024 at 10:56 AM <h....@bestnetllc.co.jp> wrote:
>
> Hello all
>
>
>
> I ran into an issue where I was unable to migrate a newly created KVM
> cluster.
>
>
>
> -error contents-
>
> Exception during migrate: org.libvirt.LibvirtException: invalid argument:
> shares '0' must be in range [2, 262144]
>
>
>
>
>
>
>
>
>
> I haven't changed any CloudStack settings and other clusters can be
> migrated without any problems.
>
>
>
> I would appreciate it if you could give me some hints.
>
>
>
> Thanks&Regards
>
Re: Exception during migrate:
Posted by Wei ZHOU <us...@gmail.com>.
it seems you use cgroup v2.
What's the cpu cores and cpu speed of the vm and physical host ?
What's the value of cpu.overprovisioning.factor in the
global/zone/cluster setting ?
-Wei
On Sun, May 19, 2024 at 10:56 AM <h....@bestnetllc.co.jp> wrote:
>
> Hello all
>
>
>
> I ran into an issue where I was unable to migrate a newly created KVM
> cluster.
>
>
>
> -error contents-
>
> Exception during migrate: org.libvirt.LibvirtException: invalid argument:
> shares '0' must be in range [2, 262144]
>
>
>
>
>
>
>
>
>
> I haven't changed any CloudStack settings and other clusters can be migrated
> without any problems.
>
>
>
> I would appreciate it if you could give me some hints.
>
>
>
> Thanks&Regards
>