fog socket error
越福
2023-12-01
Compute[:openstack].servers
Excon::Errors::SocketError: Connection refused - connect(2) (Errno::ECONNREFUSED)
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/socket.rb:195:in `connect_nonblock'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/socket.rb:195:in `rescue in block in connect'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/socket.rb:171:in `block in connect'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/socket.rb:167:in `each'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/socket.rb:167:in `connect'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/socket.rb:28:in `initialize'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/connection.rb:414:in `new'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/connection.rb:414:in `socket'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/connection.rb:122:in `request_call'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:in `request_call'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/excon-0.31.0/lib/excon/connection.rb:265:in `request'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/core/connection.rb:56:in `request'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/core/deprecated/connection.rb:20:in `request'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/openstack/compute.rb:344:in `request'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/openstack/requests/compute/list_servers_detail.rb:15:in `list_servers_detail'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/openstack/models/compute/servers.rb:21:in `all'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/core/collection.rb:139:in `lazy_load'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/core/collection.rb:22:in `empty?'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/core/collection.rb:84:in `block in inspect'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/formatador-0.2.4/lib/formatador.rb:92:in `indent'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/core/collection.rb:77:in `inspect'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/bin/fog:76:in `block in <top (required)>'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/bin/fog:76:in `catch'
from /home/nju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/fog-1.20.0/bin/fog:76:in `<top (required)>'
from /home/nju/.rbenv/versions/1.9.3-p392/bin/fog:23:in `load'
from /home/nju/.rbenv/versions/1.9.3-p392/bin/fog:23:in `<main>'>>