Chef Automate Delivery Run Failed - Please Help

I am trying to setup my project on chef automate. I dont have anything in the project except README.md. When I try to do delivery init, the pipeline is failing on delivery.

2017-09-14 17:49:28.386 [info] <0.18089.0> Updating phase job status: submitted
2017-09-14 17:49:28.387 [info] <0.18086.0> Phase verify/unit for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Push job started on
2017-09-14 17:49:29.877 [info] <0.18089.0> Updating phase job status: failed
2017-09-14 17:49:29.877 [info] <0.18086.0> Phase verify/unit for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Job dispatch on job runner testrunner.contoso.com has failed:
Runner exited with non-zero status.
2017-09-14 17:49:29.879 [info] <0.18086.0> Phase verify/unit for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Finished phase
2017-09-14 17:49:30.390 [info] <0.18090.0> Updating phase job status: submitted
2017-09-14 17:49:30.391 [info] <0.18087.0> Phase verify/lint for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Push job started on
2017-09-14 17:49:31.846 [info] <0.18090.0> Updating phase job status: failed
2017-09-14 17:49:31.846 [info] <0.18087.0> Phase verify/lint for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Job dispatch on job runner has failed:
Runner exited with non-zero status.
2017-09-14 17:49:31.848 [info] <0.18087.0> Phase verify/lint for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Finished phase
2017-09-14 17:49:32.394 [info] <0.18091.0> Updating phase job status: submitted
2017-09-14 17:49:32.395 [info] <0.18088.0> Phase verify/syntax for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Push job started on
2017-09-14 17:49:33.837 [info] <0.18091.0> Updating phase job status: failed
2017-09-14 17:49:33.837 [info] <0.18088.0> Phase verify/syntax for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Job dispatch on job runner has failed:
Runner exited with non-zero status.
2017-09-14 17:49:33.839 [info] <0.18088.0> Phase verify/syntax for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Finished phase
2017-09-14 17:49:33.841 [info] <0.18085.0> Stage verify for change 44986b78-88c8-4230-94c7-50e0ebc44fa3 on default/ickyboson/UpdateNodes/master: Stage failed, some phases unsuccessful
2017-09-14 17:49:33.849 [info] <0.1416.0> audit_log stage_name=finished; action=stage_verify; event={audit_stage_event,finished,{{2017,9,14},{17,49,33}},<<“failed”>>,<<“44986b78-88c8-4230-94c7-50e0ebc44fa3”>>,<<“New pipeline verification commit”>>,<<“default”>>,<<“ickyboson”>>,<<“master”>>,<<“UpdateNodes”>>,verify,{{2017,9,14},{15,4,26.069514}},<<“admin”>>,undefined,undefined};

However executing the same on the runner is successful.
delivery job verify "lint syntax unit"
Chef Delivery
Starting job for OSPatcher verify lint syntax unit
Creating workspace in /home/ubuntu/.delivery/chefatuomateserver-contoso.opsworks-cm.io/default/ickyboson/OSPatcher/master/verify/lint-syntax-unit
Cloning repository, and merging initialize-delivery-pipeline to master
Configuring the job
Running the job
Running phases lint, syntax, unit
Starting Chef Client, version 13.3.42
resolving cookbooks for run list: [“build_cookbook::lint”, “build_cookbook::syntax”, “build_cookbook::unit”]
Synchronizing Cookbooks:

  • build_cookbook (0.1.0)
    Installing Cookbook Gems:
    Compiling Cookbooks…
    Converging 0 resources

Running handlers:
Running handlers complete
Chef Client finished, 0/0 resources updated in 01 seconds

For anyone who is running into this issue - here is the resolution.

AWS opsworks supports only 1.5.0 as Chef DK. To downgrade chef runner to 1.5.0 please run this command on chef automate server.

sudo automate-ctl install-runner --chefdk-version 1.5.0 testrunner.contoso.com ubuntu --ssh-identity-file id_rsa.pem

Also the doc @ https://docs.chef.io/aws_opsworks_chef_automate.html incorrectly says chefdk version to be used as “1.5” and the command listed there is not accurate.

It should be “1.5.0” with above command in my reply.