Commit 417a7ad
Allow server rebuild --wait for SHUTOFF servers
currently the command is waiting only for ACTIVE server status,
but if the server was SHUTOFF before, it will be SHUTOFF after
rebuild as well, so the command is stuck in waiting forever.
Additionally, we now also pre-validate the server status on client side,
and raise an error if the server to be rebuilt is not in ACTIVE, ERROR
or SHUTOFF state.
Change-Id: If90a4bbba9a7ecd972f8b594c52fee4f75a0ae5e
Co-Authored-By: Oleksiy Molchanov <omolchanov@mirantis.com>
Story: 2010751
Task: 480051 parent 3c9afe6 commit 417a7ad
3 files changed
Lines changed: 105 additions & 0 deletions
File tree
- openstackclient
- compute/v2
- tests/unit/compute/v2
- releasenotes/notes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3536 | 3536 | | |
3537 | 3537 | | |
3538 | 3538 | | |
| 3539 | + | |
| 3540 | + | |
| 3541 | + | |
| 3542 | + | |
| 3543 | + | |
| 3544 | + | |
| 3545 | + | |
| 3546 | + | |
| 3547 | + | |
3539 | 3548 | | |
3540 | 3549 | | |
3541 | 3550 | | |
| |||
3547 | 3556 | | |
3548 | 3557 | | |
3549 | 3558 | | |
| 3559 | + | |
3550 | 3560 | | |
3551 | 3561 | | |
3552 | 3562 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6250 | 6250 | | |
6251 | 6251 | | |
6252 | 6252 | | |
| 6253 | + | |
6253 | 6254 | | |
6254 | 6255 | | |
6255 | 6256 | | |
| |||
6448 | 6449 | | |
6449 | 6450 | | |
6450 | 6451 | | |
| 6452 | + | |
6451 | 6453 | | |
6452 | 6454 | | |
6453 | 6455 | | |
| |||
6473 | 6475 | | |
6474 | 6476 | | |
6475 | 6477 | | |
| 6478 | + | |
6476 | 6479 | | |
6477 | 6480 | | |
6478 | 6481 | | |
6479 | 6482 | | |
6480 | 6483 | | |
6481 | 6484 | | |
| 6485 | + | |
| 6486 | + | |
| 6487 | + | |
| 6488 | + | |
| 6489 | + | |
| 6490 | + | |
| 6491 | + | |
| 6492 | + | |
| 6493 | + | |
| 6494 | + | |
| 6495 | + | |
| 6496 | + | |
| 6497 | + | |
| 6498 | + | |
| 6499 | + | |
| 6500 | + | |
| 6501 | + | |
| 6502 | + | |
| 6503 | + | |
| 6504 | + | |
| 6505 | + | |
| 6506 | + | |
| 6507 | + | |
| 6508 | + | |
| 6509 | + | |
| 6510 | + | |
| 6511 | + | |
| 6512 | + | |
| 6513 | + | |
| 6514 | + | |
| 6515 | + | |
| 6516 | + | |
| 6517 | + | |
| 6518 | + | |
| 6519 | + | |
| 6520 | + | |
| 6521 | + | |
| 6522 | + | |
| 6523 | + | |
| 6524 | + | |
| 6525 | + | |
| 6526 | + | |
| 6527 | + | |
| 6528 | + | |
| 6529 | + | |
| 6530 | + | |
| 6531 | + | |
| 6532 | + | |
| 6533 | + | |
| 6534 | + | |
| 6535 | + | |
| 6536 | + | |
| 6537 | + | |
| 6538 | + | |
| 6539 | + | |
| 6540 | + | |
| 6541 | + | |
| 6542 | + | |
| 6543 | + | |
| 6544 | + | |
| 6545 | + | |
| 6546 | + | |
| 6547 | + | |
| 6548 | + | |
| 6549 | + | |
| 6550 | + | |
| 6551 | + | |
| 6552 | + | |
| 6553 | + | |
| 6554 | + | |
| 6555 | + | |
| 6556 | + | |
| 6557 | + | |
| 6558 | + | |
| 6559 | + | |
| 6560 | + | |
| 6561 | + | |
| 6562 | + | |
6482 | 6563 | | |
6483 | 6564 | | |
6484 | 6565 | | |
| |||
6837 | 6918 | | |
6838 | 6919 | | |
6839 | 6920 | | |
| 6921 | + | |
6840 | 6922 | | |
6841 | 6923 | | |
6842 | 6924 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments