{"action":"created","comment":{"url":"https://api.github.com/repos/pulp/pulp/pulls/comments/88811893","pull_request_review_id":9373418,"id":88811893,"diff_hunk":"@@ -1,3 +1,4 @@\n \"\"\"\n Any Celery task imported here will be known to Pulp\n \"\"\"\n+from pulp.tasking.tasks.repository import delete_publisher","path":"tasking/pulp/tasking/registry.py","position":4,"original_position":4,"commit_id":"dc9efafc26fe5d38b3192d89ad700523c651e1cc","original_commit_id":"dc9efafc26fe5d38b3192d89ad700523c651e1cc","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":"Can a newline be added at the end of this file please?","created_at":"2016-11-20T21:34:15Z","updated_at":"2016-11-20T21:34:15Z","html_url":"https://github.com/pulp/pulp/pull/2851#discussion_r88811893","pull_request_url":"https://api.github.com/repos/pulp/pulp/pulls/2851","_links":{"self":{"href":"https://api.github.com/repos/pulp/pulp/pulls/comments/88811893"},"html":{"href":"https://github.com/pulp/pulp/pull/2851#discussion_r88811893"},"pull_request":{"href":"https://api.github.com/repos/pulp/pulp/pulls/2851"}}},"pull_request":{"url":"https://api.github.com/repos/pulp/pulp/pulls/2851","id":94268062,"html_url":"https://github.com/pulp/pulp/pull/2851","diff_url":"https://github.com/pulp/pulp/pull/2851.diff","patch_url":"https://github.com/pulp/pulp/pull/2851.patch","issue_url":"https://api.github.com/repos/pulp/pulp/issues/2851","number":2851,"state":"open","locked":false,"title":"[Do not merge] Tasking sandbox","user":{"login":"goosemania","id":16638409,"avatar_url":"https://avatars.githubusercontent.com/u/16638409?v=3","gravatar_id":"","url":"https://api.github.com/users/goosemania","html_url":"https://github.com/goosemania","followers_url":"https://api.github.com/users/goosemania/followers","following_url":"https://api.github.com/users/goosemania/following{/other_user}","gists_url":"https://api.github.com/users/goosemania/gists{/gist_id}","starred_url":"https://api.github.com/users/goosemania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goosemania/subscriptions","organizations_url":"https://api.github.com/users/goosemania/orgs","repos_url":"https://api.github.com/users/goosemania/repos","events_url":"https://api.github.com/users/goosemania/events{/privacy}","received_events_url":"https://api.github.com/users/goosemania/received_events","type":"User","site_admin":false},"body":"Workaround to avoid app label issue and start playing with tasks.\r\n\r\nYou would need to switch to RabbitMQ.\r\n`sudo dnf install rabbitmq-server`\r\nTo use the default port for broker, stop/disable Qpid and start/enable RabbitMQ:\r\n`sudo systemctl disable qpidd --now`\r\n`sudo systemctl status rabbitmq-server`\r\nThen change broker_url either in settings.py (as in PR), or in server.yaml config.\r\nStart pulp_workers/celerybeat/resource_manager in a usual way via `systemctl` (find modified startup scripts in this PR).\r\nRun `python manage.py shell` and try something out and continue the journey:\r\n```\r\nfrom pulp.tasking.registry import delete_publisher\r\ndelete_publisher.apply_async(...)\r\n```\r\nor\r\n`delete_publisher.apply_async_with_reservation(...)`\r\n\r\nCurrent status:\r\n - workers/resource_manager/celerybeat run and [almost] work\r\n - tasks can be dispatched but they are not handled well all the way\r\n\r\nThis is where I am so far. This is just to share where I am now. Feel free to join anytime ;)","created_at":"2016-11-17T22:50:11Z","updated_at":"2016-11-20T21:34:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a953a223688bab9244c0768141622aa3d9e6769f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pulp/pulp/pulls/2851/commits","review_comments_url":"https://api.github.com/repos/pulp/pulp/pulls/2851/comments","review_comment_url":"https://api.github.com/repos/pulp/pulp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pulp/pulp/issues/2851/comments","statuses_url":"https://api.github.com/repos/pulp/pulp/statuses/dc9efafc26fe5d38b3192d89ad700523c651e1cc","head":{"label":"goosemania:app-label-dirty-fix","ref":"app-label-dirty-fix","sha":"dc9efafc26fe5d38b3192d89ad700523c651e1cc","user":{"login":"goosemania","id":16638409,"avatar_url":"https://avatars.githubusercontent.com/u/16638409?v=3","gravatar_id":"","url":"https://api.github.com/users/goosemania","html_url":"https://github.com/goosemania","followers_url":"https://api.github.com/users/goosemania/followers","following_url":"https://api.github.com/users/goosemania/following{/other_user}","gists_url":"https://api.github.com/users/goosemania/gists{/gist_id}","starred_url":"https://api.github.com/users/goosemania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goosemania/subscriptions","organizations_url":"https://api.github.com/users/goosemania/orgs","repos_url":"https://api.github.com/users/goosemania/repos","events_url":"https://api.github.com/users/goosemania/events{/privacy}","received_events_url":"https://api.github.com/users/goosemania/received_events","type":"User","site_admin":false},"repo":{"id":49419091,"name":"pulp","full_name":"goosemania/pulp","owner":{"login":"goosemania","id":16638409,"avatar_url":"https://avatars.githubusercontent.com/u/16638409?v=3","gravatar_id":"","url":"https://api.github.com/users/goosemania","html_url":"https://github.com/goosemania","followers_url":"https://api.github.com/users/goosemania/followers","following_url":"https://api.github.com/users/goosemania/following{/other_user}","gists_url":"https://api.github.com/users/goosemania/gists{/gist_id}","starred_url":"https://api.github.com/users/goosemania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goosemania/subscriptions","organizations_url":"https://api.github.com/users/goosemania/orgs","repos_url":"https://api.github.com/users/goosemania/repos","events_url":"https://api.github.com/users/goosemania/events{/privacy}","received_events_url":"https://api.github.com/users/goosemania/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goosemania/pulp","description":"Repository for Pulp platform code, including the server and base admin and consumer clients","fork":true,"url":"https://api.github.com/repos/goosemania/pulp","forks_url":"https://api.github.com/repos/goosemania/pulp/forks","keys_url":"https://api.github.com/repos/goosemania/pulp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goosemania/pulp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goosemania/pulp/teams","hooks_url":"https://api.github.com/repos/goosemania/pulp/hooks","issue_events_url":"https://api.github.com/repos/goosemania/pulp/issues/events{/number}","events_url":"https://api.github.com/repos/goosemania/pulp/events","assignees_url":"https://api.github.com/repos/goosemania/pulp/assignees{/user}","branches_url":"https://api.github.com/repos/goosemania/pulp/branches{/branch}","tags_url":"https://api.github.com/repos/goosemania/pulp/tags","blobs_url":"https://api.github.com/repos/goosemania/pulp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goosemania/pulp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goosemania/pulp/git/refs{/sha}","trees_url":"https://api.github.com/repos/goosemania/pulp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goosemania/pulp/statuses/{sha}","languages_url":"https://api.github.com/repos/goosemania/pulp/languages","stargazers_url":"https://api.github.com/repos/goosemania/pulp/stargazers","contributors_url":"https://api.github.com/repos/goosemania/pulp/contributors","subscribers_url":"https://api.github.com/repos/goosemania/pulp/subscribers","subscription_url":"https://api.github.com/repos/goosemania/pulp/subscription","commits_url":"https://api.github.com/repos/goosemania/pulp/commits{/sha}","git_commits_url":"https://api.github.com/repos/goosemania/pulp/git/commits{/sha}","comments_url":"https://api.github.com/repos/goosemania/pulp/comments{/number}","issue_comment_url":"https://api.github.com/repos/goosemania/pulp/issues/comments{/number}","contents_url":"https://api.github.com/repos/goosemania/pulp/contents/{+path}","compare_url":"https://api.github.com/repos/goosemania/pulp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goosemania/pulp/merges","archive_url":"https://api.github.com/repos/goosemania/pulp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goosemania/pulp/downloads","issues_url":"https://api.github.com/repos/goosemania/pulp/issues{/number}","pulls_url":"https://api.github.com/repos/goosemania/pulp/pulls{/number}","milestones_url":"https://api.github.com/repos/goosemania/pulp/milestones{/number}","notifications_url":"https://api.github.com/repos/goosemania/pulp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goosemania/pulp/labels{/name}","releases_url":"https://api.github.com/repos/goosemania/pulp/releases{/id}","deployments_url":"https://api.github.com/repos/goosemania/pulp/deployments","created_at":"2016-01-11T10:34:15Z","updated_at":"2016-01-11T10:34:20Z","pushed_at":"2016-11-17T22:39:14Z","git_url":"git://github.com/goosemania/pulp.git","ssh_url":"git@github.com:goosemania/pulp.git","clone_url":"https://github.com/goosemania/pulp.git","svn_url":"https://github.com/goosemania/pulp","homepage":"","size":93307,"stargazers_count":0,"watchers_count":0,"language":"Python","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:3.0-dev","ref":"3.0-dev","sha":"1ea04eb50ca58913bbe852b2b443203c4ef86f85","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}","deployments_url":"https://api.github.com/repos/pulp/pulp/deployments","created_at":"2012-08-06T13:49:20Z","updated_at":"2016-11-18T21:39:25Z","pushed_at":"2016-11-18T23:17:48Z","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":103504,"stargazers_count":287,"watchers_count":287,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":111,"mirror_url":null,"open_issues_count":22,"forks":111,"open_issues":22,"watchers":287,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pulp/pulp/pulls/2851"},"html":{"href":"https://github.com/pulp/pulp/pull/2851"},"issue":{"href":"https://api.github.com/repos/pulp/pulp/issues/2851"},"comments":{"href":"https://api.github.com/repos/pulp/pulp/issues/2851/comments"},"review_comments":{"href":"https://api.github.com/repos/pulp/pulp/pulls/2851/comments"},"review_comment":{"href":"https://api.github.com/repos/pulp/pulp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pulp/pulp/pulls/2851/commits"},"statuses":{"href":"https://api.github.com/repos/pulp/pulp/statuses/dc9efafc26fe5d38b3192d89ad700523c651e1cc"}}}}
{"actor":{"display_login":"bmbouter"}}