{"action":"created","issue":{"url":"https://api.github.com/repos/csc/Hanlon/issues/346","labels_url":"https://api.github.com/repos/csc/Hanlon/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/csc/Hanlon/issues/346/comments","events_url":"https://api.github.com/repos/csc/Hanlon/issues/346/events","html_url":"https://github.com/csc/Hanlon/issues/346","id":62408168,"number":346,"title":"500 error without stacktrace","user":{"login":"hh","id":31331,"avatar_url":"https://avatars.githubusercontent.com/u/31331?v=3","gravatar_id":"","url":"https://api.github.com/users/hh","html_url":"https://github.com/hh","followers_url":"https://api.github.com/users/hh/followers","following_url":"https://api.github.com/users/hh/following{/other_user}","gists_url":"https://api.github.com/users/hh/gists{/gist_id}","starred_url":"https://api.github.com/users/hh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hh/subscriptions","organizations_url":"https://api.github.com/users/hh/orgs","repos_url":"https://api.github.com/users/hh/repos","events_url":"https://api.github.com/users/hh/events{/privacy}","received_events_url":"https://api.github.com/users/hh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-17T14:12:29Z","updated_at":"2015-03-23T13:48:59Z","closed_at":null,"body":"I've tried centos6 and coreos images and templates (currently on master branch) and I getting a 500 error via the API but I'm not sure where it is coming from. If we catch a 500 error, I'd expect to find a backtrace somewhere but I'm not sure where to look.\r\n\r\n```\r\n# hanlon node  \r\nDiscovered Nodes\r\n         UUID           Last Checkin  Status               Tags               \r\n3gc9DUOPvEzVXiGB51YcHY  50 sec        B       [1,A,cpus_6,Supermicro,nics_2]  \r\n3mYBYEiYiZjpp1384nWGyW  42 sec        B       [2,A,cpus_6,Supermicro,nics_2]  \r\n4Adqmgk4thTHevXbyH4jbU  24 sec        B       [3,B,cpus_6,Supermicro,nics_2]  \r\n4GITGLQM2bVaL0zmPfcsMC  17 sec        B       [5,C,cpus_6,Supermicro,nics_2]  \r\n4Fs5JcOSvFviyO7tI0EXSS  16 sec        B       [6,C,cpus_6,Supermicro,nics_2]  \r\n5WOalS415Tbf1nZRlHc0Vs  6 sec         B       [4,B,cpus_6,Supermicro,nics_2]  \r\n```\r\n\r\n```\r\n# hanlon policy                                                                                                                      \r\nPolicies:\r\n#  Enabled   Label   Tags    Model Label    #/Max  Counter           UUID           \r\n0  true     coreos   [A]   install_coreos   2/-    2        54rde0iWYOYKktJliTZCga  \r\n1  true     centos6  [B]   install_coreos   2/-    2        20EWplHwi61nWc87Oeuwlk  \r\n2  true     centos6  [C]   install_centos6  2/-    2        12gZgBJMA09S49LB8P7zMO  \r\n```\r\n\r\n```\r\n # hanlon active_model\r\nActive Models:\r\n Label   State        Node UUID         Broker  Bind #           UUID           \r\ncoreos   init   3gc9DUOPvEzVXiGB51YcHY  none    1       5xwhx15PFJmEtQHa1DOI5A  \r\ncoreos   init   3mYBYEiYiZjpp1384nWGyW  none    2       66GjEDjuTfj5R3GGN8uQqO  \r\ncentos6  init   4Adqmgk4thTHevXbyH4jbU  none    1       2QKggN7bShj2oN9DiRrdjk  \r\ncentos6  init   4Fs5JcOSvFviyO7tI0EXSS  none    2       191764WOo5EMHFLDWTuUmG  \r\ncentos6  init   4GITGLQM2bVaL0zmPfcsMC  none    1       17FBci0hCm70JYIzHjVHNg  \r\ncentos6  init   5WOalS415Tbf1nZRlHc0Vs  none    2       2jq2wxs1GaWBwx4pNTx4no  \r\n```\r\n```\r\n# curl 'http://1.1.1.11:8026//hanlon/api/v1/node/checkin?uuid=00000000-0000-0000-0000-002590E254EC&mac_id=002590E254EC_002590E254ED&last_state=idle' | jq .\r\n{\r\n  \"response\": {\r\n    \"result\": {\r\n      \"code\": 500,\r\n      \"type\": \"NoMethodError\",\r\n      \"description\": \"undefined method `[]' for nil:NilClass\"\r\n    }\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/csc/Hanlon/issues/comments/85003015","html_url":"https://github.com/csc/Hanlon/issues/346#issuecomment-85003015","issue_url":"https://api.github.com/repos/csc/Hanlon/issues/346","id":85003015,"user":{"login":"tjmcs","id":1375734,"avatar_url":"https://avatars.githubusercontent.com/u/1375734?v=3","gravatar_id":"","url":"https://api.github.com/users/tjmcs","html_url":"https://github.com/tjmcs","followers_url":"https://api.github.com/users/tjmcs/followers","following_url":"https://api.github.com/users/tjmcs/following{/other_user}","gists_url":"https://api.github.com/users/tjmcs/gists{/gist_id}","starred_url":"https://api.github.com/users/tjmcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjmcs/subscriptions","organizations_url":"https://api.github.com/users/tjmcs/orgs","repos_url":"https://api.github.com/users/tjmcs/repos","events_url":"https://api.github.com/users/tjmcs/events{/privacy}","received_events_url":"https://api.github.com/users/tjmcs/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T13:48:59Z","updated_at":"2015-03-23T13:48:59Z","body":"can this issue be close, @hh (based on the changes we merged in with PR #351)?"}}