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

openshift-provision.sh race condition on bootstrap? #7

Open
jkupferer opened this issue Jan 25, 2019 · 0 comments
Open

openshift-provision.sh race condition on bootstrap? #7

jkupferer opened this issue Jan 25, 2019 · 0 comments

Comments

@jkupferer
Copy link
Contributor

openshift-provision.sh is called from bootstrap.sh and can attempt to run before the master api is ready? This is a guess...

Subsequent testing of running openshift-provision.sh showed no issue.

Error is:

TASK [openshift-provision : Get OpenShift version] ****************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["oc", "--server=https://master.35.244.132.237.nip.io/", "--token=eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJ
uZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6InByb3Zpc2lvbmVyLXRva2VuLTU2anFmIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bn
QubmFtZSI6InByb3Zpc2lvbmVyIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiYzRlNzI2MTEtMjBkNy0xMWU5LWIzZTItNDIwMTBhMDAwMDE2Iiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50OmRlZmF1bHQ6cHJvdmlzaW9uZ
XIifQ.BWhsy6YALdzaFo3btIlNRhmha60vAjQFiUeF2rbd1MB_mgKH9v7Yc3w1_59G3cGGKknT4E-oSNuxhzUSB2amVT4L7ov9SymHzk7Cj6autCMb7kNRfy9hk5HStjoc0FLZn1DfqZnKz2hF6BCSIfiC54HOj320P922ItKjcPYdwcgMmUyqBCIpUwmds4prqY7Qaq_ZjBMoMNFYJ
fixq46gcBtOdpaqYxdm-kyEjamsUPrTf55gGCV_KxXMbFx6MMmqzPUgsZOyo2WlAf7yVDpuePDmZVl73daMpUQPIiR2-L82VZz5w7YZjWZpnPLvB9fmKvF9BCmuDbi-47X-OHwqvQ", "version"], "delta": "0:00:00.391200", "end": "2019-01-25 19:31:15.6103
07", "msg": "non-zero return code", "rc": 1, "start": "2019-01-25 19:31:15.219107", "stderr": "Unable to connect to the server: EOF", "stderr_lines": ["Unable to connect to the server: EOF"], "stdout": "oc v3.11
.0+62803d0-1\nkubernetes v1.11.0+d4cacc0\nfeatures: Basic-Auth GSSAPI Kerberos SPNEGO", "stdout_lines": ["oc v3.11.0+62803d0-1", "kubernetes v1.11.0+d4cacc0", "features: Basic-Auth GSSAPI Kerberos SPNEGO"]}
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