Skip to content

[telemetry_chargeback] Update ingest data yaml based on feedback#392

Merged
danpawlik merged 5 commits into
masterfrom
alexy_ck_job_6b
Jun 8, 2026
Merged

[telemetry_chargeback] Update ingest data yaml based on feedback#392
danpawlik merged 5 commits into
masterfrom
alexy_ck_job_6b

Conversation

@ayefimov-1

@ayefimov-1 ayefimov-1 commented May 29, 2026

Copy link
Copy Markdown
Contributor
  • Add {{ scenario_name }} to task names
  • Add fail task with detailed message
  • Add ca_path (for future)
  • Improved error handling

Authored-by: @ayefimov-1
AI Assisted by: Claude

@ayefimov-1 ayefimov-1 marked this pull request as draft May 29, 2026 14:11
- Add retrieve_loki_data.yml for querying Loki API with retry logic
- Update ingest_loki_data.yml for uploading data to Loki
- Update load_loki_data.yml for loading Loki data
- Update README.md with task documentation
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/92a534d2b9be4d758df3b439b1a9b740

✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 37m 31s
✔️ functional-chargeback-tests-osp18 SUCCESS in 2h 19m 55s
functional-tests-osp18 FAILURE in 33m 25s

@ayefimov-1

Copy link
Copy Markdown
Contributor Author

recheck

@ayefimov-1 ayefimov-1 force-pushed the alexy_ck_job_6b branch 2 times, most recently from 75ea31c to 73fc1b4 Compare June 3, 2026 15:13
@ayefimov-1 ayefimov-1 changed the title [telemetry_chargeback] Add ability to retrieve loki data and update ingest data yaml [telemetry_chargeback] Update ingest data yaml based on feedback Jun 3, 2026
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/8de95112e93b4a3fa023dd77b28a4b15

✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 46m 01s
functional-chargeback-tests-osp18 RETRY_LIMIT in 7m 37s
functional-tests-osp18 RETRY_LIMIT in 8m 22s

@ayefimov-1

Copy link
Copy Markdown
Contributor Author

recheck

@ayefimov-1 ayefimov-1 requested a review from danpawlik June 3, 2026 21:44
@ayefimov-1 ayefimov-1 marked this pull request as ready for review June 3, 2026 21:44
@ayefimov-1 ayefimov-1 requested review from elfiesmelfie and removed request for danpawlik June 5, 2026 12:49
ansible.builtin.fail:
msg:
- "Scenario: {{ scenario_name }}"
- "Status: {{ loki_response.status | default('Unknown') }}"

@danpawlik danpawlik Jun 8, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: don't think I don't think any default value below are needed, uri module should always return some value.


# Success
- name: "Confirm ingestion success"
- name: "Ingest Status Message"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: if TEST Push data to Loki {{ scenario_name }} is success, that debug task is not needed. Otherwise it will run tasks from rescue.

- name: "POST data to Loki"
ansible.builtin.uri:
## loki_push_url will be used in future role developement
# loki_push_url is configured in setup_loki_env.yml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: if that is needed, good to have a task with fail, like:

- name: Check if loki_push_url is set
  when: loki_push_url is not defined
  ansible.builtin.fail:
    msg: |
      Please specify 'loki_push_url' in setup_loki_env.yml

@danpawlik danpawlik merged commit 5cc8fac into master Jun 8, 2026
11 checks passed
@danpawlik danpawlik deleted the alexy_ck_job_6b branch June 8, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants