Reduce scope of 'path' query parameter to noVNC consoles
This is a partial revert of commit
9606c80402f6db20d62b689c58aa8f024183628a which added the 'path' query
parameter to work with noVNC v1.1.0. This broke all other console types
using websockify server (serial, spice) because the websockify server
itself doesn't know how to handle the 'path' query parameter. It is the
noVNC vnc_lite.html file which parses the 'path' variable and uses it
as the url to the websockify server. So, all other console types should
*not* be generating a console access url with a 'path' query parameter,
only noVNC.
Closes-Bug: #1845243
TODO(melwitt): Figure out how to test serial and/or spice console in
the gate
Reviewed: https:/ /review. opendev. org/686067 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f3eac7232ca be139ad34945b3b e021af1f0d1599
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit f3eac7232cabe13 9ad34945b3be021 af1f0d1599
Author: melanie witt <email address hidden>
Date: Fri Sep 27 02:10:22 2019 +0000
Reduce scope of 'path' query parameter to noVNC consoles
This is a partial revert of commit 6db20d62b689c58 aa8f024183628a which added the 'path' query
9606c80402f
parameter to work with noVNC v1.1.0. This broke all other console types
using websockify server (serial, spice) because the websockify server
itself doesn't know how to handle the 'path' query parameter. It is the
noVNC vnc_lite.html file which parses the 'path' variable and uses it
as the url to the websockify server. So, all other console types should
*not* be generating a console access url with a 'path' query parameter,
only noVNC.
Closes-Bug: #1845243
TODO(melwitt): Figure out how to test serial and/or spice console in
the gate
Conflicts: tests/unit/ console/ test_websocketp roxy.py
nova/
NOTE(melwitt): The conflict is because change a3f73073c66c29d ddb996fb2c2b266 is not in Rocky.
I7f5f08691c
Change-Id: I9521f21a685edc 44121d75bdf534c 201fa87c2d7 ea115408610f90e 7d6eee5139) 20634ac00fd9dc1 19042837b9) 12b6b029ebef259 04f9455aa9)
(cherry picked from commit 54125a75fb056db
(cherry picked from commit e736babdfea2777
(cherry picked from commit ff29f7018fdd4fc