Cells v1 apparently doesn't support the swap volume API which
was recently enabled for testing in change:
92575baa6b010ec09fea3e715030da8be61c0c64
Rather than revert that change, we should just handle the cells
v1 case and not enable that test in that environment.
Change-Id: I80f52e8299641098d90d3c374a80770fc45b8122
Closes-Bug: #1660511
| ... | ... |
@@ -516,8 +516,10 @@ function configure_tempest {
|
| 516 | 516 |
iniset $TEMPEST_CONFIG compute-feature-enabled shelve False |
| 517 | 517 |
iniset $TEMPEST_CONFIG compute-feature-enabled snapshot False |
| 518 | 518 |
iniset $TEMPEST_CONFIG compute-feature-enabled suspend False |
| 519 |
+ elif ! is_service_enabled n-cell; then |
|
| 520 |
+ # cells v1 does not support swapping volumes |
|
| 521 |
+ iniset $TEMPEST_CONFIG compute-feature-enabled swap_volume True |
|
| 519 | 522 |
fi |
| 520 |
- iniset $TEMPEST_CONFIG compute-feature-enabled swap_volume True |
|
| 521 | 523 |
fi |
| 522 | 524 |
|
| 523 | 525 |
# ``service_available`` |