You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change disk offering migrates and resizes a volume twice on main #14759
On main, VolumeApiServiceImpl.changeDiskOfferingForVolumeInternal runs its last block twice in a row. The block is the no-op check, then the migrate step, then the resize step.
effect on main
offering change needs a migration
volume is migrated twice. The second target comes from the pool list computed before the first move.
Cause: merge 82bfa9f ("Merge branch '4.22'"). 9c0c8da on 4.22 wrapped the method body in a reservation try/finally. The merge kept main's re-indented copy and also 4.22's copy below it.
versions
main (24.0.0-SNAPSHOT) since 82bfa9f. 4.22 is not affected.
The steps to reproduce the bug
Volume on pool A. Disk offering B whose tags only match pool B.
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
On main only, a bad merge (82bfa9f) left two copies of the final block in changeDiskOfferingForVolumeInternal. A disk offering change that needs a migration migrates the volume twice, and one that needs a resize resizes it twice. The second migration uses a pool list computed before the first move. 4.22 is not affected. PR #14760 is already open.
📊 Assessment
Dimension
Value
Reasoning
Type
type:bug
Duplicated code block runs migrate and resize twice
Component
component:storage
Volume change disk offering path
Severity
Severity:Major
Regression on main; second migration can use a stale pool list
Labels
type:bug, component:storage, Severity:Major
Based on the issue text and the merge commit reference
Coding agent
Suitable
Fix is specified: delete the second copy, keep the newer messages
Activity
github-actions commentedon Nov 24, 2026
Warning
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
Review the workflow run logs for details.
🎯 Triage report
On
mainonly, a bad merge (82bfa9f) left two copies of the final block inchangeDiskOfferingForVolumeInternal. A disk offering change that needs a migration migrates the volume twice, and one that needs a resize resizes it twice. The second migration uses a pool list computed before the first move. 4.22 is not affected. PR #14760 is already open.📊 Assessment
🔗 Similar issues
💡 Notes and suggestions
changeOfferingForVolume automigrate=true.Add this agentic workflow to your repo
To install this agentic workflow, run