Test websocketproxy with TLS in the nova-next job
Depends-on: Ib29d3f5f18533115b9c51e27b373e92fc0a28d1a
Change-Id: I203163b09613734b3e792bee7e5a931f0888378e
(cherry picked from commit 4d5e370b8f
)
This commit is contained in:
parent
1190e60f0a
commit
35923d5e8e
|
@ -134,7 +134,8 @@
|
||||||
Pike, the service user token functionality was added. This job is also
|
Pike, the service user token functionality was added. This job is also
|
||||||
unique in that it runs the post_test_hook from the nova repo, which runs
|
unique in that it runs the post_test_hook from the nova repo, which runs
|
||||||
post-test scripts to ensure those scripts are still working,
|
post-test scripts to ensure those scripts are still working,
|
||||||
e.g. archive_deleted_rows.
|
e.g. archive_deleted_rows. In Queens, this job started testing the
|
||||||
|
TLS console proxy code in the libvirt driver.
|
||||||
# TODO(mriedem): Make this voting once bug 1747511 is fixed.
|
# TODO(mriedem): Make this voting once bug 1747511 is fixed.
|
||||||
voting: false
|
voting: false
|
||||||
run: playbooks/legacy/nova-next/run.yaml
|
run: playbooks/legacy/nova-next/run.yaml
|
||||||
|
|
|
@ -26,12 +26,16 @@
|
||||||
- shell:
|
- shell:
|
||||||
# TODO(mriedem): Consider setting USE_PYTHON3=True here to make this
|
# TODO(mriedem): Consider setting USE_PYTHON3=True here to make this
|
||||||
# job run under python 3.5 which is a "next" type thing.
|
# job run under python 3.5 which is a "next" type thing.
|
||||||
|
|
||||||
|
# Enable TLS between the noVNC proxy & compute nodes; this requires
|
||||||
|
# the tls-proxy service to be enabled.
|
||||||
cmd: |
|
cmd: |
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
NOVA_USE_SERVICE_TOKEN=True
|
NOVA_USE_SERVICE_TOKEN=True
|
||||||
|
NOVA_CONSOLE_PROXY_COMPUTE_TLS=True
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
@ -42,6 +46,8 @@
|
||||||
cmd: |
|
cmd: |
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
# tls-proxy is needed to initialize the CA and cert.
|
||||||
|
export ENABLED_SERVICES=tls-proxy
|
||||||
export PYTHONUNBUFFERED=true
|
export PYTHONUNBUFFERED=true
|
||||||
# Yes we want to run Tempest.
|
# Yes we want to run Tempest.
|
||||||
export DEVSTACK_GATE_TEMPEST=1
|
export DEVSTACK_GATE_TEMPEST=1
|
||||||
|
|
Loading…
Reference in New Issue