rohityadavcloud opened a new issue, #9371:
URL: https://github.com/apache/cloudstack/issues/9371

   Upon upgrading my env to 4.19.1 RC1, I could get SSVM but not CPVM which 
fails due to the following seen on the agent logs:
   
   ```
   2024-07-11 15:37:46,746 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:fc1036c0) Trying to fetch storage pool 
8aa9768c-cbcf-4e8e-8875-f94a7f9445b6 from libvirt
   2024-07-11 15:37:46,747 WARN  [cloud.agent.Agent] 
(agentRequest-Handler-4:null) (logid:fc1036c0) Caught:
   com.cloud.utils.exception.CloudRuntimeException: Could not fetch storage 
pool 8aa9768c-cbcf-4e8e-8875-f94a7f9445b6 from libvirt due to 
org.libvirt.LibvirtException: Storage pool not found: no storage pool with 
matching uuid '8aa9768c-cbcf-4e8e-8875-f94a7f9445b6'
           at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:280)
           at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:266)
           at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.disconnectPhysicalDisksViaVmSpec(KVMStoragePoolManager.java:241)
           at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:160)
           at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:49)
           at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
           at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1929)
           at com.cloud.agent.Agent.processRequest(Agent.java:683)
   ```
   
   On the mgmt server side, this is seen:
   
   ```
   2024-07-11 16:36:01,674 ERROR [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-57:ctx-0417fe01 job-2431/job-10081 ctx-0c64ca8a) 
(logid:81e6bbc0) Invocation exception, caused by: 
com.cloud.utils.exception.CloudRuntimeException: We cannot stop VM instance 
{"id":824,"instanceName":"v-824-VM","type":"ConsoleProxy","uuid":"506d0e73-b286-4de6-9df4-46b570eeacd5"}
 when it is in state Starting
   2024-07-11 16:36:01,674 INFO  [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-57:ctx-0417fe01 job-2431/job-10081 ctx-0c64ca8a) 
(logid:81e6bbc0) Rethrow exception 
com.cloud.utils.exception.CloudRuntimeException: We cannot stop VM instance 
{"id":824,"instanceName":"v-824-VM","type":"ConsoleProxy","uuid":"506d0e73-b286-4de6-9df4-46b570eeacd5"}
 when it is in state Starting
   2024-07-11 16:36:01,674 DEBUG [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-57:ctx-0417fe01 job-2431/job-10081) (logid:81e6bbc0) Done 
with run of VM work job: com.cloud.vm.VmWorkStop for VM 824, job origin: 2431
   2024-07-11 16:36:01,674 ERROR [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-57:ctx-0417fe01 job-2431/job-10081) (logid:81e6bbc0) Unable 
to complete AsyncJobVO: {id:10081, userId: 1, accountId: 1, instanceType: null, 
instanceId: null, cmd: com.cloud.vm.VmWorkStop, cmdInfo: 
rO0ABXNyABdjb20uY2xvdWQudm0uVm1Xb3JrU3RvcALQ4GymiWjjAgABWgAHY2xlYW51cHhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAABAAAAAAAAAAEAAAAAAAADOHQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwA,
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 130014950130305, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: Thu Jul 11 16:36:01 IST 2024, removed: null}, job 
origin:2431
   com.cloud.utils.exception.CloudRuntimeException: We cannot stop VM instance 
{"id":824,"instanceName":"v-824-VM","type":"ConsoleProxy","uuid":"506d0e73-b286-4de6-9df4-46b570eeacd5"}
 when it is in state Starting
           at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:2107)
           at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStop(VirtualMachineManagerImpl.java:1980)
           at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStop(VirtualMachineManagerImpl.java:5505)
           at jdk.internal.reflect.GeneratedMethodAccessor977.invoke(Unknown 
Source)
   ```
   
   Restarting the agent a couple of times, somehow fixed it. I'm also not sure 
if it's something to do with my env or with 4.19.1 RC1
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   KVM, CPVM, Local storage
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.19.1.0 RC1
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   Adv zone + KVM Ubuntu 22.04
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
    KVM Ubuntu 22.04


-- 
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: commits-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to