Hi Team,
I am trying to deploy AWX on K8 cluster. While deploying with external postgres getting below error.
TASK [kubernetes : Migrate database] **********************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “kubectl -n 2304378531 exec ansible-tower-management – bash -c "awx-manage migrate --noinput"”, “delta”: “0:00:32.867937”, “end”: “2019-06-21 12:54:32.437733”, “msg”: “non-zero return code”, “rc”: 137, “start”: “2019-06-21 12:53:59.569796”, “stderr”: “command terminated with exit code 137”, “stderr_lines”: [“command terminated with exit code 137”], “stdout”: “Operations to perform:\n Apply all migrations: auth, conf, contenttypes, main, oauth2_provider, sessions, sites, social_django, sso, taggit\nRunning migrations:\n Applying main.0004_squashed_v310_release… OK\n Applying conf.0001_initial… OK\n Applying conf.0002_v310_copy_tower_settings… OK\n Applying main.0005_squashed_v310_v313_updates… OK\n Applying main.0006_v320_release…”, “stdout_lines”: [“Operations to perform:”, " Apply all migrations: auth, conf, contenttypes, main, oauth2_provider, sessions, sites, social_django, sso, taggit", “Running migrations:”, " Applying main.0004_squashed_v310_release… OK", " Applying conf.0001_initial… OK", " Applying conf.0002_v310_copy_tower_settings… OK", " Applying main.0005_squashed_v310_v313_updates… OK", " Applying main.0006_v320_release…"]}
to retry, use: --limit @/Users/ashok.g/Downloads/awx-devel/installer/install.retry
PLAY RECAP ************************************************************************************************************************************************************************************************
localhost : ok=16 changed=7 unreachable=0 failed=1
Please help me on this?
Regards,
Ashok.G