Created
August 28, 2011 03:23
-
-
Save cjs226span/1176198 to your computer and use it in GitHub Desktop.
knife ec2 server create error: Exception: NoMethodError: undefined method `empty?' for true:TrueClass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Library/Ruby/Gems/1.8/gems/knife-ec2-0.5.8/lib/chef/knife/ec2_base.rb:74:in `msg_pair': undefined method `empty?' for true:TrueClass (NoMethodError) | |
from /Library/Ruby/Gems/1.8/gems/knife-ec2-0.5.8/lib/chef/knife/ec2_server_create.rb:233:in `run' | |
from /Library/Ruby/Gems/1.8/gems/chef-0.10.4/lib/chef/knife.rb:391:in `run_with_pretty_exceptions' | |
from /Library/Ruby/Gems/1.8/gems/chef-0.10.4/lib/chef/knife.rb:166:in `run' | |
from /Library/Ruby/Gems/1.8/gems/chef-0.10.4/lib/chef/application/knife.rb:128:in `run' | |
from /Library/Ruby/Gems/1.8/gems/chef-0.10.4/bin/knife:25 | |
from /usr/bin/knife:19:in `load' | |
from /usr/bin/knife:19 |
Where were you yesterday?!?! :-) Thanks!
Haha - hadn't ever seen this error until today.
Guys thanks for catching this...ticket opened:
http://tickets.opscode.com/browse/KNIFE_EC2-34
Will have an updated gem pushed shortly.
Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK - I just fixed it by editing ec2_base.rb temporarily. It looks like the msg_pair() function just dies if the value == true. Not very robust. :)