PLAY [sdprodstage] **************************************************************************************************************************************** TASK [Gathering Facts] ************************************************************************************************************************************ ok: [sd-prod-stage.52k] TASK [Installing basic packets] *************************************************************************************************************************** ok: [sd-prod-stage.52k] TASK [sd-prod-update : Current stageing host] ************************************************************************************************************* ok: [sd-prod-stage.52k] => { "msg": "sd1b" } TASK [sd-prod-update : Get host mapping] ****************************************************************************************************************** included: s5n1/roles/sd-prod-update/tasks/sd/gethostmapping.yml for sd-prod-stage.52k TASK [sd-prod-update : Current stage host] **************************************************************************************************************** ok: [sd-prod-stage.52k] => { "msg": "sd1b.52K." } TASK [sd-prod-update : Current live host] ***************************************************************************************************************** ok: [sd-prod-stage.52k] => { "msg": "sd1a.52K." } TASK [sd-prod-update : Update Stage] ********************************************************************************************************************** included: s5n1/roles/sd-prod-update/tasks/updatestage.yml for sd-prod-stage.52k TASK [sd-prod-update : Installing sd task related packets] ************************************************************************************************ ok: [sd-prod-stage.52k] TASK [sd-prod-update : Stop stage SpaceDock] ************************************************************************************************************** included: s5n1/roles/sd-prod-update/tasks/sd/services/stopall.yml for sd-prod-stage.52k TASK [sd-prod-update : Stopping all SpaceDock services] *************************************************************************************************** ok: [sd-prod-stage.52k] TASK [sd-prod-update : Getting SpaceDock from Github https://github.com/KSP-SpaceDock/SpaceDock.git] ****************************************************** ok: [sd-prod-stage.52k] TASK [sd-prod-update : Copy all config files] ************************************************************************************************************* included: s5n1/roles/sd-prod-update/tasks/sd/copyallconfig.yml for sd-prod-stage.52k TASK [sd-prod-update : Copy file] ************************************************************************************************************************* included: s5n1/roles/sd-prod-update/tasks/sd/copyconfig.yml for sd-prod-stage.52k TASK [sd-prod-update : Copy stage config.ini to stage (sd1b)] ********************************************************************************************* ok: [sd-prod-stage.52k] TASK [sd-prod-update : Copy file] ************************************************************************************************************************* included: s5n1/roles/sd-prod-update/tasks/sd/copyconfig.yml for sd-prod-stage.52k TASK [sd-prod-update : Copy stage alembic.ini to stage (sd1b)] ******************************************************************************************** ok: [sd-prod-stage.52k] TASK [sd-prod-update : Copy file] ************************************************************************************************************************* included: s5n1/roles/sd-prod-update/tasks/sd/copyconfig.yml for sd-prod-stage.52k TASK [sd-prod-update : Copy stage logging.ini to stage (sd1b)] ******************************************************************************************** ok: [sd-prod-stage.52k] TASK [sd-prod-update : PostgreSQL ping psql.52k db spacedock_stage] *************************************************************************************** ok: [sd-prod-stage.52k] TASK [sd-prod-update : Check if stage DB needs migration] ************************************************************************************************* included: s5n1/roles/sd-prod-update/tasks/dbmigration.yml for sd-prod-stage.52k TASK [sd-prod-update : compare alembic heads] ************************************************************************************************************* ok: [sd-prod-stage.52k] => { "msg": "Migration needed!" } TASK [sd-prod-update : Migrating DB] ********************************************************************************************************************** changed: [sd-prod-stage.52k] TASK [sd-prod-update : Show result of DB migration] ******************************************************************************************************* ok: [sd-prod-stage.52k] => { "msg": "" } TASK [sd-prod-update : Start stage SpaceDock] ************************************************************************************************************* included: s5n1/roles/sd-prod-update/tasks/sd/services/startall.yml for sd-prod-stage.52k TASK [sd-prod-update : Starting all SpaceDock services] *************************************************************************************************** changed: [sd-prod-stage.52k] TASK [sd-prod-update : Test SpaceDock Website] ************************************************************************************************************ included: s5n1/roles/sd-prod-update/tasks/sd/services/testweb.yml for sd-prod-stage.52k TASK [sd-prod-update : Testing if SpaceDock website is responding] **************************************************************************************** ok: [sd-prod-stage.52k] => (item=8004) ok: [sd-prod-stage.52k] => (item=8006) ok: [sd-prod-stage.52k] => (item=8009) ok: [sd-prod-stage.52k] => (item=8010) ok: [sd-prod-stage.52k] => (item=8011) ok: [sd-prod-stage.52k] => (item=8012) ok: [sd-prod-stage.52k] => (item=8013) ok: [sd-prod-stage.52k] => (item=8014) TASK [sd-prod-update : Switch stage to live] ************************************************************************************************************** included: s5n1/roles/sd-prod-update/tasks/stage2live.yml for sd-prod-stage.52k TASK [sd-prod-update : Get host mapping] ****************************************************************************************************************** included: s5n1/roles/sd-prod-update/tasks/sd/gethostmapping.yml for sd-prod-stage.52k TASK [sd-prod-update : Current stage host] **************************************************************************************************************** ok: [sd-prod-stage.52k] => { "msg": "sd1b.52K." } TASK [sd-prod-update : Current live host] ***************************************************************************************************************** ok: [sd-prod-stage.52k] => { "msg": "sd1a.52K." } TASK [sd-prod-update : Stop stage SpaceDock] ************************************************************************************************************** included: s5n1/roles/sd-prod-update/tasks/sd/services/stopall.yml for sd-prod-stage.52k TASK [sd-prod-update : Stopping all SpaceDock services] *************************************************************************************************** changed: [sd-prod-stage.52k] TASK [sd-prod-update : Check if stage DB needs migration] ************************************************************************************************* included: s5n1/roles/sd-prod-update/tasks/dbmigration.yml for sd-prod-stage.52k TASK [sd-prod-update : compare alembic heads] ************************************************************************************************************* ok: [sd-prod-stage.52k] => { "msg": "Migration needed!" } TASK [sd-prod-update : Migrating DB] ********************************************************************************************************************** changed: [sd-prod-stage.52k] TASK [sd-prod-update : Show result of DB migration] ******************************************************************************************************* ok: [sd-prod-stage.52k] => { "msg": "" } TASK [sd-prod-update : Copy config file] ****************************************************************************************************************** included: s5n1/roles/sd-prod-update/tasks/sd/copyconfig.yml for sd-prod-stage.52k TASK [sd-prod-update : Copy stage config.ini to live (sd1b)] ********************************************************************************************** changed: [sd-prod-stage.52k] TASK [sd-prod-update : Check if live DB needs migration] ************************************************************************************************** included: s5n1/roles/sd-prod-update/tasks/dbmigration.yml for sd-prod-stage.52k TASK [sd-prod-update : compare alembic heads] ************************************************************************************************************* ok: [sd-prod-stage.52k] => { "msg": "Migration needed!" } TASK [sd-prod-update : Migrating DB] **********************************************************************************************************************