ansible / awx-operator

An Ansible AWX operator for Kubernetes built with Operator SDK and Ansible. 🤖
https://www.github.com/ansible/awx
Apache License 2.0
1.16k stars 581 forks source link

AWXRestore fails - never ending loop of 'awxbackup-restore-db-management'. #879

Closed RummsMurmel closed 1 year ago

RummsMurmel commented 2 years ago

I have a problem with the restore of an instance. It's about an initial demo setup - we need to ensure a working restore before we can put the AWX into production.

I installed a new instance and then created a SourceCode credential, a Project and a Template. I then ran a backup job. After that I deleted the whole AWX including operator, pvc and pv. Nothing exists in the AWX namespace anymore, from the AWX point of view it is an empty Kubernetes environment.

Then I created a new PV for backup and postgres and a PVC for backup. The new backup PVC contains the backup from the previous run. I deployed the operator (without instance) again. Then I tried to do a restore from the existing backup.

Expected Behavior

The restore will rebuild the postgres database as well as the instance and everything will be up to date with the backup.

Current Behavior

The restore job builds the postgres container and the 4 instance containers. However, the migration has an error and then restarts both the migration-container and the 4 instance containers in a never-ending loop.

Environment

Steps to Reproduce

  1. Create a new empty instance.
  2. Create 1 SourceControl-Credential, 1 Project from SourceControl, 1 Template from SourceControl Project
  3. Create a backup of the instance.
  4. Delete instance + operator ("kustomize build . | kubectl delete -f -")
  5. Delete PV and recreate them.
  6. Create PVC for backup folder, ensure that the backup is stored in the PVC.
  7. Create new operator, without instance.
  8. Run Restorejob.

Detailed Description

AWX instance yaml

---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx
spec:
  service_type: nodeport
  postgres_storage_class: default
  projects_storage_class: default

AWXBackup yaml

---
apiVersion: awx.ansible.com/v1beta1
kind: AWXBackup
metadata:
  name: awxbackup
  namespace: awx
spec:
  deployment_name: awx
  backup_storage_class: 'backup'

AWXRestore yaml

---
apiVersion: awx.ansible.com/v1beta1
kind: AWXRestore
metadata:
  name: awxbackup-restore
  namespace: awx
spec:
  deployment_name: awx
  backup_pvc_namespace: 'awx'
  backup_pvc: 'awx-backup'
  backup_dir: /backups/tower-openshift-backup-2022-04-20-06:45:12

Error Message

[Set pg_restore command] **************************************************
task path: /opt/ansible/roles/restore/tasks/postgres.yml:71\nok: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}
TASK [restore : Restore database dump to the new postgresql container] *********
task path: /opt/ansible/roles/restore/tasks/postgres.yml:82
fatal: [localhost]: FAILED! => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": true}

A more detailed error message can be found in the attachment. restore_awx_output.txt

Thank you very much for your help.

killua-eu commented 2 years ago

It seems I'm having exactly the same problem (or very similar).

woodbb commented 2 years ago

seeing the same behavior on 21.0.0

ayhan6710 commented 1 year ago

I think it's related to the backup_dir name with time. When i rename backup folder to remove time restore is working correctly. Ex: backup_dir: /backups/tower-openshift-backup-2022-05-27

RummsMurmel commented 1 year ago

Thank you for your reply. Unfortunately, this did not solve the problem for me. I renamed the created backup directory to "backup" and adjusted it accordingly in my awx-restore.yml:

backup_dir: /backups/backup

However, the error remained identical.

Kind regards

AndrewSav commented 1 year ago

When I remove no_log: true from the postgres.yml in the operator container with runc I'm getting this error instead:

