postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

stanza create job fails

Open clayrisser opened this issue 2 years ago • 1 comments

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 avatar Aug 16 '22 13:08 clayrisser

@clayrisser please provide the various details requested in our various issue templates (e.g. Kubernetes versions, PGO version, etc.).

andrewlecuyer avatar Aug 16 '22 16:08 andrewlecuyer

Closing as this issue appears to be stale. If you are still encountering this error, please feel free to reopen with additional troubleshooting information.

tjmoore4 avatar Sep 27 '22 19:09 tjmoore4