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 |
Nope. Being that I'm just starting out I blew away the server and started fresh. So far, so good. I think.
cjs
…On Monday, August 29, 2011 at 10:03 AM, powdahound wrote:
Did you happen to figure out what caused this?
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/1176198
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. :)
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
Did you happen to figure out what caused this?