Issue with API job while downgrading CF


Anuj Jain <anuj17280@...>
 

Hi,

currently I am running CF v231 and for some reason want to
downgrade/rollback to CF 214 - while trying to do that I am getting below
mentioned error with API VMs

============= Error msg

Started updating job api_z1 > api_z1/2ac60eec-c41d-4b14-b473-ba40907ee77e
(0) (canary). Failed: `api_z1/0 (2ac60eec-c41d-4b14-b473-ba40907ee77e)' is
not running after update (00:10:51)



Error 400007: `api_z1/0 (2ac60eec-c41d-4b14-b473-ba40907ee77e)' is not
running after update

============================

Above error is because of ‘cloud_controller_migration’ job which need to
run on api_z1 jobs – which is failing- when tried restarting the job
manually got error '

/bin/sh: 1: Syntax error: EOF in backquote substitution
' - could some one point me how can I fix it.

cloud controller migration script error:

# /var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_migration_ctl
start

/bin/sh: 1: Syntax error: EOF in backquote substitution

/bin/sh: 1: Syntax error: EOF in backquote substitution

/bin/sh: 1: Syntax error: EOF in backquote substitution

/bin/sh: 1: Syntax error: EOF in backquote substitution

/bin/sh: 1: Syntax error: EOF in backquote substitution

/bin/sh: 1: Syntax error: EOF in backquote substitution


Note: looks like line: 'chpst -u vcap:vcap bundle exec rake db:migrate' is
causing the issue - where it is trying to migrate DB when CC runs first
time.

- Anuj

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.