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

   ### problem
   
   The Management Server fails to provision a volume on Listor for a new 
instance, or to create a new volume when migrating a running instance from NFS.
   
   The Storage Pool value should be `pve_rg0`, but it incorrectly includes the 
path `/var/log/cloudstack/management/` as if it were mounted there.
   
   ```
   2025-10-10 14:53:35,493 ERROR 
[o.a.c.s.m.KvmNonManagedStorageDataMotionStrategy] 
(Work-Job-Executor-63:[ctx-c2056f74, job-6661/job-6662, ctx-ac8f15c7]) 
(logid:26e6ebaa) Copy volume(s) to storage(s) [{volume: "83", from: "1", 
to:"10"}] and VM to host [{vm: "73", from: "4", to:"20"}] failed in 
StorageSystemDataMotionStrategy.copyAsync. Error message: [Exception during 
migrate: org.libvirt.LibvirtException: Storage pool not found: no storage pool 
with matching target path '/var/log/cloudstack/management/pve_rg0']. 
com.cloud.utils.exception.CloudRuntimeException: Exception during migrate: 
org.libvirt.LibvirtException: Storage pool not found: no storage pool with 
matching target path '/var/log/cloudstack/management/pve_rg0'
   ```
   
   ```
   2025-10-10 14:53:35,432 INFO  
[o.a.c.s.d.d.LinstorPrimaryDataStoreDriverImpl] 
(Work-Job-Executor-63:[ctx-c2056f74, job-6661/job-6662, ctx-ac8f15c7]) 
(logid:26e6ebaa) Linstor: Deleted resource 
cs-58f1b501-6e6f-4c19-853d-1bcf38dc5cb9
   2025-10-10 14:53:35,469 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(Work-Job-Executor-63:[ctx-c2056f74, job-6661/job-6662, ctx-ac8f15c7]) 
(logid:26e6ebaa) Volume VolumeObject {"dataStore":"StoragePool 
{"id":10,"name":"pve_rg0","poolType":"Linstor","uuid":"99577c84-c145-4c89-99c9-d22e35d3457d"}","volumeVO":"Volume
 
{"id":98,"instanceId":null,"name":"ROOT-73","uuid":"58f1b501-6e6f-4c19-853d-1bcf38dc5cb9","volumeType":"ROOT"}"}
 is not referred anywhere, remove it from volumes table
   2025-10-10 14:53:35,470 DEBUG [c.c.s.d.VolumeDaoImpl] 
(Work-Job-Executor-63:[ctx-c2056f74, job-6661/job-6662, ctx-ac8f15c7]) 
(logid:26e6ebaa) Removing volume 98 from DB
   2025-10-10 14:53:35,493 ERROR 
[o.a.c.s.m.KvmNonManagedStorageDataMotionStrategy] 
(Work-Job-Executor-63:[ctx-c2056f74, job-6661/job-6662, ctx-ac8f15c7]) 
(logid:26e6ebaa) Copy volume(s) to storage(s) [{volume: "83", from: "1", 
to:"10"}] and VM to host [{vm: "73", from: "4", to:"20"}] failed in 
StorageSystemDataMotionStrategy.copyAsync. Error message: [Exception during 
migrate: org.libvirt.LibvirtException: Storage pool not found: no storage pool 
with matching target path '/var/log/cloudstack/management/pve_rg0']. 
com.cloud.utils.exception.CloudRuntimeException: Exception during migrate: 
org.libvirt.LibvirtException: Storage pool not found: no storage pool with 
matching target path '/var/log/cloudstack/management/pve_rg0'.
   ```
   
   ### versions
   
   ACS 4.21
   Ubuntu 24.04
   DRBD 9.2.15
   
   ### The steps to reproduce the bug
   
   1.
   2.
   3.
   ...
   
   
   ### What to do about it?
   
   _No response_


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