{"action":"opened","issue":{"url":"https://api.github.com/repos/oswaldlabs/chef-rundeck/issues/61","labels_url":"https://api.github.com/repos/oswaldlabs/chef-rundeck/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/oswaldlabs/chef-rundeck/issues/61/comments","events_url":"https://api.github.com/repos/oswaldlabs/chef-rundeck/issues/61/events","html_url":"https://github.com/oswaldlabs/chef-rundeck/issues/61","id":57286965,"number":61,"title":"Could not generate xml when using supervisord","user":{"login":"albundy83","id":1215213,"avatar_url":"https://avatars.githubusercontent.com/u/1215213?v=3","gravatar_id":"","url":"https://api.github.com/users/albundy83","html_url":"https://github.com/albundy83","followers_url":"https://api.github.com/users/albundy83/followers","following_url":"https://api.github.com/users/albundy83/following{/other_user}","gists_url":"https://api.github.com/users/albundy83/gists{/gist_id}","starred_url":"https://api.github.com/users/albundy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albundy83/subscriptions","organizations_url":"https://api.github.com/users/albundy83/orgs","repos_url":"https://api.github.com/users/albundy83/repos","events_url":"https://api.github.com/users/albundy83/events{/privacy}","received_events_url":"https://api.github.com/users/albundy83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-11T08:05:29Z","updated_at":"2015-02-11T08:05:29Z","closed_at":null,"body":"Hello,\r\n\r\nhere the problem I encounter when I use supervisord :\r\n\r\n[2015-02-11T08:59:36+01:00] ERROR: === could not generate xml for {\"name\"=>\"XXXXXXXXX\", \"chef_environment\"=>\"int\", \"run_list\"=>#<Chef::RunList:0x00000002bf58e0 @run_list_items=[#<Chef::RunList::RunListItem:0x00000002be13b8 @version=nil, @type=:role, @name=\"base\">, #<Chef::RunList::RunListItem:0x00000002be12f0 @version=nil, @type=:role, @name=\"load_balancer\">]>, \"recipes\"=>[], \"roles\"=>[\"base\", \"load_balancer\"], \"fqdn\"=>\"XXXXXXXXX\", \"hostname\"=>\"XXXXXXXXX\", \"kernel_machine\"=>\"x86_64\", \"kernel_os\"=>\"GNU/Linux\", \"platform\"=>\"debian\", \"platform_version\"=>\"7.8\", \"tags\"=>[]}:  undefined method `unpack' for nil:NilClass\r\n[2015-02-11T08:59:36+01:00] ERROR: === could not generate xml for {\"name\"=>\"XXXXXXXXX\", \"chef_environment\"=>\"int\", \"run_list\"=>#<Chef::RunList:0x00000002be02b0 @run_list_items=[#<Chef::RunList::RunListItem:0x00000002ba4260 @version=nil, @type=:role, @name=\"base\">, #<Chef::RunList::RunListItem:0x00000002ba40d0 @version=nil, @type=:role, @name=\"tomcat\">, #<Chef::RunList::RunListItem:0x00000002ba4328 @version=nil, @type=:role, @name=\"backend\">]>, \"recipes\"=>[], \"roles\"=>[\"base\", \"tomcat\", \"backend\"], \"fqdn\"=>\"XXXXXXXXX\", \"hostname\"=>\"XXXXXXXXX\", \"kernel_machine\"=>\"x86_64\", \"kernel_os\"=>\"GNU/Linux\", \"platform\"=>\"debian\", \"platform_version\"=>\"7.8\", \"tags\"=>[]}:  undefined method `unpack' for nil:NilClass\r\n\r\nI have configured chef-rundeck like this  in supervisord :\r\n[program:chef-rundeck-test]\r\ncommand=/usr/local/rvm/gems/ruby-2.2.0/wrappers/chef-rundeck -c /etc/chef/knife.rb -p 9981 --timeout 80\r\nredirect_stderr=true\r\nstdout_logfile=/var/log/chef-rundeck-int.log\r\n\r\n(It works perfectly when I start in in command line...)\r\n\r\nThanks a lot for your help and your great tool."}}