Pod logs
nss_wrapper: user exists
nss_wrapper: group exists
nss_wrapper: environment configured
ERROR: ld.so: object ‘/usr/lib64/libnss_wrapper.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib64/libnss_wrapper.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Process install dependency map
ERROR: ld.so: object ‘/usr/lib64/libnss_wrapper.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR! Unknown error when attempting to call Galaxy at ‘galaxy-ansible-com/api’: <urlopen error [Errno 99] Cannot assign requested address>
ERROR: ld.so: object ‘/usr/lib64/libnss_wrapper.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib64/libnss_wrapper.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib64/libnss_wrapper.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
|
PLAY [Deploy Crunchy PostgreSQL Operator] **************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [pgo-preflight : include_tasks] *******************************************
included: /ansible/postgres-operator/roles/pgo-preflight/tasks/vars.yml for localhost
TASK [pgo-preflight : Check for “/conf/values.yaml”] ***************************
ok: [localhost]
TASK [pgo-preflight : fail] ****************************************************
skipping: [localhost]
TASK [pgo-preflight : include_vars] ********************************************
ok: [localhost]
TASK [pgo-preflight : fail] ****************************************************
skipping: [localhost]
TASK [pgo-preflight : Check Operating System] **********************************
changed: [localhost]
TASK [pgo-preflight : assert] **************************************************
ok: [localhost] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [pgo-preflight : assert] **************************************************
skipping: [localhost]
TASK [pgo-preflight : assert] **************************************************
skipping: [localhost]
TASK [pgo-preflight : assert] **************************************************
ok: [localhost] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [pgo-preflight : include_tasks] *******************************************
skipping: [localhost]
TASK [pgo-preflight : include_tasks] *******************************************
included: /ansible/postgres-operator/roles/pgo-preflight/tasks/check_kubernetes.yml for localhost
TASK [pgo-preflight : Check if the kubectl command is installed] ***************
changed: [localhost]
TASK [pgo-preflight : Ensure kubectl is installed] *****************************
ok: [localhost] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [pgo-preflight : include_tasks] *******************************************
included: /ansible/postgres-operator/roles/pgo-preflight/tasks/check_vars.yml for localhost
TASK [pgo-preflight : Check if mandatory variables are defined] ****************
skipping: [localhost] => (item=pgo_operator_namespace)
skipping: [localhost] => (item=pgo_installation_name)
skipping: [localhost] => (item=pgo_admin_username)
skipping: [localhost] => (item=pgo_admin_role_name)
skipping: [localhost] => (item=pgo_admin_perms)
skipping: [localhost] => (item=ccp_image_prefix)
skipping: [localhost] => (item=ccp_image_tag)
skipping: [localhost] => (item=pgo_image_prefix)
skipping: [localhost] => (item=pgo_image_tag)
skipping: [localhost] => (item=disable_auto_failover)
skipping: [localhost] => (item=badger)
skipping: [localhost] => (item=metrics)
skipping: [localhost] => (item=archive_mode)
skipping: [localhost] => (item=archive_timeout)
skipping: [localhost] => (item=db_password_length)
skipping: [localhost] => (item=create_rbac)
skipping: [localhost] => (item=db_port)
skipping: [localhost] => (item=db_replicas)
skipping: [localhost] => (item=db_user)
skipping: [localhost] => (item=backrest_storage)
skipping: [localhost] => (item=backup_storage)
skipping: [localhost] => (item=primary_storage)
skipping: [localhost] => (item=replica_storage)
skipping: [localhost] => (item=pgo_client_version)
skipping: [localhost] => (item=pgbadgerport)
skipping: [localhost] => (item=exporterport)
skipping: [localhost] => (item=scheduler_timeout)
skipping: [localhost] => (item=namespace_mode)
skipping: [localhost] => (item=reconcile_rbac)
TASK [pgo-operator : Set output directory fact] ********************************
ok: [localhost]
TASK [pgo-operator : Ensure output directory exists] ***************************
changed: [localhost]
TASK [pgo-operator : include_tasks] ********************************************
skipping: [localhost] => (item=openshift_auth.yml)
skipping: [localhost] => (item=openshift.yml)
TASK [pgo-operator : include_tasks] ********************************************
included: /ansible/postgres-operator/roles/pgo-operator/tasks/kubernetes_auth.yml for localhost
included: /ansible/postgres-operator/roles/pgo-operator/tasks/kubernetes.yml for localhost
TASK [pgo-operator : Set the Kubernetes Context] *******************************
skipping: [localhost]
TASK [pgo-operator : Get Namespace Details] ************************************
changed: [localhost]
TASK [pgo-operator : Create PGO Namespace] *************************************
skipping: [localhost]
TASK [pgo-operator : Use kubectl or oc] ****************************************
ok: [localhost]
TASK [pgo-operator : include_tasks] ********************************************
included: /ansible/postgres-operator/roles/pgo-operator/tasks/namespace.yml for localhost
TASK [pgo-operator : Namespace List] *******************************************
ok: [localhost]
TASK [pgo-operator : Create Watched Namespaces] ********************************
skipping: [localhost] => (item=mysqldb)
TASK [pgo-operator : Create Watched Namespaces (Reconcile RBAC)] ***************
changed: [localhost] => (item=mysqldb)
TASK [pgo-operator : Label Watched Namespaces (Reconcile RBAC)] ****************
changed: [localhost] => (item=mysqldb)
TASK [pgo-operator : Cleanup Local Namespace Target RBAC] **********************
failed: [localhost] (item=mysqldb) => {“ansible_loop_var”: “item”, “changed”: true, “cmd”: [“kubectl”, “delete”, “role,rolebinding”, “pgo-target-role”, “-n”, “mysqldb”], “delta”: “0:00:00.127363”, “end”: “2023-01-12 22:15:16.431289”, “item”: “mysqldb”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2023-01-12 22:15:16.303926”, “stderr”: “Error from server (NotFound): rolebindings-rbac-authorization-k8s-io "pgo-target-role" not found”, “stderr_lines”: [“Error from server (NotFound): rolebindings-rbac-authorization-k8s-io "pgo-target-role" not found”], “stdout”: “role.rbac.authorization.k8s-io "pgo-target-role" deleted”, “stdout_lines”: [“role.rbac.authorization.k8s-io "pgo-target-role" deleted”]}
…ignoring
TASK [pgo-operator : Create Local Namespace Target RBAC] ***********************
changed: [localhost] => (item=mysqldb)
TASK [pgo-operator : Template Local Namespace RBAC] ****************************
changed: [localhost]
TASK [pgo-operator : Cleanup Local Namespace Reconcile RBAC] *******************
changed: [localhost] => (item=mysqldb)
TASK [pgo-operator : Create Local Namespace Reconcile RBAC] ********************
changed: [localhost] => (item=mysqldb)
TASK [pgo-operator : include_tasks] ********************************************
fatal: [localhost]: FAILED! => {“reason”: “couldn’t resolve module/action ‘kubernetes.core.k8s’. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in ‘/ansible/postgres-operator/roles/pgo-operator/tasks/crds.yml’: line 67, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n block:\n - name: Create PerconaPGClusters CRD\n ^ here\n”}
PLAY RECAP *********************************************************************
localhost : ok=26 changed=11 unreachable=0 failed=1 skipped=10 rescued=0 ignored=1