-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
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