Unable to access instances' consoles from Openstack dashboard
I successfully deployed openstack services on a MAAS+Juju setup. I logged into the dashboard and created a few instances. When I launch the instance, everything comes up fine( Status = Running ) but I am unable to access the console from the Web GUI. It says "console is currently unavailable. Please try again later." I checked the console logs tab and it seems to be fine. It shows all boot up logs until the login prompt
On searching for this on net someone suggested installing novaconsoleauth and nova-novncproxy on the compute which I did. But still no luck.
Can someone help?
EDIT: Thanks for the help guys. Here's how my nova.conf looks after your suggestions on the compute node
---Snip----
vnc_enabled = True
novncproxy_base_url=http://10.10.10.102:6080/vnc_auto.html
vncserver_proxyclient_address=10.10.10.102(This private IP was assigned to this node my MAAS)
vncserver_listen=0.0.0.0
novnc_enabled = False
ec2_dmz_host = 10.10.10.112
flat_interface = eth1
network_manager = nova.network.manager.FlatDHCPManager
But I am not sure whether the IP I've given is correct as my machine has a bunch of IPs
IP address for eth0: 130.245.158.193(NIC 1)
IP address for eth0: 130.245.158.195(NIC 2)
IP address for br0: 10.10.10.102
IP address for lxcbr0: 10.0.3.1
IP address for br100: 10.0.0.1
IP address for virbr0: 192.168.122.1
$root@slot13:~# netstat -lntp | grep 6080
tcp 0 0 0.0.0.0:6080 0.0.0.0:* LISTEN 8002/python
And regarding the controller node, I have hosted on an LXC(LXC has a different IP than the machine on which it is running on ) on machine having private IP 10.10.10.104(assigned by MAAS). I went to the node with this IP and changed nova.conf to
----Snip
my_ip=10.10.10.104
vncserver_listen=10.10.10.104
vncserver_proxyclient_address=10.10.10.104
IPs on this controller machine
IP address for br0: 10.10.10.104
IP address for lxcbr0: 10.0.3.1
$root@slot12:~# netstat -lntp | grep 6080
tcp 0 0 0.0.0.0:6080 0.0.0.0:* LISTEN 25602/python
And re-started nova-consoleauth and nova-novncproxy services on both compute and controller nodes. Still no use :(
What says
cat nova.conf | grep vnc
?netstat -lntp | grep 6080
@dbaxps I've updated my post with the required data. Pls check.
Per Sam's instruction on Compute Node
Does your controller have IP 10.10.10.102 ? Looks like 10.10.10.104