Skip to content

CA-423369: fix suspend-SR space check (backport)#6883

Merged
edwintorok merged 1 commit intoxapi-project:26.1-lcmfrom
robhoes:26.1-lcm
Feb 4, 2026
Merged

CA-423369: fix suspend-SR space check (backport)#6883
edwintorok merged 1 commit intoxapi-project:26.1-lcmfrom
robhoes:26.1-lcm

Conversation

@robhoes
Copy link
Member

@robhoes robhoes commented Feb 3, 2026

Unfortunately, the SR size and utilisation fields are only set after an SR scan, and the new space check has been incorrectly rejecting suspends in some cases.

Fix this by just catching the error from VDI.create and raising the new error to make it clear that it is the suspend SR that is out of space.

Fixes 9402e88.

(cherry picked from commit 45e2ea9)

Unfortunately, the SR size and utilisation fields are only set after an
SR scan, and the new space check has been incorrectly rejecting suspends
in some cases.

Fix this by just catching the error from `VDI.create` and raising the
new error to make it clear that it is the suspend SR that is out of
space.

Fixes 9402e88.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
(cherry picked from commit 45e2ea9)
@edwintorok edwintorok added this pull request to the merge queue Feb 4, 2026
Merged via the queue into xapi-project:26.1-lcm with commit 0537e7f Feb 4, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants