Cannot connect to the instance console for a VM
We can launch our VM's and they show up as instances and according to the dashboard are assigned IP's yet the instance console cannot connect: "The connection to the server was reset while the page was loading."
Tried connecting to qdhcp and pinging the VM from the stack network host:
ip netns exec qdhcp-0bfe4cfd ping -c 3 192.168.99.18
and the IP is up so the VM is getting the IP and responding to pings but we cannot connect on the dashboard instance console.
We are using:
- OpenStack Icehouse configuration
- cirros-0.3.2-x86_64 test VM image
- Ubuntu
- GRE networking.
Controller nova.conf file:
[DEFAULT]
verbose = True
# SCS OpenStack Settings
rpc_backend = rabbit
rabbit_userid = stackrabbit
rabbit_host = stackcontrol
rabbit_password = xxxxxxxxxxxxxxxxxxxxxxxxxxxx
service_neutron_metadata_proxy = true
neutron_metadata_proxy_shared_secret = xxxxxxxxxxxxxxxxxxxxxx
my_ip = 10.0.0.11
vncserver_listen = 10.0.0.11
vncserver_proxyclient_address = 10.0.0.11
auth_strategy = keystone
# Original file settings:
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
# SCS Openstack settings for Neutron Networking
network_api_class = nova.network.neutronv2.api.API
neutron_url = http://stackcontrol:9696
neutron_auth_strategy = keystone
neutron_admin_tenant_name = service
neutron_admin_username = neutron
neutron_admin_password = xxxxxxxxxxxxxxxxxxxxxxx
neutron_admin_auth_url = http://stackcontrol:35357/v2.0
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
security_group_api = neutron
# SCS OpenStack
[database]
connection = mysql://nova:xxxxxxxxxxxxxxxxxx@stackcontrol/nova
# SCS OpenStack
[keystone_authtoken]
auth_uri = http://stackcontrol:5000
auth_host = stackcontrol
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = xxxxxxxxxxxxxxxxxxxx
Compute node nova.conf file:
[DEFAULT]
# Original settings
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
# SCS OpenStack Settings
verbose = True
auth_strategy = keystone
rpc_backend = rabbit
rabbit_userid = stackrabbit
rabbit_host = stackcontrol
rabbit_password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
my_ip = 10.0.0.31
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 10.0.0.31
novncproxy_base_url = https://horizon.scs.carleton.ca:6080/vnc_auto.html
xvpvncproxy_base_url = https://horizon.scs.carleton.ca:6081/console
ssl_only = True
cert = /etc/nova/ssl/scs2014.crt
key = /etc/nova/ssl/scs2014.key
glance_host = stackcontrol
# SCS OpenStack - added to support neutron networking
network_api_class = nova.network.neutronv2.api.API
neutron_url = http://stackcontrol:9696
neutron_auth_strategy = keystone
neutron_admin_tenant_name = service
neutron_admin_username = neutron
neutron_admin_password = xxxxxxxxxxxxxxxxxxxxxxx
neutron_admin_auth_url = http://stackcontrol:35357/v2.0
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
security_group_api = neutron
[database]
# The SQLAlchemy connection string used to connect to the database
connection = mysql://nova:xxxxxxxxxxxxxxxxxxxxxxxxxxx@stackcontrol/nova
[keystone_authtoken]
auth_uri=http://stackcontrol:5000
auth_host = stackcontrol
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx