When deploying a native app to OpenShift, I had the following error on deployment on the OpenShift side:
Receiving source from STDIN as archive ...
Pulling image "quay.io/quarkus/ubi-quarkus-native-binary-s2i@sha256:b28dc7f74d1619a1fe6d30337750d69e9e676f1784241d6394aa90351367edb0" ...
pulling image error : manifest for quay.io/quarkus/ubi-quarkus-native-binary-s2i@sha256:b28dc7f74d1619a1fe6d30337750d69e9e676f1784241d6394aa90351367edb0 not found
error: build error: unable to get quay.io/quarkus/ubi-quarkus-native-binary-s2i@sha256:b28dc7f74d1619a1fe6d30337750d69e9e676f1784241d6394aa90351367edb0
and my app wasn't deployed.
The Maven build was successful though:
[INFO] Checking for existing resources in: /data/home/gsmet/git/my-java-app/src/main/kubernetes.
[INFO] [io.quarkus.container.image.openshift.deployment.OpenshiftProcessor] Performing openshift binary build with native image on server: https://api.pro-us-east-1.openshift.com:443/ in namespace:quarkusio.
[INFO] [io.quarkus.container.image.openshift.deployment.OpenshiftProcessor] Applied: ImageStream my-java-app
[INFO] [io.quarkus.container.image.openshift.deployment.OpenshiftProcessor] Found: ImageStream ubi-quarkus-native-binary-s2i repository: quay.io/quarkus/ubi-quarkus-native-binary-s2i
[INFO] [io.quarkus.container.image.openshift.deployment.OpenshiftProcessor] Applied: BuildConfig my-java-app
[INFO] [io.quarkus.container.image.openshift.deployment.OpenshiftProcessor] Receiving source from STDIN as archive ...
[INFO] [io.quarkus.kubernetes.deployment.KubernetesDeployer] Deploying to openshift server: https://api.pro-us-east-1.openshift.com:443/ in namespace: quarkusio.
[INFO] [io.quarkus.kubernetes.deployment.KubernetesDeployer] Applied: Service my-java-app.
[INFO] [io.quarkus.kubernetes.deployment.KubernetesDeployer] Applied: ImageStream my-java-app.
[INFO] [io.quarkus.kubernetes.deployment.KubernetesDeployer] Applied: ImageStream ubi-quarkus-native-binary-s2i.
[INFO] [io.quarkus.kubernetes.deployment.KubernetesDeployer] Applied: BuildConfig my-java-app.
[INFO] [io.quarkus.kubernetes.deployment.KubernetesDeployer] Applied: DeploymentConfig my-java-app.
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 111727ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:54 min
[INFO] Finished at: 2020-11-29T22:08:58+01:00
[INFO] ------------------------------------------------------------------------
but here is the output of a really successful build:
When deploying a native app to OpenShift, I had the following error on deployment on the OpenShift side:
and my app wasn't deployed.
The Maven build was successful though:
but here is the output of a really successful build:
As you can see, it has a lot more steps.
So it looks like we are not propagating the error correctly to the Quarkus side.
https://github.com/quarkusio/quarkus/issues/13542
$upstream:13542$