weizhouapache commented on issue #8212:
URL: https://github.com/apache/cloudstack/issues/8212#issuecomment-1805264651

   cloudmonkey commands
   ```
   (localcloud) 🐱 > update configuration 
name=allow.diskoffering.change.during.scale.vm value=true
   {
     "configuration": {
       "category": "Advanced",
       "component": "UserVmManager",
       "defaultvalue": "false",
       "description": "Determines whether to allow or disallow disk offering 
change for root volume during scaling of a stopped or running vm",
       "displaytext": "Allow diskoffering change during scale vm",
       "group": "Storage",
       "isdynamic": true,
       "name": "allow.diskoffering.change.during.scale.vm",
       "subgroup": "Volume",
       "type": "Boolean",
       "value": "true"
     }
   }
   
   
   
   (localcloud) 🐱 > scale virtualmachine 
id=eaf2c009-3286-4e88-87b2-1e78bc7d124c details[0].rootdisksize=0 
serviceofferingid=4686773d-b8c6-47ba-9a3b-591c2c9aa860 
   {
     "account": "admin",
     "accountid": "19d46742-417f-11ee-bf06-1e007c0000fc",
     "cmd": "org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin",
     "completed": "2023-11-10T08:03:45+0000",
     "created": "2023-11-10T08:03:45+0000",
     "domainid": "f1f66ec7-417e-11ee-bf06-1e007c0000fc",
     "domainpath": "ROOT",
     "jobid": "b830f90e-8f44-4047-8890-0dd1058ab6c5",
     "jobinstanceid": "eaf2c009-3286-4e88-87b2-1e78bc7d124c",
     "jobinstancetype": "VirtualMachine",
     "jobprocstatus": 0,
     "jobresult": {
       "errorcode": 431,
       "errortext": "You cannot pass in a custom disk size to a non-custom disk 
offering."
     },
     "jobresultcode": 431,
     "jobresulttype": "object",
     "jobstatus": 2,
     "userid": "19d55e1b-417f-11ee-bf06-1e007c0000fc"
   }
   🙈 Error: async API failed for job b830f90e-8f44-4047-8890-0dd1058ab6c5
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to