Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-1736

Deploy a Quarkus app over OCP 4.9 fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Blocker
    • None
    • 2.2.5.ER2, 2.2.5.ER3, 2.2.5.CR1
    • OpenShift
    • +

    Description

      I am not able to deploy a Quarkus application over OCP 4.9

      Steps to reproduce:
      1. Create an application

      mvn io.quarkus.platform:quarkus-maven-plugin:2.6.3.Final:create \
          -DprojectGroupId=org.acme \
          -DprojectArtifactId=openshift-quickstart \
          -DclassName="org.acme.rest.GreetingResource" \
          -Dpath="/greeting" \
          -Dextensions="resteasy,openshift"

      2. Deploy into ocp 4.9

      mvn clean package -Dquarkus.kubernetes-client.trust-certs=true -Dquarkus.kubernetes.deploy=true   

      Openshift build process fails with the following error:

      localhost :: quarkus/tmp » oc logs -f openshift-quickstart-1-build
      time="2022-01-25T16:17:36Z" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled"
      I0125 16:17:37.001034       1 defaults.go:102] Defaulting to storage driver "overlay" with options [mountopt=metacopy=on].
      Caching blobs under "/var/cache/blobs".Pulling image registry.access.redhat.com/ubi8/openjdk-11-runtime:1.10 ...
      Trying to pull registry.access.redhat.com/ubi8/openjdk-11-runtime:1.10...
      Getting image source signatures
      Copying blob sha256:4418ace46c3dd933f98d83f357f31048e72d5db3d97bccfdb0acef769ee8234f
      Copying blob sha256:9675ea79d90c914f2530be70a2c90072eed62580297ca69aa1ab9d21290a3555
      Copying blob sha256:2a99c93da16827d9a6254f86f495d2c72c62a916f9c398577577221d35d2c790
      Copying config sha256:2ad55ed2b7c7daf918966cd955c79dd2b1eb534bffe90c8988c11bc90fca73f7
      Writing manifest to image destination
      Storing signatures
      error: build error: key https://index.docker.io/v1/ contains http[s]:// prefix
       

      Error: error: build error: key https://index.docker.io/v1/ contains http[s]:// prefix

      S2i also fails with the same error message

      Works on OCP 4.8

      In my opinion is an OCP issue because I am able to reproduce it with several Quarkus versions over OCP4.9. And always works over ocp 4.8

      Attachments

        Issue Links

          Activity

            People

              gandrian Georgios Andrianakis
              rhn-support-pagonzal Pablo Gonzalez Granados (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: