Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pingaccess-admin-0 - 90-upload-backup-s3.sh not gracefully erroring #1

Open
ashleyhull-versent opened this issue May 21, 2020 · 0 comments

Comments

@ashleyhull-versent
Copy link

kubectl logs pingaccess-admin-0 -n ping-cloud-alpha
Hey, Simple issue... alpine APKINDEX was denied, but it doesn't gracefully retry and the container just boot loops/crashes over and over.

----- Starting hook: /opt/staging/hooks/90-upload-backup-s3.sh
Installing AWS CLI tools for S3 support
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.11/main: temporary error (try again later)
WARNING: Ignoring APKINDEX.70f61090.tar.gz: No such file or directory
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
python3 (missing):
required by: world[python3]
/opt/staging/hooks/90-upload-backup-s3.sh: line 152: pip3: not found
/opt/staging/hooks/90-upload-backup-s3.sh: line 153: pip3: not found
Uploading to location s3://bendoshlee
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 276k 100 276k 0 0 722k 0 --:--:-- --:--:-- --:--:-- 722k
sh: curl: Saved to filename 'pa-data-05-21-2020.05.49.47.zip'
200: out of range
Creating directory pingaccess under bucket bendoshlee
/opt/staging/hooks/90-upload-backup-s3.sh: line 33: aws: not found
/opt/staging/hooks/90-upload-backup-s3.sh: line 35: aws: not found
Upload return code: 127
Upload was unsuccessful - crash the container
post-start: data backup status: 1
post-start: admin post-start backup failed
PingAccess exiting
waiting for PingAccess to terminate due to error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant