Unable to find DNS address of server controller when trying to access console [closed]

asked 2017-06-28 07:34:08 -0500

logax gravatar image

updated 2017-06-28 07:57:00 -0500

hello, i'm trying to access an instance i just created through the dashboard but when i try to access it an error shows up saying that "Unable to find DNS address of server controller".

I'm using Newton version of openstack and i'm using 3 nodes : controller,compute,storage. I was mostly following the documentation.

here is my controller /etc/nova/nova.conf :

[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
state_path=/var/lib/nova
force_dhcp_release=True
verbose=True
ec2_private_dns_show_ip=True
enabled_apis=osapi_compute,metadata
transport_url = rabbit://openstack:openstack@controller
auth_strategy = keystone
my_ip = 172.20.X.X
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver

[database]
connection=sqlite:////var/lib/nova/nova.sqlite
connection = mysql+pymysql://nova:nova@controller/nova

[api_database]
connection=sqlite:////var/lib/nova/nova.sqlite
connection = mysql+pymysql://nova:nova@controller/nova_api

[oslo_concurrency]
lock_path=/var/lock/nova

[libvirt]
use_virtio_for_bridges=True

[wsgi]
api_paste_config=/etc/nova/api-paste.ini

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = nova
password = *

[vnc]
vncserver_listen = $my_ip
vncserver_proxyclient_address = $my_ip

[glance]
api_servers = http://controller:9292

[oslo_concurrency]
lock_path = /var/lib/nova/tmp

[neutron]
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = Default
user_domain_name = Default
region_name = RegionOne
project_name = service 
username = neutron
password = *
service_metadata_proxy = True
metadata_proxy_shared_secret = metadata

[cinder]
os_region_name = RegionOne

and Compute Node /etc/nova/nova.conf

[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
state_path=/var/lib/nova
force_dhcp_release=True
verbose=True
ec2_private_dns_show_ip=True
enabled_apis=osapi_compute,metadata
transport_url = rabbit://openstack:openstack@controller
auth_strategy = keystone
my_ip = 172.20.X.X
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver

[database]
connection=sqlite:////var/lib/nova/nova.sqlite

[api_database]
connection=sqlite:////var/lib/nova/nova.sqlite

[oslo_concurrency]
lock_path=/var/lock/nova

[libvirt]
use_virtio_for_bridges=True

[wsgi]
api_paste_config=/etc/nova/api-paste.ini

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = nova
password = *

[vnc]
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html

[glance]
api_servers = http://controller:9292

[oslo_concurrency]
lock_path = /var/lib/nova/tmp

[neutron]
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = Default
user_domain_name = Default
region_name = RegionOne
project_name = service
username = neutron
password = *

Thank you,

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by logax
close date 2017-06-29 04:56:24.039073

Comments

Do you mean you are trying to access the instance console?

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-28 07:44:14 -0500 )edit

yes, i'm trying that.

logax gravatar imagelogax ( 2017-06-28 07:51:23 -0500 )edit
2

My guess: The URL for accessing the console is novncproxy_base_url = http://controller:6080/vnc_auto.html, but the PC where the browser runs doesn't know controller. Replace the name with the IP address in the config file.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-28 08:34:04 -0500 )edit

i tried that earlier but didn't really work ... :/ i'm gonna try again tomorrow.

logax gravatar imagelogax ( 2017-06-28 15:50:36 -0500 )edit

even though i replaced all the "controller" words with the ip address in both the controller and compute nodes conf files, i keep getting the same message, i don't know where it reads it from.

logax gravatar imagelogax ( 2017-06-29 04:48:19 -0500 )edit