Support rally checks on HTTPS environments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-openstack-service-checks |
Won't Fix
|
Medium
|
Paul Goins |
Bug Description
On environments where Keystone runs over TLS, rally fails with:
"""
Max retries exceeded with url: /v3 (Caused by SSLError(
"""
1) /var/lib/
2) fcbtest.rallyinit script calls:
rally deployment create --fromenv --name snap_generated
Since the environment doesn't have the OS_CACERT variable, "rally deployment config" shows: https:/
3) Once the rally deployment environment is recreated, "fcbtest.rally verify start" works as expected
* Fixes needed:
- lib_openstack_
- Copy /usr/local/
- run_rally.py should also import OS_CACERT pointing to the "nagiososc" $HOME instead of /usr/local/
Related branches
- Peter Sabaini (community): Approve
- BootStack Reviewers: Pending requested
-
Diff: 1781 lines (+1184/-267)14 files modifiedactions.yaml (+2/-0)
actions/create-flavor-rally (+15/-0)
config.yaml (+20/-7)
files/plugins/check_rally.py (+53/-79)
files/run_rally.py (+74/-39)
layer.yaml (+0/-7)
lib/lib_openstack_service_checks.py (+217/-100)
reactive/openstack_service_checks.py (+24/-25)
requirements.txt (+1/-0)
templates/extra_config.conf.j2 (+12/-0)
templates/rally.conf.j2 (+756/-0)
tests/unit/conftest.py (+3/-6)
tests/unit/test_lib.py (+6/-4)
wheelhouse.txt (+1/-0)
- Peter Sabaini (community): Needs Fixing
- BootStack Reviewers: Pending requested
-
Diff: 235 lines (+126/-2)4 files modifiedfiles/run_rally.py (+3/-0)
lib/lib_openstack_service_checks.py (+24/-0)
reactive/openstack_service_checks.py (+16/-2)
tests/functional/test_deploy.py (+83/-0)
Changed in charm-openstack-service-checks: | |
importance: | Undecided → Medium |
status: | Confirmed → In Progress |
Changed in charm-openstack-service-checks: | |
milestone: | none → 23.07 |
milestone: | 23.07 → none |
I forgot to mention that /etc/juju- proxy.conf variables need to exist if the cloud is behind a proxy, or the test images won't be downloaded and checks will fail.
I ran out of time to verify if "juju model-config" options are propagated on all juju versions (it worked on a lab but not in a production cloud).