{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/3470","labels_url":"https://api.github.com/repos/ceph/ceph/issues/3470/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/3470/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/3470/events","html_url":"https://github.com/ceph/ceph/pull/3470","id":55247838,"number":3470,"title":"dump pg map with specific poolid , state, osd","user":{"login":"xinxinsh","id":4626570,"avatar_url":"https://avatars.githubusercontent.com/u/4626570?v=3","gravatar_id":"","url":"https://api.github.com/users/xinxinsh","html_url":"https://github.com/xinxinsh","followers_url":"https://api.github.com/users/xinxinsh/followers","following_url":"https://api.github.com/users/xinxinsh/following{/other_user}","gists_url":"https://api.github.com/users/xinxinsh/gists{/gist_id}","starred_url":"https://api.github.com/users/xinxinsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinxinsh/subscriptions","organizations_url":"https://api.github.com/users/xinxinsh/orgs","repos_url":"https://api.github.com/users/xinxinsh/repos","events_url":"https://api.github.com/users/xinxinsh/events{/privacy}","received_events_url":"https://api.github.com/users/xinxinsh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/core","name":"core","color":"0052cc"},{"url":"https://api.github.com/repos/ceph/ceph/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"dachary","id":433594,"avatar_url":"https://avatars.githubusercontent.com/u/433594?v=3","gravatar_id":"","url":"https://api.github.com/users/dachary","html_url":"https://github.com/dachary","followers_url":"https://api.github.com/users/dachary/followers","following_url":"https://api.github.com/users/dachary/following{/other_user}","gists_url":"https://api.github.com/users/dachary/gists{/gist_id}","starred_url":"https://api.github.com/users/dachary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dachary/subscriptions","organizations_url":"https://api.github.com/users/dachary/orgs","repos_url":"https://api.github.com/users/dachary/repos","events_url":"https://api.github.com/users/dachary/events{/privacy}","received_events_url":"https://api.github.com/users/dachary/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-01-23T05:56:42Z","updated_at":"2015-01-27T00:51:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/3470","html_url":"https://github.com/ceph/ceph/pull/3470","diff_url":"https://github.com/ceph/ceph/pull/3470.diff","patch_url":"https://github.com/ceph/ceph/pull/3470.patch"},"body":"implement feature 7701\r\ndump pg map with specific poolid , state, osd\r\n\r\nSigned-off-by: xinxin shu <xinxin.shu@intel.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/71570356","html_url":"https://github.com/ceph/ceph/pull/3470#issuecomment-71570356","issue_url":"https://api.github.com/repos/ceph/ceph/issues/3470","id":71570356,"user":{"login":"xinxinsh","id":4626570,"avatar_url":"https://avatars.githubusercontent.com/u/4626570?v=3","gravatar_id":"","url":"https://api.github.com/users/xinxinsh","html_url":"https://github.com/xinxinsh","followers_url":"https://api.github.com/users/xinxinsh/followers","following_url":"https://api.github.com/users/xinxinsh/following{/other_user}","gists_url":"https://api.github.com/users/xinxinsh/gists{/gist_id}","starred_url":"https://api.github.com/users/xinxinsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinxinsh/subscriptions","organizations_url":"https://api.github.com/users/xinxinsh/orgs","repos_url":"https://api.github.com/users/xinxinsh/repos","events_url":"https://api.github.com/users/xinxinsh/events{/privacy}","received_events_url":"https://api.github.com/users/xinxinsh/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T00:51:38Z","updated_at":"2015-01-27T00:51:38Z","body":"@dachary , thanks for your comments,  dumpcontents is an argument of array type (n=N), so if we keep dumpcontents as the first argument ,  the following poolid , osd and state parameters can be considered as value of dumpcontents.  something like below \r\n\r\nceph pg dump 0 osd.0 active\r\n\r\n0 not valid:  0 not in all|summary|sum|delta|pools|osds|pgs|pgs_brief\r\nosd.0 not valid:  osd.0 not in active|clean|down|replay|spliting|scrubbing|scrubq|degraded|inconsistent|peering|repair|recovery|backfill_wait|incomplete|stale|remapped|deep_scrub|backfill|backfill_toofull|recovery_wait|undersized\r\nInvalid command:  unused arguments: ['osd.0', 'active']\r\n\r\ni prefer to add a new command (ceph pg dump_filter or something else ),  how about your think?\r\n"}}