websocketproxy: Make protocol validation use connection_info
With this change, we avoid the need to have config '*_baseurl' config
options correctly set up on nodes running console-proxy services, as the
access_url is now available after token validation.
UpgradeImpact: Websocket proxies need to be upgraded in a lockstep
with the API nodes up to this commit (or when upgrading to Kilo),
as older API nodes will not be sending the access_url when authorizing
console access, and newer proxy services (this commit and onward) would
fail to authorize such requests.
Reviewed: https:/ /review. openstack. org/169753 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=9621ccaf059 00009d67cdadeb1 aac27368114a61
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9621ccaf0590000 9d67cdadeb1aac2 7368114a61
Author: Nikola Dipanov <email address hidden>
Date: Wed Apr 1 14:42:00 2015 +0100
websocketproxy: Make protocol validation use connection_info
With this change, we avoid the need to have config '*_baseurl' config
options correctly set up on nodes running console-proxy services, as the
access_url is now available after token validation.
UpgradeImpact: Websocket proxies need to be upgraded in a lockstep
with the API nodes up to this commit (or when upgrading to Kilo),
as older API nodes will not be sending the access_url when authorizing
console access, and newer proxy services (this commit and onward) would
fail to authorize such requests.
Change-Id: I721bca407bf9d3 fb33a3461c04d39 2284448d4a6
Closes-bug: #1442048