Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: rackspace-0.5.6
-
Component/s: knife-rackspace
-
Labels:None
-
Environment:
cygwin windows
Description
From help.opscode.com, [1] occasionally knife may throw an EPERM error when running under cygwin. I am unsure if this is specific to a version of Ruby or Cygwin, but we could work around it by retrying on this error as other projects have [2].
Waiting for sshd/usr/lib/ruby/gems/1.8/gems/knife-ec2-0.5.4/lib/chef/knife/ec2_server_create.rb:156:in `initialize': Operation not permitted - connect(2) (Errno::EPERM) from /usr/lib/ruby/gems/1.8/gems/knife-ec2-0.5.4/lib/chef/knife/ec2_server_create.rb:156:in `new' from /usr/lib/ruby/gems/1.8/gems/knife-ec2-0.5.4/lib/chef/knife/ec2_server_create.rb:156:in `tcp_test_ssh' from /usr/lib/ruby/gems/1.8/gems/knife-ec2-0.5.4/lib/chef/knife/ec2_server_create.rb:256:in `run' from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/knife.rb:391:in `run_with_pretty_exceptions' from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/knife.rb:166:in `run' from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/lib/chef/application/knife.rb:128:in `run' from /usr/lib/ruby/gems/1.8/gems/chef-0.10.0/bin/knife:25 from /usr/bin/knife:19:in `load' from /usr/bin/knife:19
[1] http://help.opscode.com/discussions/problems/547-error-errnoeperm-operation-not-permitted-connect2
[2] http://groups.google.com/group/selenium-developer-activity/browse_thread/thread/8da8e378f1fa43b5/7227408b065e823a?lnk=raot
Issue Links
- clone of
-
KNIFE-133
Running knife on windows under cygwin may throw Errno::EPERM
-
Activity
- All
- Comments
- History
- Activity
- Transitions Summary
https://github.com/opscode/knife-rackspace/commit/09e5fedf16d9418f903ce548a803f12803361b27