Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASMPET-6860 deploy node-exporter via cephadm shell in ansible #217

Merged
merged 2 commits into from
Nov 22, 2023
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.17.1] - 2023-11-20

### Changed

- CASMPET-6860: Change the `csm.storage.smartmon` play so it redeploys `node-exporter` using 'cephadm shell' instead of a 'ceph' command.

## [1.17.0] - 2023-10-18

### Dependencies
Expand Down
7 changes: 6 additions & 1 deletion ansible/roles/csm.storage.smartmon/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@
- name: Redeploy node-exporter
when:
- admin_keyring.stat.exists
command: "cephadm shell --mount /etc/cray/ceph/ -- ceph orch apply -i /mnt/node-exporter.yml"
register: apply_node_exporter

- name: Reconfig node-exporter
when:
- (apply_node_exporter.rc is defined) and (apply_node_exporter.rc == 0)
command: "ceph orch {{ item }} "
with_items:
- apply -i /etc/cray/ceph/node-exporter.yml
- reconfig node-exporter
- redeploy node-exporter
Loading