Skip to content

[SAP] Fix scheduler handling of empty pools list from backends#327

Open
hemna wants to merge 1 commit into
stable/2023.1-m3from
fix/scheduler-empty-pools-handling
Open

[SAP] Fix scheduler handling of empty pools list from backends#327
hemna wants to merge 1 commit into
stable/2023.1-m3from
fix/scheduler-empty-pools-handling

Conversation

@hemna
Copy link
Copy Markdown

@hemna hemna commented Apr 21, 2026

When a backend reports an empty pools list [] (e.g. due to a vCenter connectivity issue), the scheduler would wipe all cached pools and later create a synthetic pool that doesn't correspond to any real datastore, causing volume creation failures.

Mark all existing pools as down instead, so the scheduler preserves pool state and avoids scheduling to nonexistent pools.

Change-Id: If6e349fdc5725169e922ac2b1aa2f85effaf43c0

When a backend reports an empty pools list [] (e.g. due to a vCenter
connectivity issue), the scheduler would wipe all cached pools and
later create a synthetic pool that doesn't correspond to any real
datastore, causing volume creation failures.

Mark all existing pools as down instead, so the scheduler preserves
pool state and avoids scheduling to nonexistent pools.

Change-Id: If6e349fdc5725169e922ac2b1aa2f85effaf43c0
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.

1 participant