1. 29 Jun, 2021 1 commit
  2. 24 Jun, 2021 1 commit
  3. 14 Jun, 2021 1 commit
  4. 29 Apr, 2021 1 commit
  5. 27 Apr, 2021 2 commits
  6. 12 Apr, 2021 3 commits
  7. 25 Mar, 2021 1 commit
  8. 18 Mar, 2021 2 commits
  9. 10 Feb, 2021 1 commit
  10. 03 Feb, 2021 1 commit
  11. 29 Jan, 2021 2 commits
  12. 18 Jan, 2021 1 commit
  13. 16 Dec, 2020 1 commit
  14. 02 Dec, 2020 1 commit
  15. 01 Dec, 2020 1 commit
  16. 30 Nov, 2020 1 commit
  17. 23 Nov, 2020 1 commit
  18. 03 Nov, 2020 2 commits
    • Dimitri Savineau's avatar
      monitor: use quorum_status instead of ceph status · 88f91d8c
      Dimitri Savineau authored
      
      
      The ceph status command returns a lot of information stored in variables
      and/or facts which could consume resources for nothing.
      When checking the quorum status, we're only using the quorum_names
      structure in the ceph status output.
      To optimize this, we could use the ceph quorum_status command which contains
      the same needed information.
      This command returns less information.
      
      $ ceph status -f json  | wc -c
      2001
      $ ceph quorum_status -f json  | wc -c
      957
      $ time ceph status -f json > /dev/null
      
      real	0m0.577s
      user	0m0.538s
      sys	0m0.029s
      $ time ceph quorum_status -f json > /dev/null
      
      real	0m0.544s
      user	0m0.527s
      sys	0m0.016s
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      88f91d8c
    • Dimitri Savineau's avatar
      osds: use pg stat command instead of ceph status · ee505885
      Dimitri Savineau authored
      
      
      The ceph status command returns a lot of information stored in variables
      and/or facts which could consume resources for nothing.
      When checking the pgs state, we're using the pgmap structure in the ceph
      status output.
      To optimize this, we could use the ceph pg stat command which contains
      the same needed information.
      This command returns less information (only about pgs) and is slightly
      faster than the ceph status command.
      
      $ ceph status -f json | wc -c
      2000
      $ ceph pg stat -f json | wc -c
      240
      $ time ceph status -f json > /dev/null
      
      real	0m0.529s
      user	0m0.503s
      sys	0m0.024s
      $ time ceph pg stat -f json > /dev/null
      
      real	0m0.426s
      user	0m0.409s
      sys	0m0.016s
      
      The data returned by the ceph status is even bigger when using the
      nautilus release.
      
      $ ceph status -f json | wc -c
      35005
      $ ceph pg stat -f json | wc -c
      240
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      ee505885
  19. 02 Nov, 2020 1 commit
  20. 29 Sep, 2020 1 commit
  21. 20 Jul, 2020 1 commit
  22. 16 Jul, 2020 1 commit
    • Dimitri Savineau's avatar
      cephadm-adopt: delegate task for orch apply · 95964949
      Dimitri Savineau authored
      This is a partial revert of b38019e3
      
       because we don't want to execute
      the whole play on the monitor otherwise if we have some empty group
      like rgws or mdss then the orchestrator commands will still be
      executed.
      Instead we should keep the real target group name at play level and
      delegate the orchestator commands to the monitor. The whole play
      will be skipped is the group is empty.
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      95964949
  23. 15 Jul, 2020 3 commits
  24. 13 Jul, 2020 5 commits
  25. 10 Jul, 2020 4 commits