dheeraj12347 commented on issue #12790:
URL: https://github.com/apache/cloudstack/issues/12790#issuecomment-4038903410

   Hi @sureshanaparti , I’ve looked into the issue and it seems that after 
reverting to the instance snapshot, the custom offering details (`cpuNumber`, 
`cpuSpeed`, `memory`, etc.) are removed from the `vm_instance_details` table. 
Later during VM start, `ServiceOffering.getCpu()` returns null, which leads to 
the `NullPointerException` in `DeploymentPlanningManagerImpl.planDeployment()`.
   
   I’d like to investigate the revert workflow to understand why these values 
are cleared and whether they should be preserved or restored after the revert 
operation. If no one is currently working on this, I’d be happy to take a look 
and propose a fix.
   
   Thanks!
   


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