-
Notifications
You must be signed in to change notification settings - Fork 86
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
Quickstarts failing under 4.0.152 #1515
Comments
Thanks @tdcox I think I know what this is and I'm currently working on a better approach so hopefully have this fixed tomorrow. |
We just added support for deploying fabric8 4.x on GKE with http, this means we can avoid using https when we don't auto generate signed certs for ingress rules. We can also now push to the internal docker registry from tenant pipelines without having to manually update each cluster node and add insecure registry DOCKER_OPTS. I just tested using the latest gofabric8 and fabric8 4.x by running this..
Hopefully that will avoid the error reported here too, if not it should be a simple fix now. |
Sorry, perhaps I should have been clearer. I am deployed using a real domain and with certificates enabled. Https access across the internet has been working. f8tentant fails to restart with: {"level":"info","msg":"Configured connection pool max idle 90","time":"2017-09-12 21:09:55"} Keycloak shows: Readiness probe failed: Get http://10.60.1.49:8080/auth: net/http: request canceled (Client.Timeout exceeded while awaiting headers) |
Looks like there is an issue with quickstarts failing to fully build under 4.0.152 on GKE.
I get the following problem with the default Vert.x QS and the Spring Boot one:
The code compiles and the unit tests pass. Then before the fabric8:push, I see
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:09 min
[INFO] Finished at: 2017-09-11T16:59:20+00:00
[INFO] Final Memory: 48M/537M
[INFO] ------------------------------------------------------------------------
[Pipeline] findFiles
[Pipeline] junit
Recording test results
[Pipeline] findFiles
[Pipeline] echo
Looking for matching Build null
[Pipeline] echo
Failed to find buildName due to: java.lang.IllegalArgumentException: Name must be provided.
[Pipeline] echo
Checking sonarqube exists
[Pipeline] echo
Code validation service: sonarqube not available
[Pipeline] echo
s2i mode: false
[Pipeline] retry
[Pipeline] {
[Pipeline] sh
[tdcox_demo05t01_master-N2C2CLYCYRWQZRUKSF7YN2BAZR4DGO6J4YF5FH3KEBSL7JQP3GBQ] Running shell script
This then leads to:
[INFO] F8> Running generator vertx
[INFO] F8> vertx: Using Docker image registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift as base / builder
[ERROR] F8> Cannot temporarily tag booster/booster-rest-http-vertx:1.0.1 with /booster/booster-rest-http-vertx:1.0.1 because target image already exists. Please remove this and retry.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.656 s
[INFO] Finished at: 2017-09-11T16:59:37+00:00
[INFO] Final Memory: 39M/308M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.22:push (default-cli) on project booster-rest-http-vertx: Cannot temporarily tag booster/booster-rest-http-vertx:1.0.1 with /booster/booster-rest-http-vertx:1.0.1 because target image already exists. Please remove this and retry. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[Pipeline] }
ERROR: script returned exit code 1
Same error for both quickstarts.
Full log here:
https://gist.github.com/tdcox/61ab56709b5c65cd63b5e567eb035ebc
The text was updated successfully, but these errors were encountered: