Hello, I fixed the issue by changing storage capicity disable threshold.
Thanks On Tue, Jul 9, 2019 at 4:56 PM Andrija Panic <[email protected]> wrote: > If I recall correctly, you are on KVM, and afaik scaling a VM while running > is not supported for KVM (besides, template/VM needs to be marked as > Dynamically scalable). > > If you have failure while VM is stopped, can you advise if VM is created > from template or via ISO file (because of root disk size being linked to > service offering or disk offering) - anyway sounds like a bug to me... > > Best, > > > On Tue, Jul 9, 2019, 15:46 Fariborz Navidan <[email protected]> wrote: > > > As service offering is customized, I am trying to use scaleVirtualMachine > > API to add CPU cores as UI does not have such functionality. Bellow is > > command and cmk output. > > > > (local) 🐵 > scale virtualmachine id=8c2fc3b6-c71b-4ead-885e-ec468b21c05e > > serviceofferingid=287f17af-193e-4ad3-aa09-7291a8d1eaf5 > > details[0].memory=4096 details[0].cpuSpeed=2000 details[0].cpuNumber=3 > > Error > > Async job 83b5514d-6f64-4a59-a3a3-38f220ef4216 failed > > Error 530, Storage pool Primary1 does not have enough space to resize > > volume ROOT-37 > > accountid = 27cd01ef-3907-11e9-87ab-a4bf012ed1a6 > > cmd = org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin > > completed = 2019-07-09T11:40:38+0200 > > created = 2019-07-09T11:40:37+0200 > > jobid = 83b5514d-6f64-4a59-a3a3-38f220ef4216 > > jobprocstatus = 0 > > jobresult: > > errorcode = 530 > > errortext = Storage pool Primary1 does not have enough space to resize > > volume ROOT-37 > > jobresultcode = 530 > > jobresulttype = object > > jobstatus = 2 > > userid = 27cd05dd-3907-11e9-87ab-a4bf012ed1a6 > > (local) 🐵 > > > > > On Tue, Jul 9, 2019 at 2:09 PM Andrija Panic <[email protected]> > > wrote: > > > > > Please share more details, cmk command used etc. > > > > > > On Tue, Jul 9, 2019, 14:54 Fariborz Navidan <[email protected]> > > wrote: > > > > > > > Hello, > > > > > > > > I get following error when I want to scale a VM via cloudmonkey: > > > errortext > > > > = Storage pool Primary1 does not have enough space to resize volume > > > ROOT-37 > > > > > > > > I didn't request any volume resize however the volume is 60GB and > > > Primary1 > > > > has 107GB free space. > > > > > > > > Please advise. > > > > > > > > Thanks > > > > > > > > > >
