{"action":"created","comment":{"url":"https://api.github.com/repos/ceph/ceph/pulls/comments/217394765","pull_request_review_id":155095739,"id":217394765,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzM5NDc2NQ==","diff_hunk":"@@ -110,39 +145,180 @@ int get_remote_cluster_spec(const po::variables_map &vm,\n   return 0;\n }\n \n-void format_mirror_peers(const std::string &config_path,\n-                         at::Format::Formatter formatter,\n-                         const std::vector<librbd::mirror_peer_t> &peers) {\n+std::string get_peer_config_key(int64_t pool_id, const std::string& peer_uuid) {\n+  return RBD_MIRROR_PEER_CONFIG_KEY_PREFIX + stringify(pool_id) + \"/\" +\n+           peer_uuid;\n+}\n+\n+int remove_peer_config_key(librados::Rados& rados, int64_t pool_id,\n+                           const std::string& peer_uuid) {\n+  std::string cmd =\n+    \"{\"\n+      \"\\\"prefix\\\": \\\"config-key rm\\\", \"\n+      \"\\\"key\\\": \\\"\" + get_peer_config_key(pool_id, peer_uuid) + \"\\\"\"\n+    \"}\";\n+  bufferlist in_bl;\n+  bufferlist out_bl;\n+  int r = rados.mon_command(cmd, in_bl, &out_bl, nullptr);\n+  if (r < 0 && r != -ENOENT) {\n+    std::cerr << \"rbd: failed to remove mirroring peer config: \"\n+              << cpp_strerror(r) << std::endl;\n+    return r;\n+  }\n+  return 0;\n+}\n+\n+int set_peer_config_key(librados::Rados& rados, int64_t pool_id,\n+                        const std::string& peer_uuid,\n+                        std::map<std::string, std::string>&& attributes) {\n+  std::stringstream ss;\n+  ss << \"{\";\n+  for (auto& pair : attributes) {\n+    ss << \"\\\\\\\"\" << pair.first << \"\\\\\\\": \"\n+       << \"\\\\\\\"\" << pair.second << \"\\\\\\\"\";\n+    if (&pair != &(*attributes.rbegin())) {\n+      ss << \", \";\n+    }\n+  }\n+  ss << \"}\";\n+\n+  std::string cmd =\n+    \"{\"\n+      \"\\\"prefix\\\": \\\"config-key set\\\", \"\n+      \"\\\"key\\\": \\\"\" + get_peer_config_key(pool_id, peer_uuid) + \"\\\", \"\n+      \"\\\"val\\\": \\\"\" + ss.str() + \"\\\"\"\n+    \"}\";\n+  bufferlist in_bl;\n+  bufferlist out_bl;\n+  int r = rados.mon_command(cmd, in_bl, &out_bl, nullptr);\n+  if (r < 0) {\n+    std::cerr << \"rbd: failed to update mirroring peer config: \"\n+              << cpp_strerror(r) << std::endl;\n+    return r;\n+  }\n+  return 0;\n+}\n+\n+int get_peer_config_key(librados::Rados& rados, int64_t pool_id,\n+                        const std::string& peer_uuid,\n+                        std::map<std::string, std::string>* attributes) {\n+  std::string cmd =\n+    \"{\"\n+      \"\\\"prefix\\\": \\\"config-key get\\\", \"\n+      \"\\\"key\\\": \\\"\" + get_peer_config_key(pool_id, peer_uuid) + \"\\\"\"\n+    \"}\";\n+\n+  bufferlist in_bl;\n+  bufferlist out_bl;\n+  int r = rados.mon_command(cmd, in_bl, &out_bl, nullptr);\n+  if (r == -ENOENT || out_bl.length() == 0) {\n+    return -ENOENT;\n+  } else if (r < 0) {\n+    std::cerr << \"rbd: error reading mirroring peer config: \"\n+              << cpp_strerror(r) << std::endl;\n+    return r;\n+  }\n+\n+  bool json_valid = false;\n+  json_spirit::mValue json_root;\n+  if(json_spirit::read(out_bl.to_str(), json_root)) {\n+    try {\n+      auto& json_obj = json_root.get_obj();\n+      for (auto& pairs : json_obj) {\n+        (*attributes)[pairs.first] = pairs.second.get_str();\n+      }\n+      json_valid = true;\n+    } catch (std::runtime_error&) {\n+    }\n+  }\n+\n+  if (!json_valid) {\n+    std::cerr << \"rbd: corrupt mirroring peer config\" << std::endl;\n+    return -EINVAL;\n+  }\n+  return 0;\n+}\n+\n+int update_peer_config_key(librados::Rados& rados, int64_t pool_id,\n+                           const std::string& peer_uuid,\n+                           const std::string& key,\n+                           const std::string& value) {\n+  std::map<std::string, std::string> attributes;\n+  int r = get_peer_config_key(rados, pool_id, peer_uuid, &attributes);\n+  if (r == -ENOENT) {\n+    return set_peer_config_key(rados, pool_id, peer_uuid, {{key, value}});\n+  } else if (r < 0) {\n+    return r;\n+  }\n+\n+  if (value.empty()) {\n+    attributes.erase(key);\n+  } else {\n+    attributes[key] = value;\n+  }\n+  return set_peer_config_key(rados, pool_id, peer_uuid, std::move(attributes));\n+}\n+\n+int format_mirror_peers(librados::Rados& rados, int64_t pool_id,\n+                        at::Format::Formatter formatter,\n+                        const std::vector<librbd::mirror_peer_t> &peers,\n+                        bool config_key) {\n+  TextTable tbl;\n   if (formatter != nullptr) {\n     formatter->open_array_section(\"peers\");\n-    for (auto &peer : peers) {\n-      formatter->open_object_section(\"peer\");\n-      formatter->dump_string(\"uuid\", peer.uuid);\n-      formatter->dump_string(\"cluster_name\", peer.cluster_name);\n-      formatter->dump_string(\"client_name\", peer.client_name);\n-      formatter->close_section();\n-    }\n-    formatter->close_section();\n   } else {\n     std::cout << \"Peers: \";\n     if (peers.empty()) {\n       std::cout << \"none\" << std::endl;\n     } else {\n-      TextTable tbl;\n       tbl.define_column(\"\", TextTable::LEFT, TextTable::LEFT);\n       tbl.define_column(\"UUID\", TextTable::LEFT, TextTable::LEFT);\n       tbl.define_column(\"NAME\", TextTable::LEFT, TextTable::LEFT);\n       tbl.define_column(\"CLIENT\", TextTable::LEFT, TextTable::LEFT);\n-      for (auto &peer : peers) {\n-        tbl << \" \"\n-            << peer.uuid\n-            << peer.cluster_name\n-            << peer.client_name\n-            << TextTable::endrow;\n+      if (config_key) {\n+        tbl.define_column(\"MON_HOST\", TextTable::LEFT, TextTable::LEFT);\n+        tbl.define_column(\"KEY\", TextTable::LEFT, TextTable::LEFT);\n+      }\n+    }\n+  }\n+\n+  for (auto &peer : peers) {\n+    std::map<std::string, std::string> attributes;\n+    if (config_key) {\n+      int r = get_peer_config_key(rados, pool_id, peer.uuid, &attributes);\n+      if (r < 0 && r != -ENOENT) {\n+        return r;","path":"src/tools/rbd/action/MirrorPool.cc","position":256,"original_position":245,"commit_id":"d3a1a831ac35b78fa6d37ee5fde8840485d6677f","original_commit_id":"4f023a570e3f4bc627fce087a5b971b508204396","user":{"login":"dillaman","id":4739042,"node_id":"MDQ6VXNlcjQ3MzkwNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/4739042?v=4","gravatar_id":"","url":"https://api.github.com/users/dillaman","html_url":"https://github.com/dillaman","followers_url":"https://api.github.com/users/dillaman/followers","following_url":"https://api.github.com/users/dillaman/following{/other_user}","gists_url":"https://api.github.com/users/dillaman/gists{/gist_id}","starred_url":"https://api.github.com/users/dillaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dillaman/subscriptions","organizations_url":"https://api.github.com/users/dillaman/orgs","repos_url":"https://api.github.com/users/dillaman/repos","events_url":"https://api.github.com/users/dillaman/events{/privacy}","received_events_url":"https://api.github.com/users/dillaman/received_events","type":"User","site_admin":false},"body":"Updated ```get_peer_config_key``` to output a nicer error message when it gets an ```-EPERM``` failure","created_at":"2018-09-13T14:00:42Z","updated_at":"2018-09-13T14:00:42Z","html_url":"https://github.com/ceph/ceph/pull/24036#discussion_r217394765","pull_request_url":"https://api.github.com/repos/ceph/ceph/pulls/24036","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments/217394765"},"html":{"href":"https://github.com/ceph/ceph/pull/24036#discussion_r217394765"},"pull_request":{"href":"https://api.github.com/repos/ceph/ceph/pulls/24036"}},"in_reply_to_id":217333876},"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/24036","id":214704495,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NzA0NDk1","html_url":"https://github.com/ceph/ceph/pull/24036","diff_url":"https://github.com/ceph/ceph/pull/24036.diff","patch_url":"https://github.com/ceph/ceph/pull/24036.patch","issue_url":"https://api.github.com/repos/ceph/ceph/issues/24036","number":24036,"state":"open","locked":false,"title":"rbd-mirror: optionally extract peer secrets from config-key","user":{"login":"dillaman","id":4739042,"node_id":"MDQ6VXNlcjQ3MzkwNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/4739042?v=4","gravatar_id":"","url":"https://api.github.com/users/dillaman","html_url":"https://github.com/dillaman","followers_url":"https://api.github.com/users/dillaman/followers","following_url":"https://api.github.com/users/dillaman/following{/other_user}","gists_url":"https://api.github.com/users/dillaman/gists{/gist_id}","starred_url":"https://api.github.com/users/dillaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dillaman/subscriptions","organizations_url":"https://api.github.com/users/dillaman/orgs","repos_url":"https://api.github.com/users/dillaman/repos","events_url":"https://api.github.com/users/dillaman/events{/privacy}","received_events_url":"https://api.github.com/users/dillaman/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for opening a pull request!  Here are some tips on creating\r\na well formatted contribution.\r\n\r\nPlease give your pull request a title like \"[component]: [short description]\"\r\n\r\nThis is the format for commit messages:\r\n\r\n\"\"\"\r\n[component]: [short description]\r\n\r\n[A longer multiline description]\r\n\r\nFixes: [ticket URL on tracker.ceph.com, create one if necessary]\r\nSigned-off-by: [Your Name] <[your email]>\r\n\"\"\"\r\n\r\nThe Signed-off-by line is important, and it is your certification that\r\nyour contributions satisfy the Developers Certificate or Origin.  For\r\nmore detail, see SubmittingPatches.rst.\r\n\r\nThe component is the short name of a major daemon or subsystem,\r\nsomething like \"mon\", \"osd\", \"mds\", \"rbd, \"rgw\", etc. For ceph-mgr modules,\r\ngive the component as \"mgr/<module name>\" rather than a path into pybind.\r\n\r\nFor more examples, simply use \"git log\" and look at some historical commits.\r\n\r\nThis was just a quick overview.  More information for contributors is available here:\r\nhttps://raw.githubusercontent.com/ceph/ceph/master/SubmittingPatches.rst\r\n\r\n-->\r\n\r\n- [x] References tracker ticket\r\n- [x] Updates documentation if necessary\r\n- [x] Includes tests for new functionality or reproducer for bug\r\n\r\n","created_at":"2018-09-11T17:14:48Z","updated_at":"2018-09-13T14:00:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4fa59c39470dc71662cb77f66ed698606e149e2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":134774006,"node_id":"MDU6TGFiZWwxMzQ3NzQwMDY=","url":"https://api.github.com/repos/ceph/ceph/labels/feature","name":"feature","color":"00ff24","default":false},{"id":144329703,"node_id":"MDU6TGFiZWwxNDQzMjk3MDM=","url":"https://api.github.com/repos/ceph/ceph/labels/rbd","name":"rbd","color":"40bfb2","default":false},{"id":377846055,"node_id":"MDU6TGFiZWwzNzc4NDYwNTU=","url":"https://api.github.com/repos/ceph/ceph/labels/wip-mgolub-testing","name":"wip-mgolub-testing","color":"bfdadc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ceph/ceph/pulls/24036/commits","review_comments_url":"https://api.github.com/repos/ceph/ceph/pulls/24036/comments","review_comment_url":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/24036/comments","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/d3a1a831ac35b78fa6d37ee5fde8840485d6677f","head":{"label":"dillaman:wip-24688","ref":"wip-24688","sha":"d3a1a831ac35b78fa6d37ee5fde8840485d6677f","user":{"login":"dillaman","id":4739042,"node_id":"MDQ6VXNlcjQ3MzkwNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/4739042?v=4","gravatar_id":"","url":"https://api.github.com/users/dillaman","html_url":"https://github.com/dillaman","followers_url":"https://api.github.com/users/dillaman/followers","following_url":"https://api.github.com/users/dillaman/following{/other_user}","gists_url":"https://api.github.com/users/dillaman/gists{/gist_id}","starred_url":"https://api.github.com/users/dillaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dillaman/subscriptions","organizations_url":"https://api.github.com/users/dillaman/orgs","repos_url":"https://api.github.com/users/dillaman/repos","events_url":"https://api.github.com/users/dillaman/events{/privacy}","received_events_url":"https://api.github.com/users/dillaman/received_events","type":"User","site_admin":false},"repo":{"id":22644788,"node_id":"MDEwOlJlcG9zaXRvcnkyMjY0NDc4OA==","name":"ceph","full_name":"dillaman/ceph","owner":{"login":"dillaman","id":4739042,"node_id":"MDQ6VXNlcjQ3MzkwNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/4739042?v=4","gravatar_id":"","url":"https://api.github.com/users/dillaman","html_url":"https://github.com/dillaman","followers_url":"https://api.github.com/users/dillaman/followers","following_url":"https://api.github.com/users/dillaman/following{/other_user}","gists_url":"https://api.github.com/users/dillaman/gists{/gist_id}","starred_url":"https://api.github.com/users/dillaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dillaman/subscriptions","organizations_url":"https://api.github.com/users/dillaman/orgs","repos_url":"https://api.github.com/users/dillaman/repos","events_url":"https://api.github.com/users/dillaman/events{/privacy}","received_events_url":"https://api.github.com/users/dillaman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dillaman/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/dillaman/ceph","forks_url":"https://api.github.com/repos/dillaman/ceph/forks","keys_url":"https://api.github.com/repos/dillaman/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dillaman/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dillaman/ceph/teams","hooks_url":"https://api.github.com/repos/dillaman/ceph/hooks","issue_events_url":"https://api.github.com/repos/dillaman/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/dillaman/ceph/events","assignees_url":"https://api.github.com/repos/dillaman/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/dillaman/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/dillaman/ceph/tags","blobs_url":"https://api.github.com/repos/dillaman/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dillaman/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dillaman/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/dillaman/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dillaman/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/dillaman/ceph/languages","stargazers_url":"https://api.github.com/repos/dillaman/ceph/stargazers","contributors_url":"https://api.github.com/repos/dillaman/ceph/contributors","subscribers_url":"https://api.github.com/repos/dillaman/ceph/subscribers","subscription_url":"https://api.github.com/repos/dillaman/ceph/subscription","commits_url":"https://api.github.com/repos/dillaman/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/dillaman/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/dillaman/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/dillaman/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/dillaman/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/dillaman/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dillaman/ceph/merges","archive_url":"https://api.github.com/repos/dillaman/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dillaman/ceph/downloads","issues_url":"https://api.github.com/repos/dillaman/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/dillaman/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/dillaman/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/dillaman/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dillaman/ceph/labels{/name}","releases_url":"https://api.github.com/repos/dillaman/ceph/releases{/id}","deployments_url":"https://api.github.com/repos/dillaman/ceph/deployments","created_at":"2014-08-05T13:37:10Z","updated_at":"2018-04-13T13:58:51Z","pushed_at":"2018-09-13T14:00:13Z","git_url":"git://github.com/dillaman/ceph.git","ssh_url":"git@github.com:dillaman/ceph.git","clone_url":"https://github.com/dillaman/ceph.git","svn_url":"https://github.com/dillaman/ceph","homepage":"http://ceph.com","size":310466,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"ceph:master","ref":"master","sha":"59e6fbbe70100833266d6550c3d75f636c12d1d4","user":{"login":"ceph","id":1015767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTU3Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/1015767?v=4","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"repo":{"id":2310495,"node_id":"MDEwOlJlcG9zaXRvcnkyMzEwNDk1","name":"ceph","full_name":"ceph/ceph","owner":{"login":"ceph","id":1015767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTU3Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/1015767?v=4","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceph/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":false,"url":"https://api.github.com/repos/ceph/ceph","forks_url":"https://api.github.com/repos/ceph/ceph/forks","keys_url":"https://api.github.com/repos/ceph/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceph/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceph/ceph/teams","hooks_url":"https://api.github.com/repos/ceph/ceph/hooks","issue_events_url":"https://api.github.com/repos/ceph/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/ceph/ceph/events","assignees_url":"https://api.github.com/repos/ceph/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/ceph/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/ceph/ceph/tags","blobs_url":"https://api.github.com/repos/ceph/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceph/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceph/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceph/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/ceph/ceph/languages","stargazers_url":"https://api.github.com/repos/ceph/ceph/stargazers","contributors_url":"https://api.github.com/repos/ceph/ceph/contributors","subscribers_url":"https://api.github.com/repos/ceph/ceph/subscribers","subscription_url":"https://api.github.com/repos/ceph/ceph/subscription","commits_url":"https://api.github.com/repos/ceph/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceph/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceph/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceph/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceph/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/ceph/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceph/ceph/merges","archive_url":"https://api.github.com/repos/ceph/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceph/ceph/downloads","issues_url":"https://api.github.com/repos/ceph/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/ceph/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/ceph/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/ceph/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceph/ceph/labels{/name}","releases_url":"https://api.github.com/repos/ceph/ceph/releases{/id}","deployments_url":"https://api.github.com/repos/ceph/ceph/deployments","created_at":"2011-09-01T21:41:26Z","updated_at":"2018-09-13T13:54:46Z","pushed_at":"2018-09-13T14:00:17Z","git_url":"git://github.com/ceph/ceph.git","ssh_url":"git@github.com:ceph/ceph.git","clone_url":"https://github.com/ceph/ceph.git","svn_url":"https://github.com/ceph/ceph","homepage":"http://ceph.com","size":309083,"stargazers_count":5052,"watchers_count":5052,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2622,"mirror_url":null,"archived":false,"open_issues_count":741,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2622,"open_issues":741,"watchers":5052,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/24036"},"html":{"href":"https://github.com/ceph/ceph/pull/24036"},"issue":{"href":"https://api.github.com/repos/ceph/ceph/issues/24036"},"comments":{"href":"https://api.github.com/repos/ceph/ceph/issues/24036/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/ceph/pulls/24036/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceph/ceph/pulls/24036/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/ceph/statuses/d3a1a831ac35b78fa6d37ee5fde8840485d6677f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dillaman"}}