PDA

View Full Version : Cloud 7 -Failed to apply Neutron proposal-No route to host



ravic
08-Aug-2017, 00:25
Failed to apply the proposal to:
susecont1 (d0c-c4-7a-f7-ee-00.supermicro.local):
Most recent logged lines from the Chef run:
143: ssl_cert_required: neutron[:neutron][:ssl][:cert_required],
144: ssl_ca_file: neutron[:neutron][:ssl][:ca_certs],
145: nova_insecure: nova_insecure,
146: core_plugin: neutron[:neutron][:networking_plugin],
147: service_plugins: service_plugins,
148: allow_overlapping_ips: neutron[:neutron][:allow_overlapping_ips],
149: dvr_enabled: neutron[:neutron][:use_dvr],
150: network_nodes_count: network_nodes_count,
151: dns_domain: neutron[:neutron][:dhcp_domain],
152: mtu_value: mtu_value,
153: infoblox: infoblox_settings,
154: ipam_driver: ipam_driver
155: )
156: end
157:
158: if neutron[:neutron][:use_lbaas]
159: interface_driver = "neutron.agent.linux.interface.OVSInterfaceDriver"
160: if neutron[:neutron][:networking_plugin] == "ml2" &&
161: neutron[:neutron][:ml2_mechanism_drivers].include?("linuxbridge")
162: interface_driver = "neutron.agent.linux.interface.BridgeInterfaceDrive r"
163: end
164:

Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/neutron/recipes/common_config.rb:120:in `from_file'

template("/etc/neutron/neutron.conf.d/100-neutron.conf") do
provider Chef::Provider::Template
action "create"
retries 0
retry_delay 2
path "/etc/neutron/neutron.conf.d/100-neutron.conf"
backup 5
source "neutron.conf.erb"
cookbook "neutron"
variables {:sql_connection=>"postgresql://neutron:9O88Bv3bTgnN@192.168.124.81/neutron", :sql_min_pool_size=>30, :sql_max_pool_overflow=>10, :sql_pool_timeout=>30, :debug=>false, :verbose=>true, :bind_host=>"0.0.0.0", :bind_port=>9696, :use_syslog=>false, :rabbit_settings=>{:address=>"192.168.124.81", :port=>5672, :user=>"nova", :password=>"dHmHDfaRzT3J", :vhost=>"/nova", :url=>"rabbit://nova:dHmHDfaRzT3J@192.168.124.81:5672//nova"}, :keystone_settings=>{"api_version"=>"3", "api_version_for_middleware"=>"v3.0", "admin_auth_url"=>"http://d0c-c4-7a-f7-ee-00.supermicro.local:35357", "public_auth_url"=>"http://susecont1.supermicro.local:5000/v3/", "internal_auth_url"=>"http://d0c-c4-7a-f7-ee-00.supermicro.local:5000/v3/", "unversioned_internal_auth_url"=>"http://d0c-c4-7a-f7-ee-00.supermicro.local:5000", "use_ssl"=>false, "endpoint_region"=>"RegionOne", "insecure"=>false, "protocol"=>"http", "public_url_host"=>"susecont1.supermicro.local", "internal_url_host"=>"d0c-c4-7a-f7-ee-00.supermicro.local", "service_port"=>5000, "admin_port"=>35357, "admin_token"=>"cNhK8TrqPNo2", "admin_tenant"=>"admin", "admin_user"=>"admin", "admin_domain"=>"Default", "admin_domain_id"=>"default", "admin_password"=>"crowbar", "default_tenant"=>"openstack", "default_user"=>"crowbar", "default_user_domain"=>"Default", "default_user_domain_id"=>"default", "default_password"=>"crowbar", "service_tenant"=>"service", "service_user"=>"neutron", "service_password"=>"uLMeAlDoF3iR"}, :ssl_enabled=>false, :ssl_cert_file=>"/etc/neutron/ssl/certs/signing_cert.pem", :ssl_key_file=>"/etc/neutron/ssl/private/signing_key.pem", :ssl_cert_required=>false, :ssl_ca_file=>"/etc/neutron/ssl/certs/ca.pem", :nova_insecure=>false, :core_plugin=>"ml2", :service_plugins=>"neutron.services.l3_router.l3_router_plugin.L3Rout erPlugin, neutron.services.metering.metering_plugin.Metering Plugin, neutron_fwaas.services.firewall.fwaas_plugin.Firew allPlugin, neutron_lbaas.services.loadbalancer.plugin.LoadBal ancerPluginv2", :allow_overlapping_ips=>true, :dvr_enabled=>false, :network_nodes_count=>1, :dns_domain=>"openstack.local", :mtu_value=>1500, :infoblox=>nil, :ipam_driver=>nil}
cookbook_name "neutron"
recipe_name "common_config"
owner "root"
group "neutron"
mode "0640"
end

[2017-08-07T13:57:58-07:00] ERROR: Running exception handlers
[2017-08-07T13:57:58-07:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2017-08-07T13:57:58-07:00] ERROR: Exception handlers complete
[2017-08-07T13:57:58-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2017-08-07T13:57:58-07:00] FATAL: Errno::EHOSTUNREACH: template[/etc/neutron/neutron.conf.d/100-neutron.conf] (neutron::common_config line 120) had an error: Errno::EHOSTUNREACH: No route to host - connect(2) for "192.168.124.10" port 4000


---------------------------------

I can access 192.168.124.10 (Admin node) from controller and vice versa.

eblock
08-Aug-2017, 08:08
Hi,

have you tried to simply re-apply the proposal? I have been facing this a couple of times, especially if the network configuration of the node is supposed to change significantly after a proposal deployment.
If re-applying doesn't help it probably is a faulty network config in the network.json. If you have any access to the control node, try to find out what crowbar has configured and how it should have been configured according to your design, that should lead to the cause.

Regards,
Eugen