{"action":"created","comment":{"url":"https://api.github.com/repos/pulp/pulp/pulls/comments/23770574","id":23770574,"diff_hunk":"@@ -30,6 +33,12 @@\n from pulp.server.managers import factory as managers\n from pulp.server.async.task_status_manager import TaskStatusManager\n from pulp.server.agent import Context\n+from pulp.server.async.tasks import Task\n+\n+\n+QUEUE_DELETE_DELAY = 600  # 10 min.\n+QUEUE_DELETE_FAILED = _('queue %(name)s cannot be deleted: %(reason)s')","path":"server/pulp/server/managers/consumer/agent.py","position":23,"original_position":23,"commit_id":"aed04bd8461b6824785a807818d83710c7f6bf49","original_commit_id":"aed04bd8461b6824785a807818d83710c7f6bf49","user":{"login":"bmbouter","id":180319,"avatar_url":"https://avatars.githubusercontent.com/u/180319?v=3","gravatar_id":"","url":"https://api.github.com/users/bmbouter","html_url":"https://github.com/bmbouter","followers_url":"https://api.github.com/users/bmbouter/followers","following_url":"https://api.github.com/users/bmbouter/following{/other_user}","gists_url":"https://api.github.com/users/bmbouter/gists{/gist_id}","starred_url":"https://api.github.com/users/bmbouter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmbouter/subscriptions","organizations_url":"https://api.github.com/users/bmbouter/orgs","repos_url":"https://api.github.com/users/bmbouter/repos","events_url":"https://api.github.com/users/bmbouter/events{/privacy}","received_events_url":"https://api.github.com/users/bmbouter/received_events","type":"User","site_admin":false},"body":"nice internationalization","created_at":"2015-01-29T14:32:39Z","updated_at":"2015-01-29T14:32:39Z","html_url":"https://github.com/pulp/pulp/pull/1583#discussion_r23770574","pull_request_url":"https://api.github.com/repos/pulp/pulp/pulls/1583","_links":{"self":{"href":"https://api.github.com/repos/pulp/pulp/pulls/comments/23770574"},"html":{"href":"https://github.com/pulp/pulp/pull/1583#discussion_r23770574"},"pull_request":{"href":"https://api.github.com/repos/pulp/pulp/pulls/1583"}}},"pull_request":{"url":"https://api.github.com/repos/pulp/pulp/pulls/1583","id":28241685,"html_url":"https://github.com/pulp/pulp/pull/1583","diff_url":"https://github.com/pulp/pulp/pull/1583.diff","patch_url":"https://github.com/pulp/pulp/pull/1583.patch","issue_url":"https://api.github.com/repos/pulp/pulp/issues/1583","number":1583,"state":"open","locked":false,"title":"1159303 - delete agent queues on consumer unregistration.","user":{"login":"jortel","id":1126767,"avatar_url":"https://avatars.githubusercontent.com/u/1126767?v=3","gravatar_id":"","url":"https://api.github.com/users/jortel","html_url":"https://github.com/jortel","followers_url":"https://api.github.com/users/jortel/followers","following_url":"https://api.github.com/users/jortel/following{/other_user}","gists_url":"https://api.github.com/users/jortel/gists{/gist_id}","starred_url":"https://api.github.com/users/jortel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jortel/subscriptions","organizations_url":"https://api.github.com/users/jortel/orgs","repos_url":"https://api.github.com/users/jortel/repos","events_url":"https://api.github.com/users/jortel/events{/privacy}","received_events_url":"https://api.github.com/users/jortel/received_events","type":"User","site_admin":false},"body":"https://bugzilla.redhat.com/show_bug.cgi?id=1159303\r\n\r\nThe NotFound exception is new in gofer 2.5 which contains support for amqp 1.0 (proton).  We can delay merging until that work is complete and gofer 2.5 is released.","created_at":"2015-01-28T23:54:49Z","updated_at":"2015-01-29T14:32:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c76ca17b1a485b1448f6763ae6d46cae322481a","assignee":{"login":"bmbouter","id":180319,"avatar_url":"https://avatars.githubusercontent.com/u/180319?v=3","gravatar_id":"","url":"https://api.github.com/users/bmbouter","html_url":"https://github.com/bmbouter","followers_url":"https://api.github.com/users/bmbouter/followers","following_url":"https://api.github.com/users/bmbouter/following{/other_user}","gists_url":"https://api.github.com/users/bmbouter/gists{/gist_id}","starred_url":"https://api.github.com/users/bmbouter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmbouter/subscriptions","organizations_url":"https://api.github.com/users/bmbouter/orgs","repos_url":"https://api.github.com/users/bmbouter/repos","events_url":"https://api.github.com/users/bmbouter/events{/privacy}","received_events_url":"https://api.github.com/users/bmbouter/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/pulp/pulp/pulls/1583/commits","review_comments_url":"https://api.github.com/repos/pulp/pulp/pulls/1583/comments","review_comment_url":"https://api.github.com/repos/pulp/pulp/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pulp/pulp/issues/1583/comments","statuses_url":"https://api.github.com/repos/pulp/pulp/statuses/aed04bd8461b6824785a807818d83710c7f6bf49","head":{"label":"jortel:jortel-1159303","ref":"jortel-1159303","sha":"aed04bd8461b6824785a807818d83710c7f6bf49","user":{"login":"jortel","id":1126767,"avatar_url":"https://avatars.githubusercontent.com/u/1126767?v=3","gravatar_id":"","url":"https://api.github.com/users/jortel","html_url":"https://github.com/jortel","followers_url":"https://api.github.com/users/jortel/followers","following_url":"https://api.github.com/users/jortel/following{/other_user}","gists_url":"https://api.github.com/users/jortel/gists{/gist_id}","starred_url":"https://api.github.com/users/jortel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jortel/subscriptions","organizations_url":"https://api.github.com/users/jortel/orgs","repos_url":"https://api.github.com/users/jortel/repos","events_url":"https://api.github.com/users/jortel/events{/privacy}","received_events_url":"https://api.github.com/users/jortel/received_events","type":"User","site_admin":false},"repo":{"id":26142168,"name":"pulp","full_name":"jortel/pulp","owner":{"login":"jortel","id":1126767,"avatar_url":"https://avatars.githubusercontent.com/u/1126767?v=3","gravatar_id":"","url":"https://api.github.com/users/jortel","html_url":"https://github.com/jortel","followers_url":"https://api.github.com/users/jortel/followers","following_url":"https://api.github.com/users/jortel/following{/other_user}","gists_url":"https://api.github.com/users/jortel/gists{/gist_id}","starred_url":"https://api.github.com/users/jortel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jortel/subscriptions","organizations_url":"https://api.github.com/users/jortel/orgs","repos_url":"https://api.github.com/users/jortel/repos","events_url":"https://api.github.com/users/jortel/events{/privacy}","received_events_url":"https://api.github.com/users/jortel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jortel/pulp","description":"Repository for Pulp platform code, including the server and base admin and consumer clients","fork":true,"url":"https://api.github.com/repos/jortel/pulp","forks_url":"https://api.github.com/repos/jortel/pulp/forks","keys_url":"https://api.github.com/repos/jortel/pulp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jortel/pulp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jortel/pulp/teams","hooks_url":"https://api.github.com/repos/jortel/pulp/hooks","issue_events_url":"https://api.github.com/repos/jortel/pulp/issues/events{/number}","events_url":"https://api.github.com/repos/jortel/pulp/events","assignees_url":"https://api.github.com/repos/jortel/pulp/assignees{/user}","branches_url":"https://api.github.com/repos/jortel/pulp/branches{/branch}","tags_url":"https://api.github.com/repos/jortel/pulp/tags","blobs_url":"https://api.github.com/repos/jortel/pulp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jortel/pulp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jortel/pulp/git/refs{/sha}","trees_url":"https://api.github.com/repos/jortel/pulp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jortel/pulp/statuses/{sha}","languages_url":"https://api.github.com/repos/jortel/pulp/languages","stargazers_url":"https://api.github.com/repos/jortel/pulp/stargazers","contributors_url":"https://api.github.com/repos/jortel/pulp/contributors","subscribers_url":"https://api.github.com/repos/jortel/pulp/subscribers","subscription_url":"https://api.github.com/repos/jortel/pulp/subscription","commits_url":"https://api.github.com/repos/jortel/pulp/commits{/sha}","git_commits_url":"https://api.github.com/repos/jortel/pulp/git/commits{/sha}","comments_url":"https://api.github.com/repos/jortel/pulp/comments{/number}","issue_comment_url":"https://api.github.com/repos/jortel/pulp/issues/comments/{number}","contents_url":"https://api.github.com/repos/jortel/pulp/contents/{+path}","compare_url":"https://api.github.com/repos/jortel/pulp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jortel/pulp/merges","archive_url":"https://api.github.com/repos/jortel/pulp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jortel/pulp/downloads","issues_url":"https://api.github.com/repos/jortel/pulp/issues{/number}","pulls_url":"https://api.github.com/repos/jortel/pulp/pulls{/number}","milestones_url":"https://api.github.com/repos/jortel/pulp/milestones{/number}","notifications_url":"https://api.github.com/repos/jortel/pulp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jortel/pulp/labels{/name}","releases_url":"https://api.github.com/repos/jortel/pulp/releases{/id}","created_at":"2014-11-03T22:37:29Z","updated_at":"2014-11-03T13:39:09Z","pushed_at":"2015-01-28T23:51:15Z","git_url":"git://github.com/jortel/pulp.git","ssh_url":"git@github.com:jortel/pulp.git","clone_url":"https://github.com/jortel/pulp.git","svn_url":"https://github.com/jortel/pulp","homepage":"","size":78990,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"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":"pulp:2.6-testing","ref":"2.6-testing","sha":"95db5014df181822fedd2a28106e5a72aca77f61","user":{"login":"pulp","id":2103606,"avatar_url":"https://avatars.githubusercontent.com/u/2103606?v=3","gravatar_id":"","url":"https://api.github.com/users/pulp","html_url":"https://github.com/pulp","followers_url":"https://api.github.com/users/pulp/followers","following_url":"https://api.github.com/users/pulp/following{/other_user}","gists_url":"https://api.github.com/users/pulp/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp/subscriptions","organizations_url":"https://api.github.com/users/pulp/orgs","repos_url":"https://api.github.com/users/pulp/repos","events_url":"https://api.github.com/users/pulp/events{/privacy}","received_events_url":"https://api.github.com/users/pulp/received_events","type":"Organization","site_admin":false},"repo":{"id":5314652,"name":"pulp","full_name":"pulp/pulp","owner":{"login":"pulp","id":2103606,"avatar_url":"https://avatars.githubusercontent.com/u/2103606?v=3","gravatar_id":"","url":"https://api.github.com/users/pulp","html_url":"https://github.com/pulp","followers_url":"https://api.github.com/users/pulp/followers","following_url":"https://api.github.com/users/pulp/following{/other_user}","gists_url":"https://api.github.com/users/pulp/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp/subscriptions","organizations_url":"https://api.github.com/users/pulp/orgs","repos_url":"https://api.github.com/users/pulp/repos","events_url":"https://api.github.com/users/pulp/events{/privacy}","received_events_url":"https://api.github.com/users/pulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulp/pulp","description":"Repository for Pulp platform code, including the server and base admin and consumer clients","fork":false,"url":"https://api.github.com/repos/pulp/pulp","forks_url":"https://api.github.com/repos/pulp/pulp/forks","keys_url":"https://api.github.com/repos/pulp/pulp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulp/pulp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulp/pulp/teams","hooks_url":"https://api.github.com/repos/pulp/pulp/hooks","issue_events_url":"https://api.github.com/repos/pulp/pulp/issues/events{/number}","events_url":"https://api.github.com/repos/pulp/pulp/events","assignees_url":"https://api.github.com/repos/pulp/pulp/assignees{/user}","branches_url":"https://api.github.com/repos/pulp/pulp/branches{/branch}","tags_url":"https://api.github.com/repos/pulp/pulp/tags","blobs_url":"https://api.github.com/repos/pulp/pulp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulp/pulp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulp/pulp/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulp/pulp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulp/pulp/statuses/{sha}","languages_url":"https://api.github.com/repos/pulp/pulp/languages","stargazers_url":"https://api.github.com/repos/pulp/pulp/stargazers","contributors_url":"https://api.github.com/repos/pulp/pulp/contributors","subscribers_url":"https://api.github.com/repos/pulp/pulp/subscribers","subscription_url":"https://api.github.com/repos/pulp/pulp/subscription","commits_url":"https://api.github.com/repos/pulp/pulp/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulp/pulp/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulp/pulp/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulp/pulp/issues/comments/{number}","contents_url":"https://api.github.com/repos/pulp/pulp/contents/{+path}","compare_url":"https://api.github.com/repos/pulp/pulp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulp/pulp/merges","archive_url":"https://api.github.com/repos/pulp/pulp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulp/pulp/downloads","issues_url":"https://api.github.com/repos/pulp/pulp/issues{/number}","pulls_url":"https://api.github.com/repos/pulp/pulp/pulls{/number}","milestones_url":"https://api.github.com/repos/pulp/pulp/milestones{/number}","notifications_url":"https://api.github.com/repos/pulp/pulp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulp/pulp/labels{/name}","releases_url":"https://api.github.com/repos/pulp/pulp/releases{/id}","created_at":"2012-08-06T13:49:20Z","updated_at":"2015-01-28T18:03:54Z","pushed_at":"2015-01-28T18:03:54Z","git_url":"git://github.com/pulp/pulp.git","ssh_url":"git@github.com:pulp/pulp.git","clone_url":"https://github.com/pulp/pulp.git","svn_url":"https://github.com/pulp/pulp","homepage":"","size":199950,"stargazers_count":178,"watchers_count":178,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":28,"forks":75,"open_issues":28,"watchers":178,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pulp/pulp/pulls/1583"},"html":{"href":"https://github.com/pulp/pulp/pull/1583"},"issue":{"href":"https://api.github.com/repos/pulp/pulp/issues/1583"},"comments":{"href":"https://api.github.com/repos/pulp/pulp/issues/1583/comments"},"review_comments":{"href":"https://api.github.com/repos/pulp/pulp/pulls/1583/comments"},"review_comment":{"href":"https://api.github.com/repos/pulp/pulp/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pulp/pulp/pulls/1583/commits"},"statuses":{"href":"https://api.github.com/repos/pulp/pulp/statuses/aed04bd8461b6824785a807818d83710c7f6bf49"}}}}