Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-7628

git clone fails when using a D/S repo in externalPlugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • test-operator
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Low

      When using D/S gerrit with https in tempestRun.externalPlugin, git clone fails because it doesn't recognize the SSL certificate:

      in the tempest CR:

          externalPlugin:
            - repository: https://code.engineering.redhat.com/gerrit/python-octavia-tests-tempest
              changeRepository: http://code.engineering.redhat.com/gerrit/python-octavia-tests-tempest
              changeRefspec: refs/changes/06/452306/1

      in tempest logs:

      + git clone https://code.engineering.redhat.com/gerrit/python-octavia-tests-tempest
      Cloning into 'python-octavia-tests-tempest'...
      fatal: unable to access 'https://code.engineering.redhat.com/gerrit/python-octavia-tests-tempest/': SSL certificate problem: unable to get local issuer certificate
      [..]
      + pip install -chttps://releases.openstack.org/constraints/upper/2023.1 ./python-octavia-tests-tempest
      ERROR: Invalid requirement: './python-octavia-tests-tempest'
      Hint: It looks like a path. File './python-octavia-tests-tempest' does not exist. 

      Note: as a workaround, we can use the http:// endpoint of the gerrit server.

      DoD:

      • the clone works also with the https url

            Unassigned Unassigned
            rhn-support-gthiemon Gregory Thiemonge
            rhos-tempest
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: