enable multinode supprot for spice and serial proxy
This change mirrors change Ie02734bb598d27560cf5d674c9e1d9b8dca3801f
which ensure that its posible to enable vnc for vms on compute nodes
without deploying the vnc proxy.
In this change two new flags are added NOVA_SPICE_ENABLED and
NOVA_SERIAL_ENABLED to enable configuration of the relevent console
create_nova_conf is also modifed to include the db url if the console
proxies are deployed on a host.
As spice supprot is nolonger avaible in qemu as packged by ubuntu 24.04
and centos 9 a devstack-two-node-debian-bookworm to allow testing with
spice in a multinode job.
Change-Id: Ie944e518122f2b0059f28acbf68fb7ad0a560ca4
diff --git a/lib/tempest b/lib/tempest
index b8f9915..29b01f1 100644
--- a/lib/tempest
+++ b/lib/tempest
@@ -514,9 +514,15 @@
iniset $TEMPEST_CONFIG compute-feature-enabled volume_multiattach True
fi
- if is_service_enabled n-novnc; then
+ if is_service_enabled n-novnc || [ "$NOVA_VNC_ENABLED" != False ]; then
iniset $TEMPEST_CONFIG compute-feature-enabled vnc_console True
fi
+ if is_service_enabled n-spice || [ "$NOVA_SPICE_ENABLED" != False ]; then
+ iniset $TEMPEST_CONFIG compute-feature-enabled spice_console True
+ fi
+ if is_service_enabled n-sproxy || [ "$NOVA_SERIAL_ENABLED" != False ]; then
+ iniset $TEMPEST_CONFIG compute-feature-enabled serial_console True
+ fi
# Network
iniset $TEMPEST_CONFIG network project_networks_reachable false