<Fog> excon.error #<Excon::Errors::SocketError: No route to host - connect(2) (Errno::EHOSTUNREACH)>


#1
      Dear all,

I encountered a problem, following tips:
we are in the same network 10.10.10.0/24

[----] E, [2014-09-22T09:53:43.574223 #29163:3e907c] ERROR – : excon.error #
OSTUNREACH)>

[----] E, [2014-09-22T09:53:43.574591 #29163:3e907c] ERROR – :
MIQ(MiqQueue.deliver) Message id: [23837], Error: [No route to host -
connect(2) (Errno::

EHOSTUNREACH)]

[----] E, [2014-09-22T09:53:43.574690 #29163:3e907c] ERROR – :
[Excon::Errors::SocketError]: No route to host - connect(2)
(Errno::EHOSTUNREACH) Method:[r

escue in deliver]

[----] E, [2014-09-22T09:53:43.574741 #29163:3e907c] ERROR – :
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/socket.rb:187:in
conn
ect’
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/socket.rb:187:inblock (2 levels) in connect’

/opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:in timeout’
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/socket.rb:186:inblock in connect’

/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/socket.rb:167:in each’
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/socket.rb:167:inconnect’

/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/socket.rb:28:in initialize’
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/connection.rb:415:innew’

/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/connection.rb:415:in socket’
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/connection.rb:122:inrequest_call’

/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:in request_call’
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:19:inblock in request_call’

/var/www/miq/vmdb/lib/vmdb/logging/fog_logger.rb:22:in instrument’
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:18:inrequest_call’

/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in request_call’
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:inrequest_call’

/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in request_call’
/opt/rh/ruby193/root/usr/local/share/gems/gems/excon-0.31.0/lib/excon/connection.rb:266:inrequest’

/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/fog-5dccf8947c08/lib/fog/core/connection.rb:57:in request’
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/fog-5dccf8947c08/lib/fog/core/deprecated/connection.rb:20:inrequest’

/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/fog-5dccf8947c08/lib/fog/openstack.rb:221:in get_supported_version’
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/fog-5dccf8947c08/lib/fog/openstack/network.rb:346:inauthenticate’

/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/fog-5dccf8947c08/lib/fog/openstack/network.rb:256:in initialize’
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/fog-5dccf8947c08/lib/fog/core/service.rb:68:innew’

/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/fog-5dccf8947c08/lib/fog/core/service.rb:68:in new’
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/fog-5dccf8947c08/lib/fog/network.rb:17:innew’

/var/www/miq/lib/openstack/openstack_handle/handle.rb:43:in raw_connect’
/var/www/miq/lib/openstack/openstack_handle/handle.rb:97:inconnect’

/var/www/miq/lib/openstack/openstack_handle/handle.rb:173:in detect_service’
/var/www/miq/lib/openstack/openstack_handle/handle.rb:126:indetect_network_service’

/var/www/miq/vmdb/app/models/ems_refresh/parsers/openstack.rb:18:in initialize’
/var/www/miq/vmdb/app/models/ems_refresh/parsers/openstack.rb:6:innew’

/var/www/miq/vmdb/app/models/ems_refresh/parsers/openstack.rb:6:in ems_inv_to_hashes’
/var/www/miq/vmdb/app/models/ems_refresh/refreshers/openstack_refresher.rb:18:inblock in refresh’

/var/www/miq/vmdb/app/models/ems_refresh/refreshers/openstack_refresher.rb:7:in each’
/var/www/miq/vmdb/app/models/ems_refresh/refreshers/openstack_refresher.rb:7:inrefresh’

/var/www/miq/vmdb/app/models/ems_refresh/refreshers/base_refresher.rb:8:in refresh’
/var/www/miq/vmdb/app/models/ems_refresh.rb:76:inblock in refresh’

/var/www/miq/vmdb/app/models/ems_refresh.rb:75:in each’
/var/www/miq/vmdb/app/models/ems_refresh.rb:75:inrefresh’

/var/www/miq/vmdb/app/models/miq_queue.rb:361:in block in deliver’
/opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:intimeout’

/var/www/miq/vmdb/app/models/miq_queue.rb:357:in deliver’
/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:107:indeliver_queue_message’

/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:135:in deliver_message’
/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:152:inblock in do_work’

/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:146:in loop’
/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:146:indo_work’

/var/www/miq/vmdb/lib/workers/worker_base.rb:317:in block in do_work_loop’
/var/www/miq/vmdb/lib/workers/worker_base.rb:314:inloop’

/var/www/miq/vmdb/lib/workers/worker_base.rb:314:in do_work_loop’
/var/www/miq/vmdb/lib/workers/worker_base.rb:135:inrun’

/var/www/miq/vmdb/lib/workers/worker_base.rb:123:in start’
/var/www/miq/vmdb/lib/workers/worker_base.rb:23:instart_worker’

/var/www/miq/vmdb/lib/workers/bin/worker.rb:5:in <top (required)>’
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/rails-f9749c2ef83b/railties/lib/rails/commands/runner.rb:52:ineval’

/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/rails-f9749c2ef83b/railties/lib/rails/commands/runner.rb:52:in <top (required)>’
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/rails-f9749c2ef83b/railties/lib/rails/commands.rb:64:inrequire’

/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/rails-f9749c2ef83b/railties/lib/rails/commands.rb:64:in <top (required)>‘
script/rails:6:inrequire’

script/rails:6:in `’

please help me, thanks!


#2

Check that the service endpoints are reachable by MIQ via running keystone endpoint-list


#3

Associated Issue was opened by OP: https://github.com/ManageIQ/manageiq/issues/670


#4

Thank you! When I stop my openstack’s firewall and manage-iq is working well.