{"action":"created","comment":{"url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/comments/35663927","id":35663927,"diff_hunk":"@@ -130,13 +131,22 @@ def read_info(self, **kwargs):\n         service_tenant_id = \\\n             self.get_tenant_id_by_name(self.config.cloud.service_tenant)\n \n+        admin_tenant_id = \\\n+            self.get_tenant_id_by_name(self.config.cloud.admin_tenant)\n+\n+        if kwargs.get('tenant_id'):\n+            self.filter_tenant_id = kwargs['tenant_id']\n+\n+        tmp_list = [admin_tenant_id, service_tenant_id, self.filter_tenant_id]","path":"cloudferrylib/os/identity/keystone.py","position":18,"original_position":18,"commit_id":"4734b6321657987f4d8d78ba993c413f7654ef22","original_commit_id":"4734b6321657987f4d8d78ba993c413f7654ef22","user":{"login":"realsystem","id":122425,"avatar_url":"https://avatars.githubusercontent.com/u/122425?v=3","gravatar_id":"","url":"https://api.github.com/users/realsystem","html_url":"https://github.com/realsystem","followers_url":"https://api.github.com/users/realsystem/followers","following_url":"https://api.github.com/users/realsystem/following{/other_user}","gists_url":"https://api.github.com/users/realsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/realsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realsystem/subscriptions","organizations_url":"https://api.github.com/users/realsystem/orgs","repos_url":"https://api.github.com/users/realsystem/repos","events_url":"https://api.github.com/users/realsystem/events{/privacy}","received_events_url":"https://api.github.com/users/realsystem/received_events","type":"User","site_admin":false},"body":"Just a list of items to compare below","created_at":"2015-07-28T15:52:50Z","updated_at":"2015-07-28T15:52:50Z","html_url":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/299#discussion_r35663927","pull_request_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/299","_links":{"self":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/comments/35663927"},"html":{"href":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/299#discussion_r35663927"},"pull_request":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/299"}}},"pull_request":{"url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/299","id":40963596,"html_url":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/299","diff_url":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/299.diff","patch_url":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/299.patch","issue_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/299","number":299,"state":"open","locked":false,"title":"[DON'T MERGE]: Filtering tenant ID for migration","user":{"login":"realsystem","id":122425,"avatar_url":"https://avatars.githubusercontent.com/u/122425?v=3","gravatar_id":"","url":"https://api.github.com/users/realsystem","html_url":"https://github.com/realsystem","followers_url":"https://api.github.com/users/realsystem/followers","following_url":"https://api.github.com/users/realsystem/following{/other_user}","gists_url":"https://api.github.com/users/realsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/realsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realsystem/subscriptions","organizations_url":"https://api.github.com/users/realsystem/orgs","repos_url":"https://api.github.com/users/realsystem/repos","events_url":"https://api.github.com/users/realsystem/events{/privacy}","received_events_url":"https://api.github.com/users/realsystem/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-28T00:08:18Z","updated_at":"2015-07-28T15:52:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d38a491d0b304e372da698d1923232118c9f3dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/299/commits","review_comments_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/299/comments","review_comment_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/299/comments","statuses_url":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/statuses/4734b6321657987f4d8d78ba993c413f7654ef22","head":{"label":"realsystem:125_separate","ref":"125_separate","sha":"4734b6321657987f4d8d78ba993c413f7654ef22","user":{"login":"realsystem","id":122425,"avatar_url":"https://avatars.githubusercontent.com/u/122425?v=3","gravatar_id":"","url":"https://api.github.com/users/realsystem","html_url":"https://github.com/realsystem","followers_url":"https://api.github.com/users/realsystem/followers","following_url":"https://api.github.com/users/realsystem/following{/other_user}","gists_url":"https://api.github.com/users/realsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/realsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realsystem/subscriptions","organizations_url":"https://api.github.com/users/realsystem/orgs","repos_url":"https://api.github.com/users/realsystem/repos","events_url":"https://api.github.com/users/realsystem/events{/privacy}","received_events_url":"https://api.github.com/users/realsystem/received_events","type":"User","site_admin":false},"repo":{"id":37868011,"name":"CloudFerry","full_name":"realsystem/CloudFerry","owner":{"login":"realsystem","id":122425,"avatar_url":"https://avatars.githubusercontent.com/u/122425?v=3","gravatar_id":"","url":"https://api.github.com/users/realsystem","html_url":"https://github.com/realsystem","followers_url":"https://api.github.com/users/realsystem/followers","following_url":"https://api.github.com/users/realsystem/following{/other_user}","gists_url":"https://api.github.com/users/realsystem/gists{/gist_id}","starred_url":"https://api.github.com/users/realsystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realsystem/subscriptions","organizations_url":"https://api.github.com/users/realsystem/orgs","repos_url":"https://api.github.com/users/realsystem/repos","events_url":"https://api.github.com/users/realsystem/events{/privacy}","received_events_url":"https://api.github.com/users/realsystem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/realsystem/CloudFerry","description":"CloudFerry is a cloud virtual workloads migration tool designed and developed by Mirantis Inc. ","fork":true,"url":"https://api.github.com/repos/realsystem/CloudFerry","forks_url":"https://api.github.com/repos/realsystem/CloudFerry/forks","keys_url":"https://api.github.com/repos/realsystem/CloudFerry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realsystem/CloudFerry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realsystem/CloudFerry/teams","hooks_url":"https://api.github.com/repos/realsystem/CloudFerry/hooks","issue_events_url":"https://api.github.com/repos/realsystem/CloudFerry/issues/events{/number}","events_url":"https://api.github.com/repos/realsystem/CloudFerry/events","assignees_url":"https://api.github.com/repos/realsystem/CloudFerry/assignees{/user}","branches_url":"https://api.github.com/repos/realsystem/CloudFerry/branches{/branch}","tags_url":"https://api.github.com/repos/realsystem/CloudFerry/tags","blobs_url":"https://api.github.com/repos/realsystem/CloudFerry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realsystem/CloudFerry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realsystem/CloudFerry/git/refs{/sha}","trees_url":"https://api.github.com/repos/realsystem/CloudFerry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realsystem/CloudFerry/statuses/{sha}","languages_url":"https://api.github.com/repos/realsystem/CloudFerry/languages","stargazers_url":"https://api.github.com/repos/realsystem/CloudFerry/stargazers","contributors_url":"https://api.github.com/repos/realsystem/CloudFerry/contributors","subscribers_url":"https://api.github.com/repos/realsystem/CloudFerry/subscribers","subscription_url":"https://api.github.com/repos/realsystem/CloudFerry/subscription","commits_url":"https://api.github.com/repos/realsystem/CloudFerry/commits{/sha}","git_commits_url":"https://api.github.com/repos/realsystem/CloudFerry/git/commits{/sha}","comments_url":"https://api.github.com/repos/realsystem/CloudFerry/comments{/number}","issue_comment_url":"https://api.github.com/repos/realsystem/CloudFerry/issues/comments{/number}","contents_url":"https://api.github.com/repos/realsystem/CloudFerry/contents/{+path}","compare_url":"https://api.github.com/repos/realsystem/CloudFerry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realsystem/CloudFerry/merges","archive_url":"https://api.github.com/repos/realsystem/CloudFerry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realsystem/CloudFerry/downloads","issues_url":"https://api.github.com/repos/realsystem/CloudFerry/issues{/number}","pulls_url":"https://api.github.com/repos/realsystem/CloudFerry/pulls{/number}","milestones_url":"https://api.github.com/repos/realsystem/CloudFerry/milestones{/number}","notifications_url":"https://api.github.com/repos/realsystem/CloudFerry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realsystem/CloudFerry/labels{/name}","releases_url":"https://api.github.com/repos/realsystem/CloudFerry/releases{/id}","created_at":"2015-06-22T16:53:44Z","updated_at":"2015-06-22T16:53:45Z","pushed_at":"2015-07-28T03:11:01Z","git_url":"git://github.com/realsystem/CloudFerry.git","ssh_url":"git@github.com:realsystem/CloudFerry.git","clone_url":"https://github.com/realsystem/CloudFerry.git","svn_url":"https://github.com/realsystem/CloudFerry","homepage":null,"size":1716,"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":"36c050cb55b26eee32b32cf143916e0e874b42c0","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-06-24T11:43:18Z","pushed_at":"2015-07-28T04:25:21Z","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":4160,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":13,"forks":20,"open_issues":13,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/299"},"html":{"href":"https://github.com/MirantisWorkloadMobility/CloudFerry/pull/299"},"issue":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/299"},"comments":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/issues/299/comments"},"review_comments":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/299/comments"},"review_comment":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/pulls/299/commits"},"statuses":{"href":"https://api.github.com/repos/MirantisWorkloadMobility/CloudFerry/statuses/4734b6321657987f4d8d78ba993c413f7654ef22"}}}}