-
Notifications
You must be signed in to change notification settings - Fork 25
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
PKIX failure on job processing on make docker push
#23
Comments
@bentito: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
make docker push
make docker push
/language java |
You may need to add some options to the pom.xml file or to the make command in the Makefile. Looks like you might be hitting an insecure registry OR it requires authentication. Try adding the following option to the docker-push: ## Push docker image with the manager.
mvn package -Dquarkus.container-image.push=true -Dquarkus.container-image.image=${IMG} -Djib.allowInsecureRegistries=true See if that helps. |
@jmrodri Found it still fails even with that flag. also I noticed that this fails in exact same way: wget https://confluence.atlassian.com/kb/files/779355358/779355357/1/1441897666313/SSLPoke.class
java SSLPoke default-route-openshift-image-registry.apps-crc.testing 443 |
Has been tried/failed with other cluster types than CRC too |
Suggestion from @metacosm that the related quarkus flag to fix this could be |
@bentito I set the above flag and still facing the same issue. Looking into it. |
Is this still occurring? |
I don't have a quick setup to check. Probably best if @laxmikantbpandhare says if he has been able to reproduce? |
Do you know which kind of encryption is used for the certificate? Could you try adding the following dependency in your POM file: <dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
</dependency> |
Okay, I was able to get free and reproduce it. It does reproduce and sadly that dep add doesn't fix it. I am setup to try things easier now if there are other ideas... |
Sure @metacosm - I will also try this scenario. |
org.bouncycastle bcpkix-jdk15on ``` @metacosm - I modified the
|
Try updating your dependencies as well, you're using really old versions… |
Closing as this has not come up in a long time. |
Bug Report
What did you do?
Ran
make docker-build docker-push IMG=default-route-openshift-image-registry.apps-crc.testing/default/memcached-quarkus-operator-operator:0.0.1
What did you expect to see?
Error free docker build and push.
What did you see instead? Under which circumstances?
Environment
Operator type:
/language java
Kubernetes cluster type:
CRC
$ operator-sdk version
$ java -version
(if language is Java)$ kubectl version
Possible Solution
docker login
&&docker push $IMG
worked as workaround.Additional context
The text was updated successfully, but these errors were encountered: