Wrong proxy port in nova.conf for Spice proxy

If we look at nova/cmd/spicehtml5proxy.py, we use 6082 port for Spice proxy.

In nova.conf, the default port for html5proxy_base_url is 6080 which fails console
service.

Fix bug #1172957

Change-Id: I52ca37f76e7a6abd085b079ae42e7914cb619ad5
This commit is contained in:
Émilien Macchi 2013-04-26 01:20:05 +02:00
parent 13c085bc96
commit 0db9ba5ce3
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<console>
<type>spice-html5</type>
<url>http://example.com:6080/spice_auto.html?token=f9906a48-b71e-4f18-baca-c987da3ebdb3</url>
<url>http://example.com:6082/spice_auto.html?token=f9906a48-b71e-4f18-baca-c987da3ebdb3</url>
</console>

View File

@ -2854,8 +2854,8 @@
#
# location of spice html5 console proxy, in the form
# "http://127.0.0.1:6080/spice_auto.html" (string value)
#html5proxy_base_url=http://127.0.0.1:6080/spice_auto.html
# "http://127.0.0.1:6082/spice_auto.html" (string value)
#html5proxy_base_url=http://127.0.0.1:6082/spice_auto.html
# IP address on which instance spice server should listen
# (string value)

View File

@ -22,9 +22,9 @@ from oslo.config import cfg
spice_opts = [
cfg.StrOpt('html5proxy_base_url',
default='http://127.0.0.1:6080/spice_auto.html',
default='http://127.0.0.1:6082/spice_auto.html',
help='location of spice html5 console proxy, in the form '
'"http://127.0.0.1:6080/spice_auto.html"'),
'"http://127.0.0.1:6082/spice_auto.html"'),
cfg.StrOpt('server_listen',
default='127.0.0.1',
help='IP address on which instance spice server should listen'),