diff options
| author | Émilien Macchi <emilien.macchi@enovance.com> | 2013-04-26 01:20:05 +0200 |
|---|---|---|
| committer | Émilien Macchi <emilien.macchi@enovance.com> | 2013-04-26 01:20:05 +0200 |
| commit | 0db9ba5ce33d6ed132d09d8398555f7c540dc7b3 (patch) | |
| tree | 6e293bac8d91a4132b32a37d46bbef286aecfaa0 | |
| parent | 13c085bc9605447c4ff39ed903e0ef5bffd965d0 (diff) | |
| download | nova-0db9ba5ce33d6ed132d09d8398555f7c540dc7b3.tar.gz nova-0db9ba5ce33d6ed132d09d8398555f7c540dc7b3.tar.xz nova-0db9ba5ce33d6ed132d09d8398555f7c540dc7b3.zip | |
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
| -rw-r--r-- | doc/api_samples/os-consoles/get-spice-console-post-resp.xml | 2 | ||||
| -rw-r--r-- | etc/nova/nova.conf.sample | 4 | ||||
| -rw-r--r-- | nova/spice/__init__.py | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/api_samples/os-consoles/get-spice-console-post-resp.xml b/doc/api_samples/os-consoles/get-spice-console-post-resp.xml index acba8b1f0..113b982af 100644 --- a/doc/api_samples/os-consoles/get-spice-console-post-resp.xml +++ b/doc/api_samples/os-consoles/get-spice-console-post-resp.xml @@ -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> diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample index ed989ce86..4d8fabd00 100644 --- a/etc/nova/nova.conf.sample +++ b/etc/nova/nova.conf.sample @@ -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) diff --git a/nova/spice/__init__.py b/nova/spice/__init__.py index aa283d5cc..2f0d12289 100644 --- a/nova/spice/__init__.py +++ b/nova/spice/__init__.py @@ -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'), |
