Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion etc/kayobe/ansible/deploy-radosgw-usage-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
vars:
ansible_host: "{{ hostvars[groups['controllers'][0]].ansible_host }}"
run_once: true
when: credential_check.stdout == []
when: credential_check.stdout | from_json == []

- name: Query ec2 credential for ceph_rgw
ansible.builtin.command: >
Expand Down Expand Up @@ -115,6 +115,7 @@
ACCESS_KEY: "{{ ec2.Access }}"
SECRET_KEY: "{{ ec2.Secret }}"
VIRTUAL_PORT: "{{ stackhpc_radosgw_usage_exporter_port | string }}"
REQUESTS_CA_BUNDLE: "/etc/ssl/certs/ca-certificates.crt"
entrypoint: "{{ ['python', '-u', './radosgw_usage_exporter.py', '--insecure'] if not stackhpc_radosgw_usage_exporter_verify else omit }}"
vars:
ec2: "{{ credential.stdout | from_json | first }}"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
fixes:
- |
Fixed RADOS gateway usage exporter deployment failing
to generate ec2 credentials for the ceph_rgw user.
- |
Fixed RADOS gateway usage exporter not using the system
trust root as its CA bundle.
Loading