kiranchavala commented on issue #7325:
URL: https://github.com/apache/cloudstack/issues/7325#issuecomment-1462019165

   hi @ccycv 
   
   I also got the same message as @weizhouapache 
   
   1. Create a custom compute offering , uncheck the compute-only disk offering 
and select a custom disk offering
   
   ![compute 
offering](https://user-images.githubusercontent.com/1401014/224026598-a0773ed4-d770-4a58-b236-a301759719c4.png)
   
   2. deploy a vm using the custom compute offering, by default it will take 
the minimum root disk size as 8 gb 
   
   
![deployvm](https://user-images.githubusercontent.com/1401014/224027166-c2cb6c70-cf98-4115-89a7-f2c4b9bd095c.png)
   
   3. Stop the vm 
   
   4. Scale the vm to the same cutom offering but mention the new disk size of 
25 gb
   
   
![scale](https://user-images.githubusercontent.com/1401014/224029086-ac70a994-c9c1-4eea-a400-bc3ce9cba0e0.png)
   
   
   5. The volume will not be scaled  and the following logs 
   
   ~~~
   2023-03-09 12:35:22,281 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-43:ctx-c544c5f6 job-289) (logid:179580d3) Executing 
AsyncJobVO: {id:289, userId: 2, accountId: 2, instanceType: VirtualMachine, 
instanceId: 30, cmd: 
org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin, cmdInfo: 
{"details[0].cpuNumber":"1","httpmethod":"GET","ctxAccountId":"2","uuid":"ab277894-4527-47ea-8c34-eecbf726ea13","automigrate":"true","details[0].memory":"512","cmdEventType":"VM.UPGRADE","serviceofferingid":"58c06adf-db66-442d-ba26-8ea06230949f","response":"json","ctxUserId":"2","ctxStartEventId":"1002","id":"ab277894-4527-47ea-8c34-eecbf726ea13","ctxDetails":"{\"interface
 
com.cloud.vm.VirtualMachine\":\"ab277894-4527-47ea-8c34-eecbf726ea13\",\"interface
 
com.cloud.offering.ServiceOffering\":\"58c06adf-db66-442d-ba26-8ea06230949f\"}","details[0].rootdisksize":"25"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 32989174039340, completeMsid
 : null, lastUpdated: null, lastPolled: null, created: null, removed: null}
   
   
   2023-03-09 12:35:22,300 DEBUG [c.c.u.AccountManagerImpl] 
(API-Job-Executor-43:ctx-c544c5f6 job-289 ctx-f3a9d065) (logid:179580d3) Access 
granted to Account 
[{"accountName":"admin","id":2,"uuid":"1011d1ed-b73a-11ed-87f7-1e00e400032c"}] 
to Service offering {"id":24,"name":"c1","uuid":null}. by 
AffinityGroupAccessChecker
   
   
   2023-03-09 12:35:22,304 DEBUG [c.c.s.VolumeApiServiceImpl] 
(API-Job-Executor-43:ctx-c544c5f6 job-289 ctx-f3a9d065) (logid:179580d3) 
Scaling CPU and/or Memory of VM with custom service offering. New disk offering 
stills the same. Skipping the Disk offering change on Volume 
7bfa9c06-c87f-450d-89b5-de9b96bef20d.
   
   ~~~
   
   6. you have to select the root disk volume and resize to particular size
   
   
![resize](https://user-images.githubusercontent.com/1401014/224029564-3ca2491c-98de-449e-83f2-e576f2364fa7.png)
   
   
   
   
   
   
   
   
   
   
   


-- 
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