{"level":"error","ts":1655264149.549466,"logger":"runner","msg":"ansible-playbook 2.9.19\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = ['/usr/share/ansible/openshift']\r\n  ansible python module location = /usr/local/lib/python3.8/site-packages/ansible\r\n  executable location = /usr/local/bin/ansible-playbook\r\n  python version = 3.8.3 (default, Aug 18 2020, 08:56:04) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]\r\nUsing /etc/ansible/ansible.cfg as config file\r\n\r\nSkipping callback 'actionable', as we already have a stdout callback.\nSkipping callback 'awx_display', as we already have a stdout callback.\nSkipping callback 'counter_enabled', as we already have a stdout callback.\nSkipping callback 'debug', as we already have a stdout callback.\nSkipping callback 'dense', as we already have a stdout callback.\nSkipping callback 'dense', as we already have a stdout callback.\nSkipping callback 'full_skip', as we already have a stdout callback.\nSkipping callback 'json', as we already have a stdout callback.\nSkipping callback 'minimal', as we already have a stdout callback.\nSkipping callback 'null', as we already have a stdout callback.\nSkipping callback 'oneline', as we already have a stdout callback.\nSkipping callback 'selective', as we already have a stdout callback.\nSkipping callback 'skippy', as we already have a stdout callback.\nSkipping callback 'stderr', as we already have a stdout callback.\nSkipping callback 'unixy', as we already have a stdout callback.\nSkipping callback 'yaml', as we already have a stdout callback.\n\r\nPLAYBOOK: fb3c982c2f0d410b9816feca5bb2e224 *************************************\n1 plays in /tmp/ansible-operator/runner/awx.ansible.com/v1beta1/AWXRestore/awx/awxbackup-andrew/project/fb3c982c2f0d410b9816feca5bb2e224\n\r\nPLAY [localhost] ***************************************************************\nMETA: ran handlers\n\r\nTASK [restore : Patching labels to AWXRestore kind] ****************************\r\ntask path: /opt/ansible/roles/restore/tasks/main.yml:2\nok: [localhost] => {\"changed\": false, \"method\": \"patch\", \"result\": {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWXRestore\", \"metadata\": {\"annotations\": {\"kubectl.kubernetes.io/last-applied-configuration\": \"{\\\"apiVersion\\\":\\\"awx.ansible.com/v1beta1\\\",\\\"kind\\\":\\\"AWXRestore\\\",\\\"metadata\\\":{\\\"annotations\\\":{},\\\"name\\\":\\\"awxbackup-andrew\\\",\\\"namespace\\\":\\\"awx\\\"},\\\"spec\\\":{\\\"backup_name\\\":\\\"awxbackup-andrew\\\",\\\"deployment_name\\\":\\\"awx\\\"}}\\n\"}, \"creationTimestamp\": \"2022-06-15T02:56:28Z\", \"generation\": 2, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awxbackup-andrew\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awxbackup-andrew\"}, \"managedFields\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}}, \"f:spec\": {\".\": {}, \"f:backup_name\": {}, \"f:deployment_name\": {}}}, \"manager\": \"kubectl-client-side-apply\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:56:28Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\".\": {}, \"f:conditions\": {}}}, \"manager\": \"ansible-operator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:56:33Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}}, \"f:name\": {}, \"f:namespace\": {}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:56:36Z\"}], \"name\": \"awxbackup-andrew\", \"namespace\": \"awx\", \"resourceVersion\": \"15756\", \"uid\": \"7903d644-3d5b-4ace-b015-cf1adc41671b\"}, \"name\": \"awxbackup-andrew\", \"namespace\": \"awx\", \"spec\": {\"backup_name\": \"awxbackup-andrew\", \"deployment_name\": \"awx\"}, \"status\": {\"conditions\": [{\"lastTransitionTime\": \"2022-06-15T03:34:29Z\", \"reason\": \"Failed\", \"status\": \"False\", \"type\": \"Failure\"}, {\"lastTransitionTime\": \"2022-06-15T03:34:29Z\", \"reason\": \"Running\", \"status\": \"True\", \"type\": \"Running\"}]}}}\n\r\nTASK [Look up details for this restore object] *********************************\r\ntask path: /opt/ansible/roles/restore/tasks/main.yml:20\nok: [localhost] => {\"api_found\": true, \"changed\": false, \"resources\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWXRestore\", \"metadata\": {\"annotations\": {\"kubectl.kubernetes.io/last-applied-configuration\": \"{\\\"apiVersion\\\":\\\"awx.ansible.com/v1beta1\\\",\\\"kind\\\":\\\"AWXRestore\\\",\\\"metadata\\\":{\\\"annotations\\\":{},\\\"name\\\":\\\"awxbackup-andrew\\\",\\\"namespace\\\":\\\"awx\\\"},\\\"spec\\\":{\\\"backup_name\\\":\\\"awxbackup-andrew\\\",\\\"deployment_name\\\":\\\"awx\\\"}}\\n\"}, \"creationTimestamp\": \"2022-06-15T02:56:28Z\", \"generation\": 2, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awxbackup-andrew\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awxbackup-andrew\"}, \"managedFields\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}}, \"f:spec\": {\".\": {}, \"f:backup_name\": {}, \"f:deployment_name\": {}}}, \"manager\": \"kubectl-client-side-apply\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:56:28Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\".\": {}, \"f:conditions\": {}}}, \"manager\": \"ansible-operator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:56:33Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}}, \"f:name\": {}, \"f:namespace\": {}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:56:36Z\"}], \"name\": \"awxbackup-andrew\", \"namespace\": \"awx\", \"resourceVersion\": \"15756\", \"uid\": \"7903d644-3d5b-4ace-b015-cf1adc41671b\"}, \"name\": \"awxbackup-andrew\", \"namespace\": \"awx\", \"spec\": {\"backup_name\": \"awxbackup-andrew\", \"deployment_name\": \"awx\"}, \"status\": {\"conditions\": [{\"lastTransitionTime\": \"2022-06-15T03:34:29Z\", \"reason\": \"Failed\", \"status\": \"False\", \"type\": \"Failure\"}, {\"lastTransitionTime\": \"2022-06-15T03:34:29Z\", \"reason\": \"Running\", \"status\": \"True\", \"type\": \"Running\"}]}}]}\n\r\nTASK [restore : include_tasks] *************************************************\r\ntask path: /opt/ansible/roles/restore/tasks/main.yml:29\nstatically imported: /opt/ansible/roles/restore/tasks/error_handling.yml\nstatically imported: /opt/ansible/roles/restore/tasks/error_handling.yml\nstatically imported: /opt/ansible/roles/restore/tasks/error_handling.yml\nincluded: /opt/ansible/roles/restore/tasks/init.yml for localhost\n\r\nTASK [restore : Look up details for the backup] ********************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:5\nok: [localhost] => {\"api_found\": true, \"changed\": false, \"resources\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWXBackup\", \"metadata\": {\"annotations\": {\"kubectl.kubernetes.io/last-applied-configuration\": \"{\\\"apiVersion\\\":\\\"awx.ansible.com/v1beta1\\\",\\\"kind\\\":\\\"AWXBackup\\\",\\\"metadata\\\":{\\\"annotations\\\":{},\\\"name\\\":\\\"awxbackup-andrew\\\",\\\"namespace\\\":\\\"awx\\\"},\\\"spec\\\":{\\\"deployment_name\\\":\\\"awx\\\"}}\\n\"}, \"creationTimestamp\": \"2022-06-15T02:20:25Z\", \"generation\": 2, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awxbackup-andrew\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awxbackup-andrew\"}, \"managedFields\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\".\": {}, \"f:conditions\": {}}}, \"manager\": \"ansible-operator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:20:25Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}}, \"f:spec\": {\".\": {}, \"f:deployment_name\": {}}}, \"manager\": \"kubectl-client-side-apply\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:20:25Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}}, \"f:name\": {}, \"f:namespace\": {}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:20:27Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:backupClaim\": {}, \"f:backupDirectory\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:20:58Z\"}], \"name\": \"awxbackup-andrew\", \"namespace\": \"awx\", \"resourceVersion\": \"15069\", \"uid\": \"85de89fc-3900-4034-b899-6c33e29bdf4c\"}, \"name\": \"awxbackup-andrew\", \"namespace\": \"awx\", \"spec\": {\"deployment_name\": \"awx\"}, \"status\": {\"backupClaim\": \"awx-backup-claim\", \"backupDirectory\": \"/backups/tower-openshift-backup-2022-06-15-02:20:44\", \"conditions\": [{\"lastTransitionTime\": \"2022-06-15T02:20:25Z\", \"reason\": \"Successful\", \"status\": \"True\", \"type\": \"Running\"}]}}]}\ntask path: /opt/ansible/roles/restore/tasks/init.yml:15\r\n\r\nTASK [restore : Set error message] *********************************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:15\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Determine the timestamp] ***************************************\r\ntask path: /opt/ansible/roles/restore/tasks/error_handling.yml:3\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Emit ocp event with error] *************************************\r\ntask path: /opt/ansible/roles/restore/tasks/error_handling.yml:7\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\ntask path: /opt/ansible/roles/restore/tasks/init.yml:22\r\n\r\nTASK [restore : Fail early if pvc is defined but does not exist] ***************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:22\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Set backup facts] **********************************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:32\nok: [localhost] => {\"ansible_facts\": {\"backup_dir\": \"/backups/tower-openshift-backup-2022-06-15-02:20:44\", \"backup_pvc\": \"awx-backup-claim\"}, \"changed\": false}\n\r\nTASK [restore : Check provided PVC exists] *************************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:40\nok: [localhost] => {\"api_found\": true, \"changed\": false, \"resources\": [{\"apiVersion\": \"v1\", \"kind\": \"PersistentVolumeClaim\", \"metadata\": {\"annotations\": {\"pv.kubernetes.io/bind-completed\": \"yes\", \"pv.kubernetes.io/bound-by-controller\": \"yes\", \"volume.beta.kubernetes.io/storage-provisioner\": \"rancher.io/local-path\", \"volume.kubernetes.io/selected-node\": \"p-ap-awx-02\", \"volume.kubernetes.io/storage-provisioner\": \"rancher.io/local-path\"}, \"creationTimestamp\": \"2022-06-15T02:20:30Z\", \"finalizers\": [\"kubernetes.io/pvc-protection\"], \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awxbackup-andrew\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awxbackup-andrew\"}, \"managedFields\": [{\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}}, \"f:spec\": {\"f:accessModes\": {}, \"f:resources\": {\"f:requests\": {\".\": {}, \"f:storage\": {}}}, \"f:volumeMode\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:20:30Z\"}, {\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:pv.kubernetes.io/bind-completed\": {}, \"f:pv.kubernetes.io/bound-by-controller\": {}, \"f:volume.beta.kubernetes.io/storage-provisioner\": {}, \"f:volume.kubernetes.io/selected-node\": {}, \"f:volume.kubernetes.io/storage-provisioner\": {}}}, \"f:spec\": {\"f:volumeName\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:20:36Z\"}, {\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:accessModes\": {}, \"f:capacity\": {\".\": {}, \"f:storage\": {}}, \"f:phase\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:20:36Z\"}], \"name\": \"awx-backup-claim\", \"namespace\": \"awx\", \"resourceVersion\": \"8560\", \"uid\": \"21a78a59-2cdd-4c23-b6fe-3939be28453e\"}, \"spec\": {\"accessModes\": [\"ReadWriteOnce\"], \"resources\": {\"requests\": {\"storage\": \"5Gi\"}}, \"storageClassName\": \"local-path\", \"volumeMode\": \"Filesystem\", \"volumeName\": \"pvc-21a78a59-2cdd-4c23-b6fe-3939be28453e\"}, \"status\": {\"accessModes\": [\"ReadWriteOnce\"], \"capacity\": {\"storage\": \"5Gi\"}, \"phase\": \"Bound\"}}]}\n\r\nTASK [restore : Set error message] *********************************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:51\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Determine the timestamp] ***************************************\r\ntask path: /opt/ansible/roles/restore/tasks/error_handling.yml:3\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Emit ocp event with error] *************************************\r\ntask path: /opt/ansible/roles/restore/tasks/error_handling.yml:7\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Fail early if pvc is defined but does not exist] ***************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:58\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Delete any existing management pod] ****************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:65\n: {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Ready\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:containerStatuses\": {}, \"f:hostIP\": {}, \"f:phase\": {}, \"f:podIP\": {}, \"f:podIPs\": {\".\": {}, \"k:{\\\"ip\\\":\\\"10.422022-06-15T03:35:49.551047527Z .0.123\\\"}\": {\".\": {}, \"f:ip\": {}}}, \"f:startTime\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T03:33:56Z\"}], \"name\": \"awxbackup-andrew-db-management\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWXRestore\", \"name\": \"awxbackup-andrew\", \"uid\": \"7903d644-3d5b-4ace-b015-cf1adc41671b\"}], \"resourceVersion\": \"15763\", \"uid\": \"7be438c2-af92-4ab1-be64-f4348c93e62f\"}, \"spec\": {\"containers\": [{\"command\": [\"sleep\", \"infinity\"], \"image\": \"postgres:12\", \"imagePullPolicy\": \"Always\", \"name\": \"awxbackup-andrew-db-management\", \"resources\": {}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/backups\", \"name\": \"awxbackup-andrew-backup\"}, {\"mountPath\": \"/var/run/secrets/kubernetes.io/serviceaccount\", \"name\": \"kube-api-access-x6j88\", \"readOnly\": true}]}], \"dnsPolicy\": \"ClusterFirst\", \"enableServiceLinks\": true, \"nodeName\": \"p-ap-awx-02\", \"preemptionPolicy\": \"PreemptLowerPriority\", \"priority\": 0, \"restartPolicy\": \"Never\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"default\", \"serviceAccountName\": \"default\", \"terminationGracePeriodSeconds\": 30, \"tolerations\": [{\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/not-ready\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}, {\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/unreachable\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}], \"volumes\": [{\"name\": \"awxbackup-andrew-backup\", \"persistentVolumeClaim\": {\"claimName\": \"awx-backup-claim\"}}, {\"name\": \"kube-api-access-x6j88\", \"projected\": {\"defaultMode\": 420, \"sources\": [{\"serviceAccountToken\": {\"expirachanged: [localhost] => {\"changed\": true, \"duration\": 36, \"method\": \"delete\", \"result\": {\"apiVersion\": \"v1\", \"kind\": \"Pod\", \"metadata\": {\"creationTimestamp\": \"2022-06-15T03:33:53Z\", \"deletionGracePeriodSeconds\": 30, \"deletionTimestamp\": \"2022-06-15T03:35:06Z\", \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awxbackup-andrew\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awxbackup-andrew\"}, \"managedFields\": [{\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}, \"f:ownerReferences\": {\".\": {}, \"k:{\\\"uid\\\":\\\"7903d644-3d5b-4ace-b015-cf1adc41671b\\\"}\": {}}}, \"f:spec\": {\"f:containers\": {\"k:{\\\"name\\\":\\\"awxbackup-andrew-db-management\\\"}\": {\".\": {}, \"f:command\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/backups\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}}, \"f:dnsPolicy\": {}, \"f:enableServiceLinks\": {}, \"f:restartPolicy\": {}, \"f:schedulerName\": {}, \"f:securityContext\": {}, \"f:terminationGracePeriodSeconds\": {}, \"f:volumes\": {\".\": {}, \"k:{\\\"name\\\":\\\"awxbackup-andrew-backup\\\"}\": {\".\": {}, \"f:name\": {}, \"f:persistentVolumeClaim\": {\".\": {}, \"f:claimName\": {}}}}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T03:33:53Z\"}, {\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:conditions\": {\"k:{\\\"type\\\":\\\"ContainersReady\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Initialized\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Ready\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:containerStatuses\": {}, \"f:hostIP\": {}, \"f:phase\": {}, \"f:podIP\": {}, \"f:podIPs\": {\".\": {}, \"k:{\\\"ip\\\":\\\"10.42.0.123\\\"}\": {\".\": {}, \"f:ip\": {}}}, \"f:startTime\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T03:33:56Z\"}], \"name\": \"awxbackup-andrew-db-management\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWXRestore\", \"name\": \"awxbackup-andrew\", \"uid\": \"7903d644-3d5b-4ace-b015-cf1adc41671b\"}], \"resourceVersion\": \"15763\", \"uid\": \"7be438c2-af92-4ab1-be64-f4348c93e62f\"}, \"spec\": {\"containers\": [{\"command\": [\"sleep\", \"infinity\"], \"image\": \"postgres:12\", \"imagePullPolicy\": \"Always\", \"name\": \"awxbackup-andrew-db-management\", \"resources\": {}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/backups\", \"name\": \"awxbackup-andrew-backup\"}, {\"mountPath\": \"/var/run/secrets/kubernetes.io/serviceaccount\", \"name\": \"kube-api-access-x6j88\", \"readOnly\": true}]}], \"dnsPolicy\": \"ClusterFirst\", \"enableServiceLinks\": true, \"nodeName\": \"p-ap-awx-02\", \"preemptionPolicy\": \"PreemptLowerPriority\", \"priority\": 0, \"restartPolicy\": \"Never\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"default\", \"serviceAccountName\": \"default\", \"terminationGracePeriodSeconds\": 30, \"tolerations\": [{\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/not-ready\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}, {\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/unreachable\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}], \"volumes\": [{\"name\": \"awxbackup-andrew-backup\", \"persistentVolumeClaim\": {\"claimName\": \"awx-backup-claim\"}}, {\"name\": \"kube-api-access-x6j88\", \"projected\": {\"defaultMode\": 420, \"sources\": [{\"serviceAccountToken\": {\"expirationSeconds\": 3607, \"path\": \"token\"}}, {\"configMap\": {\"items\": [{\"key\": \"ca.crt\", \"path\": \"ca.crt\"}], \"name\": \"kube-root-ca.crt\"}}, {\"downwardAPI\": {\"items\": [{\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}, \"path\": \"namespace\"}]}}]}}]}, \"status\": {\"conditions\": [{\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T03:33:53Z\", \"status\": \"True\", \"type\": \"Initialized\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T03:33:56Z\", \"status\": \"True\", \"type\": \"Ready\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T03:33:56Z\", \"status\": \"True\", \"type\": \"ContainersReady\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T03:33:53Z\", \"status\": \"True\", \"type\": \"PodScheduled\"}], \"containerStatuses\": [{\"containerID\": \"containerd://fdf007cfd5ac4503020d52d54f49a15bc219e762d179888edece8f8aa3693bc6\", \"image\": \"docker.io/library/postgres:12\", \"imageID\": \"docker.io/library/postgres@sha256:fe84844ef27aaaa52f6ec68d6b3c225d19eb4f54200a93466aa67798c99aa462\", \"lastState\": {}, \"name\": \"awxbackup-andrew-db-management\", \"ready\": true, \"restartCount\": 0, \"started\": true, \"state\": {\"running\": {\"startedAt\": \"2022-06-15T03:33:56Z\"}}}], \"hostIP\": \"192.168.6.51\", \"phase\": \"Running\", \"podIP\": \"10.42.0.123\", \"podIPs\": [{\"ip\": \"10.42.0.123\"}], \"qosClass\": \"BestEffort\", \"startTime\": \"2022-06-15T03:33:53Z\"}}}\n\r\n\r\nTASK [restore : Set default postgres image] ************************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:74\nok: [localhost] => {\"ansible_facts\": {\"_default_postgres_image\": \"postgres:12\"}, \"changed\": false}\n\r\nTASK [restore : Set user provided postgres image] ******************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:78\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Set Postgres image URL] ****************************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:85\nok: [localhost] => {\"ansible_facts\": {\"_postgres_image\": \"postgres:12\"}, \"changed\": false}\n\r\nTASK [restore : Create management pod from templated deployment config] ********\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:89\nReady\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:containerStatuses\": {}, \"f:hostIP\": {}, \"f:phase\": {}, \"f:podIP\": {}, \"f:podIPs\": {\".\": {}, \"k:{\\\"ip\\\":\\\"10.42.0.125\\\"}\": {\".\": {}, \"f:ip\": {}}}, \"f:startTime\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T03:35:17Z\"}], \"name\": \"awxbackup-andrew-db-management\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWXRestore\", \"name\": \"awxbackup-andrew\", \"uid\": \"7903d644-3d5b-4ace-b015-cf1adc41671b\"}], \"resourceVersion\": \"15842\", \"uid\": \"0e4fa0c4-153c-480c-8f41-33d3543e79de\"}, \"spec\": {\"containers\": [{\"command\": [\"sleep\", \"infinity\"], \"image\": \"postgres:12\", \"imagePullPolicy\": \"Always\", \"name\": \"awxbackup-andrew-db-management\", \"resources\": {}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/backups\", \"name\": \"awxbackup-andrew-backup\"}, {\"mountPath\": \"/var/run/secrets/kubernetes.io/serviceaccount\", \"name\": \"kube-api-access-wp888\", \"readOnly\": true}]}], \"dnsPolicy\": \"ClusterFirst\", \"enableServiceLinks\": true, \"nodeName\": \"p-ap-awx-02\", \"preemptionPolicy\": \"PreemptLowerPriority\", \"priority\": 0, \"restartPolicy\": \"Never\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"default\", \"serviceAccountName\": \"default\", \"terminationGracePeriodSeconds\": 30, \"tolerations\": [{\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/not-ready\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}, {\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/unreachable\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}], \"volumes\": [{\"name\": \"awxbackup-andrew-backup\", \"persistentVolumeClaim\": {\"claimName\": \"awx-backup-claim\"}}, {\"name\": \"kube-api-access-wp888\", \"projected\": {\"defaultMode\": 420, \"sources\": [{\"serviceAccountToken\": {\"expirationSeconds\": 3607, \"path\": \"token\"}}, {\"configMap\": {\"items\": [{\"key\": \"ca.crt\"changed: [localhost] => {\"changed\": true, \"duration\": 5, \"method\": \"create\", \"result\": {\"apiVersion\": \"v1\", \"kind\": \"Pod\", \"metadata\": {\"creationTimestamp\": \"2022-06-15T03:35:14Z\", \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awxbackup-andrew\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awxbackup-andrew\"}, \"managedFields\": [{\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}, \"f:ownerReferences\": {\".\": {}, \"k:{\\\"uid\\\":\\\"7903d644-3d5b-4ace-b015-cf1adc41671b\\\"}\": {}}}, \"f:spec\": {\"f:containers\": {\"k:{\\\"name\\\":\\\"awxbackup-andrew-db-management\\\"}\": {\".\": {}, \"f:command\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/backups\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}}, \"f:dnsPolicy\": {}, \"f:enableServiceLinks\": {}, \"f:restartPolicy\": {}, \"f:schedulerName\": {}, \"f:securityContext\": {}, \"f:terminationGracePeriodSeconds\": {}, \"f:volumes\": {\".\": {}, \"k:{\\\"name\\\":\\\"awxbackup-andrew-backup\\\"}\": {\".\": {}, \"f:name\": {}, \"f:persistentVolumeClaim\": {\".\": {}, \"f:claimName\": {}}}}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T03:35:14Z\"}, {\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:conditions\": {\"k:{\\\"type\\\":\\\"ContainersReady\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Initialized\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Ready\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:containerStatuses\": {}, \"f:hostIP\": {}, \"f:phase\": {}, \"f:podIP\": {}, \"f:podIPs\": {\".\": {}, \"k:{\\\"ip\\\":\\\"10.42.0.125\\\"}\": {\".\": {}, \"f:ip\": {}}}, \"f:startTime\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T03:35:17Z\"}], \"name\": \"awxbackup-andrew-db-management\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWXRestore\", \"name\": \"awxbackup-andrew\", \"uid\": \"7903d644-3d5b-4ace-b015-cf1adc41671b\"}], \"resourceVersion\": \"15842\", \"uid\": \"0e4fa0c4-153c-480c-8f41-33d3543e79de\"}, \"spec\": {\"containers\": [{\"command\": [\"sleep\", \"infinity\"], \"image\": \"postgres:12\", \"imagePullPolicy\": \"Always\", \"name\": \"awxbackup-andrew-db-management\", \"resources\": {}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/backups\", \"name\": \"awxbackup-andrew-backup\"}, {\"mountPath\": \"/var/run/secrets/kubernetes.io/serviceaccount\", \"name\": \"kube-api-access-wp888\", \"readOnly\": true}]}], \"dnsPolicy\": \"ClusterFirst\", \"enableServiceLinks\": true, \"nodeName\": \"p-ap-awx-02\", \"preemptionPolicy\": \"PreemptLowerPriority\", \"priority\": 0, \"restartPolicy\": \"Never\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"default\", \"serviceAccountName\": \"default\", \"terminationGracePeriodSeconds\": 30, \"tolerations\": [{\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/not-ready\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}, {\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/unreachable\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}], \"volumes\": [{\"name\": \"awxbackup-andrew-backup\", \"persistentVolumeClaim\": {\"claimName\": \"awx-backup-claim\"}}, {\"name\": \"kube-api-access-wp888\", \"projected\": {\"defaultMode\": 420, \"sources\": [{\"serviceAccountToken\": {\"expirationSeconds\": 3607, \"path\": \"token\"}}, {\"configMap\": {\"items\": [{\"key\": \"ca.crt\", \"path\": \"ca.crt\"}], \"name\": \"kube-root-ca.crt\"}}, {\"downwardAPI\": {\"items\": [{\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}, \"path\": \"namespace\"}]}}]}}]}, \"status\": {\"conditions\": [{\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T03:35:14Z\", \"status\": \"True\", \"type\": \"Initialized\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T03:35:17Z\", \"status\": \"True\", \"type\": \"Ready\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T03:35:17Z\", \"status\": \"True\", \"type\": \"ContainersReady\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T03:35:14Z\", \"status\": \"True\", \"type\": \"PodScheduled\"}], \"containerStatuses\": [{\"containerID\": \"containerd://5aa542938228df62d133a1a956844d48bad199c8c71c741ef5c33c42a8280469\", \"image\": \"docker.io/library/postgres:12\", \"imageID\": \"docker.io/library/postgres@sha256:fe84844ef27aaaa52f6ec68d6b3c225d19eb4f54202022-06-15T03:35:49.551069881Z 0a93466aa67798c99aa462\", \"lastState\": {}, \"name\": \"awxbackup-andrew-db-management\", \"ready\": true, \"restartCount\": 0, \"started\": true, \"state\": {\"running\": {\"startedAt\": \"2022-06-15T03:35:16Z\"}}}], \"hostIP\": \"192.168.6.51\", \"phase\": \"Running\", \"podIP\": \"10.42.0.125\", \"podIPs\": [{\"ip\": \"10.42.0.125\"}], \"qosClass\": \"BestEffort\", \"startTime\": \"2022-06-15T03:35:14Z\"}}}\n\r\nTASK [restore : Check to make sure backup directory exists on PVC] *************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:97\nchanged: [localhost] => {\"changed\": true, \"return_code\": 0, \"stderr\": \"\", \"stderr_lines\": [], \"stdout\": \"  File: /backups/tower-openshift-backup-2022-06-15-02:20:44\\n  Size: 4096      \\tBlocks: 8          IO Block: 4096   directory\\nDevice: fd00h/64768d\\tInode: 944911      Links: 2\\nAccess: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)\\nAccess: 2022-06-15 03:10:06.618530260 +0000\\nModify: 2022-06-15 02:20:56.879193253 +0000\\nChange: 2022-06-15 02:20:56.879193253 +0000\\n Birth: 2022-06-15 02:20:45.682953255 +0000\\n\", \"stdout_lines\": [\"  File: /backups/tower-openshift-backup-2022-06-15-02:20:44\", \"  Size: 4096      \\tBlocks: 8          IO Block: 4096   directory\", \"Device: fd00h/64768d\\tInode: 944911      Links: 2\", \"Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)\", \"Access: 2022-06-15 03:10:06.618530260 +0000\", \"Modify: 2022-06-15 02:20:56.879193253 +0000\", \"Change: 2022-06-15 02:20:56.879193253 +0000\", \" Birth: 2022-06-15 02:20:45.682953255 +0000\"]}\n\r\nTASK [restore : Set error message] *********************************************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:107\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Determine the timestamp] ***************************************\r\ntask path: /opt/ansible/roles/restore/tasks/error_handling.yml:3\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Emit ocp event with error] *************************************\r\ntask path: /opt/ansible/roles/restore/tasks/error_handling.yml:7\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : Fail early if backup dir provided does not exist] **************\r\ntask path: /opt/ansible/roles/restore/tasks/init.yml:114\nskipping: [localhost] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}\n\r\nTASK [restore : include_tasks] *************************************************\r\ntask path: /opt/ansible/roles/restore/tasks/main.yml:31\nincluded: /opt/ansible/roles/restore/tasks/secrets.yml for localhost\n\r\nTASK [restore : Get secret definition from pvc] ********************************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:3\nchanged: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": true}\n\r\nTASK [restore : Create Temporary secrets file] *********************************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:12\nchanged: [localhost] => {\"changed\": true, \"gid\": 0, \"group\": \"root\", \"mode\": \"0600\", \"owner\": \"ansible\", \"path\": \"/tmp/ansible.ni34hhj4.json\", \"size\": 0, \"state\": \"file\", \"uid\": 1001}\n\r\nTASK [restore : Write vars to file locally] ************************************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:18\nchanged: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": true}\n\r\nTASK [restore : Include secret vars from backup] *******************************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:25\nok: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\n\r\nTASK [restore : Set new database host] *****************************************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:31\nok: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\n\r\nTASK [restore : Set tmp postgres secret dict] **********************************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:36\nok: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\n\r\n\r\nTASK [restore : Change postgres host value] ************************************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:41\nok: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\n\r\nTASK [restore : Create a postgres secret with the new host value] **************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:46\nok: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\n\r\nTASK [restore : Create a new dict of secrets with the new postgres secret] *****\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:51\r\n\r\nTASK [restore : Create a new dict of secrets with the new postgres secret] *****\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:51\nok: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\n\r\nTASK [restore : Apply secret] **************************************************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:57\nok: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\n\r\nTASK [Remove ownerReference on restored secrets] *******************************\r\ntask path: /opt/ansible/roles/restore/tasks/secrets.yml:66\nok: [localhost] => (item=None) => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\nok: [localhost] => (item=None) => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\nok: [localhost] => (item=None) => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\nok: [localhost] => (item=None) => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\nok: [localhost] => (item=None) => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\nok: [localhost] => {\"censored\": \"the output has been hidden due to the fact that 'no_log: true' was specified for this result\", \"changed\": false}\n\r\nTASK [restore : include_tasks] *************************************************\r\ntask path: /opt/ansible/roles/restore/tasks/main.yml:33\nincluded: /opt/ansible/roles/restore/tasks/deploy_awx.yml for localhost\n\r\nTASK [restore : Get AWX object definition from pvc] ****************************\r\ntask path: /opt/ansible/roles/restore/tasks/deploy_awx.yml:3\nchanged: [localhost] => {\"changed\": true, \"return_code\": 0, \"stderr\": \"\", \"stderr_lines\": [], \"stdout\": \"spec: {admin_password_secret: awx-admin-password, admin_user: admin, broadcast_websocket_secret: awx-broadcast-websocket,\\n  create_preload_data: true, garbage_collect_secrets: false, hostname: awx2.barfoot.co.nz,\\n  image_pull_policy: IfNotPresent, ingress_annotations: 'cert-manager.io/cluster-issuer:\\n    letsencrypt', ingress_tls_secret: awx-le-certificate, ingress_type: Ingress, loadbalancer_port: 80,\\n  loadbalancer_protocol: http, nodeport_port: 30080, postgres_configuration_secret: awx-postgres-configuration,\\n  projects_persistence: false, projects_storage_access_mode: ReadWriteMany, projects_storage_size: 8Gi,\\n  replicas: 1, route_tls_termination_mechanism: Edge, secret_key_secret: awx-secret-key,\\n  task_privileged: false}\\n\\n\", \"stdout_lines\": [\"spec: {admin_password_secret: awx-admin-password, admin_user: admin, broadcast_websocket_secret: awx-broadcast-websocket,\", \"  create_preload_data: true, garbage_collect_secrets: false, hostname: awx2.barfoot.co.nz,\", \"  image_pull_policy: IfNotPresent, ingress_annotations: 'cert-manager.io/cluster-issuer:\", \"    letsencrypt', ingress_tls_secret: awx-le-certificate, ingress_type: Ingress, loadbalancer_port: 80,\", \"  loadbalancer_protocol: http, nodeport_port: 30080, postgres_configuration_secret: awx-postgres-configuration,\", \"  projects_persistence: false, projects_storage_access_mode: ReadWriteMany, projects_storage_size: 8Gi,\", \"  replicas: 1, route_tls_termination_mechanism: Edge, secret_key_secret: awx-secret-key,\", \"  task_privileged: false}\", \"\"]}\n\r\nTASK [restore : Create temp file for spec dict] ********************************\r\ntask path: /opt/ansible/roles/restore/tasks/deploy_awx.yml:11\nchanged: [localhost] => {\"changed\": true, \"gid\": 0, \"group\": \"root\", \"mode\": \"0600\", \"owner\": \"ansible\", \"path\": \"/tmp/ansible.jv1tl9p4\", \"size\": 0, \"state\": \"file\", \"uid\": 1001}\n\r\nTASK [restore : Write spec vars to temp file] **********************************\r\ntask path: /opt/ansible/roles/restore/tasks/deploy_awx.yml:16\nchanged: [localhost] => {\"changed\": true, \"checksum\": \"7d823a111756b1a6b06d42de2d260a69288216c0\", \"dest\": \"/tmp/ansible.jv1tl9p4\", \"gid\": 0, \"group\": \"root\", \"md5sum\": \"c520b00ef0ca75283cadf0eaa4b59cf0\", \"mode\": \"0644\", \"owner\": \"ansible\", \"size\": 738, \"src\": \"/opt/ansible/.ansible/tmp/ansible-tmp-1655264129.7843134-8137-71202045393033/source\", \"state\": \"file\", \"uid\": 1001}\n\r\nTASK [restore : Include spec vars to save them as a dict] **********************\r\ntask path: /opt/ansible/roles/restore/tasks/deploy_awx.yml:22\nok: [localhost] => {\"ansible_facts\": {\"spec\": {\"admin_password_secret\": \"awx-admin-password\", \"admin_user\": \"admin\", \"broadcast_websocket_secret\": \"awx-broadcast-websocket\", \"create_preload_data\": true, \"garbage_collect_secrets\": false, \"hostname\": \"awx2.barfoot.co.nz\", \"image_pull_policy\": \"IfNotPresent\", \"ingress_annotations\": \"cert-manager.io/cluster-issuer: letsencrypt\", \"ingress_tls_secret\": \"awx-le-certificate\", \"ingress_type\": \"Ingress\", \"loadbalancer_port\": 80, \"loadbalancer_protocol\": \"http\", \"nodeport_port\": 30080, \"postgres_configuration_secret\": \"awx-postgres-configuration\", \"projects_persistence\": false, \"projects_storage_access_mode\": \"ReadWriteMany\", \"projects_storage_size\": \"8Gi\", \"replicas\": 1, \"route_tls_termination_mechanism\": \"Edge\", \"secret_key_secret\": \"awx-secret-key\", \"task_privileged\": false}}, \"ansible_included_var_files\": [\"/tmp/ansible.jv1tl9p4\"], \"changed\": false}\n\r\nTASK [restore : Deploy AWX] ****************************************************\r\ntask path: /opt/ansible/roles/restore/tasks/deploy_awx.yml:25\nnt\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}}, \"f:spec\": {\".\": {}, \"f:admin_password_secret\": {}, \"f:admin_user\": {}, \"f:broadcast_websocket_secret\": {}, \"f:create_preload_data\": {}, \"f:garbage_collect_secrets\": {}, \"f:hostname\": {}, \"f:image_pull_policy\": {}, \"f:ingress_annotations\": {}, \"f:ingress_tls_secret\": {}, \"f:ingress_type\": {}, \"f:loadbalancer_port\": {}, \"f:loadbalancer_protocol\": {}, \"f:nodeport_port\": {}, \"f:postgres_configuration_secret\": {}, \"f:projects_persistence\": {}, \"f:projects_storage_access_mode\": {}, \"f:projects_storage_size\": {}, \"f:replicas\": {}, \"f:route_tls_termination_mechanism\": {}, \"f:secret_key_secret\": {}, \"f:task_privileged\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:56:58Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:adminPasswordSecret\": {}, \"f:adminUser\": {}, \"f:broadcastWebsocketSecret\": {}, \"f:image\": {}, \"f:postgresConfigurationSecret\": {}, \"f:secretKeySecret\": {}, \"f:version\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:58:06Z\"}], \"name\": \"awx\", \"namespace\": \"awx\", \"resourceVersion\": \"15740\", \"uid\": \"75621000-9b12-4da6-a26e-5f6d2007e259\"}, \"spec\": {\"admin_password_secret\": \"awx-admin-password\", \"admin_user\": \"admin\", \"broadcast_websocket_secret\": \"awx-broadcast-websocket\", \"create_preload_data\": true, \"garbage_collect_secrets\": false, \"hostname\": \"awx2.barfoot.co.nz\", \"image_pull_policy\": \"IfNotPresent\", \"ingress_annotations\": \"cert-manager.io/cluster-issuer: letsencrypt\", \"ingress_tls_secret\": \"awx-le-certificate\", \"ingress_type\": \"Ingress\", \"loadbalancer_port\": 80, \"loadbalancer_protocol\": \"http\", \"nodeport_port\": 30080, \"postgres_configuration_secret\": \"awx-postgres-configuration\", \"projects_persistence\": false, \"projects_storage_access_mode\": \"ReadWriteMok: [localhost] => {\"changed\": false, \"duration\": 0, \"method\": \"apply\", \"result\": {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWX\", \"metadata\": {\"annotations\": {\"kubectl.kubernetes.io/last-applied-configuration\": \"{\\\"apiVersion\\\":\\\"awx.ansible.com/v1beta1\\\",\\\"kind\\\":\\\"AWX\\\",\\\"metadata\\\":{\\\"name\\\":\\\"awx\\\",\\\"namespace\\\":\\\"awx\\\"},\\\"spec\\\":{\\\"admin_password_secret\\\":\\\"awx-admin-password\\\",\\\"admin_user\\\":\\\"admin\\\",\\\"broadcast_websocket_secret\\\":\\\"awx-broadcast-websocket\\\",\\\"create_preload_data\\\":true,\\\"garbage_collect_secrets\\\":false,\\\"hostname\\\":\\\"awx2.barfoot.co.nz\\\",\\\"image_pull_policy\\\":\\\"IfNotPresent\\\",\\\"ingress_annotations\\\":\\\"cert-manager.io/cluster-issuer: letsencrypt\\\",\\\"ingress_tls_secret\\\":\\\"awx-le-certificate\\\",\\\"ingress_type\\\":\\\"Ingress\\\",\\\"loadbalancer_port\\\":80,\\\"loadbalancer_protocol\\\":\\\"http\\\",\\\"nodeport_port\\\":30080,\\\"postgres_configuration_secret\\\":\\\"awx-postgres-configuration\\\",\\\"projects_persistence\\\":false,\\\"projects_storage_access_mode\\\":\\\"ReadWriteMany\\\",\\\"projects_storage_size\\\":\\\"8Gi\\\",\\\"replicas\\\":1,\\\"route_tls_termination_mechanism\\\":\\\"Edge\\\",\\\"secret_key_secret\\\":\\\"awx-secret-key\\\",\\\"task_privileged\\\":false}}\"}, \"creationTimestamp\": \"2022-06-15T02:56:55Z\", \"generation\": 1, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awx\"}, \"managedFields\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\".\": {}, \"f:conditions\": {}}}, \"manager\": \"ansible-operator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:56:56Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}, \"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}}, \"f:spec\": {\".\": {}, \"f:admin_password_secret\": {}, \"f:admin_user\": {}, \"f:broadcast_websocket_secret\": {}, \"f:create_preload_data\": {}, \"f:garbage_collect_secrets\": {}, \"f:hostname\": {}, \"f:image_pull_policy\": {}, \"f:ingress_annotations\": {}, \"f:ingress_tls_secret\": {}, \"f:ingress_type\": {}, \"f:loadbalancer_port\": {}, \"f:loadbalan2022-06-15T03:35:49.551816323Z cer_protocol\": {}, \"f:nodeport_port\": {}, \"f:postgres_configuration_secret\": {}, \"f:projects_persistence\": {}, \"f:projects_storage_access_mode\": {}, \"f:projects_storage_size\": {}, \"f:replicas\": {}, \"f:route_tls_termination_mechanism\": {}, \"f:secret_key_secret\": {}, \"f:task_privileged\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:56:58Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:adminPasswordSecret\": {}, \"f:adminUser\": {}, \"f:broadcastWebsocketSecret\": {}, \"f:image\": {}, \"f:postgresConfigurationSecret\": {}, \"f:secretKeySecret\": {}, \"f:version\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:58:06Z\"}], \"name\": \"awx\", \"namespace\": \"awx\", \"resourceVersion\": \"15740\", \"uid\": \"75621000-9b12-4da6-a26e-5f6d2007e259\"}, \"spec\": {\"admin_password_secret\": \"awx-admin-password\", \"admin_user\": \"admin\", \"broadcast_websocket_secret\": \"awx-broadcast-websocket\", \"create_preload_data\": true, \"garbage_collect_secrets\": false, \"hostname\": \"awx2.barfoot.co.nz\", \"image_pull_policy\": \"IfNotPresent\", \"ingress_annotations\": \"cert-manager.io/cluster-issuer: letsencrypt\", \"ingress_tls_secret\": \"awx-le-certificate\", \"ingress_type\": \"Ingress\", \"loadbalancer_port\": 80, \"loadbalancer_protocol\": \"http\", \"nodeport_port\": 30080, \"postgres_configuration_secret\": \"awx-postgres-configuration\", \"projects_persistence\": false, \"projects_storage_access_mode\": \"ReadWriteMany\", \"projects_storage_size\": \"8Gi\", \"replicas\": 1, \"route_tls_termination_mechanism\": \"Edge\", \"secret_key_secret\": \"awx-secret-key\", \"task_privileged\": false}, \"status\": {\"adminPasswordSecret\": \"awx-admin-password\", \"adminUser\": \"admin\", \"broadcastWebsocketSecret\": \"awx-broadcast-websocket\", \"conditions\": [{\"lastTransitionTime\": \"2022-06-15T03:34:28Z\", \"reason\": \"Failed\", \"status\": \"False\", \"type\": \"Failure\"}, {\"lastTransitionTime\": \"2022-06-15T03:34:28Z\", \"reason\": \"Running\", \"status\": \"True\", \"type\": \"Running\"}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"postgresConfigurationSecret\": \"awx-postgres-configuration\", \"secretKeySecret\": \"awx-secret-key\", \"version\": \"21.1.0\"}}}\n\r\nTASK [restore : Remove ownerReferences to prevent garbage collection of new AWX CRO] ***\r\ntask path: /opt/ansible/roles/restore/tasks/deploy_awx.yml:36\n.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}}, \"f:spec\": {\".\": {}, \"f:admin_password_secret\": {}, \"f:admin_user\": {}, \"f:broadcast_websocket_secret\": {}, \"f:create_preload_data\": {}, \"f:garbage_collect_secrets\": {}, \"f:hostname\": {}, \"f:image_pull_policy\": {}, \"f:ingress_annotations\": {}, \"f:ingress_tls_secret\": {}, \"f:ingress_type\": {}, \"f:loadbalancer_port\": {}, \"f:loadbalancer_protocol\": {}, \"f:nodeport_port\": {}, \"f:postgres_configuration_secret\": {}, \"f:projects_persistence\": {}, \"f:projects_storage_access_mode\": {}, \"f:projects_storage_size\": {}, \"f:replicas\": {}, \"f:route_tls_termination_mechanism\": {}, \"f:secret_key_secret\": {}, \"f:task_privileged\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:56:58Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:adminPasswordSecret\": {}, \"f:adminUser\": {}, \"f:broadcastWebsocketSecret\": {}, \"f:image\": {}, \"f:postgresConfigurationSecret\": {}, \"f:secretKeySecret\": {}, \"f:version\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:58:06Z\"}], \"name\": \"awx\", \"namespace\": \"awx\", \"resourceVersion\": \"15740\", \"uid\": \"75621000-9b12-4da6-a26e-5f6d2007e259\"}, \"spec\": {\"admin_password_secret\": \"awx-admin-password\", \"admin_user\": \"admin\", \"broadcast_websocket_secret\": \"awx-broadcast-websocket\", \"create_preload_data\": true, \"garbage_collect_secrets\": false, \"hostname\": \"awx2.barfoot.co.nz\", \"image_pull_policy\": \"IfNotPresent\", \"ingress_annotations\": \"cert-manager.io/cluster-issuer: letsencrypt\", \"ingress_tls_secret\": \"awx-le-certificate\", \"ingress_type\": \"Ingress\", \"loadbalancer_port\": 80, \"loadbalancer_protocol\": \"http\", \"nodeport_port\": 30080, \"postgres_configuration_secret\": \"awx-postgres-configuration\", \"projects_persistence\": false, \"projects_storage_access_mode\": \"ReadWriteMany\", \"projectsok: [localhost] => {\"changed\": false, \"method\": \"patch\", \"result\": {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWX\", \"metadata\": {\"annotations\": {\"kubectl.kubernetes.io/last-applied-configuration\": \"{\\\"apiVersion\\\":\\\"awx.ansible.com/v1beta1\\\",\\\"kind\\\":\\\"AWX\\\",\\\"metadata\\\":{\\\"name\\\":\\\"awx\\\",\\\"namespace\\\":\\\"awx\\\"},\\\"spec\\\":{\\\"admin_password_secret\\\":\\\"awx-admin-password\\\",\\\"admin_user\\\":\\\"admin\\\",\\\"broadcast_websocket_secret\\\":\\\"awx-broadcast-websocket\\\",\\\"create_preload_data\\\":true,\\\"garbage_collect_secrets\\\":false,\\\"hostname\\\":\\\"awx2.barfoot.co.nz\\\",\\\"image_pull_policy\\\":\\\"IfNotPresent\\\",\\\"ingress_annotations\\\":\\\"cert-manager.io/cluster-issuer: letsencrypt\\\",\\\"ingress_tls_secret\\\":\\\"awx-le-certificate\\\",\\\"ingress_type\\\":\\\"Ingress\\\",\\\"loadbalancer_port\\\":80,\\\"loadbalancer_protocol\\\":\\\"http\\\",\\\"nodeport_port\\\":30080,\\\"postgres_configuration_secret\\\":\\\"awx-postgres-configuration\\\",\\\"projects_persistence\\\":false,\\\"projects_storage_access_mode\\\":\\\"ReadWriteMany\\\",\\\"projects_storage_size\\\":\\\"8Gi\\\",\\\"replicas\\\":1,\\\"route_tls_termination_mechanism\\\":\\\"Edge\\\",\\\"secret_key_secret\\\":\\\"awx-secret-key\\\",\\\"task_privileged\\\":false}}\"}, \"creationTimestamp\": \"2022-06-15T02:56:55Z\", \"generation\": 1, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awx\"}, \"managedFields\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\".\": {}, \"f:conditions\": {}}}, \"manager\": \"ansible-operator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:56:56Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}, \"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}}, \"f:spec\": {\".\": {}, \"f:admin_password_secret\": {}, \"f:admin_user\": {}, \"f:broadcast_websocket_secret\": {}, \"f:create_preload_data\": {}, \"f:garbage_collect_secrets\": {}, \"f:hostname\": {}, \"f:image_pull_policy\": {}, \"f:ingress_annotations\": {}, \"f:ingress_tls_secret\": {}, \"f:ingress_type\": {}, \"f:loadbalancer_port\": {}, \"f:loadbalancer_protocol\": {}, \"f:nodeport_port\": {}, \"f:postgres_configuration_secret\": {}, \"f:projects_persistence\": {}, \"f:projects_storage_access_mode\": {}, \"f:projects_storage_size\": {}, \"f:replicas\": {}, \"f:route_tls_termination_mechanism\": {}, \"f:secret_key_secret\": {}, \"f:task_privileged\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:56:58Z\"}, {\"apiVersion\": \"awx.ansible.com/v1beta1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:adminPasswordSecret\": {}, \"f:adminUser\": {}, \"f:broadcastWebsocketSecret\": {}, \"f:image\": {}, \"f:postgresConfigurationSecret\": {}, \"f:secretKeySecret\": {}, \"f:version\": {}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:58:06Z\"}], \"name\": \"awx\", \"namespace\": \"awx\", \"resourceVersion\": \"15740\", \"uid\": \"75621000-9b12-4da6-a26e-5f6d2007e259\"}, \"spec\": {\"admin_password_secret\": \"awx-admin-password\", \"admin_user\": \"admin\", \"broadcast_websocket_secret\": \"awx-broadcast-websocket\", \"create_preload_data\": true, \"garbage_collect_secrets\": false, \"hostname\": \"awx2.barfoot.co.nz\", \"image_pull_policy\": \"IfNotPresent\", \"ingress_annotations\": \"cert-manager.io/cluster-issuer: letsencrypt\", \"ingress_tls_secret\": \"awx-le-certificate\", \"ingress_type\": \"Ingress\", \"loadbalancer_port\": 80, \"loadbalancer_protocol\": \"http\", \"nodeport_port\": 30080, \"postgres_configuration_secret\": \"awx-postgres-configuration\", \"projects_persistence\": false, \"projects_storage_access_mode\": \"ReadWriteMany\", \"projects_storage_size\": \"8Gi\", \"replicas\": 1, \"route_tls_termination_mechanism\": \"Edge\", \"secret_key_secret\": \"awx-secret-key\", \"task_privileged\": false}, \"status\": {\"adminPasswordSecret\": \"awx-admin-password\", \"adminUser\": \"admin\", \"broadcastWebsocketSecret\": \"awx-broadcast-websocket\", \"conditions\": [{\"lastTransitionTime\": \"2022-06-15T03:34:28Z\", \"reason\": \"Failed\", \"status\": \"False\", \"type\": \"Failure\"}, {\"lastTransitionTime\": \"2022-06-15T03:34:28Z\", \"reason\": \"Running\", \"status\": \"True\", \"type\": \"Running\"}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"postgresConfigurationSecret\": \"awx-postgres-configuration\", \"secretKeySecret\": \"awx-secret-key\", \"version\": \"21.1.0\"}}}\n\r\nTASK [restore : include_tasks] *************************************************\r\ntask path: /opt/ansible/roles/restore/tasks/main.yml:35\nincluded: /opt/ansible/roles/restore/tasks/postgres.yml for localhost\n\r\nTASK [restore : Set Postgres Configuration Secret name] ************************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:3\nok: [localhost] => {\"ansible_facts\": {\"postgres_configuration_secret\": \"awx-postgres-configuration\"}, \"changed\": false}\n\r\nTASK [restore : Check for specified PostgreSQL configuration] ******************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:7\nok: [localhost] => {\"api_found\": true, \"changed\": false, \"resources\": [{\"apiVersion\": \"v1\", \"data\": {\"database\": \"YXd4\", \"host\": \"YXd4LXBvc3RncmVz\", \"password\": \"NXlrdjNRZndWZUg1WHhaZ0pWWGlrcjA2ZGNRVG1xemw=\", \"port\": \"NTQzMg==\", \"type\": \"bWFuYWdlZA==\", \"username\": \"YXd4\"}, \"kind\": \"Secret\", \"metadata\": {\"annotations\": {\"kubectl.kubernetes.io/last-applied-configuration\": \"{\\\"apiVersion\\\":\\\"v1\\\",\\\"kind\\\":\\\"Secret\\\",\\\"metadata\\\":{\\\"labels\\\":{\\\"app.kubernetes.io/component\\\":\\\"awx\\\",\\\"app.kubernetes.io/managed-by\\\":\\\"awx-operator\\\",\\\"app.kubernetes.io/name\\\":\\\"awxbackup-andrew\\\",\\\"app.kubernetes.io/operator-version\\\":\\\"0.22.0\\\",\\\"app.kubernetes.io/part-of\\\":\\\"awxbackup-andrew\\\"},\\\"name\\\":\\\"awx-postgres-configuration\\\",\\\"namespace\\\":\\\"awx\\\"},\\\"stringData\\\":{\\\"database\\\":\\\"awx\\\",\\\"host\\\":\\\"awx-postgres\\\",\\\"password\\\":\\\"5ykv3QfwVeH5XxZgJVXikr06dcQTmqzl\\\",\\\"port\\\":\\\"5432\\\",\\\"type\\\":\\\"managed\\\",\\\"username\\\":\\\"awx\\\"},\\\"type\\\":\\\"Opaque\\\"}\"}, \"creationTimestamp\": \"2022-06-15T00:23:30Z\", \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awxbackup-andrew\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awxbackup-andrew\"}, \"managedFields\": [{\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:data\": {\".\": {}, \"f:database\": {}, \"f:host\": {}, \"f:password\": {}, \"f:port\": {}, \"f:type\": {}, \"f:username\": {}}, \"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}, \"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}}}, \"f:type\": {}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T00:23:30Z\"}], \"name\": \"awx-postgres-configuration\", \"namespace\": \"awx\", \"resourceVersion\": \"9126\", \"uid\": \"af9692e6-432e-4c1c-81eb-a82ae982cae1\"}, \"type\": \"Opaque\"}]}\n\r\n\r\nTASK [restore : Store Database Configuration] **********************************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:15\nok: [localhost] => {\"ansible_facts\": {\"awx_postgres_database\": \"awx\", \"awx_postgres_host\": \"awx-postgres\", \"awx_postgres_pass\": \"5ykv3QfwVeH5XxZgJVXikr06dcQTmqzl\", \"awx_postgres_port\": \"5432\", \"awx_postgres_type\": \"managed\", \"awx_postgres_user\": \"awx\"}, \"changed\": false}\n\r\nTASK [restore : Default label selector to custom resource generated postgres] ***\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:25\nok: [localhost] => {\"ansible_facts\": {\"postgres_label_selector\": \"app.kubernetes.io/instance=postgres-awx\"}, \"changed\": false}\n\r\nTASK [restore : Get the postgres pod information] ******************************\r\n\r\nTASK [restore : Get the postgres pod information] ******************************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:30\nRES_USER\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:secretKeyRef\": {}}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:ports\": {\".\": {}, \"k:{\\\"containerPort\\\":5432,\\\"protocol\\\":\\\"TCP\\\"}\": {\".\": {}, \"f:containerPort\": {}, \"f:name\": {}, \"f:protocol\": {}}}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/var/lib/postgresql/data\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:subPath\": {}}}}}, \"f:dnsPolicy\": {}, \"f:enableServiceLinks\": {}, \"f:hostname\": {}, \"f:initContainers\": {\".\": {}, \"k:{\\\"name\\\":\\\"database-check\\\"}\": {\".\": {}, \"f:command\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/check-db\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}}, \"f:restartPolicy\": {}, \"f:schedulerName\": {}, \"f:securityContext\": {}, \"f:subdomain\": {}, \"f:terminationGracePeriodSeconds\": {}, \"f:volumes\": {\".\": {}, \"k:{\\\"name\\\":\\\"postgres\\\"}\": {\".\": {}, \"f:name\": {}, \"f:persistentVolumeClaim\": {\".\": {}, \"f:claimName\": {}}}}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:57:10Z\"}, {\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:conditions\": {\"k:{\\\"type\\\":\\\"ContainersReady\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Initialized\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Ready\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:containerStatuses\": {}, \"f:hostIP\": {}, \"f:initContainerStatuses\": {}, \"f:phase\": {}, \"f:podIP\": {}, \"f:podIPs\": {\".\": {}, \"k:{\\\"ip\\\":\\\"10.42.0.67\\\"}\": {\".\": {}, \"f:ip\": {}}}, \"f:startTime\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:57:12Z\"}], \"name\": \"awx-postgres-0\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"apps/v1\", \"blockOwnerDele2022-06-15T03:35:49.551859510Z tion\": true, \"controller\": true, \"kind\": \"StatefulSet\", \"name\": \"awx-postgres\", \"uid\": \"a081ffa1-3e45-4d55-8787-5ac68eee092e\"}], \"resourceVersion\": \"11949\", \"uid\": \"9bf7e4fb-1297-412e-b667-f2bf7bf505b1\"}, \"spec\": {\"containers\": [{\"env\": [{\"name\": \"POSTGRESQL_DATABASE\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"database\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRESQL_USER\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"username\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRESQL_PASSWORD\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"password\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRES_DB\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"database\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRES_USER\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"username\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRES_PASSWORD\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"password\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"PGDATA\", \"value\": \"/var/lib/postgresql/data/pgdata\"}, {\"name\": \"POSTGRES_INITDB_ARGS\", \"value\": \"--auth-host=scram-sha-256\"}, {\"name\": \"POSTGRES_HOST_AUTH_METHOD\", \"value\": \"scram-sha-256\"}], \"image\": \"postgres:12\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"postgres\", \"ports\": [{\"containerPort\": 5432, \"name\": \"postgres\", \"protocol\": \"TCP\"}], \"resources\": {\"requests\": {\"cpu\": \"10m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/var/lib/postgresql/data\", \"name\": \"postgres\", \"subPath\": \"data\"}, {\"mountPath\": \"/var/run/secrets/kubernetes.io/serviceaccount\", \"name\": \"kube-api-access-l5w6s\", \"readOnly\": true}]}], \"dnsPolicy\": \"ClusterFirst\", \"enableServiceLinks\": true, \"hostname\": \"awx-postgres-0\", \"initContainers\": [{\"command\": [\"/bin/sh\", \"-c\", \"[[ -d /check-db/pgsql/data ]] && rm -rf /check-db/data && mv /check-db/pgsql/data/ /check-db/data/ && rm -rf /check-db/pgsql || exit 0\\n\"], \"image\": \"quay.io/centos/centos:stream8\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"database-check\", \"resources\": {\"requests\": {\"cpu\": \"10m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/check-db\", \"name\": \"postgres\"}, {\"mountPath\": \"/var/run/secrets/kubernetes.io/serviceaccount\", \"name\": \"kube-api-access-l5w6s\", \"readOnly\": true}]}], \"nodeName\": \"p-ap-awx-02\", \"preemptionPolicy\": \"PreemptLowerPriority\", \"priority\": 0, \"restartPolicy\": \"Always\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"default\", \"serviceAccountName\": \"default\", \"subdomain\": \"awx\", \"terminationGracePeriodSeconds\": 30, \"tolerations\": [{\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/not-ready\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}, {\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/unreachable\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}], \"volumes\": [{\"name\": \"postgres\", \"persistentVolumeClaim\": {\"claimName\": \"postgres-awx-postgres-0\"}}, {\"name\": \"kube-api-access-l5w6s\", \"projected\": {\"defaultMode\": 420, \"sources\": [{\"serviceAccountToken\": {\"expirationSeconds\": 3607, \"path\": \"token\"}}, {\"configMap\": {\"items\": [{\"key\": \"ca.crt\", \"path\": \"ca.crt\"}], \"name\": \"kube-root-ca.crt\"}}, {\"downwardAPI\": {\"items\": [{\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}, \"path\": \"namespace\"}]}}]}}]}, \"status\": {\"conditions\": [{\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T02:57:11Z\", \"status\": \"True\", \"type\": \"Initialized\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T02:57:12Z\", \"status\": \"True\", \"type\": \"Ready\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T02:57:12Z\", \"status\": \"True\", \"type\": \"ContainersReady\"}, {\"ok: [localhost] => {\"api_found\": true, \"attempts\": 1, \"changed\": false, \"resources\": [{\"apiVersion\": \"v1\", \"kind\": \"Pod\", \"metadata\": {\"creationTimestamp\": \"2022-06-15T02:57:10Z\", \"generateName\": \"awx-postgres-\", \"labels\": {\"app.kubernetes.io/component\": \"database\", \"app.kubernetes.io/instance\": \"postgres-awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"postgres\", \"app.kubernetes.io/part-of\": \"awx\", \"controller-revision-hash\": \"awx-postgres-5f9c7d9588\", \"statefulset.kubernetes.io/pod-name\": \"awx-postgres-0\"}, \"managedFields\": [{\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:generateName\": {}, \"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/instance\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/part-of\": {}, \"f:controller-revision-hash\": {}, \"f:statefulset.kubernetes.io/pod-name\": {}}, \"f:ownerReferences\": {\".\": {}, \"k:{\\\"uid\\\":\\\"a081ffa1-3e45-4d55-8787-5ac68eee092e\\\"}\": {}}}, \"f:spec\": {\"f:containers\": {\"k:{\\\"name\\\":\\\"postgres\\\"}\": {\".\": {}, \"f:env\": {\".\": {}, \"k:{\\\"name\\\":\\\"PGDATA\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}, \"k:{\\\"name\\\":\\\"POSTGRESQL_DATABASE\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:secretKeyRef\": {}}}, \"k:{\\\"name\\\":\\\"POSTGRESQL_PASSWORD\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:secretKeyRef\": {}}}, \"k:{\\\"name\\\":\\\"POSTGRESQL_USER\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:secretKeyRef\": {}}}, \"k:{\\\"name\\\":\\\"POSTGRES_DB\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:secretKeyRef\": {}}}, \"k:{\\\"name\\\":\\\"POSTGRES_HOST_AUTH_METHOD\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}, \"k:{\\\"name\\\":\\\"POSTGRES_INITDB_ARGS\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}, \"k:{\\\"name\\\":\\\"POSTGRES_PASSWORD\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:secretKeyRef\": {}}}, \"k:{\\\"name\\\":\\\"POSTGRES_USER\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:secretKeyRef\": {}}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:ports\": {\".\": {}, \"k:{\\\"containerPort\\\":5432,\\\"protocol\\\":\\\"TCP\\\"}\": {\".\": {}, \"f:containerPort\": {}, \"f:name\": {}, \"f:protocol\": {}}}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/var/lib/postgresql/data\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:subPath\": {}}}}}, \"f:dnsPolicy\": {}, \"f:enableServiceLinks\": {}, \"f:hostname\": {}, \"f:initContainers\": {\".\": {}, \"k:{\\\"name\\\":\\\"database-check\\\"}\": {\".\": {}, \"f:command\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/check-db\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}}, \"f:restartPolicy\": {}, \"f:schedulerName\": {}, \"f:securityContext\": {}, \"f:subdomain\": {}, \"f:terminationGracePeriodSeconds\": {}, \"f:volumes\": {\".\": {}, \"k:{\\\"name\\\":\\\"postgres\\\"}\": {\".\": {}, \"f:name\": {}, \"f:persistentVolumeClaim\": {\".\": {}, \"f:claimName\": {}}}}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"time\": \"2022-06-15T02:57:10Z\"}, {\"apiVersion\": \"v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:status\": {\"f:conditions\": {\"k:{\\\"type\\\":\\\"ContainersReady\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Initialized\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Ready\\\"}\": {\".\": {}, \"f:lastProbeTime\": {}, \"f:lastTransitionTime\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:containerStatuses\": {}, \"f:hostIP\": {}, \"f:initContainerStatuses\": {}, \"f:phase\": {}, \"f:podIP\": {}, \"f:podIPs\": {\".\": {}, \"k:{\\\"ip\\\":\\\"10.42.0.67\\\"}\": {\".\": {}, \"f:ip\": {}}}, \"f:startTime\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T02:57:12Z\"}], \"name\": \"awx-postgres-0\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"apps/v1\", \"blockOwnerDeletion\": true, \"controller\": true, \"kind\": \"StatefulSet\", \"name\": \"awx-postgres\", \"uid\": \"a081ffa1-3e45-4d55-8787-5ac68eee092e\"}], \"resourceVersion\": \"11949\", \"uid\": \"9bf7e4fb-1297-412e-b667-f2bf7bf505b1\"}, \"spec\": {\"containers\": [{\"env\": [{\"name\": \"POSTGRESQL_DATABASE\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"database\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRESQL_USER\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"username\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRESQL_PASSWORD\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"password\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRES_DB\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"database\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRES_USER\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"username\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"POSTGRES_PASSWORD\", \"valueFrom\": {\"secretKeyRef\": {\"key\": \"password\", \"name\": \"awx-postgres-configuration\"}}}, {\"name\": \"PGDATA\", \"value\": \"/var/lib/postgresql/data/pgdata\"}, {\"name\": \"POSTGRES_INITDB_ARGS\", \"value\": \"--auth-host=scram-sha-256\"}, {\"name\": \"POSTGRES_HOST_AUTH_METHOD\", \"value\": \"scram-sha-256\"}], \"image\": \"postgres:12\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"postgres\", \"ports\": [{\"containerPort\": 5432, \"name\": \"postgres\", \"protocol\": \"TCP\"}], \"resources\": {\"requests\": {\"cpu\": \"10m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/var/lib/postgresql/data\", \"name\": \"postgres\", \"subPath\": \"data\"}, {\"mountPath\": \"/var/run/secrets/kubernetes.io/serviceaccount\", \"name\": \"kube-api-access-l5w6s\", \"readOnly\": true}]}], \"dnsPolicy\": \"ClusterFirst\", \"enableServiceLinks\": true, \"hostname\": \"awx-postgres-0\", \"initContainers\": [{\"command\": [\"/bin/sh\", \"-c\", \"[[ -d /check-db/pgsql/data ]] && rm -rf /check-db/data && mv /check-db/pgsql/data/ /check-db/data/ && rm -rf /check-db/pgsql || exit 0\\n\"], \"image\": \"quay.io/centos/centos:stream8\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"database-check\", \"resources\": {\"requests\": {\"cpu\": \"10m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/check-db\", \"name\": \"postgres\"}, {\"mountPath\": \"/var/run/secrets/kubernetes.io/serviceaccount\", \"name\": \"kube-api-access-l5w6s\", \"readOnly\": true}]}], \"nodeName\": \"p-ap-awx-02\", \"preemptionPolicy\": \"PreemptLowerPriority\", \"priority\": 0, \"restartPolicy\": \"Always\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"default\", \"serviceAccountName\": \"default\", \"subdomain\": \"awx\", \"terminationGracePeriodSeconds\": 30, \"tolerations\": [{\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/not-ready\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}, {\"effect\": \"NoExecute\", \"key\": \"node.kubernetes.io/unreachable\", \"operator\": \"Exists\", \"tolerationSeconds\": 300}], \"volumes\": [{\"name\": \"postgres\", \"persistentVolumeClaim\": {\"claimName\": \"postgres-awx-postgres-0\"}}, {\"name\": \"kube-api-access-l5w6s\", \"projected\": {\"defaultMode\": 420, \"sources\": [{\"serviceAccountToken\": {\"expirationSeconds\": 3607, \"path\": \"token\"}}, {\"configMap\": {\"items\": [{\"key\": \"ca.crt\", \"path\": \"ca.crt\"}], \"name\": \"kube-root-ca.crt\"}}, {\"downwardAPI\": {\"items\": [{\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}, \"path\": \"namespace\"}]}}]}}]}, \"status\": {\"conditions\": [{\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T02:57:11Z\", \"status\": \"True\", \"type\": \"Initialized\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T02:57:12Z\", \"status\": \"True\", \"type\": \"Ready\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T02:57:12Z\", \"status\": \"True\", \"type\": \"ContainersReady\"}, {\"lastProbeTime\": null, \"lastTransitionTime\": \"2022-06-15T02:57:10Z\", \"status\": \"True\", \"type\": \"PodScheduled\"}], \"containerStatuses\": [{\"containerID\": \"containerd://c803330e2af25f16c70eb5ffc227a69d6f908fc0c61a2a8ccaea08ff215d28df\", \"image\": \"docker.io/library/postgres:12\", \"imageID\": \"docker.io/library/postgres@sha256:fe84844ef27aaaa52f6ec68d6b3c225d19eb4f54200a93466aa67798c99aa462\", \"lastState\": {}, \"name\": \"postgres\", \"ready\": true, \"restartCount\": 0, \"started\": true, \"state\": {\"running\": {\"startedAt\": \"2022-06-15T02:57:11Z\"}}}], \"hostIP\": \"192.168.6.51\", \"initContainerStatuses\": [{\"containerID\": \"containerd://e614f48d93cbc8b471cb509c397e3bb48c592020b3fa5ed0329badea063a4152\", \"image\": \"quay.io/centos/centos:stream8\", \"imageID\": \"quay.io/centos/centos@sha256:8f2c5bfa77df306ae5f34bac3303055b5e5a443e56f4acdb26b80d2e921e657a\", \"lastState\": {}, \"name\": \"database-check\", \"ready\": true, \"restartCount\": 0, \"state\": {\"terminated\": {\"containerID\": \"containerd://e614f48d93cbc8b471cb509c397e3bb48c592020b3fa5ed0329badea063a4152\", \"exitCode\": 0, \"finishedAt\": \"2022-06-15T02:57:10Z\", \"reason\": \"Completed\", \"startedAt\": \"2022-06-15T02:57:10Z\"}}}], \"phase\": \"Running\", \"podIP\": \"10.42.0.67\", \"podIPs\": [{\"ip\": \"10.42.0.67\"}], \"qosClass\": \"Burstable\", \"startTime\": \"2022-06-15T02:57:10Z\"}}]}\n\r\nTASK [restore : Set the resource pod name as a variable.] **********************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:44\nok: [localhost] => {\"ansible_facts\": {\"postgres_pod_name\": \"awx-postgres-0\"}, \"changed\": false}\n\r\nTASK [restore : Check for presence of AWX Deployment] **************************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:48\nMi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"execution_environments.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"credentials.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"ldap.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\",\\\"name\\\":\\\"awx-secret-key\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"SECRET_KEY\\\"},{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\",\\\"name\\\":\\\"awx-settings\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"settings.py\\\"},{\\\"mountPath\\\":\\\"/etc/nginx/nginx.conf\\\",\\\"name\\\":\\\"awx-nginx-conf\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"nginx.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/supervisor\\\",\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\",\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\",\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"mountPath\\\":\\\"/var/lib/2022-06-15T03:35:49.551898163Z awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]},{\\\"args\\\":[\\\"/usr/bin/launch_awx_task.sh\\\"],\\\"env\\\":[{\\\"name\\\":\\\"SUPERVISOR_WEB_CONFIG_PATH\\\",\\\"value\\\":\\\"/etc/supervisord.conf\\\"},{\\\"name\\\":\\\"AWX_SKIP_MIGRATIONS\\\",\\\"value\\\":\\\"1\\\"},{\\\"name\\\":\\\"MY_POD_UID\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.uid\\\"}}},{\\\"name\\\":\\\"MY_POD_IP\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"status.podIP\\\"}}},{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.namespace\\\"}}}],\\\"image\\\":\\\"quay.io/ansible/awx:21.1.0\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-task\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"128Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"execution_environments.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"credentials.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"ldap.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\",\\\"name\\\":\\\"awx-secret-key\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"SECRET_KEY\\\"},{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\",\\\"name\\\":\\\"awx-settings\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"settings.py\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/supervisor\\\",\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\",\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\",\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\",\\\"name\\\":\\\"awx-receptor-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"receptor.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/receptor\\\",\\\"name\\\":\\\"receptor-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]},{\\\"args\\\":[\\\"receptor\\\",\\\"--config\\\",\\\"/etc/receptor/receptor.conf\\\"],\\\"env\\\":null,\\\"image\\\":\\\"quay.io/ansible/awx-ee:latest\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-ee\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"64Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\",\\\"name\\\":\\\"awx-receptor-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"receptor.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/receptor\\\",\\\"name\\\":\\\"receptor-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]}],\\\"initContainers\\\":null,\\\"priorityClassName\\\":\\\"\\\",\\\"serviceAccountName\\\":\\\"awx\\\",\\\"volumes\\\":[{\\\"name\\\":\\\"awx-application-credentials\\\",\\\"secret\\\":{\\\"items\\\":[{\\\"key\\\":\\\"credentials.py\\\",\\\"path\\\":\\\"credentials.py\\\"},{\\\"key\\\":\\\"ldap.py\\\",\\\"path\\\":\\\"ldap.py\\\"},{\\\"key\\\":\\\"execution_environments.py\\\",\\\"path\\\":\\\"execution_environments.py\\\"}],\\\"secretName\\\":\\\"awx-app-credentials\\\"}},{\\\"name\\\":\\\"awx-secret-key\\\",\\\"secret\\\":{\\\"items\\\":[{\\\"key\\\":\\\"secret_key\\\",\\\"path\\\":\\\"SECRET_KEY\\\"}],\\\"secretName\\\":\\\"awx-secret-key\\\"}},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"settings\\\",\\\"path\\\":\\\"settings.py\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-settings\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"nginx_conf\\\",\\\"path\\\":\\\"nginx.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-nginx-conf\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"redis_conf\\\",\\\"path\\\":\\\"redis.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-redis-config\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-redis-data\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"receptor-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"receptor_conf\\\",\\\"path\\\":\\\"receptor.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-receptor-config\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-projects\\\"}]}}}}\"}, \"creationTimestamp\": \"2022-06-15T02:57:28Z\", \"generation\": 55, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awx\", \"app.kubernetes.io/version\": \"21.1.0\"}, \"managedFields\": [{\"apiVersion\": \"apps/v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}, \"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}, \"f:app.kubernetes.io/version\": {}}, \"f:ownerReferences\": {\".\": {}, \"k:{\\\"uid\\\":\\\"75621000-9b12-4da6-a26e-5f6d2007e259\\\"}\": {}}}, \"f:spec\": {\"f:progressDeadlineSeconds\": {}, \"f:replicas\": {}, \"f:revisionHistoryLimit\": {}, \"f:selector\": {}, \"f:strategy\": {\"f:rollingUpdate\": {\".\": {}, \"f:maxSurge\": {}, \"f:maxUnavailable\": {}}, \"f:type\": {}}, \"f:template\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/part-of\": {}, \"f:app.kubernetes.io/version\": {}}}, \"f:spec\": {\"f:containers\": {\"k:{\\\"name\\\":\\\"awx-ee\\\"}\": {\".\": {}, \"f:args\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/receptor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"awx-task\\\"}\": {\".\": {}, \"f:args\": {}, \"f:env\": {\".\": {}, \"k:{\\\"name\\\":\\\"AWX_SKIP_MIGRATIONS\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}, \"k:{\\\"name\\\":\\\"MY_POD_IP\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"MY_POD_UID\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"SUPERVISOR_WEB_CONFIG_PATH\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/receptor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/supervisor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"awx-web\\\"}\": {\".\": {}, \"f:args\": {}, \"f:env\": {\".\": {}, \"k:{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"UWSGI_MOUNT_PATH\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:ports\": {\".\": {}, \"k:{\\\"containerPort\\\":8052,\\\"protocol\\\":\\\"TCP\\\"}\": {\".\": {}, \"f:containerPort\": {}, \"f:protocol\": {}}}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/nginx/nginx.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/supervisor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"redis\\\"}\": {\".\": {}, \"f:args\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/data\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/redis.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}}, \"f:dnsPolicy\": {}, \"f:restartPolicy\": {}, \"f:schedulerName\": {}, \"f:securityContext\": {}, \"f:serviceAccount\": {}, \"f:serviceAccountName\": {}, \"f:terminationGracePeriodSeconds\": {}, \"f:volumes\": {\".\": {}, \"k:{\\\"name\\\":\\\"awx-application-credentials\\\"}\": {\".\": {}, \"f:name\": {}, \"f:secret\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:secretName\": {}}}, \"k:{\\\"name\\\":\\\"awx-nginx-conf\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-projects\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-receptor-config\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-config\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-data\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-secret-key\\\"}\": {\".\": {}, \"f:name\": {}, \"f:secret\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:secretName\": {}}}, \"k:{\\\"name\\\":\\\"awx-settings\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"receptor-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"rsyslog-dir\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"rsyslog-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"supervisor-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}}}}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T03:34:52Z\"}, {\"apiVersion\": \"apps/v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\"f:deployment.kubernetes.io/revision\": {}}}, \"f:status\": {\"f:availableReplicas\": {}, \"f:conditions\": {\".\": {}, \"k:{\\\"type\\\":\\\"Available\\\"}\": {\".\": {}, \"f:lastTransitionTime\": {}, \"f:lastUpdateTime\": {}, \"f:message\": {}, \"f:reason\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Progressing\\\"}\": {\".\": {}, \"f:lastTransitionTime\": {}, \"f:lastUpdateTime\": {}, \"f:message\": {}, \"f:reason\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:observedGeneration\": {}, \"f:readyReplicas\": {}, \"f:replicas\": {}, \"f:updatedReplicas\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T03:34:54Z\"}], \"name\": \"awx\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWX\", \"name\": \"awx\", \"uid\": \"75621000-9b12-4da6-a26e-5f6d2007e259\"}], \"resourceVersion\": \"15807\", \"uid\": \"7a1e1cfa-f66e-412e-9d91-bb0337959119\"}, \"spec\": {\"progressDeadlineSeconds\": 600, \"replicas\": 1, \"revisionHistoryLimit\": 10, \"selector\": {\"matchLabels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\"}}, \"strategy\": {\"rollingUpdate\": {\"maxSurge\": \"25%\", \"maxUnavailable\": \"25%\"}, \"type\": \"RollingUpdate\"}, \"template\": {\"metadata\": {\"creationTimestamp\": null, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/part-of\": \"awx\", \"app.kubernetes.io/version\": \"21.1.0\"}}, \"spec\": {\"containers\": [{\"args\": [\"redis-server\", \"/etc/redis.conf\"], \"image\": \"docker.io/redis:latest\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"redis\", \"resources\": {\"requests\": {\"cpu\": \"50m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/redis.conf\", \"name\": \"awx-redis-config\", \"readOnly\": true, \"subPath\": \"re2022-06-15T03:35:49.551920609Z dis.conf\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/data\", \"name\": \"awx-redis-data\"}]}, {\"args\": [\"/usr/bin/launch_awx.sh\"], \"env\": [{\"name\": \"MY_POD_NAMESPACE\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}}}, {\"name\": \"UWSGI_MOUNT_PATH\", \"value\": \"/\"}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-web\", \"ports\": [{\"containerPort\": 8052, \"protocol\": \"TCP\"}], \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"128Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/tower/conf.d/execution_environments.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"execution_environments.py\"}, {\"mountPath\": \"/etc/tower/conf.d/credentials.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"credentials.py\"}, {\"mountPath\": \"/etc/tower/conf.d/ldap.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"ldap.py\"}, {\"mountPath\": \"/etc/tower/SECRET_KEY\", \"name\": \"awx-secret-key\", \"readOnly\": true, \"subPath\": \"SECRET_KEY\"}, {\"mountPath\": \"/etc/tower/settings.py\", \"name\": \"awx-settings\", \"readOnly\": true, \"subPath\": \"settings.py\"}, {\"mountPath\": \"/etc/nginx/nginx.conf\", \"name\": \"awx-nginx-conf\", \"readOnly\": true, \"subPath\": \"nginx.conf\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/var/run/supervisor\", \"name\": \"supervisor-socket\"}, {\"mountPath\": \"/var/run/awx-rsyslog\", \"name\": \"rsyslog-socket\"}, {\"mountPath\": \"/var/lib/awx/rsyslog\", \"name\": \"rsyslog-dir\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}, {\"args\": [\"/usr/bin/launch_awx_task.sh\"], \"env\": [{\"name\": \"SUPERVISOR_WEB_CONFIG_PATH\", \"value\": \"/etc/supervisord.conf\"}, {\"name\": \"AWX_SKIP_MIGRATIONS\", \"value\": \"1\"}, {\"name\": \"MY_POD_UID\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.uid\"}}}, {\"name\": \"MY_POD_IP\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"status.podIP\"}}}, {\"name\": \"MY_POD_NAMESPACE\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}}}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-task\", \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"128Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/tower/conf.d/execution_environments.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"execution_environments.py\"}, {\"mountPath\": \"/etc/tower/conf.d/credentials.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"credentials.py\"}, {\"mountPath\": \"/etc/tower/conf.d/ldap.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"ldap.py\"}, {\"mountPath\": \"/etc/tower/SECRET_KEY\", \"name\": \"awx-secret-key\", \"readOnly\": true, \"subPath\": \"SECRET_KEY\"}, {\"mountPath\": \"/etc/tower/settings.py\", \"name\": \"awx-settings\", \"readOnly\": true, \"subPath\": \"settings.py\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/var/run/supervisor\", \"name\": \"supervisor-socket\"}, {\"mountPath\": \"/var/run/awx-rsyslog\", \"name\": \"rsyslog-socket\"}, {\"mountPath\": \"/var/lib/awx/rsyslog\", \"name\": \"rsyslog-dir\"}, {\"mountPath\": \"/etc/receptor/receptor.conf\", \"name\": \"awx-receptor-config\", \"readOnly\": true, \"subPath\": \"receptor.conf\"}, {\"mountPath\": \"/var/run/receptor\", \"name\": \"receptor-socket\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}, {\"args\": [\"receptor\", \"--config\", \"/etc/receptor/receptor.conf\"], \"image\": \"quay.io/ansible/awx-ee:latest\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-ee\", \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/receptor/receptor.conf\", \"name\": \"awx-receptor-config\", \"readOnly\": true, \"subPath\": \"receptor.conf\"}, {\"mountPath\": \"/var/run/receptor\", \"name\": \"receptor-socket\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}], \"dnsPolicy\": \"ClusterFirst\", \"restartPolicy\": \"Always\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"awx\", \"serviceAccountName\": \"awx\", \"terminationGracePeriodSeconds\": 30, \"volumes\": [{\"name\": \"awx-application-credentials\", \"secret\": {\"defaultMode\": 420, \"items\": [{\"key\": \"credentials.py\", \"path\": \"credentials.py\"}, {\"key\": \"ldap.py\", \"path\": \"ldap.py\"}, {\"key\": \"execution_environments.py\", \"path\": \"execution_environments.py\"}], \"secretName\": \"awx-app-credentials\"}}, {\"name\": \"awx-secret-key\", \"secret\": {\"defaultMode\": 420, \"items\": [{\"key\": \"secret_key\", \"path\": \"SECRET_KEY\"}], \"secretName\": \"awx-secret-key\"}}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"settings\", \"path\": \"settings.py\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-settings\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"nginx_conf\", \"path\": \"nginx.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-nginx-conf\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"redis_conf\", \"path\": \"redis.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-redis-config\"}, {\"emptyDir\": {}, \"name\": \"awxok: [localhost] => {\"api_found\": true, \"changed\": false, \"resources\": [{\"apiVersion\": \"apps/v1\", \"kind\": \"Deployment\", \"metadata\": {\"annotations\": {\"deployment.kubernetes.io/revision\": \"1\", \"kubectl.kubernetes.io/last-applied-configuration\": \"{\\\"apiVersion\\\":\\\"apps/v1\\\",\\\"kind\\\":\\\"Deployment\\\",\\\"metadata\\\":{\\\"labels\\\":{\\\"app.kubernetes.io/component\\\":\\\"awx\\\",\\\"app.kubernetes.io/managed-by\\\":\\\"awx-operator\\\",\\\"app.kubernetes.io/name\\\":\\\"awx\\\",\\\"app.kubernetes.io/operator-version\\\":\\\"0.22.0\\\",\\\"app.kubernetes.io/part-of\\\":\\\"awx\\\",\\\"app.kubernetes.io/version\\\":\\\"21.1.0\\\"},\\\"name\\\":\\\"awx\\\",\\\"namespace\\\":\\\"awx\\\"},\\\"spec\\\":{\\\"replicas\\\":1,\\\"selector\\\":{\\\"matchLabels\\\":{\\\"app.kubernetes.io/component\\\":\\\"awx\\\",\\\"app.kubernetes.io/managed-by\\\":\\\"awx-operator\\\",\\\"app.kubernetes.io/name\\\":\\\"awx\\\"}},\\\"template\\\":{\\\"metadata\\\":{\\\"labels\\\":{\\\"app.kubernetes.io/component\\\":\\\"awx\\\",\\\"app.kubernetes.io/managed-by\\\":\\\"awx-operator\\\",\\\"app.kubernetes.io/name\\\":\\\"awx\\\",\\\"app.kubernetes.io/part-of\\\":\\\"awx\\\",\\\"app.kubernetes.io/version\\\":\\\"21.1.0\\\"}},\\\"spec\\\":{\\\"containers\\\":[{\\\"args\\\":[\\\"redis-server\\\",\\\"/etc/redis.conf\\\"],\\\"image\\\":\\\"docker.io/redis:latest\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"redis\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"50m\\\",\\\"memory\\\":\\\"64Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/redis.conf\\\",\\\"name\\\":\\\"awx-redis-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"redis.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/data\\\",\\\"name\\\":\\\"awx-redis-data\\\"}]},{\\\"args\\\":[\\\"/usr/bin/launch_awx.sh\\\"],\\\"env\\\":[{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.namespace\\\"}}},{\\\"name\\\":\\\"UWSGI_MOUNT_PATH\\\",\\\"value\\\":\\\"/\\\"}],\\\"image\\\":\\\"quay.io/ansible/awx:21.1.0\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-web\\\",\\\"ports\\\":[{\\\"containerPort\\\":8052}],\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"128Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"execution_environments.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"credentials.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"ldap.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\",\\\"name\\\":\\\"awx-secret-key\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"SECRET_KEY\\\"},{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\",\\\"name\\\":\\\"awx-settings\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"settings.py\\\"},{\\\"mountPath\\\":\\\"/etc/nginx/nginx.conf\\\",\\\"name\\\":\\\"awx-nginx-conf\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"nginx.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/supervisor\\\",\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\",\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\",\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]},{\\\"args\\\":[\\\"/usr/bin/launch_awx_task.sh\\\"],\\\"env\\\":[{\\\"name\\\":\\\"SUPERVISOR_WEB_CONFIG_PATH\\\",\\\"value\\\":\\\"/etc/supervisord.conf\\\"},{\\\"name\\\":\\\"AWX_SKIP_MIGRATIONS\\\",\\\"value\\\":\\\"1\\\"},{\\\"name\\\":\\\"MY_POD_UID\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.uid\\\"}}},{\\\"name\\\":\\\"MY_POD_IP\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"status.podIP\\\"}}},{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.namespace\\\"}}}],\\\"image\\\":\\\"quay.io/ansible/awx:21.1.0\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-task\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"128Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"execution_environments.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"credentials.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"ldap.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\",\\\"name\\\":\\\"awx-secret-key\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"SECRET_KEY\\\"},{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\",\\\"name\\\":\\\"awx-settings\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"settings.py\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/supervisor\\\",\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\",\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\",\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\",\\\"name\\\":\\\"awx-receptor-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"receptor.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/receptor\\\",\\\"name\\\":\\\"receptor-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]},{\\\"args\\\":[\\\"receptor\\\",\\\"--config\\\",\\\"/etc/receptor/receptor.conf\\\"],\\\"env\\\":null,\\\"image\\\":\\\"quay.io/ansible/awx-ee:latest\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-ee\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"64Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\",\\\"name\\\":\\\"awx-receptor-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"receptor.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/receptor\\\",\\\"name\\\":\\\"receptor-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]}],\\\"initContainers\\\":null,\\\"priorityClassName\\\":\\\"\\\",\\\"serviceAccountName\\\":\\\"awx\\\",\\\"volumes\\\":[{\\\"name\\\":\\\"awx-application-credentials\\\",\\\"secret\\\":{\\\"items\\\":[{\\\"key\\\":\\\"credentials.py\\\",\\\"path\\\":\\\"credentials.py\\\"},{\\\"key\\\":\\\"ldap.py\\\",\\\"path\\\":\\\"ldap.py\\\"},{\\\"key\\\":\\\"execution_environments.py\\\",\\\"path\\\":\\\"execution_environments.py\\\"}],\\\"secretName\\\":\\\"awx-app-credentials\\\"}},{\\\"name\\\":\\\"awx-secret-key\\\",\\\"secret\\\":{\\\"items\\\":[{\\\"key\\\":\\\"secret_key\\\",\\\"path\\\":\\\"SECRET_KEY\\\"}],\\\"secretName\\\":\\\"awx-secret-key\\\"}},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"settings\\\",\\\"path\\\":\\\"settings.py\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-settings\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"nginx_conf\\\",\\\"path\\\":\\\"nginx.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-nginx-conf\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"redis_conf\\\",\\\"path\\\":\\\"redis.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-redis-config\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-redis-data\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"receptor-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"receptor_conf\\\",\\\"path\\\":\\\"receptor.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-receptor-config\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-projects\\\"}]}}}}\"}, \"creationTimestamp\": \"2022-06-15T02:57:28Z\", \"generation\": 55, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awx\", \"app.kubernetes.io/version\": \"21.1.0\"}, \"managedFields\": [{\"apiVersion\": \"apps/v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}, \"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}, \"f:app.kubernetes.io/version\": {}}, \"f:ownerReferences\": {\".\": {}, \"k:{\\\"uid\\\":\\\"75621000-9b12-4da6-a26e-5f6d2007e259\\\"}\": {}}}, \"f:spec\": {\"f:progressDeadlineSeconds\": {}, \"f:replicas\": {}, \"f:revisionHistoryLimit\": {}, \"f:selector\": {}, \"f:strategy\": {\"f:rollingUpdate\": {\".\": {}, \"f:maxSurge\": {}, \"f:maxUnavailable\": {}}, \"f:type\": {}}, \"f:template\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/part-of\": {}, \"f:app.kubernetes.io/version\": {}}}, \"f:spec\": {\"f:containers\": {\"k:{\\\"name\\\":\\\"awx-ee\\\"}\": {\".\": {}, \"f:args\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {2022-06-15T03:35:49.551952463Z }, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/receptor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"awx-task\\\"}\": {\".\": {}, \"f:args\": {}, \"f:env\": {\".\": {}, \"k:{\\\"name\\\":\\\"AWX_SKIP_MIGRATIONS\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}, \"k:{\\\"name\\\":\\\"MY_POD_IP\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"MY_POD_UID\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"SUPERVISOR_WEB_CONFIG_PATH\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/receptor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/supervisor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"awx-web\\\"}\": {\".\": {}, \"f:args\": {}, \"f:env\": {\".\": {}, \"k:{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"UWSGI_MOUNT_PATH\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:ports\": {\".\": {}, \"k:{\\\"containerPort\\\":8052,\\\"protocol\\\":\\\"TCP\\\"}\": {\".\": {}, \"f:containerPort\": {}, \"f:protocol\": {}}}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/nginx/nginx.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/supervisor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"redis\\\"}\": {\".\": {}, \"f:args\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/data\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/redis.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}}, \"f:dnsPolicy\": {}, \"f:restartPolicy\": {}, \"f:schedulerName\": {}, \"f:securityContext\": {}, \"f:serviceAccount\": {}, \"f:serviceAccountName\": {}, \"f:terminationGracePeriodSeconds\": {}, \"f:volumes\": {\".\": {}, \"k:{\\\"name\\\":\\\"awx-application-credentials\\\"}\": {\".\": {}, \"f:name\": {}, \"f:secret\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:secretName\": {}}}, \"k:{\\\"name\\\":\\\"awx-nginx-conf\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-projects\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-receptor-config\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-config\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-data\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-secret-key\\\"}\": {\".\": {}, \"f:name\": {}, \"f:secret\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:secretName\": {}}}, \"k:{\\\"name\\\":\\\"awx-settings\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"receptor-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"rsyslog-dir\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"rsyslog-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"supervisor-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}}}}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T03:34:52Z\"}, {\"apiVersion\": \"apps/v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\"f:deployment.kubernetes.io/revision\": {}}}, \"f:status\": {\"f:availableReplicas\": {}, \"f:conditions\": {\".\": {}, \"k:{\\\"type\\\":\\\"Available\\\"}\": {\".\": {}, \"f:lastTransitionTime\": {}, \"f:lastUpdateTime\": {}, \"f:message\": {}, \"f:reason\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Progressing\\\"}\": {\".\": {}, \"f:lastTransitionTime\": {}, \"f:lastUpdateTime\": {}, \"f:message\": {}, \"f:reason\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:observedGeneration\": {}, \"f:readyReplicas\": {}, \"f:replicas\": {}, \"f:updatedReplicas\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T03:34:54Z\"}], \"name\": \"awx\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWX\", \"name\": \"awx\", \"uid\": \"75621000-9b12-4da6-a26e-5f6d2007e259\"}], \"resourceVersion\": \"15807\", \"uid\": \"7a1e1cfa-f66e-412e-9d91-bb0337959119\"}, \"spec\": {\"progressDeadlineSeconds\": 600, \"replicas\": 1, \"revisionHistoryLimit\": 10, \"selector\": {\"matchLabels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\"}}, \"strategy\": {\"rollingUpdate\": {\"maxSurge\": \"25%\", \"maxUnavailable\": \"25%\"}, \"type\": \"RollingUpdate\"}, \"template\": {\"metadata\": {\"creationTimestamp\": null, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/part-of\": \"awx\", \"app.kubernetes.io/version\": \"21.1.0\"}}, \"spec\": {\"containers\": [{\"args\": [\"redis-server\", \"/etc/redis.conf\"], \"image\": \"docker.io/redis:latest\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"redis\", \"resources\": {\"requests\": {\"cpu\": \"50m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/redis.conf\", \"name\": \"awx-redis-config\", \"readOnly\": true, \"subPath\": \"redis.conf\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/data\", \"name\": \"awx-redis-data\"}]}, {\"args\": [\"/usr/bin/launch_awx.sh\"], \"env\": [{\"name\": \"MY_POD_NAMESPACE\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}}}, {\"name\": \"UWSGI_MOUNT_PATH\", \"value\": \"/\"}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-web\", \"ports\": [{\"containerPort\": 8052, \"protocol\": \"TCP\"}], \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"128Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/tower/conf.d/execution_environments.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"execution_environments.py\"}, {\"mountPath\": \"/etc/tower/conf.d/credentials.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"credentials.py\"}, {\"mountPath\": \"/etc/tower/conf.d/ldap.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"ldap.py\"}, {\"mountPath\": \"/etc/tower/SECRET_KEY\", \"name\": \"awx-secret-key\", \"readOnly\": true, \"subPath\": \"SECRET_KEY\"}, {\"mountPath\": \"/etc/tower/settings.py\", \"name\": \"awx-settings\", \"readOnly\": true, \"subPath\": \"settings.py\"}, {\"mountPath\": \"/etc/nginx/nginx.conf\", \"name\": \"awx-nginx-conf\", \"readOnly\": true, \"subPath\": \"nginx.conf\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/var/run/supervisor\", \"name\": \"supervisor-socket\"}, {\"mountPath\": \"/var/run/awx-rsyslog\", \"name\": \"rsyslog-socket\"}, {\"mountPath\": \"/var/lib/awx/rsyslog\", \"name\": \"rsyslog-dir\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}, {\"args\": [\"/usr/bin/launch_awx_task.sh\"], \"env\": [{\"name\": \"SUPERVISOR_WEB_CONFIG_PATH\", \"value\": \"/etc/supervisord.conf\"}, {\"name\": \"AWX_SKIP_MIGRATIONS\", \"value\": \"1\"}, {\"name\": \"MY_POD_UID\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.uid\"}}}, {\"name\": \"MY_POD_IP\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"status.podIP\"}}}, {\"name\": \"MY_POD_NAMESPACE\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}}}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-task\", \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"128Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/tower/conf.d/execution_environments.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"execution_environments.py\"}, {\"mountPath\": \"/etc/tower/conf.d/credentials.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"credentials.py\"}, {\"mountPath\": \"/etc/tower/conf.d/ldap.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"ldap.py\"}, {\"mountPath\": \"/etc/tower/SECRET_KEY\", \"name\": \"awx-secret-key\", \"readOnly\": true, \"subPath\": \"SECRET_KEY\"}, {\"mountPath\": \"/etc/tower/settings.py\", \"name\": \"awx-settings\", \"readOnly\": true, \"subPath\": \"settings.py\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/var/run/supervisor\", \"name\": \"supervisor-socket\"}, {\"mountPath\": \"/var/run/awx-rsyslog\", \"name\": \"rsyslog-socket\"}, {\"mountPath\": \"/var/lib/awx/rsyslog\", \"name\": \"rsyslog-dir\"}, {\"mountPath\": \"/etc/receptor/receptor.conf\", \"name\": \"awx-receptor-config\", \"readOnly\": true, \"subPath\": \"receptor.conf\"}, {\"mountPath\": \"/var/run/receptor\", \"name\": \"receptor-socket\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}, {\"args\": [\"receptor\", \"--config\", \"/etc/receptor/receptor.conf\"], \"image\": \"quay.io/ansible/awx-ee:latest\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-ee\", \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/receptor/receptor.conf\", \"name\": \"awx-receptor-config\", \"readOnly\": true, \"subPath\": \"receptor.conf\"}, {\"mountPath\": \"/var/run/receptor\", \"name\": \"receptor-socket\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}], \"dnsPolicy\": \"ClusterFirst\", \"restartPolicy\": \"Always\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"awx\", \"serviceAccountName\": \"awx\", \"terminationGracePeriodSeconds\": 30, \"volumes\": [{\"name\": \"awx-application-credentials\", \"secret\": {\"defaultMode\": 420, \"items\": [{\"key\": \"credentials.py\", \"path\": \"credentials.py\"}, {\"key\": \"ldap.py\", \"path\": \"ldap.py\"}, {\"key\": \"execution_environments.py\", \"path\": \"execution_environments.py\"}], \"secretName\": \"awx-app-credentials\"}}, {\"name\": \"awx-secret-key\", \"secret\": {\"defaultMode\": 420, \"items\": [{\"key\": \"secret_key\", \"path\": \"SECRET_KEY\"}], \"secretName\": \"awx-secret-key\"}}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"settings\", \"path\": \"settings.py\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-settings\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"nginx_conf\", \"path\": \"nginx.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-nginx-conf\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"redis_conf\", \"path\": \"redis.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-redis-config\"}, {\"emptyDir\": {}, \"name\": \"awx-redis-socket\"}, {\"emptyDir\": {}, \"name\": \"awx-redis-data\"}, {\"emptyDir\": {}, \"name\": \"supervisor-socket\"}, {\"emptyDir\": {}, \"name\": \"rsyslog-socket\"}, {\"emptyDir\": {}, \"name\": \"receptor-socket\"}, {\"emptyDir\": {}, \"name\": \"rsyslog-dir\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"receptor_conf\", \"path\": \"receptor.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-receptor-config\"}, {\"emptyDir\": {}, \"name\": \"awx-projects\"}]}}}, \"status\": {\"availableReplicas\": 1, \"conditions\": [{\"lastTransitionTime\": \"2022-06-15T02:57:28Z\", \"lastUpdateTime\": \"2022-06-15T02:57:30Z\", \"message\": \"ReplicaSet \\\"awx-5d52022-06-15T03:35:49.551973881Z 4c8b8c4\\\" has successfully progressed.\", \"reason\": \"NewReplicaSetAvailable\", \"status\": \"True\", \"type\": \"Progressing\"}, {\"lastTransitionTime\": \"2022-06-15T03:34:54Z\", \"lastUpdateTime\": \"2022-06-15T03:34:54Z\", \"message\": \"Deployment has minimum availability.\", \"reason\": \"MinimumReplicasAvailable\", \"status\": \"True\", \"type\": \"Available\"}], \"observedGeneration\": 55, \"readyReplicas\": 1, \"replicas\": 1, \"updatedReplicas\": 1}}]}\n\r\nTASK [restore : Scale down Deployment for migration] ***************************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:56\r\nTASK [restore : Scale down Deployment for migration] ***************************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:56\n\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"execution_environments.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"credentials.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"ldap.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\",\\\"name\\\":\\\"awx-secret-key\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"SECRET_KEY\\\"},{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\",\\\"name\\\":\\\"awx-settings\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"settings.py\\\"},{\\\"mountPath\\\":\\\"/etc/nginx/nginx.conf\\\",\\\"name\\\":\\\"awx-nginx-conf\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"nginx.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/supervisor\\\",\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\",\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\",\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]},{\\\"args\\\":[\\\"/usr/bin/launch_awx_task.sh\\\"],\\\"env\\\":[{\\\"name\\\":\\\"SUPERVISOR_WEB_CONFIG_PATH\\\",\\\"value\\\":\\\"/etc/supervisord.conf\\\"},{\\\"name\\\":\\\"AWX_SKIP_MIGRATIONS\\\",\\\"value\\\":\\\"1\\\"},{\\\"name\\\":\\\"MY_POD_UID\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.uid\\\"}}},{\\\"name\\\":\\\"MY_POD_IP\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"status.podIP\\\"}}},{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.namespace\\\"}}}],\\\"image\\\":\\\"quay.io/ansible/awx:21.1.0\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-task\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"128Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"execution_environments.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"credentials.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"ldap.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\",\\\"name\\\":\\\"awx-secret-key\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"SECRET_KEY\\\"},{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\",\\\"name\\\":\\\"awx-settings\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"settings.py\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/supervisor\\\",\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\",\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\",\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\",\\\"name\\\":\\\"awx-receptor-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"receptor.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/receptor\\\",\\\"name\\\":\\\"receptor-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]},{\\\"args\\\":[\\\"receptor\\\",\\\"--config\\\",\\\"/etc/receptor/receptor.conf\\\"],\\\"env\\\":null,\\\"image\\\":\\\"quay.io/ansible/awx-ee:latest\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-ee\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"64Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\",\\\"name\\\":\\\"awx-receptor-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"receptor.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/receptor\\\",\\\"name\\\":\\\"receptor-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]}],\\\"initContainers\\\":null,\\\"priorityClassName\\\":\\\"\\\",\\\"serviceAccountName\\\":\\\"awx\\\",\\\"volumes\\\":[{\\\"name\\\":\\\"awx-application-credentials\\\",\\\"secret\\\":{\\\"items\\\":[{\\\"key\\\":\\\"credentials.py\\\",\\\"path\\\":\\\"credentials.py\\\"},{\\\"key\\\":\\\"ldap.py\\\",\\\"path\\\":\\\"ldap.py\\\"},{\\\"key\\\":\\\"execution_environments.py\\\",\\\"path\\\":\\\"execution_environments.py\\\"}],\\\"secretName\\\":\\\"awx-app-credentials\\\"}},{\\\"name\\\":\\\"awx-secret-key\\\",\\\"secret\\\":{\\\"items\\\":[{\\\"key\\\":\\\"secret_key\\\",\\\"path\\\":\\\"SECRET_KEY\\\"}],\\\"secretName\\\":\\\"awx-secret-key\\\"}},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"settings\\\",\\\"path\\\":\\\"settings.py\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-settings\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"nginx_conf\\\",\\\"path\\\":\\\"nginx.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-nginx-conf\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"redis_conf\\\",\\\"path\\\":\\\"redis.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-redis-config\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-redis-data\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"receptor-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"receptor_conf\\\",\\\"path\\\":\\\"receptor.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-receptor-config\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-projects\\\"}]}}}}\"}, \"creationTimestamp\": \"2022-06-15T02:57:28Z\", \"generation\": 55, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awx\", \"app.kubernetes.io/version\": \"21.1.0\"}, \"managedFields\": [{\"apiVersion\": \"apps/v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}, \"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}, \"f:app.kubernetes.io/version\": {}}, \"f:ownerReferences\": {\".\": {}, \"k:{\\\"uid\\\":\\\"75621000-9b12-4da6-a26e-5f6d2007e259\\\"}\": {}}}, \"f:spec\": {\"f:progressDeadlineSeconds\": {}, \"f:replicas\": {}, \"f:revisionHistoryLimit\": {}, \"f:selector\": {}, \"f:strategy\": {\"f:rollingUpdate\": {\".\": {}, \"f:maxSurge\": {}, \"f:maxUnavailable\": {}}, \"f:type\": {}}, \"f:template\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/part-of\": {}, \"f:app.kubernetes.io/version\": {}}}, \"f:spec\": {\"f:containers\": {\"k:{\\\"name\\\":\\\"awx-ee\\\"}\": {\".\": {}, \"f:args\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/receptor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"awx-task\\\"}\": {\".\": {}, \"f:args\": {}, \"f:env\": {\".\": {}, \"k:{\\\"name\\\":\\\"AWX_SKIP_MIGRATIONS\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}, \"k:{\\\"name\\\":\\\"MY_POD_IP\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"MY_POD_UID\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"SUPERVISOR_WEB_CONFIG_PATH\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/receptor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/supervisor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"awx-web\\\"}\": {\".\": {}, \"f:args\": {}, \"f:env\": {\".\": {}, \"k:{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"UWSGI_MOUNT_PATH\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:ports\": {\".\": {}, \"k:{\\\"containerPort\\\":8052,\\\"protocol\\\":\\\"TCP\\\"}\": {\".\": {}, \"f:containerPort\": {}, \"f:protocol\": {}}}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/nginx/nginx.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/supervisor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"redis\\\"}\": {\".\": {}, \"f:args\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/data\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/redis.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}}, \"f:dnsPolicy\": {}, \"f:restartPolicy\": {}, \"f:schedulerName\": {}, \"f:securityContext\": {}, \"f:serviceAccount\": {}, \"f:serviceAccountName\": {}, \"f:terminationGracePeriodSeconds\": {}, \"f:volumes\": {\".\": {}, \"k:{\\\"name\\\":\\\"awx-application-credentials\\\"}\": {\".\": {}, \"f:name\": {}, \"f:secret\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:secretName\": {}}}, \"k:{\\\"name\\\":\\\"awx-nginx-conf\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-projects\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-receptor-config\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-config\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-data\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-secret-key\\\"}\": {\".\": {}, \"f:name\": {}, \"f:secret\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:secretName\": {}}}, \"k:{\\\"name\\\":\\\"awx-settings\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"receptor-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"rsyslog-dir\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"rsyslog-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"supervisor-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}}}}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T03:34:52Z\"}, {\"apiVersion\": \"apps/v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\"f:deployment.kuber2022-06-15T03:35:49.552005568Z netes.io/revision\": {}}}, \"f:status\": {\"f:availableReplicas\": {}, \"f:conditions\": {\".\": {}, \"k:{\\\"type\\\":\\\"Available\\\"}\": {\".\": {}, \"f:lastTransitionTime\": {}, \"f:lastUpdateTime\": {}, \"f:message\": {}, \"f:reason\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Progressing\\\"}\": {\".\": {}, \"f:lastTransitionTime\": {}, \"f:lastUpdateTime\": {}, \"f:message\": {}, \"f:reason\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:observedGeneration\": {}, \"f:readyReplicas\": {}, \"f:replicas\": {}, \"f:updatedReplicas\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T03:34:54Z\"}], \"name\": \"awx\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWX\", \"name\": \"awx\", \"uid\": \"75621000-9b12-4da6-a26e-5f6d2007e259\"}], \"resourceVersion\": \"15807\", \"uid\": \"7a1e1cfa-f66e-412e-9d91-bb0337959119\"}, \"spec\": {\"progressDeadlineSeconds\": 600, \"replicas\": 1, \"revisionHistoryLimit\": 10, \"selector\": {\"matchLabels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\"}}, \"strategy\": {\"rollingUpdate\": {\"maxSurge\": \"25%\", \"maxUnavailable\": \"25%\"}, \"type\": \"RollingUpdate\"}, \"template\": {\"metadata\": {\"creationTimestamp\": null, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/part-of\": \"awx\", \"app.kubernetes.io/version\": \"21.1.0\"}}, \"spec\": {\"containers\": [{\"args\": [\"redis-server\", \"/etc/redis.conf\"], \"image\": \"docker.io/redis:latest\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"redis\", \"resources\": {\"requests\": {\"cpu\": \"50m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/redis.conf\", \"name\": \"awx-redis-config\", \"readOnly\": true, \"subPath\": \"redis.conf\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/data\", \"name\": \"awx-redis-data\"}]}, {\"args\": [\"/usr/bin/launch_awx.sh\"], \"env\": [{\"name\": \"MY_POD_NAMESPACE\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}}}, {\"name\": \"UWSGI_MOUNT_PATH\", \"value\": \"/\"}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-web\", \"ports\": [{\"containerPort\": 8052, \"protocol\": \"TCP\"}], \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"128Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/tower/conf.d/execution_environments.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"execution_environments.py\"}, {\"mountPath\": \"/etc/tower/conf.d/credentials.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"credentials.py\"}, {\"mountPath\": \"/etc/tower/conf.d/ldap.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"ldap.py\"}, {\"mountPath\": \"/etc/tower/SECRET_KEY\", \"name\": \"awx-secret-key\", \"readOnly\": true, \"subPath\": \"SECRET_KEY\"}, {\"mountPath\": \"/etc/tower/settings.py\", \"name\": \"awx-settings\", \"readOnly\": true, \"subPath\": \"settings.py\"}, {\"mountPath\": \"/etc/nginx/nginx.conf\", \"name\": \"awx-nginx-conf\", \"readOnly\": true, \"subPath\": \"nginx.conf\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/var/run/supervisor\", \"name\": \"supervisor-socket\"}, {\"mountPath\": \"/var/run/awx-rsyslog\", \"name\": \"rsyslog-socket\"}, {\"mountPath\": \"/var/lib/awx/rsyslog\", \"name\": \"rsyslog-dir\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}, {\"args\": [\"/usr/bin/launch_awx_task.sh\"], \"env\": [{\"name\": \"SUPERVISOR_WEB_CONFIG_PATH\", \"value\": \"/etc/supervisord.conf\"}, {\"name\": \"AWX_SKIP_MIGRATIONS\", \"value\": \"1\"}, {\"name\": \"MY_POD_UID\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.uid\"}}}, {\"name\": \"MY_POD_IP\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"status.podIP\"}}}, {\"name\": \"MY_POD_NAMESPACE\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}}}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-task\", \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"128Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/tower/conf.d/execution_environments.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"execution_environments.py\"}, {\"mountPath\": \"/etc/tower/conf.d/credentials.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"credentials.py\"}, {\"mountPath\": \"/etc/tower/conf.d/ldap.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"ldap.py\"}, {\"mountPath\": \"/etc/tower/SECRET_KEY\", \"name\": \"awx-secret-key\", \"readOnly\": true, \"subPath\": \"SECRET_KEY\"}, {\"mountPath\": \"/etc/tower/settings.py\", \"name\": \"awx-settings\", \"readOnly\": true, \"subPath\": \"settings.py\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/var/run/supervisor\", \"name\": \"supervisor-socket\"}, {\"mountPath\": \"/var/run/awx-rsyslog\", \"name\": \"rsyslog-socket\"}, {\"mountPath\": \"/var/lib/awx/rsyslog\", \"name\": \"rsyslog-dir\"}, {\"mountPath\": \"/etc/receptor/receptor.conf\", \"name\": \"awx-receptor-config\", \"readOnly\": true, \"subPath\": \"receptor.conf\"}, {\"mountPath\": \"/var/run/receptor\", \"name\": \"receptor-socket\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}, {\"args\": [\"receptor\", \"--config\", \"/etc/receptor/receptor.conf\"], \"image\": \"quay.io/ansible/awx-ee:latest\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-ee\", \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/receptor/receptor.conf\", \"name\": \"awx-receptor-config\", \"readOnly\": true, \"subPath\": \"receptor.conf\"}, {\"mountPath\": \"/var/run/receptor\", \"name\": \"receptor-socket\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}], \"dnsPolicy\": \"ClusterFirst\", \"restartPolicy\": \"Always\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"awx\", \"serviceAccountName\": \"awx\", \"terminationGracePeriodSeconds\": 30, \"volumes\": [{\"name\": \"awx-application-credentials\", \"secret\": {\"defaultMode\": 420, \"items\": [{\"key\": \"credentials.py\", \"path\": \"credentials.py\"}, {\"key\": \"ldap.py\", \"path\": \"ldap.py\"}, {\"key\": \"execution_environments.py\", \"path\": \"execution_environments.py\"}], \"secretName\": \"awx-app-credentials\"}}, {\"name\": \"awx-secret-key\", \"secret\": {\"defaultMode\": 420, \"items\": [{\"key\": \"secret_key\", \"path\": \"SECRET_KEY\"}], \"secretName\": \"awx-secret-key\"}}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"settings\", \"path\": \"settings.py\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-settings\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"nginx_conf\", \"path\": \"nginx.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-nginx-conf\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"redis_conf\", \"path\": \"redis.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-redisok: [localhost] => {\"changed\": false, \"duration\": 0, \"result\": {\"apiVersion\": \"apps/v1\", \"kind\": \"Deployment\", \"metadata\": {\"annotations\": {\"deployment.kubernetes.io/revision\": \"1\", \"kubectl.kubernetes.io/last-applied-configuration\": \"{\\\"apiVersion\\\":\\\"apps/v1\\\",\\\"kind\\\":\\\"Deployment\\\",\\\"metadata\\\":{\\\"labels\\\":{\\\"app.kubernetes.io/component\\\":\\\"awx\\\",\\\"app.kubernetes.io/managed-by\\\":\\\"awx-operator\\\",\\\"app.kubernetes.io/name\\\":\\\"awx\\\",\\\"app.kubernetes.io/operator-version\\\":\\\"0.22.0\\\",\\\"app.kubernetes.io/part-of\\\":\\\"awx\\\",\\\"app.kubernetes.io/version\\\":\\\"21.1.0\\\"},\\\"name\\\":\\\"awx\\\",\\\"namespace\\\":\\\"awx\\\"},\\\"spec\\\":{\\\"replicas\\\":1,\\\"selector\\\":{\\\"matchLabels\\\":{\\\"app.kubernetes.io/component\\\":\\\"awx\\\",\\\"app.kubernetes.io/managed-by\\\":\\\"awx-operator\\\",\\\"app.kubernetes.io/name\\\":\\\"awx\\\"}},\\\"template\\\":{\\\"metadata\\\":{\\\"labels\\\":{\\\"app.kubernetes.io/component\\\":\\\"awx\\\",\\\"app.kubernetes.io/managed-by\\\":\\\"awx-operator\\\",\\\"app.kubernetes.io/name\\\":\\\"awx\\\",\\\"app.kubernetes.io/part-of\\\":\\\"awx\\\",\\\"app.kubernetes.io/version\\\":\\\"21.1.0\\\"}},\\\"spec\\\":{\\\"containers\\\":[{\\\"args\\\":[\\\"redis-server\\\",\\\"/etc/redis.conf\\\"],\\\"image\\\":\\\"docker.io/redis:latest\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"redis\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"50m\\\",\\\"memory\\\":\\\"64Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/redis.conf\\\",\\\"name\\\":\\\"awx-redis-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"redis.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/data\\\",\\\"name\\\":\\\"awx-redis-data\\\"}]},{\\\"args\\\":[\\\"/usr/bin/launch_awx.sh\\\"],\\\"env\\\":[{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.namespace\\\"}}},{\\\"name\\\":\\\"UWSGI_MOUNT_PATH\\\",\\\"value\\\":\\\"/\\\"}],\\\"image\\\":\\\"quay.io/ansible/awx:21.1.0\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-web\\\",\\\"ports\\\":[{\\\"containerPort\\\":8052}],\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"128Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"execution_environments.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"credentials.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"ldap.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\",\\\"name\\\":\\\"awx-secret-key\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"SECRET_KEY\\\"},{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\",\\\"name\\\":\\\"awx-settings\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"settings.py\\\"},{\\\"mountPath\\\":\\\"/etc/nginx/nginx.conf\\\",\\\"name\\\":\\\"awx-nginx-conf\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"nginx.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/supervisor\\\",\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\",\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\",\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]},{\\\"args\\\":[\\\"/usr/bin/launch_awx_task.sh\\\"],\\\"env\\\":[{\\\"name\\\":\\\"SUPERVISOR_WEB_CONFIG_PATH\\\",\\\"value\\\":\\\"/etc/supervisord.conf\\\"},{\\\"name\\\":\\\"AWX_SKIP_MIGRATIONS\\\",\\\"value\\\":\\\"1\\\"},{\\\"name\\\":\\\"MY_POD_UID\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.uid\\\"}}},{\\\"name\\\":\\\"MY_POD_IP\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"status.podIP\\\"}}},{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\",\\\"valueFrom\\\":{\\\"fieldRef\\\":{\\\"fieldPath\\\":\\\"metadata.namespace\\\"}}}],\\\"image\\\":\\\"quay.io/ansible/awx:21.1.0\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-task\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"128Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"execution_environments.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"credentials.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\",\\\"name\\\":\\\"awx-application-credentials\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"ldap.py\\\"},{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\",\\\"name\\\":\\\"awx-secret-key\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"SECRET_KEY\\\"},{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\",\\\"name\\\":\\\"awx-settings\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"settings.py\\\"},{\\\"mountPath\\\":\\\"/var/run/redis\\\",\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/supervisor\\\",\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\",\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\",\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\",\\\"name\\\":\\\"awx-receptor-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"receptor.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/receptor\\\",\\\"name\\\":\\\"receptor-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]},{\\\"args\\\":[\\\"receptor\\\",\\\"--config\\\",\\\"/etc/receptor/receptor.conf\\\"],\\\"env\\\":null,\\\"image\\\":\\\"quay.io/ansible/awx-ee:latest\\\",\\\"imagePullPolicy\\\":\\\"IfNotPresent\\\",\\\"name\\\":\\\"awx-ee\\\",\\\"resources\\\":{\\\"requests\\\":{\\\"cpu\\\":\\\"100m\\\",\\\"memory\\\":\\\"64Mi\\\"}},\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\",\\\"name\\\":\\\"awx-receptor-config\\\",\\\"readOnly\\\":true,\\\"subPath\\\":\\\"receptor.conf\\\"},{\\\"mountPath\\\":\\\"/var/run/receptor\\\",\\\"name\\\":\\\"receptor-socket\\\"},{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\",\\\"name\\\":\\\"awx-projects\\\"}]}],\\\"initContainers\\\":null,\\\"priorityClassName\\\":\\\"\\\",\\\"serviceAccountName\\\":\\\"awx\\\",\\\"volumes\\\":[{\\\"name\\\":\\\"awx-application-credentials\\\",\\\"secret\\\":{\\\"items\\\":[{\\\"key\\\":\\\"credentials.py\\\",\\\"path\\\":\\\"credentials.py\\\"},{\\\"key\\\":\\\"ldap.py\\\",\\\"path\\\":\\\"ldap.py\\\"},{\\\"key\\\":\\\"execution_environments.py\\\",\\\"path\\\":\\\"execution_environments.py\\\"}],\\\"secretName\\\":\\\"awx-app-credentials\\\"}},{\\\"name\\\":\\\"awx-secret-key\\\",\\\"secret\\\":{\\\"items\\\":[{\\\"key\\\":\\\"secret_key\\\",\\\"path\\\":\\\"SECRET_KEY\\\"}],\\\"secretName\\\":\\\"awx-secret-key\\\"}},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"settings\\\",\\\"path\\\":\\\"settings.py\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-settings\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"nginx_conf\\\",\\\"path\\\":\\\"nginx.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-nginx-conf\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"redis_conf\\\",\\\"path\\\":\\\"redis.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-redis-config\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-redis-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-redis-data\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"supervisor-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"rsyslog-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"receptor-socket\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"rsyslog-dir\\\"},{\\\"configMap\\\":{\\\"items\\\":[{\\\"key\\\":\\\"receptor_conf\\\",\\\"path\\\":\\\2022-06-15T03:35:49.552027113Z "receptor.conf\\\"}],\\\"name\\\":\\\"awx-awx-configmap\\\"},\\\"name\\\":\\\"awx-receptor-config\\\"},{\\\"emptyDir\\\":{},\\\"name\\\":\\\"awx-projects\\\"}]}}}}\"}, \"creationTimestamp\": \"2022-06-15T02:57:28Z\", \"generation\": 55, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/operator-version\": \"0.22.0\", \"app.kubernetes.io/part-of\": \"awx\", \"app.kubernetes.io/version\": \"21.1.0\"}, \"managedFields\": [{\"apiVersion\": \"apps/v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\".\": {}, \"f:kubectl.kubernetes.io/last-applied-configuration\": {}}, \"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/operator-version\": {}, \"f:app.kubernetes.io/part-of\": {}, \"f:app.kubernetes.io/version\": {}}, \"f:ownerReferences\": {\".\": {}, \"k:{\\\"uid\\\":\\\"75621000-9b12-4da6-a26e-5f6d2007e259\\\"}\": {}}}, \"f:spec\": {\"f:progressDeadlineSeconds\": {}, \"f:replicas\": {}, \"f:revisionHistoryLimit\": {}, \"f:selector\": {}, \"f:strategy\": {\"f:rollingUpdate\": {\".\": {}, \"f:maxSurge\": {}, \"f:maxUnavailable\": {}}, \"f:type\": {}}, \"f:template\": {\"f:metadata\": {\"f:labels\": {\".\": {}, \"f:app.kubernetes.io/component\": {}, \"f:app.kubernetes.io/managed-by\": {}, \"f:app.kubernetes.io/name\": {}, \"f:app.kubernetes.io/part-of\": {}, \"f:app.kubernetes.io/version\": {}}}, \"f:spec\": {\"f:containers\": {\"k:{\\\"name\\\":\\\"awx-ee\\\"}\": {\".\": {}, \"f:args\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/receptor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"awx-task\\\"}\": {\".\": {}, \"f:args\": {}, \"f:env\": {\".\": {}, \"k:{\\\"name\\\":\\\"AWX_SKIP_MIGRATIONS\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}, \"k:{\\\"name\\\":\\\"MY_POD_IP\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"MY_POD_UID\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"SUPERVISOR_WEB_CONFIG_PATH\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/receptor/receptor.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/receptor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/supervisor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"awx-web\\\"}\": {\".\": {}, \"f:args\": {}, \"f:env\": {\".\": {}, \"k:{\\\"name\\\":\\\"MY_POD_NAMESPACE\\\"}\": {\".\": {}, \"f:name\": {}, \"f:valueFrom\": {\".\": {}, \"f:fieldRef\": {}}}, \"k:{\\\"name\\\":\\\"UWSGI_MOUNT_PATH\\\"}\": {\".\": {}, \"f:name\": {}, \"f:value\": {}}}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:ports\": {\".\": {}, \"k:{\\\"containerPort\\\":8052,\\\"protocol\\\":\\\"TCP\\\"}\": {\".\": {}, \"f:containerPort\": {}, \"f:protocol\": {}}}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/etc/nginx/nginx.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/SECRET_KEY\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/credentials.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/execution_environments.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/conf.d/ldap.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/tower/settings.py\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/projects\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/lib/awx/rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/awx-rsyslog\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/supervisor\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}, \"k:{\\\"name\\\":\\\"redis\\\"}\": {\".\": {}, \"f:args\": {}, \"f:image\": {}, \"f:imagePullPolicy\": {}, \"f:name\": {}, \"f:resources\": {\".\": {}, \"f:requests\": {\".\": {}, \"f:cpu\": {}, \"f:memory\": {}}}, \"f:terminationMessagePath\": {}, \"f:terminationMessagePolicy\": {}, \"f:volumeMounts\": {\".\": {}, \"k:{\\\"mountPath\\\":\\\"/data\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}, \"k:{\\\"mountPath\\\":\\\"/etc/redis.conf\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}, \"f:readOnly\": {}, \"f:subPath\": {}}, \"k:{\\\"mountPath\\\":\\\"/var/run/redis\\\"}\": {\".\": {}, \"f:mountPath\": {}, \"f:name\": {}}}}}, \"f:dnsPolicy\": {}, \"f:restartPolicy\": {}, \"f:schedulerName\": {}, \"f:securityContext\": {}, \"f:serviceAccount\": {}, \"f:serviceAccountName\": {}, \"f:terminationGracePeriodSeconds\": {}, \"f:volumes\": {\".\": {}, \"k:{\\\"name\\\":\\\"awx-application-credentials\\\"}\": {\".\": {}, \"f:name\": {}, \"f:secret\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:secretName\": {}}}, \"k:{\\\"name\\\":\\\"awx-nginx-conf\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-projects\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-receptor-config\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-config\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-data\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-redis-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"awx-secret-key\\\"}\": {\".\": {}, \"f:name\": {}, \"f:secret\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:secretName\": {}}}, \"k:{\\\"name\\\":\\\"awx-settings\\\"}\": {\".\": {}, \"f:configMap\": {\".\": {}, \"f:defaultMode\": {}, \"f:items\": {}, \"f:name\": {}}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"receptor-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"rsyslog-dir\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"rsyslog-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}, \"k:{\\\"name\\\":\\\"supervisor-socket\\\"}\": {\".\": {}, \"f:emptyDir\": {}, \"f:name\": {}}}}}}}, \"manager\": \"OpenAPI-Generator\", \"operation\": \"Update\", \"time\": \"2022-06-15T03:34:52Z\"}, {\"apiVersion\": \"apps/v1\", \"fieldsType\": \"FieldsV1\", \"fieldsV1\": {\"f:metadata\": {\"f:annotations\": {\"f:deployment.kubernetes.io/revision\": {}}}, \"f:status\": {\"f:availableReplicas\": {}, \"f:conditions\": {\".\": {}, \"k:{\\\"type\\\":\\\"Available\\\"}\": {\".\": {}, \"f:lastTransitionTime\": {}, \"f:lastUpdateTime\": {}, \"f:message\": {}, \"f:reason\": {}, \"f:status\": {}, \"f:type\": {}}, \"k:{\\\"type\\\":\\\"Progressing\\\"}\": {\".\": {}, \"f:lastTransitionTime\": {}, \"f:lastUpdateTime\": {}, \"f:message\": {}, \"f:reason\": {}, \"f:status\": {}, \"f:type\": {}}}, \"f:observedGeneration\": {}, \"f:readyReplicas\": {}, \"f:replicas\": {}, \"f:updatedReplicas\": {}}}, \"manager\": \"k3s\", \"operation\": \"Update\", \"subresource\": \"status\", \"time\": \"2022-06-15T03:34:54Z\"}], \"name\": \"awx\", \"namespace\": \"awx\", \"ownerReferences\": [{\"apiVersion\": \"awx.ansible.com/v1beta1\", \"kind\": \"AWX\", \"name\": \"awx\", \"uid\": \"75621000-9b12-4da6-a26e-5f6d2007e259\"}], \"resourceVersion\": \"15807\", \"uid\": \"7a1e1cfa-f66e-412e-9d91-bb0337959119\"}, \"spec\": {\"progressDeadlineSeconds\": 600, \"replicas\": 1, \"revisionHistoryLimit\": 10, \"selector\": {\"matchLabels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\"}}, \"strategy\": {\"rollingUpdate\": {\"maxSurge\": \"25%\", \"maxUnavailable\": \"25%\"}, \"type\": \"RollingUpdate\"}, \"template\": {\"metadata\": {\"creationTimestamp\": null, \"labels\": {\"app.kubernetes.io/component\": \"awx\", \"app.kubernetes.io/managed-by\": \"awx-operator\", \"app.kubernetes.io/name\": \"awx\", \"app.kubernetes.io/part-of\": \"awx\", \"app.kubernetes.io/version\": \"21.1.0\"}}, \"spec\": {\"containers\": [{\"args\": [\"redis-server\", \"/etc/redis.conf\"], \"image\": \"docker.io/redis:latest\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"redis\", \"resources\": {\"requests\": {\"cpu\": \"50m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/redis.conf\", \"name\": \"awx-redis-config\", \"readOnly\": true, \"subPath\": \"redis.conf\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/data\", \"name\": \"awx-redis-data\"}]}, {\"args\": [\"/usr/bin/launch_awx.sh\"], \"env\": [{\"name\": \"MY_POD_NAMESPACE\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}}}, {\"name\": \"UWSGI_MOUNT_PATH\", \"value\": \"/\"}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-web\", \"ports\": [{\"containerPort\": 8052, \"protocol\": \"TCP\"}], \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"128Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/tower/conf.d/execution_environments.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"execution_environments.py\"}, {\"mountPath\": \"/etc/tower/conf.d/credentials.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"credentials.py\"}, {\"mountPath\": \"/etc/tower/conf.d/ldap.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"ldap.py\"}, {\"mountPath\": \"/etc/tower/SECRET_KEY\", \"name\": \"awx-secret-key\", \"readOnly\": true, \"subPath\": \"SECRET_KEY\"}, {\"mountPath\": \"/etc/tower/settings.py\", \"name\": \"awx-settings\", \"readOnly\": true, \"subPath\": \"settings.py\"}, {\"mountPath\": \"/etc/nginx/nginx.conf\", \"name\": \"awx-nginx-conf\", \"readOnly\": true, \"subPath\": \"nginx.conf\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/var/run/supervisor\", \"name\": \"supervisor-socket\"}, {\"mountPath\": \"/var/run/awx-rsyslog\", \"name\": \"rsyslog-socket\"}, {\"mountPath\": \"/var/lib/awx/rsyslog\", \"name\": \"rsyslog-dir\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}, {\"args\": [\"/usr/bin/launch_awx_task.sh\"], \"env\": [{\"name\": \"SUPERVISOR_WEB_CONFIG_PATH\", \"value\": \"/etc/supervisord.conf\"}, {\"name\": \"AWX_SKIP_MIGRATIONS\", \"value\": \"1\"}, {\"name\": \"MY_POD_UID\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.uid\"}}}, {\"name\": \"MY_POD_IP\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"status.podIP\"}}}, {\"name\": \"MY_POD_NAMESPACE\", \"valueFrom\": {\"fieldRef\": {\"apiVersion\": \"v1\", \"fieldPath\": \"metadata.namespace\"}}}], \"image\": \"quay.io/ansible/awx:21.1.0\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-task\", \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"128Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/tower/conf.d/execution_environments.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"execution_environments.py\"}, {\"mountPath\": \"/etc/tower/conf.d/credentials.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"credentials.py\"}, {\"mountPath\": \"/etc/tower/conf.d/ldap.py\", \"name\": \"awx-application-credentials\", \"readOnly\": true, \"subPath\": \"ldap.py\"}, {\"mountPath\": \"/etc/tower/SECRET_KEY\", \"name\": \"awx-secret-key\", \"readOnly\": true, \"subPath\": \"SECRET_KEY\"}, {\"mountPath\": \"/etc/tower/settings.py\", \"name\": \"awx-settings\", \"readOnly\": true, \"subPath\": \"settings.py\"}, {\"mountPath\": \"/var/run/redis\", \"name\": \"awx-redis-socket\"}, {\"mountPath\": \"/var/run/supervisor\", \"name\": \"supervisor-socket\"}, {\"mountPath\": \"/var/run/awx-rsyslog\", \"name\": \"rsyslog-socket\"}, {\"mountPath\": \"/var/lib/awx/rsyslog\", \"name\": \"rsyslog-dir\"}, {\"mountPath\": \"/etc/receptor/receptor.conf\", \"name\": \"awx-receptor-config\", \"readOnly\": true, \"subPath\": \"receptor.conf\"}, {\"mountPath\": \"/var/run/receptor\", \"name\": \"receptor-socket\"}, {\"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}, {\"args\": [\"receptor\", \"--config\", \"/etc/receptor/receptor.conf\"], \"image\": \"quay.io/ansible/awx-ee:latest\", \"imagePullPolicy\": \"IfNotPresent\", \"name\": \"awx-ee\", \"resources\": {\"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"terminationMessagePath\": \"/dev/termination-log\", \"terminationMessagePolicy\": \"File\", \"volumeMounts\": [{\"mountPath\": \"/etc/receptor/receptor.conf\", \"name\": \"awx-receptor-config\", \"readOnly\": true, \"subPath\": \"receptor.conf\"}, {\"mountPath\": \"/var/run/receptor\", \"name\": \"receptor-socket\"}, {2022-06-15T03:35:49.552050385Z \"mountPath\": \"/var/lib/awx/projects\", \"name\": \"awx-projects\"}]}], \"dnsPolicy\": \"ClusterFirst\", \"restartPolicy\": \"Always\", \"schedulerName\": \"default-scheduler\", \"securityContext\": {}, \"serviceAccount\": \"awx\", \"serviceAccountName\": \"awx\", \"terminationGracePeriodSeconds\": 30, \"volumes\": [{\"name\": \"awx-application-credentials\", \"secret\": {\"defaultMode\": 420, \"items\": [{\"key\": \"credentials.py\", \"path\": \"credentials.py\"}, {\"key\": \"ldap.py\", \"path\": \"ldap.py\"}, {\"key\": \"execution_environments.py\", \"path\": \"execution_environments.py\"}], \"secretName\": \"awx-app-credentials\"}}, {\"name\": \"awx-secret-key\", \"secret\": {\"defaultMode\": 420, \"items\": [{\"key\": \"secret_key\", \"path\": \"SECRET_KEY\"}], \"secretName\": \"awx-secret-key\"}}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"settings\", \"path\": \"settings.py\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-settings\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"nginx_conf\", \"path\": \"nginx.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-nginx-conf\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"redis_conf\", \"path\": \"redis.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-redis-config\"}, {\"emptyDir\": {}, \"name\": \"awx-redis-socket\"}, {\"emptyDir\": {}, \"name\": \"awx-redis-data\"}, {\"emptyDir\": {}, \"name\": \"supervisor-socket\"}, {\"emptyDir\": {}, \"name\": \"rsyslog-socket\"}, {\"emptyDir\": {}, \"name\": \"receptor-socket\"}, {\"emptyDir\": {}, \"name\": \"rsyslog-dir\"}, {\"configMap\": {\"defaultMode\": 420, \"items\": [{\"key\": \"receptor_conf\", \"path\": \"receptor.conf\"}], \"name\": \"awx-awx-configmap\"}, \"name\": \"awx-receptor-config\"}, {\"emptyDir\": {}, \"name\": \"awx-projects\"}]}}}, \"status\": {\"availableReplicas\": 1, \"conditions\": [{\"lastTransitionTime\": \"2022-06-15T02:57:28Z\", \"lastUpdateTime\": \"2022-06-15T02:57:30Z\", \"message\": \"ReplicaSet \\\"awx-5d54c8b8c4\\\" has successfully progressed.\", \"reason\": \"NewReplicaSetAvailable\", \"status\": \"True\", \"type\": \"Progressing\"}, {\"lastTransitionTime\": \"2022-06-15T03:34:54Z\", \"lastUpdateTime\": \"2022-06-15T03:34:54Z\", \"message\": \"Deployment has minimum availability.\", \"reason\": \"MinimumReplicasAvailable\", \"status\": \"True\", \"type\": \"Available\"}], \"observedGeneration\": 55, \"readyReplicas\": 1, \"replicas\": 1, \"updatedReplicas\": 1}}}\n\r\nTASK [restore : Set full resolvable host name for postgres pod] ****************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:66\nok: [localhost] => {\"ansible_facts\": {\"resolvable_db_host\": \"awx-postgres.awx.svc.cluster.local\"}, \"changed\": false}\n\r\nTASK [Set pg_restore command] **************************************************\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:72\nok: [localhost] => {\"ansible_facts\": {\"pg_restore\": \"pg_restore --clean --if-exists -U awx -h awx-postgres.awx.svc.cluster.local -U awx -d awx -p 5432\"}, \"changed\": false}\n\r\nTASK [restore : Restore database dump to the new postgresql container] *********\r\ntask path: /opt/ansible/roles/restore/tasks/postgres.yml:83\n15_02_modified_idx awx\\npg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220615_02_modified_idx because index public.main_projectupdateevent_modified_9b0b80e7 requires it\\nHINT:  You can drop index public.main_projectupdateevent_modified_9b0b80e7 instead.\\nCommand was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220615_02_modified_idx;\\npg_restore: from TOC entry 4847; 2606 21346 CONSTRAINT main_projectupdateevent_20220615_02 main_projectupdateevent_20220615_02_pkey awx\\npg_restore: error: could not execute query: ERROR:  cannot drop inherited constraint \\\"main_projectupdateevent_20220615_02_pkey\\\" of relation \\\"main_projectupdateevent_20220615_02\\\"\\nCommand was: ALTER TABLE IF EXISTS ONLY public.main_projectupdateevent_20220615_02 DROP CONSTRAINT IF EXISTS main_projectupdateevent_20220615_02_pkey;\\npg_restore: warning: errors ignored on restore: 5\\n\", \"stderr_lines\": [\"pg_restore: while PROCESSING TOC:\", \"pg_restore: from TOC entry 4850; 1259 21348 INDEX main_projectupdateevent_20220_project_update_id_job_created_idx awx\", \"pg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220_project_update_id_job_created_idx because index public.main_projectupdateevent_project_update_id_job_cr_8134e7a9_idx requires it\", \"HINT:  You can drop index public.main_projectupdateevent_project_update_id_job_cr_8134e7a9_idx instead.\", \"Command was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220_project_update_id_job_created_idx;\", \"pg_restore: from TOC entry 4849; 1259 21350 INDEX main_projectupdateevent_20220_project_update_id_job_create_idx2 awx\", \"pg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220_project_update_id_job_create_idx2 because index public.main_projectupdateevent_project_update_id_job_cr_a6cb1fbf_idx requires it\", \"HINT:  You can drop index public.main_projectupdateevent_project_update_id_job_cfatal: [localhost]: FAILED! => {\"changed\": true, \"failed_when_result\": true, \"return_code\": 1, \"stderr\": \"pg_restore: while PROCESSING TOC:\\npg_restore: from TOC entry 4850; 1259 21348 INDEX main_projectupdateevent_20220_project_update_id_job_created_idx awx\\npg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220_project_update_id_job_created_idx because index public.main_projectupdateevent_project_update_id_job_cr_8134e7a9_idx requires it\\nHINT:  You can drop index public.main_projectupdateevent_project_update_id_job_cr_8134e7a9_idx instead.\\nCommand was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220_project_update_id_job_created_idx;\\npg_restore: from TOC entry 4849; 1259 21350 INDEX main_projectupdateevent_20220_project_update_id_job_create_idx2 awx\\npg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220_project_update_id_job_create_idx2 because index public.main_projectupdateevent_project_update_id_job_cr_a6cb1fbf_idx requires it\\nHINT:  You can drop index public.main_projectupdateevent_project_update_id_job_cr_a6cb1fbf_idx instead.\\nCommand was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220_project_update_id_job_create_idx2;\\npg_restore: from TOC entry 4848; 1259 21349 INDEX main_projectupdateevent_20220_project_update_id_job_create_idx1 awx\\npg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220_project_update_id_job_create_idx1 because index public.main_projectupdateevent_project_update_id_job_cr_5cbbbd25_idx requires it\\nHINT:  You can drop index public.main_projectupdateevent_project_update_id_job_cr_5cbbbd25_idx instead.\\nCommand was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220_project_update_id_job_create_idx1;\\npg_restore: from TOC entry 4845; 1259 21347 INDEX main_projectupdateevent_20220615_02_modified_idx awx\\npg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220615_02_modified_idx because index public.main_projectupdateevent_modified_9b0b80e7 requires it\\nHINT:  You can drop index public.main_projectupdateevent_modified_9b0b80e7 instead.\\nCommand was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220615_02_modified_idx;\\npg_restore: from TOC entry 4847; 2606 21346 CONSTRAINT main_projectupdateevent_20220615_02 main_projectupdateevent_20220615_02_pkey awx\\npg_restore: error: could not execute query: ERROR:  cannot drop inherited constraint \\\"main_projectupdateevent_20220615_02_pkey\\\" of relation \\\"main_projectupdateevent_20220615_02\\\"\\nCommand was: ALTER TABLE IF EXISTS ONLY public.main_projectupdateevent_20220615_02 DROP CONSTRAINT IF EXISTS main_projectupdateevent_20220615_02_pkey;\\npg_restore: warning: errors ignored on restore: 5\\n\", \"stderr_lines\": [\"pg_restore: while PROCESSING TOC:\", \"pg_restore: from TOC entry 4850; 1259 21348 INDEX main_projectupdateevent_20220_project_update_id_job_created_idx awx\", \"pg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220_project_update_id_job_created_idx because index public.main_projectupdateevent_project_update_id_job_cr_8134e7a9_idx requires it\", \"HINT:  You can drop index public.main_projectupdateevent_project_update_id_job_cr_8134e7a9_idx instead.\", \"Command was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220_project_update_id_job_created_idx;\", \"pg_restore: from TOC entry 4849; 1259 21350 INDEX main_projectupdateevent_20220_project_update_id_job_create_idx2 awx\", \"pg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220_project_update_id_job_create_idx2 because index public.main_projectupdateevent_project_update_id_job_cr_a6cb1fbf_idx requires it\", \"HINT:  You can drop index public.main_projectupdateevent_project_update_id_job_cr_a6cb1fbf_idx instead.\", \"Command was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220_project_update_id_job_create_idx2;\", \"pg_restore: from TOC entry 4848; 1259 21349 INDEX main_projectupdateevent_20220_project_update_id_job_create_idx1 awx\", \"pg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220_project_update_id_job_create_idx1 because index public.main_projectupdateevent_project_update_id_job_cr_5cbbbd25_idx requires it\", \"HINT:  You can drop index public.main_projectupdateevent_project_update_id_job_cr_5cbbbd25_idx instead.\", \"Command was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220_project_update_id_job_create_idx1;\", \"pg_restore: from TOC entry 4845; 1259 21347 INDEX main_projectupdateevent_20220615_02_modified_idx awx\", \"pg_restore: error: could not execute query: ERROR:  cannot drop index public.main_projectupdateevent_20220615_02_modified_idx because index public.main_projectupdateevent_modified_9b0b80e7 requires it\", \"HINT:  You can drop index public.main_projectupdateevent_modified_9b0b80e7 instead.\", \"Command was: DROP INDEX IF EXISTS public.main_projectupdateevent_20220615_02_modified_idx;\", \"pg_restore: from TOC entry 4847; 2606 21346 CONSTRAINT main_projectupdateevent_20220615_02 main_projectupdateevent_20220615_02_pkey awx\", \"pg_restore: error: could not execute query: ERROR:  cannot drop inherited constraint \\\"main_projectupdateevent_20220615_02_pkey\\\" of relation \\\"main_projectupdateevent_20220615_02\\\"\", \"Command was: ALTER TABLE IF EXISTS ONLY public.main_projectupdateevent_20220615_02 DROP CONSTRAINT IF EXISTS main_projectupdateevent_20220615_02_pkey;\", \"pg_restore: warning: errors ignored on restore: 5\"], \"stdout\": \"\", \"stdout_lines\": []}\n\r\nPLAY RECAP *********************************************************************\r\nlocalhost                  : ok=41   changed=9    unreachable=0    failed=1    skipped=13   rescued=0    ignored=0   \r\n\n","job":"7599735123028617627","name":"awxbackup-andrew","namespace":"awx","error":"exit status 2"}

