Bug 860709
Summary: | After upgrading CFSE Pulp is not working correctly | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Hayk Hovsepyan <hhovsepy> |
Component: | API | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED ERRATA | QA Contact: | Hayk Hovsepyan <hhovsepy> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.0 | CC: | asettle, cwelton, dmacpher, jlaska, lzap, omaciel |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
After upgrading from CloudForms System Engine 1.0.1 to 1.1, remote package installation to systems failed and provided an incorrect error for "repo info" and "system packages --install" commands. This fix corrects the errors and successfully installs packages to systems remotely.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-04 19:56:42 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Hayk Hovsepyan
2012-09-26 14:25:37 UTC
Here is the full error message: Traceback (most recent call last):\n File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py\", line 48, in report_error\n return method(self, *args, **kwargs)\n File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py\", line 127, in _auth_decorator\n value = method(self, *args, **kwargs)\n File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/consumers.py\", line 593, in POST\n return action(id)\n File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/consumers.py\", line 408, in installpackages\n async.enqueue(task, unique=False)\n File \"/usr/lib/python2.6/site-packages/pulp/server/async.py\", line 58, in enqueue\n _queue.enqueue(task, unique)\nAttributeError: 'NoneType' object has no attribute 'enqueue'\n Taking, please ack it. Trying to repro on RHEL6.3 now, did you try it on RHEL 6.3 too? It fails on RHEL 6.3 as well. Reproduced: [root@bb sgs]# kk repo info --name "Nature Enterprise x86_64 1.1" --product "Nature Enterprise" Traceback (most recent call last):\n File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py\", line 48, in report_error\n return method(self, *args, **kwargs)\n File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py\", line 127, in _auth_decorator\n value = method(self, *args, **kwargs)\n File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/repositories.py\", line 430, in GET\n task = scheduled_sync.find_scheduled_task(repo['id'], '_sync')\n File \"/usr/lib/python2.6/site-packages/pulp/server/api/scheduled_sync.py\", line 149, in find_scheduled_task\n for task in async.find_async(method_name=method_name):\n File \"/usr/lib/python2.6/site-packages/pulp/server/async.py\", line 110, in find_async\n return _queue.find(**kwargs)\nAttributeError: 'NoneType' object has no attribute 'find'\n Looking into it. Verified on revision: katello-qpid-broker-key-pair-1.0-1.noarch katello-agent-0.17-1.el6.noarch katello-certs-tools-1.1.8-1.el6cf.noarch katello-glue-pulp-1.1.12-12.el6cf.noarch katello-glue-foreman-0.1.318-1.el6cf.noarch katello-qpid-client-key-pair-1.0-1.noarch katello-cli-common-1.1.8-6.el6cf.noarch katello-glue-candlepin-1.1.12-12.el6cf.noarch katello-cli-1.1.8-6.el6cf.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-selinux-1.1.1-1.el6cf.noarch katello-common-1.1.12-12.el6cf.noarch katello-1.1.12-12.el6cf.noarch katello-configure-1.1.9-6.el6cf.noarch Now it does not show errors and installs packages to systems remotely. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-1543.html |