Skip to content

ACS 4.21 cannot create volume on Linstor #11826

@daviftorres

Description

@daviftorres

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. On an running instance that has volumes in NFS, clock on "Migrate Instance to another host",
  2. Toggle the "Migrate with storage",
  3. Select the Linstor RG for the destination of the volumes.
Image

...

What to do about it?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions