{"action":"created","comment":{"url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/comments/44986462","id":44986462,"diff_hunk":"@@ -47,18 +110,314 @@ def run(self, *args, **kwargs):\n \n class WriteVolumesDb(CinderDatabaseInteraction):\n \n+    \"\"\"\n+    Copy volumes' data on nfs backends.\n+\n+    Work via rsync, can handle big files\n+    and resume after errors.\n+    Depends on 'GetVolumesDb' action, it must be run first.\n+\n+    \"\"\"\n+\n+    def __init__(self, *args, **kwargs):\n+        super(WriteVolumesDb, self).__init__(*args, **kwargs)\n+\n+        self.ssh_attempts = self.cfg.migrate.ssh_connection_attempts\n+\n+        self.data = None\n+        self.dst_data = None\n+\n+        self.dst_hosts = None\n+        self.dst_mount = None\n+        self.dst_dir_to_provider = None\n+        self.dst_provider_to_vtid = None\n+        self.dst_volume_types = None\n+        self.path_map = None\n+\n     def run(self, *args, **kwargs):\n+        \"\"\"Run WriteVolumesDb Action.\"\"\"\n         data_from_namespace = kwargs.get(NAMESPACE_CINDER_CONST)\n         if not data_from_namespace:\n-            raise RuntimeError(\n+            raise AbortMigrationError(\n                 \"Cannot read attribute {attribute} from namespace\".format(\n                     attribute=NAMESPACE_CINDER_CONST))\n-        data = jsondate.loads(data_from_namespace)\n-        # mark attached volumes as available\n-        for volume in data['volumes']:\n-            if volume['status'] == 'in-use':\n-                volume['mountpoint'] = None\n-                volume['status'] = 'available'\n-                volume['instance_uuid'] = None\n-                volume['attach_status'] = 'detached'\n-        self.get_resource().deploy(jsondate.dumps(data))\n+\n+        self.cloud = {\n+            SRC: {\n+                CLOUD: self.src_cloud,\n+                RES: self.src_cloud.resources.get(utils.STORAGE_RESOURCE),\n+                CFG: self.cfg.src,\n+            },\n+            DST: {\n+                CLOUD: self.dst_cloud,\n+                RES: self.dst_cloud.resources.get(utils.STORAGE_RESOURCE),\n+                CFG: self.cfg.dst,\n+            }\n+        }\n+\n+        self.data = jsondate.loads(data_from_namespace)\n+\n+        search_opts = kwargs.get('search_opts_tenant', {})\n+        self.dst_data = jsondate.loads(\n+            self.cloud[DST][RES].read_db_info(**search_opts))\n+\n+        for i in self.cloud:\n+            self.cloud[i][HOST] = self.cloud[i][RES].get_endpoint_host()\n+\n+        self._copy_volumes()\n+\n+        self.data = _modify_data(self.data)\n+        self.cloud[DST][RES].deploy(jsondate.dumps(self.data))\n+\n+    def _run_cmd(self, cloud, cmd):\n+        runner = _remote_runner(cloud)\n+        with settings(gateway=cloud[CLOUD].getIpSsh(),\n+                      connection_attempts=self.ssh_attempts):\n+            output = runner.run(cmd)\n+            res = output.split('\\r\\n')\n+            return res if len(res) > 1 else res[0]\n+\n+    def run_repeat_on_errors(self, cloud, cmd):\n+        \"\"\"Run remote command cmd.\"\"\"\n+        runner = _remote_runner(cloud)\n+        with settings(gateway=cloud[CLOUD].getIpSsh(),\n+                      connection_attempts=self.ssh_attempts):\n+            runner.run_repeat_on_errors(cmd)\n+\n+    def find_dir(self, cloud, paths, v):\n+        \"\"\"\n+        Find file v in paths.\n+\n+        :return: path to the file\n+\n+        \"\"\"\n+        if not paths:\n+            return None\n+        cmd = r'find / \\( ' + \\\n+            \" -o \".join(['-path \"%s/*\"' % p for p in paths]) + \\\n+            r' \\) -type f -name \"volume-%s\"' % v['id']\n+        return self._run_cmd(cloud, cmd)\n+\n+    def _run_rsync(self, src, dst):\n+        cmd = (\n+            'rsync --inplace -a -e \"ssh -o StrictHostKeyChecking=no\" '\n+            '%s %s@%s:%s' % (src, self.cloud[DST][CFG].ssh_user,\n+                             self.cloud[DST][HOST], dst)\n+        )\n+        self.run_repeat_on_errors(self.cloud[SRC], cmd)\n+\n+    def _rsync(self, src, dst):\n+        if not isinstance(dst, list):\n+            dst = [dst]\n+\n+        for try_dst in dst:\n+            try:\n+                self._run_rsync(src, try_dst)\n+                return try_dst\n+            except RemoteExecutionError:\n+                pass\n+        raise RemoteExecutionError('Copy to %s failed.', dst)\n+\n+    def _mount_output(self, cloud, vt=None):\n+        if vt:\n+            cmd = (\n+                \"for exp in \"\n+                r\"$(awk -F= '/\\[\"\n+                \"%s\"\n+                r\"\\]/{i=1} /!/ {i=0} i && /nfs_shares_config/ \"\n+                \"{print $2; exit}' /etc/cinder/cinder.conf | xargs cat); \"\n+                \"do mount | \"\n+                \"awk '{if (match($1, \\\"^'$exp'$\\\") && $3 ~ \\\"cinder\\\") \"\n+                \"{print $3\\\"%s\\\"$1}}'; done\"\n+            ) % (vt['name'], MOUNT_DELIM)\n+        else:\n+            # default nfs_shares_config\n+            cmd = (\n+                \"for exp in \"\n+                \"$(awk -F= '/nfs_shares_config/ \"\n+                \"{print $2; exit}' /etc/cinder/cinder.conf | xargs cat); \"\n+                \"do mount | \"\n+                \"awk '{if (match($1, \\\"^'$exp'$\\\") && $3 ~ \\\"cinder\\\") \"\n+                \"{print $3\\\"%s\\\"$1}}'; done\"\n+            ) % MOUNT_DELIM\n+        res = self._run_cmd(cloud, cmd)\n+        return res if isinstance(res, list) else [res]\n+\n+    def mount_dirs(self, cloud, vt=None):\n+        \"\"\"\n+        Get shares from mount output.\n+\n+        :return: list of paths\n+\n+        \"\"\"\n+        if vt:\n+            cmd = (\n+                \"for exp in \"\n+                r\"$(awk -F= '/\\[\"\n+                \"%s\"\n+                r\"\\]/{i=1} /!/ {i=0} i && /nfs_shares_config/ \"\n+                \"{print $2; exit}' /etc/cinder/cinder.conf | xargs cat); \"\n+                \"do mount | \"\n+                \"awk '{if (match($1, \\\"^'$exp'$\\\") && $3 ~ \\\"cinder\\\") \"\n+                \"{print $3}}'; done\"\n+            ) % vt['name']\n+        else:\n+            # default nfs_shares_config\n+            cmd = (\n+                \"for exp in \"\n+                \"$(awk -F= '/nfs_shares_config/ \"\n+                \"{print $2; exit}' /etc/cinder/cinder.conf | xargs cat); \"\n+                \"do mount | \"\n+                \"awk '{if (match($1, \\\"^'$exp'$\\\") && $3 ~ \\\"cinder\\\") \"\n+                \"{print $3}}'; done\"\n+            )\n+        res = self._run_cmd(cloud, cmd)\n+        return res if isinstance(res, list) else [res]\n+\n+    def _vt_map(self):\n+        # host volume_type_id->hostname map\n+        # cached property\n+        if not hasattr(self, 'dst_volume_types') \\\n+                or self.dst_volume_types is None:\n+            self.dst_volume_types = _volume_types_map(self.dst_data)\n+        res = dict(\n+            [(vt['id'], self.dst_volume_types[vt['name']])\n+             for vt in _volume_types(self.data)\n+             if vt['name'] in self.dst_volume_types])\n+        return res\n+\n+    def _dst_host(self, vtid=None):\n+        # vtid -> dst_host\n+        # cached property\n+        if not hasattr(self, 'dst_hosts') or self.dst_hosts is None:\n+            self.dst_hosts = \\\n+                [i.host for i in\n+                 self.cloud[DST][RES].cinder_client.services.list(\n+                     binary=CINDER_VOLUME) if i.state == 'up']\n+        # cached property\n+        if not hasattr(self, 'dst_volume_types') \\","path":"cloudferrylib/os/actions/cinder_database_manipulation.py","position":299,"original_position":299,"commit_id":"e297b913a065c8b1b5f6710c37f5a877ffc5199f","original_commit_id":"e297b913a065c8b1b5f6710c37f5a877ffc5199f","user":{"login":"SVilgelm","id":523825,"avatar_url":"https://avatars.githubusercontent.com/u/523825?v=3","gravatar_id":"","url":"https://api.github.com/users/SVilgelm","html_url":"https://github.com/SVilgelm","followers_url":"https://api.github.com/users/SVilgelm/followers","following_url":"https://api.github.com/users/SVilgelm/following{/other_user}","gists_url":"https://api.github.com/users/SVilgelm/gists{/gist_id}","starred_url":"https://api.github.com/users/SVilgelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SVilgelm/subscriptions","organizations_url":"https://api.github.com/users/SVilgelm/orgs","repos_url":"https://api.github.com/users/SVilgelm/repos","events_url":"https://api.github.com/users/SVilgelm/events{/privacy}","received_events_url":"https://api.github.com/users/SVilgelm/received_events","type":"User","site_admin":false},"body":"hasattr() is not needed here.","created_at":"2015-11-16T21:32:53Z","updated_at":"2015-11-16T21:32:53Z","html_url":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/583#discussion_r44986462","pull_request_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/583","_links":{"self":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/comments/44986462"},"html":{"href":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/583#discussion_r44986462"},"pull_request":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/583"}}},"pull_request":{"url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/583","id":50733717,"html_url":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/583","diff_url":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/583.diff","patch_url":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/583.patch","issue_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/583","number":583,"state":"open","locked":false,"title":"SAIC-543: Cinder volume migration","user":{"login":"aguzikova","id":5940168,"avatar_url":"https://avatars.githubusercontent.com/u/5940168?v=3","gravatar_id":"","url":"https://api.github.com/users/aguzikova","html_url":"https://github.com/aguzikova","followers_url":"https://api.github.com/users/aguzikova/followers","following_url":"https://api.github.com/users/aguzikova/following{/other_user}","gists_url":"https://api.github.com/users/aguzikova/gists{/gist_id}","starred_url":"https://api.github.com/users/aguzikova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguzikova/subscriptions","organizations_url":"https://api.github.com/users/aguzikova/orgs","repos_url":"https://api.github.com/users/aguzikova/repos","events_url":"https://api.github.com/users/aguzikova/events{/privacy}","received_events_url":"https://api.github.com/users/aguzikova/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-14T22:15:05Z","updated_at":"2015-11-16T21:32:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0784936aa0b27d92a5f7555d6a3c70ff1829306","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/583/commits","review_comments_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/583/comments","review_comment_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/583/comments","statuses_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/statuses/e297b913a065c8b1b5f6710c37f5a877ffc5199f","head":{"label":"aguzikova:devel","ref":"devel","sha":"e297b913a065c8b1b5f6710c37f5a877ffc5199f","user":{"login":"aguzikova","id":5940168,"avatar_url":"https://avatars.githubusercontent.com/u/5940168?v=3","gravatar_id":"","url":"https://api.github.com/users/aguzikova","html_url":"https://github.com/aguzikova","followers_url":"https://api.github.com/users/aguzikova/followers","following_url":"https://api.github.com/users/aguzikova/following{/other_user}","gists_url":"https://api.github.com/users/aguzikova/gists{/gist_id}","starred_url":"https://api.github.com/users/aguzikova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguzikova/subscriptions","organizations_url":"https://api.github.com/users/aguzikova/orgs","repos_url":"https://api.github.com/users/aguzikova/repos","events_url":"https://api.github.com/users/aguzikova/events{/privacy}","received_events_url":"https://api.github.com/users/aguzikova/received_events","type":"User","site_admin":false},"repo":{"id":46000701,"name":"CloudFerry","full_name":"aguzikova/CloudFerry","owner":{"login":"aguzikova","id":5940168,"avatar_url":"https://avatars.githubusercontent.com/u/5940168?v=3","gravatar_id":"","url":"https://api.github.com/users/aguzikova","html_url":"https://github.com/aguzikova","followers_url":"https://api.github.com/users/aguzikova/followers","following_url":"https://api.github.com/users/aguzikova/following{/other_user}","gists_url":"https://api.github.com/users/aguzikova/gists{/gist_id}","starred_url":"https://api.github.com/users/aguzikova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguzikova/subscriptions","organizations_url":"https://api.github.com/users/aguzikova/orgs","repos_url":"https://api.github.com/users/aguzikova/repos","events_url":"https://api.github.com/users/aguzikova/events{/privacy}","received_events_url":"https://api.github.com/users/aguzikova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aguzikova/CloudFerry","description":"CloudFerry is a cloud virtual workloads migration tool designed and developed by Mirantis Inc. ","fork":true,"url":"https://api.github.com/repos/aguzikova/CloudFerry","forks_url":"https://api.github.com/repos/aguzikova/CloudFerry/forks","keys_url":"https://api.github.com/repos/aguzikova/CloudFerry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aguzikova/CloudFerry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aguzikova/CloudFerry/teams","hooks_url":"https://api.github.com/repos/aguzikova/CloudFerry/hooks","issue_events_url":"https://api.github.com/repos/aguzikova/CloudFerry/issues/events{/number}","events_url":"https://api.github.com/repos/aguzikova/CloudFerry/events","assignees_url":"https://api.github.com/repos/aguzikova/CloudFerry/assignees{/user}","branches_url":"https://api.github.com/repos/aguzikova/CloudFerry/branches{/branch}","tags_url":"https://api.github.com/repos/aguzikova/CloudFerry/tags","blobs_url":"https://api.github.com/repos/aguzikova/CloudFerry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aguzikova/CloudFerry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aguzikova/CloudFerry/git/refs{/sha}","trees_url":"https://api.github.com/repos/aguzikova/CloudFerry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aguzikova/CloudFerry/statuses/{sha}","languages_url":"https://api.github.com/repos/aguzikova/CloudFerry/languages","stargazers_url":"https://api.github.com/repos/aguzikova/CloudFerry/stargazers","contributors_url":"https://api.github.com/repos/aguzikova/CloudFerry/contributors","subscribers_url":"https://api.github.com/repos/aguzikova/CloudFerry/subscribers","subscription_url":"https://api.github.com/repos/aguzikova/CloudFerry/subscription","commits_url":"https://api.github.com/repos/aguzikova/CloudFerry/commits{/sha}","git_commits_url":"https://api.github.com/repos/aguzikova/CloudFerry/git/commits{/sha}","comments_url":"https://api.github.com/repos/aguzikova/CloudFerry/comments{/number}","issue_comment_url":"https://api.github.com/repos/aguzikova/CloudFerry/issues/comments{/number}","contents_url":"https://api.github.com/repos/aguzikova/CloudFerry/contents/{+path}","compare_url":"https://api.github.com/repos/aguzikova/CloudFerry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aguzikova/CloudFerry/merges","archive_url":"https://api.github.com/repos/aguzikova/CloudFerry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aguzikova/CloudFerry/downloads","issues_url":"https://api.github.com/repos/aguzikova/CloudFerry/issues{/number}","pulls_url":"https://api.github.com/repos/aguzikova/CloudFerry/pulls{/number}","milestones_url":"https://api.github.com/repos/aguzikova/CloudFerry/milestones{/number}","notifications_url":"https://api.github.com/repos/aguzikova/CloudFerry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aguzikova/CloudFerry/labels{/name}","releases_url":"https://api.github.com/repos/aguzikova/CloudFerry/releases{/id}","created_at":"2015-11-11T18:19:31Z","updated_at":"2015-11-11T18:19:33Z","pushed_at":"2015-11-14T22:14:46Z","git_url":"git://github.com/aguzikova/CloudFerry.git","ssh_url":"git@github.com:aguzikova/CloudFerry.git","clone_url":"https://github.com/aguzikova/CloudFerry.git","svn_url":"https://github.com/aguzikova/CloudFerry","homepage":null,"size":2775,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MirantisWorkloadMobility:devel","ref":"devel","sha":"22225ffeef1d6708131d65ea89655fec5f0312a9","user":{"login":"MirantisWorkloadMobility","id":8500817,"avatar_url":"https://avatars.githubusercontent.com/u/8500817?v=3","gravatar_id":"","url":"https://api.github.com/users/MirantisWorkloadMobility","html_url":"https://github.com/MirantisWorkloadMobility","followers_url":"https://api.github.com/users/MirantisWorkloadMobility/followers","following_url":"https://api.github.com/users/MirantisWorkloadMobility/following{/other_user}","gists_url":"https://api.github.com/users/MirantisWorkloadMobility/gists{/gist_id}","starred_url":"https://api.github.com/users/MirantisWorkloadMobility/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MirantisWorkloadMobility/subscriptions","organizations_url":"https://api.github.com/users/MirantisWorkloadMobility/orgs","repos_url":"https://api.github.com/users/MirantisWorkloadMobility/repos","events_url":"https://api.github.com/users/MirantisWorkloadMobility/events{/privacy}","received_events_url":"https://api.github.com/users/MirantisWorkloadMobility/received_events","type":"User","site_admin":false},"repo":{"id":23142392,"name":"CloudFerry","full_name":"MirantisWorkloadMobility/CloudFerry","owner":{"login":"MirantisWorkloadMobility","id":8500817,"avatar_url":"https://avatars.githubusercontent.com/u/8500817?v=3","gravatar_id":"","url":"https://api.github.com/users/MirantisWorkloadMobility","html_url":"https://github.com/MirantisWorkloadMobility","followers_url":"https://api.github.com/users/MirantisWorkloadMobility/followers","following_url":"https://api.github.com/users/MirantisWorkloadMobility/following{/other_user}","gists_url":"https://api.github.com/users/MirantisWorkloadMobility/gists{/gist_id}","starred_url":"https://api.github.com/users/MirantisWorkloadMobility/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MirantisWorkloadMobility/subscriptions","organizations_url":"https://api.github.com/users/MirantisWorkloadMobility/orgs","repos_url":"https://api.github.com/users/MirantisWorkloadMobility/repos","events_url":"https://api.github.com/users/MirantisWorkloadMobility/events{/privacy}","received_events_url":"https://api.github.com/users/MirantisWorkloadMobility/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MirantisWorkloadMobility/CloudFerry","description":"CloudFerry is a cloud virtual workloads migration tool designed and developed by Mirantis Inc. ","fork":false,"url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry","forks_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/forks","keys_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/teams","hooks_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/hooks","issue_events_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/events{/number}","events_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/events","assignees_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/assignees{/user}","branches_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/branches{/branch}","tags_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/tags","blobs_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/git/refs{/sha}","trees_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/statuses/{sha}","languages_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/languages","stargazers_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/stargazers","contributors_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/contributors","subscribers_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/subscribers","subscription_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/subscription","commits_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/commits{/sha}","git_commits_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/git/commits{/sha}","comments_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/comments{/number}","issue_comment_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/comments{/number}","contents_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/contents/{+path}","compare_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/merges","archive_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/downloads","issues_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues{/number}","pulls_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls{/number}","milestones_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/milestones{/number}","notifications_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/labels{/name}","releases_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/releases{/id}","created_at":"2014-08-20T09:00:38Z","updated_at":"2015-10-28T23:51:16Z","pushed_at":"2015-11-16T21:31:25Z","git_url":"git://github.com/MirantisWorkloadMobility/CloudFerry.git","ssh_url":"git@github.com:MirantisWorkloadMobility/CloudFerry.git","clone_url":"https://github.com/MirantisWorkloadMobility/CloudFerry.git","svn_url":"https://github.com/MirantisWorkloadMobility/CloudFerry","homepage":null,"size":3323,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":17,"forks":33,"open_issues":17,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/583"},"html":{"href":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/583"},"issue":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/583"},"comments":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/583/comments"},"review_comments":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/583/comments"},"review_comment":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/583/commits"},"statuses":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/statuses/e297b913a065c8b1b5f6710c37f5a877ffc5199f"}}}}