Bug 672302
Summary: | Exception at the end of errata install on consumergroup | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | user-experience | Assignee: | Sayli Karmarkar <skarmark> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | cperry, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-16 12:08:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 647488 |
Description
Preethi Thomas
2011-01-24 18:53:33 UTC
[root@preethi ~]# rpm -q pulp pulp-0.0.129-1.fc14.noarch [root@preethi ~]# pulp-admin errata install -e FEDORA-2010-19232 --consumergroupid=mygroup Created task id: ea792b54-27ea-11e0-9133-002564a85a58 ...............................................................error: operation failed: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/base.py", line 57, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/role_check.py", line 131, in check_roles result = f(instance, *fargs, **kw) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/consumergroups.py", line 245, in GET return self.ok(task_info) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/base.py", line 199, in ok return self._output(data) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/base.py", line 189, in _output return json.dumps(data, default=json_util.default) File "/usr/lib64/python2.7/json/__init__.py", line 238, in dumps **kw).encode(obj) File "/usr/lib64/python2.7/json/encoder.py", line 201, in encode chunks = self.iterencode(o, _one_shot=True) File "/usr/lib64/python2.7/json/encoder.py", line 264, in iterencode return _iterencode(o, 0) File "/usr/lib64/python2.7/site-packages/pymongo/json_util.py", line 92, in default raise TypeError("%r is not JSON serializable" % obj) TypeError: YumTestTransactionError() is not JSON serializable I have consumer group with consumer on f14 and another on f13. Both are bound to a f14 updates repo I run and errata install for an erratum that is available for both ( found it by running errata list individually on each consumers) I see the following in individual client logs and rpm -q shows the package was infact installed on my f13 client 2011-01-24 13:47:12,890 [INFO][10.16.79.205] received() @ consumer.py:159 - {10.16.79.205} received: { "origin": "45be7a76-ce89-4f42-971d-cc68efbe5f5e", "window": {}, "version": "0.2", "sn": "35a4a418-4c5d-4789-9367-f8300a650447", "replyto": "asynctaskreplyqueue;{create:always,node:{type:queue,durable:True},link:{durable:True,x-subscribe:{exclusive:True}}}", "request": { "classname": "Packages", "kws": {}, "args": [ [ "kernel-headers", "kernel", "kernel", "kernel-headers" ], false, false ], "method": "install" }, "any": "ea792b54-27ea-11e0-9133-002564a85a58" } 2011-01-24 13:47:12,969 [INFO][10.16.79.205] send() @ producer.py:58 - {29b4f720-ca90-47a7-b127-29340628df04} sent (asynctaskreplyqueue;{create:always,node:{type:queue,durable:True},link:{durable:True,x-subscribe:{exclusive:True}}}) { "origin": "29b4f720-ca90-47a7-b127-29340628df04", "status": "started", "version": "0.2", "sn": "35a4a418-4c5d-4789-9367-f8300a650447", "any": "ea792b54-27ea-11e0-9133-002564a85a58" } 2011-01-24 13:47:12,970 [INFO][10.16.79.205] dispatch() @ dispatcher.py:287 - dispatching:{ "classname": "Packages", "kws": {}, "args": [ [ "kernel-headers", "kernel", "kernel", "kernel-headers" ], false, false ], "method": "install" } 2011-01-24 13:47:12,979 [INFO][10.16.79.205] install() @ pulp.py:147 - installing packages: ['kernel-headers', 'kernel', 'kernel', 'kernel-headers'] 2011-01-24 13:48:57,438 [ERROR][10.16.79.205] _introspect_error_handler() @ proxies.py:400 - Introspect error on :1.131:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) 2011-01-24 13:49:21,228 [INFO][10.16.79.205] send() @ producer.py:58 - {29b4f720-ca90-47a7-b127-29340628df04} sent (asynctaskreplyqueue;{create:always,node:{type:queue,durable:True},link:{durable:True,x-subscribe:{exclusive:True}}}) { "origin": "29b4f720-ca90-47a7-b127-29340628df04", "version": "0.2", "sn": "35a4a418-4c5d-4789-9367-f8300a650447", "any": "ea792b54-27ea-11e0-9133-002564a85a58", "result": { "retval": [ [ "kernel-headers-2.6.35.10-74.fc14.x86_64", "kernel-2.6.35.10-74.fc14.x86_64", "kernel-2.6.35.10-74.fc14.x86_64", "kernel-headers-2.6.35.10-74.fc14.x86_64" ], null ] } } 2011-01-24 13:49:21,283 [INFO][10.16.79.205] run() @ consumer.py:65 - ready 2011-01-24 13:50:35,036 [INFO][Actions] hello() @ builtin.py:39 - Hello: [main] enabled=1 on f14 client 2011-01-24 13:51:13,123 [INFO][preethi.usersys.redhat.com] received() @ consumer.py:159 - {preethi.usersys.redhat.com} received: { "origin": "45be7a76-ce89-4f42-971d-cc68efbe5f5e", "window": {}, "version": "0.2", "sn": "5e5f3686-dc84-42f4-9dd8-2c40e469542b", "replyto": "asynctaskreplyqueue;{create:always,node:{type:queue,durable:True},link:{durable:True,x-subscribe:{exclusive:True}}}", "request": { "classname": "Packages", "kws": {}, "args": [ [ "kernel", "kernel" ], false, false ], "method": "install" }, "any": "ea792b54-27ea-11e0-9133-002564a85a58" } 2011-01-24 13:51:13,139 [INFO][preethi.usersys.redhat.com] send() @ producer.py:58 - {55dbaff9-0323-4e17-abd7-e06dbf206123} sent (asynctaskreplyqueue;{create:always,node:{type:queue,durable:True},link:{durable:True,x-subscribe:{exclusive:True}}}) { "origin": "55dbaff9-0323-4e17-abd7-e06dbf206123", "status": "started", "version": "0.2", "sn": "5e5f3686-dc84-42f4-9dd8-2c40e469542b", "any": "ea792b54-27ea-11e0-9133-002564a85a58" } 2011-01-24 13:51:13,139 [INFO][preethi.usersys.redhat.com] dispatch() @ dispatcher.py:287 - dispatching:{ "classname": "Packages", "kws": {}, "args": [ [ "kernel", "kernel" ], false, false ], "method": "install" } 2011-01-24 13:51:13,144 [INFO][preethi.usersys.redhat.com] install() @ pulp.py:147 - installing packages: ['kernel', 'kernel'] 2011-01-24 13:51:14,042 [ERROR][preethi.usersys.redhat.com] __call__() @ dispatcher.py:255 - Test Transaction Errors: package kernel-2.6.35.10-74.fc14.x86_64 is already installed Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/gofer/messaging/dispatcher.py", line 252, in __call__ retval = method(*args, **keywords) File "/usr/lib/gofer/plugins/pulp.py", line 157, in install yb.processTransaction() File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4501, in processTransaction self._doTestTransaction(callback,display=rpmTestDisplay) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4600, in _doTestTransaction raise Errors.YumTestTransactionError, errstring YumTestTransactionError: Test Transaction Errors: package kernel-2.6.35.10-74.fc14.x86_64 is already installed 2011-01-24 13:51:14,059 [INFO][preethi.usersys.redhat.com] send() @ producer.py:58 - {55dbaff9-0323-4e17-abd7-e06dbf206123} sent (asynctaskreplyqueue;{create:always,node:{type:queue,durable:True},link:{durable:True,x-subscribe:{exclusive:True}}}) { "origin": "55dbaff9-0323-4e17-abd7-e06dbf206123", "version": "0.2", "sn": "5e5f3686-dc84-42f4-9dd8-2c40e469542b", "any": "ea792b54-27ea-11e0-9133-002564a85a58", "result": { "exval": "Traceback (most recent call last):\n\n File \"/usr/lib/python2.7/site-packages/gofer/messaging/dispatcher.py\", line 252, in __call__\n retval = method(*args, **keywords)\n\n File \"/usr/lib/gofer/plugins/pulp.py\", line 157, in install\n yb.processTransaction()\n\n File \"/usr/lib/python2.7/site-packages/yum/__init__.py\", line 4501, in processTransaction\n self._doTestTransaction(callback,display=rpmTestDisplay)\n\n File \"/usr/lib/python2.7/site-packages/yum/__init__.py\", line 4600, in _doTestTransaction\n raise Errors.YumTestTransactionError, errstring\n\nYumTestTransactionError: Test Transaction Errors: package kernel-2.6.35.10-74.fc14.x86_64 is already installed\n\n", "xargs": [], "xmodule": "yum.Errors", "xclass": "YumTestTransactionError", "xstate": { "value": "Test Transaction Errors: package kernel-2.6.35.10-74.fc14.x86_64 is already installed\n" } } } verified [root@kalpana ~]# rpm -q pulp pulp-0.0.212-1.fc14.noarch [root@preethi ~]# pulp-admin errata install -e FEDORA-2010-18700 --consumergroupid=test-grp Created task id: 0a1f7dc0-b7b5-11e0-a4b7-002564a85a58 ...... Successfully performed consumergroup install with following consumer result list [[['pulp-client', [['e2fsprogs-libs-1.41.12-6.fc14.x86_64', 'e2fsprogs-libs-1.41.12-6.fc14.i686', 'e2fsprogs-libs-1.41.12-6.fc14.x86_64', 'e2fsprogs-libs-1.41.12-6.fc14.i686', 'libcom_err-1.41.12-6.fc14.i686', 'libcom_err-1.41.12-6.fc14.x86_64', 'libcom_err-1.41.12-6.fc14.i686', 'libcom_err-1.41.12-6.fc14.x86_64', 'libss-1.41.12-6.fc14.i686', 'libss-1.41.12-6.fc14.x86_64', 'libss-1.41.12-6.fc14.i686', 'libss-1.41.12-6.fc14.x86_64', 'e2fsprogs-1.41.12-6.fc14.x86_64', 'e2fsprogs-1.41.12-6.fc14.x86_64', 'e2fsprogs-libs-1.41.12-6.fc14.x86_64', 'e2fsprogs-libs-1.41.12-6.fc14.i686', 'e2fsprogs-libs-1.41.12-6.fc14.x86_64', 'e2fsprogs-libs-1.41.12-6.fc14.i686', 'e2fsprogs-1.41.12-6.fc14.x86_64', 'e2fsprogs-1.41.12-6.fc14.x86_64', 'libss-1.41.12-6.fc14.i686', 'libss-1.41.12-6.fc14.x86_64', 'libss-1.41.12-6.fc14.i686', 'libss-1.41.12-6.fc14.x86_64', 'libcom_err-1.41.12-6.fc14.i686', 'libcom_err-1.41.12-6.fc14.x86_64', 'libcom_err-1.41.12-6.fc14.i686', 'libcom_err-1.41.12-6.fc14.x86_64'], None]]], []] Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |