Nope still the same error...
Any other ideas?
Security wise I need to use the gateway... very strange that it
breaks.
I am not looking forward to delving way deep into this, but I guess I
will have to.
-Chris
On Oct 3, 12:52 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> That looks really odd. I (and others) use the gateway option all the
> time, with no problems. Does it make any difference if you add the
> following line to your deploy.rb?
>
> require 'net/ssh/transport/ossl/hmac/hmac'
>
> - Jamis
>
> On Oct 3, 2007, at 10:27 AM, Chris F wrote:
>
>
>
> > When trying to deploy using the set gateway option I receive the
> > following error:
> > [EMAIL PROTECTED]:/opt/rubyapp# cap deploy:setup
> > * executing `deploy:setup'
> > * executing "umask 02 && mkdir -p /opt/sites/${application} /opt/
> > sites/${application}/releases /opt/sites/${application}/shared /opt/
> > sites/${application}/shared/system /opt/sites/${application}/shared/
> > log /opt/sites/${application}/shared/pids"
> > servers: ["stg-1"]
> > * establishing connection to gateway `bastion'
> > starting connection to gateway `bastion'
> > /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/ossl/
> > hmac-factory.rb:43:in `get': undefined method `new' for
> > #<Net::SSH::Transport::OSSL::HMAC::None:0xb797ec60> (NoMethodError)
> > from /usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/
> > lifecycle/proxy.rb:60:in `method_missing'
> > from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/
> > transport/packet-stream.rb:42:in `initialize'
> > from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/
> > transport/packet-stream.rb:71:in `initialize'
> > from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/
> > transport/services.rb:60:in `register_services'
> > from /usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/
> > lifecycle/proxy.rb:50:in `method_missing'
> > from /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
> > from /usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/
> > lifecycle/proxy.rb:47:in `method_missing'
> > from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/
> > transport/session.rb:98:in `initialize'
> > ... 43 levels...
> > from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/
> > capistrano/cli/execute.rb:31:in `execute!'
> > from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/
> > capistrano/cli/execute.rb:14:in `execute'
> > from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/bin/cap:4
> > from /usr/bin/cap:16
>
> > Sometimes it drops me to the prompt other times it hangs.
> > This is on ubuntu 6.0.6 LTS.
> > When I remove the following entry from config/deploy.rb
> > set :gateway, "bastion"
>
> > The error is gone, but I'll have to open up my firewall.. Really
> > don't want to do that.
>
> > Any suggestions?
>
> > >
>
>
> smime.p7s
> 3KDownload
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---