postgres-operator
postgres-operator copied to clipboard
stanza create job fails
I get the following error saying that there is no file /tmp/nss_wrapper/pgbackrest-repo/passwd
in the stanza-create
job when trying to deploy a postgres database.
Any idea on what to look for to solve this?
command to execute is [pgbackrest stanza-create --db-host=100.124.131.92 --db-path=/pgdata/postgres]
output=[]
stderr=[NWRAP_ERROR(47) - nwrap_files_cache_reload: Unable to open '/tmp/nss_wrapper/pgbackrest-repo/passwd' readonly -1:No such file or directory
NWRAP_ERROR(47) - nwrap_files_getpwuid: Error loading passwd file
NWRAP_ERROR(53) - nwrap_files_cache_reload: Unable to open '/tmp/nss_wrapper/pgbackrest-repo/passwd' readonly -1:No such file or directory
NWRAP_ERROR(53) - nwrap_files_getpwuid: Error loading passwd file
NWRAP_ERROR(53) - nwrap_files_cache_reload: Unable to open '/tmp/nss_wrapper/pgbackrest-repo/group' readonly -1:No such file or directory
NWRAP_ERROR(53) - nwrap_files_getgrgid: Error loading group file
WARN: unable to check pg-1: [UnknownError] remote-0 process on '100.124.131.92' terminated unexpectedly [255]: NWRAP_ERROR(54) - nwrap_files_cache_reload: Unable to open '/tmp/nss_wrapper/pgbackrest-repo/passwd' readonly -1:No such file or directory
NWRAP_ERROR(54) - nwrap_files_getpwuid: Error loading passwd file
No user exists for uid 26
ERROR: [056]: unable to find primary cluster - cannot proceed
@clayrisser please provide the various details requested in our various issue templates (e.g. Kubernetes versions, PGO version, etc.).
Closing as this issue appears to be stale. If you are still encountering this error, please feel free to reopen with additional troubleshooting information.