prashanthr2 commented on PR #14853:
URL: https://github.com/apache/cloudstack/pull/14853#issuecomment-7359569801
Verified working.
Verified on CloudStack 4.22.1.1, packages rebuilt from patched source
(version string unchanged at 4.22.1.1~noble). Management server and both KVM
hosts on Ubuntu 24.04.4 LTS, kernel 6.8.0-147-generic, OpenJDK 21, MySQL
8.0.46. Pure FA-X20R4 sv16-x20r4-b06-15, Purity//FA 6.10.6, REST API 2.23,
FibreChannel 32/16 Gbit, provider Flash Array.
Created a 5 GiB data volume on cs-prim-fc-p2 (pool id 4), attached it to
materialise the array object, detached, and migrated to cs-prim-fc-p1 (pool id
3):
before: providerName=cs-prim-fc-p2::vol-4-1-2-61 pool_id 4
after: providerName=cs-prim-fc-p1::vol-3-1-2-62 pool_id 3
array: cs-prim-fc-p1::vol-3-1-2-62 5G
Source: cs-prim-fc-p2::vol-4-1-2-61-20261202121049
The pod prefix and pool_id now agree. On 4.22.1.1 this lands as
cs-prim-fc-p2::vol-3-1-2-62 — the destination pool's id inside the source pod's
namespace , so capacity accounting is wrong in both pools permanently, and pool
deletion acts on the wrong pod.
The Source: column also shows the source volume renamed-and-destroyed during
the same operation, so #13049 is exercised alongside this.
Tested the migrateVolume path specifically, which was the most serious of
the three reproductions because the administrator names the destination
explicitly and the API reports success. The other two paths (createVolume from
snapshot, cold vmStorageMigration) share the same copyAsync() call site and
were not separately re-run.
--
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]