Ceph: additional commands output in fuel-snapshot

Registered by Mykola Golub

It would be nice to see output of the following in nailgun/dump/fuel-snapshot:

On the first (master) controller node:

    ceph --show-config
    ceph status
    ceph health detail
    ceph osd tree
    ceph osd dump
    ceph osd perf
    rados df
    ceph pg dump

On all controller nodes, if ceph-mon is running:

  ceph daemon ${ID} version
  ceph daemon ${ID} config show
  ceph daemon ${ID} mon_status
  ceph daemon ${ID} perf dump

On all OSD nodes, for every running OSD daemon:

  ceph daemon ${ID} version
  ceph daemon ${ID} config show
  ceph daemon ${ID} status
  ceph daemon ${ID} dump_op_pq_state
  ceph daemon ${ID} dump_watchers
  ceph daemon ${ID} dump_blacklist
  ceph daemon ${ID} dump_ops_in_flight
  ceph daemon ${ID} dump_historic_ops
  ceph daemon ${ID} perf dump

ID of running daemons can be found e.g from ps output:

  ps auxww | sed -nEe 's/^.*ceph-(mon|osd) .*-i *([^ ]*) .*/\1.\2/p'

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Mykola Golub
Direction:
Needs approval
Assignee:
Oleksiy Molchanov
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.