Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2015-02-28T22:17:01ZPulp
Planio Pulp - Issue #504 (CLOSED - CURRENTRELEASE): Fix result.get() call per celery deprecation warninghttps://pulp.plan.io/issues/5042015-02-28T22:17:01Zcwelton@redhat.comcwelton@redhat.com
<p>Description of problem:</p>
<p>Upon initializing pulp/celery/whatever, a strongly-worded deprecation error is thrown. Assuming pulp will eventually move to the next version of celery this needs to be fixed.</p>
<p>Version-Release number of selected component (if applicable):<br>
pulp-katello-0.3-3.el7sat.noarch<br>
pulp-nodes-child-2.4.0-0.30.beta.el7sat.noarch<br>
pulp-nodes-common-2.4.0-0.30.beta.el7sat.noarch<br>
pulp-nodes-parent-2.4.0-0.30.beta.el7sat.noarch<br>
pulp-puppet-plugins-2.4.0-0.30.beta.el7sat.noarch<br>
pulp-rpm-handlers-2.4.0-0.30.beta.el7sat.noarch<br>
pulp-rpm-plugins-2.4.0-0.30.beta.el7sat.noarch<br>
pulp-selinux-2.4.0-0.30.beta.el7sat.noarch<br>
pulp-server-2.4.0-0.30.beta.el7sat.noarch<br>
python-isodate-0.5.0-1.pulp.el7sat.noarch<br>
python-kombu-3.0.15-12.pulp.el7sat.noarch<br>
python-pulp-agent-lib-2.4.0-0.30.beta.el7sat.noarch<br>
python-pulp-bindings-2.4.0-0.30.beta.el7sat.noarch<br>
python-pulp-common-2.4.0-0.30.beta.el7sat.noarch<br>
python-pulp-puppet-common-2.4.0-0.30.beta.el7sat.noarch<br>
python-pulp-rpm-common-2.4.0-0.30.beta.el7sat.noarch<br>
rubygem-smart_proxy_pulp-1.0.1-1.1.el7sat.noarch</p>
<p>How reproducible:</p>
<p>Steps to Reproduce:<br>
1. Install satellite capsule and kick it off.<br>
2. View logs</p>
<p>Actual results:<br>
Aug 27 17:13:57 ibm-x3550m3-13 pulp: py.warnings:WARNING: /usr/lib/python2.7/site-packages/celery/result.py:45: RuntimeWarning: Never call result.get() within a task!<br>
Aug 27 17:13:57 ibm-x3550m3-13 pulp: py.warnings:WARNING: See <a href="http://docs.celeryq.org/en/latest/userguide/tasks.html#task-synchronous-subtasks" class="external">http://docs.celeryq.org/en/latest/userguide/tasks.html#task-synchronous-subtasks</a><br>
Aug 27 17:13:57 ibm-x3550m3-13 pulp: py.warnings:WARNING:<br>
Aug 27 17:13:57 ibm-x3550m3-13 pulp: py.warnings:WARNING: In Celery 3.2 this will result in an exception being<br>
Aug 27 17:13:57 ibm-x3550m3-13 pulp: py.warnings:WARNING: raised instead of just being a warning.<br>
Aug 27 17:13:57 ibm-x3550m3-13 pulp: py.warnings:WARNING:<br>
Aug 27 17:13:57 ibm-x3550m3-13 pulp: py.warnings:WARNING: warnings.warn(RuntimeWarning(E_WOULDBLOCK))<br>
Aug 27 17:13:57 ibm-x3550m3-13 pulp: py.warnings:WARNING:</p>
<p>Expected results:</p>
<p>Additional info:</p>
<p>+ This bug was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1134502" class="external">Bugzilla Bug #1134502</a> +</p>