This is just a backup of vanilla awx installation with the operator, nothing fancy or custom, just like in OP.

AndrewSav commented 1 year ago

So based on this error message it happens when we are trying to restore on top of existing postgres database. If before restore we remove the PV with postgres data it works...

AndrewSav commented 1 year ago

I also should mention that the PV needs to be remove in such a manner not to let the awx pod to get a chance to re-create the schema. I'm scaling down the awx pod as soon as it comes up during the restore process, delete the PV, and scale up the awx pod after the restore is completed.

RummsMurmel commented 1 year ago

I'm not sure if I understand your approach.

I have an empty cluster in my scenario where I create only the awx-operator and the backup PVC. I then run the AWXRestore job to have a completely new AWX instance created from it.

At this point I have no already deployed instance and no existing postgres database in the cluster.

AndrewSav commented 1 year ago

Yeah, so what happens is that the restore process creates an instance of awx CRD from your backup. The operator picks up that instance and brings up awx and postgres. awx then sees a empty postgres database and initializes it. After that the restore is trying to apply the pgdump on top of that database which fails. If I make sure that the restore process is running on top of an empty postgres instance as opposed to running on top of the awx database initialized by the awx pod, it works.

Note, that I'm not implying that this is how it is supposed to operate, it is clearly a bug, I'm just sharing the workaround that worked for me, and hopefully providing some insight for the devs that might help fix it. It could be a race - if the restore kick in before the awx had the chance to initialise the db it might work out of the box, although I never seen it working like that.

RummsMurmel commented 1 year ago

wow, thanks a lot - this workaround actually works.

However, since the operator in continuous loop scales the AWX deployment back up to 1, it is a matter of good timing of:

  1. scale AWX deployment to 0.
  2. scale awx-postgres statefulset to 0.
  3. delete content of postgres PVC
  4. awx-postgres statefulset scale to 1
  5. make sure that the AWX deployment scale remains set to 0 in case the operator interferes again

In this case the restore job can go through. Once the restore pod is done, the AWX deployment can then be scaled back to 1 and we finaly restored all data from the backup.

However, it would be really good to include this as a known bug and fix it - as long as an AWX restore job is running, the operator should not be allowed to start AWX instances.

AndrewSav commented 1 year ago

However, since the operator in continuous loop scales the AWX deployment back up to 1

Interesting, may be they "fixed" this in the last release. Before that when I was testing last week, the operator did not scale the deployment back to 1.

shanemcd commented 1 year ago

Hi folks, sorry for the delayed response here. Is anyone still seeing this on the latest version?

yug0slav commented 1 year ago

I just did...

scaled awx and postgres to 0, cleaned up pvc/pv, scaled postgres back to 1, restore completed and scaled awx.

AndrewSav commented 1 year ago

I just had time to re-test it with operator 1.1.0 and it appears to be working now - sorry for the delay

vivekshete9 commented 1 week ago

I am facing the same issue with operator version 2.16.1 and awx v 24.3.1. Only difference is I am just spinning up AWXBackup and pod awxbackup-db-management keeps on terminating and spinning up. I havent span restore pod yet.