In order to support the continued testing of the libvirt driver
with lxc virtualization, certain compute features must be disabled
including rescue, resize, and suspend.
Change-Id: I52150fef11ba6e3ab2fd0acacaa3c64413c0c0d1
| ... | ... |
@@ -464,6 +464,13 @@ function configure_tempest {
|
| 464 | 464 |
iniset $TEMPEST_CONFIG compute-feature-enabled suspend False |
| 465 | 465 |
fi |
| 466 | 466 |
|
| 467 |
+ # Libvirt-LXC |
|
| 468 |
+ if [ "$VIRT_DRIVER" = "libvirt" ] && [ "$LIBVIRT_TYPE" = "lxc" ]; then |
|
| 469 |
+ iniset $TEMPEST_CONFIG compute-feature-enabled rescue False |
|
| 470 |
+ iniset $TEMPEST_CONFIG compute-feature-enabled resize False |
|
| 471 |
+ iniset $TEMPEST_CONFIG compute-feature-enabled suspend False |
|
| 472 |
+ fi |
|
| 473 |
+ |
|
| 467 | 474 |
# service_available |
| 468 | 475 |
for service in ${TEMPEST_SERVICES//,/ }; do
|
| 469 | 476 |
if is_service_enabled $service ; then |