-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit 56c4a69
committed
return error about external network to the user on build failure
Instead of masking the error message with "Failure prepping block
device" when the user requests an invalid configuration, return the
actual error message to the user.
Closes-Bug: 2137673
Change-Id: If12555da64ccba2649a19ee6ccbdac0e888e6ad6
Signed-off-by: Doug Goldstein File tree
3 files changed
+40
-0
lines changed- nova
- compute
- manager.py
- tests/unit/compute
- test_compute_mgr.py
- releasenotes/notes
- fix-failure-prep-block-d7e1cad6d3910502.yaml
3 files changed
+40
-0
lines changednova/compute/manager.py
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2945 | 2945 | | |
2946 | 2946 | | |
2947 | 2947 | | |
| 2948 | + | |
2948 | 2949 | | |
2949 | 2950 | | |
2950 | 2951 | | |
| |||
nova/tests/unit/compute/test_compute_mgr.py
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8534 | 8534 | | |
8535 | 8535 | | |
8536 | 8536 | | |
| 8537 | + | |
| 8538 | + | |
| 8539 | + | |
| 8540 | + | |
| 8541 | + | |
| 8542 | + | |
| 8543 | + | |
| 8544 | + | |
| 8545 | + | |
| 8546 | + | |
| 8547 | + | |
| 8548 | + | |
| 8549 | + | |
| 8550 | + | |
| 8551 | + | |
| 8552 | + | |
| 8553 | + | |
| 8554 | + | |
| 8555 | + | |
| 8556 | + | |
| 8557 | + | |
| 8558 | + | |
| 8559 | + | |
| 8560 | + | |
| 8561 | + | |
| 8562 | + | |
| 8563 | + | |
| 8564 | + | |
| 8565 | + | |
| 8566 | + | |
8537 | 8567 | | |
8538 | 8568 | | |
8539 | 8569 | | |
| |||
releasenotes/notes/fix-failure-prep-block-d7e1cad6d3910502.yaml
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments