Commit 30a3d3c
committed
Fix storage pool activation for sushy-tools VM power control
Resolves deployment failures where Ironic nodes reach 'deploy failed' state
because VMs cannot be powered on via Redfish.
Root cause: Storage pools (e.g., oooq_pool) existed but were inactive, causing
sushy-tools to fail with 'Storage pool not found' errors when attempting to
power on VMs. This resulted in HTTP 500 errors on ComputerSystem.Reset actions.
Fixes:
- Ensure storage pool is started when found by path
- Ensure storage pool is started when reused by name
- Always refresh pool so libvirt sees all volumes
- Critical for sushy-tools BMC emulator to access VM disks
Without this fix, VMs stay powered off and Ironic deployment fails.1 parent 1c41783 commit 30a3d3c
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
| |||
219 | 227 | | |
220 | 228 | | |
221 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
222 | 236 | | |
223 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
224 | 242 | | |
225 | 243 | | |
226 | 244 | | |
| |||
0 commit comments