首页 > 代码库 > 基于icehouse使用bosh部署micro bosh时提示 No route to host
基于icehouse使用bosh部署micro bosh时提示 No route to host
【问题现象】执行 bosh micro deploy ~/bosh-workspace/stemcells/bosh-stemcell-2624-openstack-kvm-centos.tgz提示如下错误
I, [2014-09-04T16:45:46.941403 #12969] [0xaa0000] INFO – : No existing deployments found (will save to /home/inchin/bosh-workspace/deployments/bosh-deployments.yml)
I, [2014-09-04T16:46:07.083059 #12969] [0xaa0000] INFO – : bosh-registry is ready on port 25889
I, [2014-09-04T16:46:17.355742 #12969] [0xaa0000] INFO – : Loading yaml from /tmp/d20140904-12969-1wrryz2/sc-20140904-12969-19i58md/stemcell.MF
E, [2014-09-04T16:46:20.070607 #12969] [0xaa0000] ERROR – : No route to host - connect(2) (Errno::EHOSTUNREACH) (Excon::Errors::SocketError)
/home/inchin/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/gems/1.9.1/gems/excon-0.25.3/lib/excon/socket.rb:180:in connect_nonblock‘ <br />/home/inchin/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/gems/1.9.1/gems/excon-0.25.3/lib/excon/socket.rb:180:in
rescue in block in connect‘
/home/inchin/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/gems/1.9.1/gems/excon-0.25.3/lib/excon/socket.rb:156:in block in connect‘ <br />/home/inchin/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/gems/1.9.1/gems/excon-0.25.3/lib/excon/socket.rb:152:in
each‘
【解决方案】
关闭openstack所在服务器的防火墙
service iptables stop
基于icehouse使用bosh部署micro bosh时提示 No route to host