unable to launch console from horizon
Hi All,
Instance was created successfully no errors, but when I access instance via horizon console get error "operation timed out" in Chrome and IE. I am able to ping and ssh to instance on floating public ip.
I have 2 controllers, and to HA Proxy's
HAproxy 10.1.0.3 10.1.0.4 VIP 10.1.0.2
Controller: 10.1.0.5 10.1.0.6
Only error I see is apache2 log:
[Wed Aug 20 19:30:30.287706 2014] [:error] [pid 10629:tid 140490927363840] RESP: [200] CaseInsensitiveDict({'date': 'Wed, 20 Aug 2014 19:30:30 GMT', 'content-length': '522', 'content-type': 'application/json', 'x-compute-request-id': 'req-6d1cd473-d727-4ad6-b0a3-25a94e2a04ab'})
[Wed Aug 20 19:30:30.287720 2014] [:error] [pid 10629:tid 140490927363840] RESP BODY: {"flavor": {"name": "m1.small", "links": [{"href": "http://10.1.0.2:8774/v2/e9c4804197d54e80b25a79770f748dc4/flavors/9b77eb77-f2ac-4686-bd35-45af693f8945", "rel": "self"}, {"href": "http://10.1.0.2:8774/e9c4804197d54e80b25a79770f748dc4/flavors/9b77eb77-f2ac-4686-bd35-45af693f8945", "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 20, "id": "9b77eb77-f2ac-4686-bd35-45af693f8945"}}
[Wed Aug 20 19:30:30.287744 2014] [:error] [pid 10629:tid 140490927363840]
[Wed Aug 20 19:30:30.465977 2014] [:error] [pid 10629:tid 140490927363840] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.1.0.2
[Wed Aug 20 19:30:30.466507 2014] [:error] [pid 10629:tid 140490927363840] DEBUG:urllib3.connectionpool:Setting read timeout to None
[Wed Aug 20 19:30:30.536949 2014] [:error] [pid 10629:tid 140490927363840] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 1315
[Wed Aug 20 19:30:30.539278 2014] [:error] [pid 10629:tid 140490927363840] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.1.0.2
[Wed Aug 20 19:30:30.539706 2014] [:error] [pid 10629:tid 140490927363840] DEBUG:urllib3.connectionpool:Setting read timeout to None
[Wed Aug 20 19:30:30.562614 2014] [:error] [pid 10629:tid 140490927363840] DEBUG:urllib3.connectionpool:"GET /v2.0/tenants HTTP/1.1" 200 130
[Wed Aug 20 19:30:32.221964 2014] [:error] [pid 10629:tid 140491002963712]
[Wed Aug 20 19:30:32.222037 2014] [:error] [pid 10629:tid 140491002963712] REQ: curl -i 'http://10.1.0.2:8774/v2/e9c4804197d54e80b25a79770f748dc4/servers/3c4656ca-e42a-4c08-857e-e1d0f9a0cbc2' -X GET -H "X-Auth-Project-Id: e9c4804197d54e80b25a79770f748dc4" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 67770d341014bdde5a003dce7a0f49d3"
[Wed Aug 20 19:30:32.222049 2014] [:error] [pid 10629:tid 140491002963712]
[Wed Aug 20 19:30:32.222287 2014] [:error] [pid 10629:tid 140491002963712] New session created for: (http://10.1.0.2:8774)
[Wed Aug 20 19:30:32.224990 2014] [:error] [pid 10629:tid 140491002963712] DEBUG:urllib3.connectionpool:Setting read timeout to None
[Wed Aug 20 19:30:32.357540 2014] [:error] [pid 10629:tid 140491002963712] DEBUG:urllib3.connectionpool:"GET /v2/e9c4804197d54e80b25a79770f748dc4/servers/3c4656ca-e42a-4c08-857e-e1d0f9a0cbc2 HTTP/1.1" 200 1600
[Wed Aug 20 19:30:32.359109 2014] [:error] [pid 10629:tid 140491002963712] RESP: [200] CaseInsensitiveDict({'date': 'Wed, 20 Aug 2014 19:30:32 GMT', 'content-length': '1600', 'content-type': 'application/json', 'x-compute-request-id': 'req-ffbdc492-e97b-453d-b7dc-447d56c42732'})
[Wed ...
Looks like the VNC console is set to be at http://10.1.0.2:6080 , maybe make sure the IP is accessible from your machine (the one with the browser open, not the Horizon server) and that port 6080 is open on the controller? Can you access the console when you paste in the URL given from "nova get-vnc-console novnc" command directly into the browser?
That IP is the private VIP on the HA proxy. It is not accessible from my browser computer IP. Port 6080 is open on controller.
I thought that was for compute and controller to communicate on?
Update URL to public IP still getting error : Not Found The requested URL /130.245.183.133:6080/vnc_auto.html was not found on this server.