1. 25 Oct, 2019 4 commits
  2. 24 Oct, 2019 1 commit
  3. 23 Oct, 2019 8 commits
  4. 21 Oct, 2019 4 commits
  5. 18 Oct, 2019 7 commits
  6. 16 Oct, 2019 8 commits
  7. 15 Oct, 2019 4 commits
    • Dimitri Savineau's avatar
      ceph-handler: group listen topics and condition · 3313bc5c
      Dimitri Savineau authored
      
      
      We are using multiple listen topics with the handlers. That means that
      we are notifying 4 tasks for each handler.
      Instead we can group the listen on an include_tasks and based on the
      group condition.
      
      Before:
      
      NOTIFIED HANDLER ceph-handler : set _mon_handler_called before restart for mon0
      NOTIFIED HANDLER ceph-handler : copy mon restart script for mon0
      NOTIFIED HANDLER ceph-handler : restart ceph mon daemon(s) for mon0
      NOTIFIED HANDLER ceph-handler : set _mon_handler_called after restart for mon0
      NOTIFIED HANDLER ceph-handler : set _osd_handler_called before restart for mon0
      NOTIFIED HANDLER ceph-handler : copy osd restart script for mon0
      NOTIFIED HANDLER ceph-handler : restart ceph osds daemon(s) for mon0
      NOTIFIED HANDLER ceph-handler : set _osd_handler_called after restart for mon0
      NOTIFIED HANDLER ceph-handler : set _mds_handler_called before restart for mon0
      NOTIFIED HANDLER ceph-handler : copy mds restart script for mon0
      NOTIFIED HANDLER ceph-handler : restart ceph mds daemon(s) for mon0
      NOTIFIED HANDLER ceph-handler : set _mds_handler_called after restart for mon0
      NOTIFIED HANDLER ceph-handler : set _rgw_handler_called before restart for mon0
      NOTIFIED HANDLER ceph-handler : copy rgw restart script for mon0
      NOTIFIED HANDLER ceph-handler : restart ceph rgw daemon(s) for mon0
      NOTIFIED HANDLER ceph-handler : set _rgw_handler_called after restart for mon0
      NOTIFIED HANDLER ceph-handler : set _mgr_handler_called before restart for mon0
      NOTIFIED HANDLER ceph-handler : copy mgr restart script for mon0
      NOTIFIED HANDLER ceph-handler : restart ceph mgr daemon(s) for mon0
      NOTIFIED HANDLER ceph-handler : set _mgr_handler_called after restart for mon0
      NOTIFIED HANDLER ceph-handler : set _rbdmirror_handler_called before restart for mon0
      NOTIFIED HANDLER ceph-handler : copy rbd mirror restart script for mon0
      NOTIFIED HANDLER ceph-handler : restart ceph rbd mirror daemon(s) for mon0
      NOTIFIED HANDLER ceph-handler : set _rbdmirror_handler_called after restart for mon0
      
      After:
      
      NOTIFIED HANDLER ceph-handler : mons handler for mon0
      NOTIFIED HANDLER ceph-handler : osds handler for mon0
      NOTIFIED HANDLER ceph-handler : mdss handler for mon0
      NOTIFIED HANDLER ceph-handler : rgws handler for mon0
      NOTIFIED HANDLER ceph-handler : mgrs handler for mon0
      NOTIFIED HANDLER ceph-handler : rbdmirrors handler for mon0
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      (cherry picked from commit fe9c5b8c)
      3313bc5c
    • Guillaume Abrioux's avatar
      handler: followup on #4519 · 13f6a0a2
      Guillaume Abrioux authored
      
      
      This commit adds some missing `| bool` filters.
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
      (cherry picked from commit ccc11cfc)
      13f6a0a2
    • Guillaume Abrioux's avatar
      handlers: refact osd handler · fd10fbc0
      Guillaume Abrioux authored
      
      
      This commit merges the two restart tasks into a single one, this way
      it's one task less to notify.
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
      (cherry picked from commit 411bd07d)
      fd10fbc0
    • Dimitri Savineau's avatar
      Remove validate action and notario dependency · 8117ed34
      Dimitri Savineau authored
      The current ceph-validate role is using both validate action and fail
      module tasks to validate the ceph configuration.
      The validate action is based on the notario python library. When one of
      the notario validation fails then a python stack trace is reported to the
      ansible task. This output isn't understandable by users.
      
      This patch removes the validate action and the notario depencendy. The
      validation is now done with only fail ansible module.
      
      Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1654790
      
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      (cherry picked from commit 0f978d96)
      8117ed34
  8. 14 Oct, 2019 1 commit
  9. 11 Oct, 2019 2 commits
  10. 10 Oct, 2019 1 commit