Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-13900

Creating an application through oc new-app fails on setup that uses a Proxy

    XMLWordPrintable

Details

    • ?
    • Important
    • No
    • ShiftStack Sprint 243
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Creating an application using the oc new-app command fails.
      
      $ oc get all
      NAME                                   READY   STATUS      RESTARTS   AGE
      pod/postgresql-1-deploy                0/1     Completed   0          50m
      pod/postgresql-1-l9jmb                 1/1     Running     0          48m
      pod/rails-postgresql-example-1-build   0/1     Error       0          50m
       
      NAME                                 DESIRED   CURRENT   READY   AGE
      replicationcontroller/postgresql-1   1         1         1       50m
       
      NAME                               TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
      service/postgresql                 ClusterIP   172.30.160.29    <none>        5432/TCP   50m
      service/rails-postgresql-example   ClusterIP   172.30.119.173   <none>        8080/TCP   50m
       
      NAME                                                          REVISION   DESIRED   CURRENT   TRIGGERED BY
      deploymentconfig.apps.openshift.io/postgresql                 1          1         1         config,image(postgresql:12-el8)
      deploymentconfig.apps.openshift.io/rails-postgresql-example   0          1         0         config,image(rails-postgresql-example:latest)
       
      NAME                                                      TYPE     FROM   LATEST
      buildconfig.build.openshift.io/rails-postgresql-example   Source   Git    1
       
      NAME                                                  TYPE     FROM          STATUS                        STARTED          DURATION
      build.build.openshift.io/rails-postgresql-example-1   Source   Git@67b7a61   Failed (GenericBuildFailed)   50 minutes ago   54s
       
      NAME                                                      IMAGE REPOSITORY                                                                   TAGS   UPDATED
      imagestream.image.openshift.io/rails-postgresql-example   image-registry.openshift-image-registry.svc:5000/swift9/rails-postgresql-example          
       
      NAME                                                HOST/PORT                                                    PATH   SERVICES                   PORT    TERMINATION   WILDCARD
      route.route.openshift.io/rails-postgresql-example   rails-postgresql-example-swift9.apps.ostest.shiftstack.com          rails-postgresql-example   <all>                 None
      
      Build log:
      error: build error: After retrying 2 times, Pull image still failed due to error: parsing image configuration: Get "https://<overcloud IP>:13808/swift/v1/AUTH_9ac6865a1a2840c4855591a12fd5c850/ostest-xsf5w-image-registry-qylfrofnyvchmngepsrpnkundsodsakcwy/files/docker/registry/v2/blobs/sha256/d6/d632de3ef5c8d4e8f6833ea4b9c518a4b046a5cb90bada888033b08708680012/data?temp_url_sig=2636da9aaaeaa82b0b7b3a142bebf0aa58cfc9cd&temp_url_expires=1684763169": x509: certificate signed by
      unknown authority
      
      
      

      Version-Release number of selected component (if applicable):

      4.12.18
      RHOS-16.2-RHEL-8-20230413.n.1
      
      

      How reproducible:

      Consistent
      
      

      Steps to Reproduce:

      1. Openshift on Openstack accessing OSP through a proxy
      2. Make sure Swift is used for image-registry
      3. Run 'oc new-app rails-postgresql-example'
      4. Watch the build fails
      

      Actual results:

      
      

      Expected results:

      
      

      Additional info:

      
      

      Attachments

        Activity

          People

            maandre@redhat.com Martin André
            itbrown@redhat.com Itshak Brown
            Itshak Brown Itshak Brown
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: