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

Failed to deploy pg-beershop-db-deployer-apt to SAP BTP Trial #149

Closed
ravindraP20 opened this issue Oct 7, 2021 · 6 comments
Closed

Failed to deploy pg-beershop-db-deployer-apt to SAP BTP Trial #149

ravindraP20 opened this issue Oct 7, 2021 · 6 comments

Comments

@ravindraP20
Copy link

cf logs pg-beershop-db-deployer-apt --recent

2021-10-07T17:54:24.75+0530 [STG/0] OUT -----> Adding apt keys
2021-10-07T17:54:24.82+0530 [STG/0] ERR Warning: apt-key output should not be parsed (stdout is not a terminal)
2021-10-07T17:54:25.21+0530 [STG/0] ERR gpg: no valid OpenPGP data found.
2021-10-07T17:54:25.21+0530 [STG/0] ERR gpg: Total number processed: 0
2021-10-07T17:54:25.21+0530 [STG/0] ERR gpg: keyserver communications error: keyserver helper internal error
2021-10-07T17:54:25.21+0530 [STG/0] ERR gpg: keyserver internal error
2021-10-07T17:54:25.21+0530 [STG/0] ERR gpg: WARNING: unable to fetch URI https://dist.sapmachine.io/debian/sapmachine.old.key: keyserver error
2021-10-07T17:54:25.21+0530 [STG/0] OUT ERROR Error running supply: could not add apt key https://dist.sapmachine.io/debian/sapmachine.old.key
2021-10-07T17:54:25.21+0530 [STG/0] OUT
2021-10-07T17:54:25.21+0530 [STG/0] OUT Executing: /tmp/apt-key-gpghome.PMF082jpxx/gpg.1.sh --fetch-keys https://dist.sapmachine.io/debian/sapmachine.old.key
2021-10-07T17:54:25.21+0530 [STG/0] OUT gpgkeys: https fetch error 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
2021-10-07T17:54:25.21+0530 [STG/0] OUT
2021-10-07T17:54:25.21+0530 [STG/0] OUT
2021-10-07T17:54:25.21+0530 [STG/0] OUT exit status 2
2021-10-07T17:54:25.21+0530 [STG/0] ERR Failed to run all supply scripts: exit status 14
2021-10-07T17:54:25.22+0530 [STG/0] OUT Exit status 225

@gregorwolf
Copy link
Owner

Have you tried once again? As the URL https://dist.sapmachine.io/debian/sapmachine.old.key is reachable I guess it could be a temporary issue.

@ravindraP20
Copy link
Author

yes, tried once again. The error is same.

2021-10-07T21:51:22.10+0530 [STG/0] OUT -----> Adding apt keys
2021-10-07T21:51:22.16+0530 [STG/0] ERR Warning: apt-key output should not be parsed (stdout is not a terminal)
2021-10-07T21:51:22.54+0530 [STG/0] ERR gpg: no valid OpenPGP data found.
2021-10-07T21:51:22.54+0530 [STG/0] ERR gpg: Total number processed: 0
2021-10-07T21:51:22.54+0530 [STG/0] ERR gpg: keyserver communications error: keyserver helper internal error
2021-10-07T21:51:22.54+0530 [STG/0] ERR gpg: keyserver internal error
2021-10-07T21:51:22.54+0530 [STG/0] ERR gpg: WARNING: unable to fetch URI https://dist.sapmachine.io/debian/sapmachine.old.key: keyserver error
2021-10-07T21:51:22.55+0530 [STG/0] OUT ERROR Error running supply: could not add apt key https://dist.sapmachine.io/debian/sapmachine.old.key
2021-10-07T21:51:22.55+0530 [STG/0] OUT
2021-10-07T21:51:22.55+0530 [STG/0] OUT Executing: /tmp/apt-key-gpghome.PWKc0ozLQc/gpg.1.sh --fetch-keys https://dist.sapmachine.io/debian/sapmachine.old.key
2021-10-07T21:51:22.55+0530 [STG/0] OUT gpgkeys: https fetch error 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
2021-10-07T21:51:22.55+0530 [STG/0] OUT
2021-10-07T21:51:22.55+0530 [STG/0] OUT
2021-10-07T21:51:22.55+0530 [STG/0] OUT exit status 2
2021-10-07T21:51:22.55+0530 [STG/0] ERR Failed to run all supply scripts: exit status 14

@gregorwolf
Copy link
Owner

I can replicate the issue on my SAP BTP trial account. Are you deploying to a SAP BTP production environment? If yes please file an incident via SAP support.

@ravindraP20
Copy link
Author

I am also deploying to SAP BTP trial account.

@gregorwolf
Copy link
Owner

@gregorwolf
Copy link
Owner

I've tried a build & deploy today. And it seems that SAP updated the trusted certificates so adding the SAPmachine keys is working now. Please give it a try with the latest main.

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

2 participants