You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: roles/telemetry_chargeback/README.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,9 @@ These variables can be overridden when importing the role or set at the play lev
41
41
|`cloudkitty_debug_dir`|`"{{ (cloudkitty_debug \| bool) \| ternary(artifacts_dir_zuul + '/debug_ck_db', '') }}"`| Directory for debug output (auto-set based on debug flag) |
42
42
|`logs_dir_zuul`|`"{{ cifmw_basedir }}/logs"`| Directory for log files |
43
43
|`artifacts_dir_zuul`|`"{{ cifmw_basedir }}/artifacts"`| Directory for generated artifacts and test output |
44
+
|`cert_dir`|`"{{ cifmw_basedir }}/ck-certs"`| Directory for CloudKitty client certificates |
45
+
|`local_cert_dir`|`"{{ cifmw_basedir }}/flush_certs"`| Local directory for flush certificates (cleaned up after run) |
46
+
|`remote_cert_dir`|`"osp-certs"`| Remote directory inside OpenStack pod for certificates |
44
47
|`cert_secret_name`|`"cert-cloudkitty-client-internal"`| OpenShift secret name for client certificates |
45
48
|`client_secret`|`"secret/cloudkitty-lokistack-gateway-client-http"`| Secret for flush client certificates |
46
49
|`ca_configmap`|`"cm/cloudkitty-lokistack-ca-bundle"`| ConfigMap for CA bundle |
@@ -49,7 +52,6 @@ These variables can be overridden when importing the role or set at the play lev
49
52
|`openstackpod`|`"openstackclient"`| OpenStack client pod name for exec/cp operations |
50
53
|`lookback`|`6`| Days to look back for Loki query time range |
51
54
|`limit`|`50`| Limit for Loki query results |
52
-
|`cloudkitty_test_scenarios`|`[]`| List of test scenario files to run (empty = auto-discover) |
53
55
54
56
How It Works
55
57
------------
@@ -67,8 +69,7 @@ The role executes the following workflow:
67
69
- Configures Loki push/query URLs
68
70
69
71
3.**Test Scenario Discovery**
70
-
-**Auto-discovery** (default): Finds all `test_*.yml` files in `files/` directory
71
-
-**User-provided**: Uses scenarios from `cloudkitty_test_scenarios` variable
72
+
- Automatically finds all `test_*.yml` files in `files/` directory
72
73
73
74
4.**Scenario Execution Loop** (for each discovered scenario)
74
75
- Generates synthetic Loki log data (`gen_synth_loki_data.py`)
@@ -79,9 +80,6 @@ The role executes the following workflow:
79
80
- Removes temporary certificate directories
80
81
- Always runs (even on failure) via block/rescue/always structure
81
82
82
-
### Loop Variable
83
-
84
-
The role uses `{{ scenario_name }}` as the loop variable when processing multiple test scenarios, making it easy to track which scenario is currently executing.
0 commit comments