oswaldlabs / chef-rundeck

Integrates Chef with RunDeck, we are referring users to https://github.com/atheiman/better-chef-rundeck as this repository is inactive at this time.
Apache License 2.0
97 stars 85 forks source link

NoMethodError #38

Closed jennyfountain closed 10 years ago

jennyfountain commented 10 years ago

I am still getting the following error:

Writing to /var/run/chef-rundeck-9980.pid Puma 1.6.3 starting...

Here is the cli I am using: /usr/bin/ruby /usr/bin/chef-rundeck -a https://chef.server -k /etc/chef/rundeck.pem -c /etc/chef/chef-rundeck.rb -u rundeck

Ruby version -> ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux]

Cert isn't self signed. How can I troubleshoot this? Thanks!

josephholsten commented 10 years ago

Looks like you've got a nil in your node[:kernel]. This is a duplicate of https://github.com/oswaldlabs/chef-rundeck/issues/1

:-(

leftathome commented 10 years ago

I think we do node object validation before emitting it in the project XML now, so this issue shouldn't pop up anymore. Is it still happening in the latest version?

josephholsten commented 10 years ago

@leftathome I'm reasonably certain this is fixed by /lib/chef-rundeck.rb:228. It's certainly fixed for the borked nodes on my system that used to trigger this. I'm thinking this is entirely safe to close.

@jennyfountain if you're still hitting this, can you let us know?

leftathome commented 10 years ago

Yep, I'll close this one out.

In the course of addressing #4 I can see how we might trigger this type of issue again. Guess I'll have to write a clever test case (our test coverage on the data validation side is a bit weak) ...