Hello,
I just upgraded to cloudstack 4.18.1 from 4.17.2, and looks like the
offering change/scale still not working. Any suggestion how can I scale these
VMs without rebuild?
(localcloud) 🐱 > scale virtualmachine
id=191178f7-4f55-460c-87e8-5261d962f32f
serviceofferingid=c7822345-0f4f-4425-a544-48af4380c5a0
{
"accountid": "17274c5e-d492-11e5-86c3-000c298715c8",
"cmd": "org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin",
"completed": "2023-09-18T02:08:22-0400",
"created": "2023-09-18T02:08:22-0400",
"jobid": "ca1dd5f2-985c-40d8-bcc7-0d0c60db156d",
"jobinstanceid": "191178f7-4f55-460c-87e8-5261d962f32f",
"jobinstancetype": "VirtualMachine",
"jobprocstatus": 0,
"jobresult": {
"errorcode": 431,
"errortext": "Failed to change offering for volume
4f529ab2-e8f4-4844-8b8f-514fcc78647a since automigrate is set to false but
volume needs to migrated"
},
"jobresultcode": 431,
"jobresulttype": "object",
"jobstatus": 2,
"userid": "1727541a-d492-11e5-86c3-000c298715c8"
}
🙈 Error: async API failed for job ca1dd5f2-985c-40d8-bcc7-0d0c60db156d
(localcloud) 🐱 > scale virtualmachine id=191178f7-4f55-460c-87e8-5261d962f32f
serviceofferingid=c7822345-0f4f-4425-a544-48af4380c5a0 automigrate=true
{
"accountid": "17274c5e-d492-11e5-86c3-000c298715c8",
"cmd": "org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin",
"completed": "2023-09-18T02:08:46-0400",
"created": "2023-09-18T02:08:46-0400",
"jobid": "d052fa4d-b62d-4539-98c7-d9e7a915feb9",
"jobinstanceid": "191178f7-4f55-460c-87e8-5261d962f32f",
"jobinstancetype": "VirtualMachine",
"jobprocstatus": 0,
"jobresult": {
"errorcode": 530,
"errortext": "Index 0 out of bounds for length 0"
},
"jobresultcode": 530,
"jobresulttype": "object",
"jobstatus": 2,
"userid": "1727541a-d492-11e5-86c3-000c298715c8"
}
🙈 Error: async API failed for job d052fa4d-b62d-4539-98c7-d9e7a915feb9
Thank you,
Cristian