chef-boneyard / opscode-pushy-server

Chef Push Jobs Server
https://docs.chef.io/push_jobs.html
Apache License 2.0
16 stars 10 forks source link

push job output not captured on postgres #142

Open railsmith opened 7 years ago

railsmith commented 7 years ago

Despite passing the --capture flag while triggering a push job the stdout and the stderr are not at all stored in the postgres. Do I need to configure or enable something on the push-jobs-server to start capturing the job output?

chef-server 12.8.0 opscode-push-jobs-server 2.1.0 push-jobs-client 2.1.1

select * from job_output;

          job_id                                         |            node_name             | stdout     | stderr

----------------------------------+----------------------------------+--------+-------- 2f49196b9ab5d02093cbb85d57d61a87 | chefes01 | |
2f49196b9ab569348b93ef6648587c47 | chefes01 | | 2f49196b9ab5612447c62106036e699a | chefes01 | | 2f49196b9ab5e8eb485acf6bec44587b | chefes01 | | (4 rows)

select * from job_options;

          job_id              |             job_user             | dir | env | capture | job_file

----------------------------------+----------------------------------+-----+-----+---------+---------- 2f49196b9ab5d02093cbb85d57d61a87 | | | {} | t | 2f49196b9ab5ccd511a7dd3f113c5739 | | | {} | t | 2f49196b9ab569348b93ef6648587c47 | | | {} | t | 2f49196b9ab51987e6bc87b5d62cc80e | | | {} | t | 2f49196b9ab5612447c62106036e699a | | | {} | t | 2f49196b9ab5e8eb485acf6bec44587b | root | | | t | (6 rows)