https://pulp.plan.io/https://pulp.plan.io/favicon.ico2015-02-28T22:39:19ZPulpPulp - Issue #575: Warning in the log when starting celery serviceshttps://pulp.plan.io/issues/575?journal_id=12452015-02-28T22:39:19Zrbarlow
<ul></ul><p>Here's the message with the log details removed:</p>
<pre><code>/usr/lib/python2.7/site-packages/celery/apps/worker.py:161: CDeprecationWarning:
Starting from version 3.2 Celery will refuse to accept pickle by default.
</code></pre>
<pre><code>The pickle serializer is a security concern as it may give attackers
the ability to execute any command. It's important to secure
your broker from unauthorized access when using pickle, so we think
that enabling pickle should require a deliberate action and not be
the default choice.
</code></pre>
<pre><code>If you depend on pickle then you should set a setting to disable this
warning and to be sure that everything will continue working
when you upgrade to Celery 3.2::
</code></pre>
<pre><code>CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']
</code></pre>
<pre><code>You must only enable the serializers that you will actually use.
</code></pre>
<pre><code>warnings.warn(CDeprecationWarning(W_PICKLE_DEPRECATED))
</code></pre>
<pre><code>-------------- resource_manager@cloud-qe-15.idmqe.lab.eng.bos.redhat.com v3.1.11 (Cipater)
---- **** -----
</code></pre>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1151224#c1" class="external">Bugzilla #1151224 comment 1</a> +</p> Pulp - Issue #575: Warning in the log when starting celery serviceshttps://pulp.plan.io/issues/575?journal_id=12462015-02-28T22:39:20Zbmbouterbmbouter@redhat.com
<ul></ul><p>I've added a troubleshooting note [0] to the 2.5.0 docs indicating this warning is part of normal operation.</p>
<p>[0]: <a href="https://github.com/pulp/pulp/pull/1232" class="external">https://github.com/pulp/pulp/pull/1232</a></p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1151224#c2" class="external">Bugzilla #1151224 comment 2</a> +</p> Pulp - Issue #575: Warning in the log when starting celery serviceshttps://pulp.plan.io/issues/575?journal_id=12472015-02-28T22:39:20Zbmbouterbmbouter@redhat.com
<ul></ul><p>Putting this back to NEW because I only documented the bug I did not actually fix it. To fix this bug I think you will need to:</p>
<p>- Port over all celery tasks to using arguments that serialize correctly with json</p>
<p>- Have Pulp configure celery to disable all pickling except json</p>
<p>- test test test and update the unit tests</p>
<p>- Decide if the consumer agent executes arbitrary code passed in via the message bus, and if so if we are OK with that. If we are not then we need to start using the json serializer with consumer tasks also.</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1151224#c3" class="external">Bugzilla #1151224 comment 3</a> +</p> Pulp - Issue #575: Warning in the log when starting celery serviceshttps://pulp.plan.io/issues/575?journal_id=27742015-03-20T19:16:15Zbmbouterbmbouter@redhat.com
<ul><li><strong>Severity</strong> changed from <i>High</i> to <i>3. High</i></li></ul> Pulp - Issue #575: Warning in the log when starting celery serviceshttps://pulp.plan.io/issues/575?journal_id=90502016-02-18T02:28:06Zbmbouterbmbouter@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - DUPLICATE</i></li></ul> Pulp - Issue #575: Warning in the log when starting celery serviceshttps://pulp.plan.io/issues/575?journal_id=90512016-02-18T02:28:45Zbmbouterbmbouter@redhat.com
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-3 status-11 priority-6 priority-default closed" href="/issues/23">Story #23</a>: As a user, I can rest easy in the knowledge that Pulp's Celery tasks are not serialized dangerously</i> added</li></ul> Pulp - Issue #575: Warning in the log when starting celery serviceshttps://pulp.plan.io/issues/575?journal_id=402682019-04-15T21:08:45Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul>