charm-ceph-mon/actions
Nobuto Murata c9389a8cd0 Revert "Create NRPE check to verify ceph daemons versions"
This reverts commit dfbda68e1a.

Reason for revert:

The Ceph version check seems to be missing a consideration of users to
execute the nrpe check. It actually fails to get keyrings to execute the
command as it's run by a non-root user.

$ juju run-action --wait nrpe/0 run-nrpe-check name=check-ceph-daemons-versions
unit-nrpe-0:
  UnitId: nrpe/0
  id: "20"
  results:
    Stderr: |
      2023-02-01T03:03:09.556+0000 7f4677361700 -1 auth: unable to find
      a keyring on
      /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin:
      (2) No such file or directory
      2023-02-01T03:03:09.556+0000 7f4677361700 -1
      AuthRegistry(0x7f467005f540) no keyring found at
      /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,
      disabling cephx
      2023-02-01T03:03:09.556+0000 7f4677361700 -1 auth: unable to find
      a keyring on
      /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin:
      (2) No such file or directory
      2023-02-01T03:03:09.556+0000 7f4677361700 -1
      AuthRegistry(0x7f4670064d88) no keyring found at
      /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,
      disabling cephx
      2023-02-01T03:03:09.560+0000 7f4677361700 -1 auth: unable to find
      a keyring on
      /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin:
      (2) No such file or directory
      2023-02-01T03:03:09.560+0000 7f4677361700 -1
      AuthRegistry(0x7f4677360000) no keyring found at
      /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,
      disabling cephx
      [errno 2] RADOS object not found (error connecting to the cluster)
    check-output: 'UNKNOWN: could not determine OSDs versions, error: Command ''[''ceph'',
      ''versions'']'' returned non-zero exit status 1.'
  status: completed
  timing:
    completed: 2023-02-01 03:03:10 +0000 UTC
    enqueued: 2023-02-01 03:03:09 +0000 UTC
    started: 2023-02-01 03:03:09 +0000 UTC

Related-Bug: #1943628
Change-Id: I84b306e84661e6664e8a69fa93dfdb02fa4f1e7e
2023-02-01 12:31:16 +09:00
..
__init__.py Rewrite the 'change-osd-weight' to use the op framework 2022-09-08 12:28:17 -03:00
ceph_ops.py Revert "Create NRPE check to verify ceph daemons versions" 2023-02-01 12:31:16 +09:00
create-cache-tier action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
create-pool action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
create_cache_tier.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
create_pool.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
crushmap-update action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
crushmap_update.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
delete-erasure-profile action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
delete-pool action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
delete-user Add get-or-create-user and delete-user actions for ceph auth 2022-06-09 07:11:08 -05:00
delete_erasure_profile.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
delete_pool.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
delete_user.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
get-or-create-user Add get-or-create-user and delete-user actions for ceph auth 2022-06-09 07:11:08 -05:00
get-quorum-status Add get-quorum-status action 2021-09-23 12:56:58 +02:00
get_or_create_user.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
get_quorum_status.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
list-crush-rules Add list-crush-rules action 2022-03-29 17:02:12 +02:00
list-erasure-profiles action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
list-inconsistent-objs Implement the 'list-inconsistent-objs' action 2021-08-06 18:12:49 -03:00
list-pools action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
list_crush_rules.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
list_erasure_profiles.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
list_inconsistent_objs.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
list_pools.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
pause-health Re-license charm as Apache-2.0 2016-07-01 13:55:54 +01:00
pg-repair Added safe-pg-repair action 2022-06-23 18:18:35 +08:00
pg_repair.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
pool-get action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
pool-set action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
pool-statistics action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
pool_get.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
pool_set.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
pool_statistics.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
purge-osd Add actions to reweight and remove OSDs. 2020-10-22 09:42:11 +13:00
purge_osd.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
remove-cache-tier action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
remove-pool-snapshot action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
remove_cache_tier.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
remove_pool_snapshot.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
rename-pool action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
rename_pool.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
reset-osd-count-report Add nagios check for expected number of OSDs 2022-10-05 13:02:54 +00:00
reset_osd_count_report.py Add nagios check for expected number of OSDs 2022-10-05 13:02:54 +00:00
resume-health Re-license charm as Apache-2.0 2016-07-01 13:55:54 +01:00
security-checklist Add security-checklist to ceph-mon 2019-03-13 10:32:00 +01:00
security_checklist.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
set-noout Add set/unset noout actions 2018-03-20 10:06:39 +13:00
set-pool-max-bytes action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
set_noout.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
set_pool_max_bytes.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
show-disk-free action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
show_disk_free.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
snapshot-pool action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
snapshot_pool.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
unset-noout Add set/unset noout actions 2018-03-20 10:06:39 +13:00
unset_noout.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00