{"action":"created","issue":{"url":"https://api.github.com/repos/mozmeao/infra/issues/555","repository_url":"https://api.github.com/repos/mozmeao/infra","labels_url":"https://api.github.com/repos/mozmeao/infra/issues/555/labels{/name}","comments_url":"https://api.github.com/repos/mozmeao/infra/issues/555/comments","events_url":"https://api.github.com/repos/mozmeao/infra/issues/555/events","html_url":"https://github.com/mozmeao/infra/pull/555","id":262567281,"number":555,"title":"celery: use long options, send log to stdout","user":{"login":"jwhitlock","id":286017,"avatar_url":"https://avatars0.githubusercontent.com/u/286017?v=4","gravatar_id":"","url":"https://api.github.com/users/jwhitlock","html_url":"https://github.com/jwhitlock","followers_url":"https://api.github.com/users/jwhitlock/followers","following_url":"https://api.github.com/users/jwhitlock/following{/other_user}","gists_url":"https://api.github.com/users/jwhitlock/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhitlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhitlock/subscriptions","organizations_url":"https://api.github.com/users/jwhitlock/orgs","repos_url":"https://api.github.com/users/jwhitlock/repos","events_url":"https://api.github.com/users/jwhitlock/events{/privacy}","received_events_url":"https://api.github.com/users/jwhitlock/received_events","type":"User","site_admin":false},"labels":[{"id":661389909,"url":"https://api.github.com/repos/mozmeao/infra/labels/WIP","name":"WIP","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-03T20:05:27Z","updated_at":"2017-10-03T20:17:09Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mozmeao/infra/pulls/555","html_url":"https://github.com/mozmeao/infra/pull/555","diff_url":"https://github.com/mozmeao/infra/pull/555.diff","patch_url":"https://github.com/mozmeao/infra/pull/555.patch"},"body":"* The celery workers are sending output to the ``stderr``, but Papertrail reads ``stdout``.\r\n* The ``mdn_purgable`` queue appears to be filling up. There's a suspicious space in the output captured by kubernetes:\r\n\r\n```\r\n -------------- celery@celery-worker-2321427860-199xf v3.1.20 (Cipater)\r\n---- **** ----- \r\n--- * ***  * -- Linux-4.4.65-k8s-x86_64-with-Ubuntu-16.04-xenial\r\n-- * - **** --- \r\n- ** ---------- [config]\r\n- ** ---------- .> app:         default:0x7f1fd4449bd0 (djcelery.loaders.DjangoLoader)\r\n- ** ---------- .> transport:   redis://mdn-redis-prod.cache.amazonaws.com:6379/0\r\n- ** ---------- .> results:     cache+memcached://mdn-memcached-prod.cache.amazonaws.com:11121/\r\n- *** --- * --- .> concurrency: 4 (prefork)\r\n-- ******* ---- \r\n--- ***** ----- [queues]\r\n -------------- .>  mdn_purgeable   exchange= mdn_purgeable(direct) key= mdn_purgeable\r\n                .> celery           exchange=celery(direct) key=celery\r\n                .> mdn_emails       exchange=mdn_emails(direct) key=mdn_emails\r\n                .> mdn_search       exchange=mdn_search(direct) key=mdn_search\r\n                .> mdn_wiki         exchange=mdn_wiki(direct) key=mdn_wiki\r\n```\r\n\r\nThat space extra space in ``.>  mdn_purgeable`` may be due to parsing the ``-Q`` option, so trying the long option."},"comment":{"url":"https://api.github.com/repos/mozmeao/infra/issues/comments/333965136","html_url":"https://github.com/mozmeao/infra/pull/555#issuecomment-333965136","issue_url":"https://api.github.com/repos/mozmeao/infra/issues/555","id":333965136,"user":{"login":"jwhitlock","id":286017,"avatar_url":"https://avatars0.githubusercontent.com/u/286017?v=4","gravatar_id":"","url":"https://api.github.com/users/jwhitlock","html_url":"https://github.com/jwhitlock","followers_url":"https://api.github.com/users/jwhitlock/followers","following_url":"https://api.github.com/users/jwhitlock/following{/other_user}","gists_url":"https://api.github.com/users/jwhitlock/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhitlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhitlock/subscriptions","organizations_url":"https://api.github.com/users/jwhitlock/orgs","repos_url":"https://api.github.com/users/jwhitlock/repos","events_url":"https://api.github.com/users/jwhitlock/events{/privacy}","received_events_url":"https://api.github.com/users/jwhitlock/received_events","type":"User","site_admin":false},"created_at":"2017-10-03T20:17:08Z","updated_at":"2017-10-03T20:17:08Z","author_association":"CONTRIBUTOR","body":"That seems to help get the queue processed, but does not send logs to papertrail"}}
{"actor":{"display_login":"jwhitlock"}}