[Pulp-list] failure updating consumer with pulp-admin

Jeff Ortel jortel at redhat.com
Wed Nov 23 15:10:27 UTC 2011


Hey Joel,

Looks like the yum security (yum-security) plugin is raising an exception related to an 
option named: 'security' that it expects to have in it's configuration.  Do you see this 
error when running the same yum operation using the yum CLI?

I'd suggest reviewing /etc/yum/pluginconf.d/security.conf to be sure that it is compatible 
with the version of yum-security that is installed.  If you attach it to a reply, I'd be 
glad to take a look.

Regards,

Jeff

On 11/22/2011 12:38 PM, Golden, Joel wrote:
> Tying to push an update for the talk package to a consumer is failing. Authentication
> methods are set to the default pulp package install.
> Versions:
> pulp-client-lib-0.0.251-1
> pulp-common-0.0.251-1
> pulp-admin-0.0.251-1
> mod_wsgi-3.2-6.pulp
> pulp-0.0.251-1
> ## pulp-admin package update -n talk --consumerid=kstester-dal --when=2011-11-22T11:18
> Created task id: 4d1bc3a8-1536-11e1-a1a6-0050569a0088
> Task is scheduled for: 2011-11-22T11:18
> Waiting: [\]
> Update failed: <gofer.rmi.dispatcher.RemoteException instance at 0x2b1cbebabd88>
> ## /var/log/pulp/pulp.log
> 2011-11-22 11:18:02,683 3702:1269877056: gofer.messaging.consumer:DEBUG: consumer:329
> {dedec867-f559-4690-98db-13db69f60b5f} read next:
> {
> "sn": "0123bb45-28c5-4f5c-b409-68805385ed83",
> "version": "0.4",
> "result": {
> "exval": "Traceback (most recent call last):\n\n File
> \"/usr/lib/python2.4/site-packages/gofer/rmi/dispatcher.py\", line 485, in __call__\n
> retval = method(*args, **keywords)\n\n File \"/usr/lib64/gofer/plugins/pulpplugin.py\",
> line 216, in update\n updated = p.update(names)\n\n File
> \"/usr/lib64/gofer/plugins/package.py\", line 149, in update\n yb.update(pattern=info)\n\n
> File \"/usr/lib/python2.4/site-packages/yum/__init__.py\", line 2884, in update\n m =
> self.pkgSack.returnNewestByNameArch(patterns=pats)\n\n File
> \"/usr/lib/python2.4/site-packages/yum/__init__.py\", line 662, in <lambda>\n pkgSack =
> property(fget=lambda self: self._getSacks(),\n\n File
> \"/usr/lib/python2.4/site-packages/yum/__init__.py\", line 516, in _getSacks\n
> self.plugins.run('exclude')\n\n File \"/usr/lib/python2.4/site-packages/yum/plugins.py\",
> line 179, in run\n func(conduitcls(self, self.base, conf, **kwargs))\n\n File
> \"/usr/lib/yum-plugins/security.py\", line 479, in exclude_hook\n opts, info =
> ysp_check_func_enter(conduit)\n\n File \"/usr/lib/yum-plugins/security.py\", line 441, in
> ysp_check_func_enter\n ndata = not (opts.security or opts.advisory or opts.bz or
> opts.cve)\n\nAttributeError: 'NoneType' object has no attribute 'security'\n",
> "xargs": [
> "'NoneType' object has no attribute 'security'"
> ],
> "xstate": {
> "args": [
> "'NoneType' object has no attribute 'security'"
> ]
> },
> "xclass": "AttributeError",
> "xmodule": "exceptions"
> },
> "subject": null,
> "any": null,
> "routing": [
> "3dd01a29-0686-42a5-b067-e2a54d97ca41",
> "6b182fee-94e9-4895-aef8-e13afc489115"
> ]
> }
> 2011-11-22 11:18:02,684 3702:1269877056: gofer.messaging.consumer:DEBUG: consumer:349
> {dedec867-f559-4690-98db-13db69f60b5f} search found:
> {
> "sn": "0123bb45-28c5-4f5c-b409-68805385ed83",
> "version": "0.4",
> "result": {
> "exval": "Traceback (most recent call last):\n\n File
> \"/usr/lib/python2.4/site-packages/gofer/rmi/dispatcher.py\", line 485, in __call__\n
> retval = method(*args, **keywords)\n\n File \"/usr/lib64/gofer/plugins/pulpplugin.py\",
> line 216, in update\n updated = p.update(names)\n\n File
> \"/usr/lib64/gofer/plugins/package.py\", line 149, in update\n yb.update(pattern=info)\n\n
> File \"/usr/lib/python2.4/site-packages/yum/__init__.py\", line 2884, in update\n m =
> self.pkgSack.returnNewestByNameArch(patterns=pats)\n\n File
> \"/usr/lib/python2.4/site-packages/yum/__init__.py\", line 662, in <lambda>\n pkgSack =
> property(fget=lambda self: self._getSacks(),\n\n File
> \"/usr/lib/python2.4/site-packages/yum/__init__.py\", line 516, in _getSacks\n
> self.plugins.run('exclude')\n\n File \"/usr/lib/python2.4/site-packages/yum/plugins.py\",
> line 179, in run\n func(conduitcls(self, self.base, conf, **kwargs))\n\n File
> \"/usr/lib/yum-plugins/security.py\", line 479, in exclude_hook\n opts, info =
> ysp_check_func_enter(conduit)\n\n File \"/usr/lib/yum-plugins/security.py\", line 441, in
> ysp_check_func_enter\n ndata = not (opts.security or opts.advisory or opts.bz or
> opts.cve)\n\nAttributeError: 'NoneType' object has no attribute 'security'\n",
> "xargs": [
> "'NoneType' object has no attribute 'security'"
> ],
> "xstate": {
> "args": [
> "'NoneType' object has no attribute 'security'"
> ]
> },
> "xclass": "AttributeError",
> "xmodule": "exceptions"
> },
> "subject": null,
> "any": null,
> "routing": [
> "3dd01a29-0686-42a5-b067-e2a54d97ca41",
> "6b182fee-94e9-4895-aef8-e13afc489115"
> ]
> }
> 2011-11-22 11:18:02,684 3702:1269877056: qpid.messaging.io.ops:DEBUG: driver:679
> SENT[2b1cbe6765a8]: SessionCompleted(commands=[0-2], channel=4)
> ## Client's client.log:
> 2011-11-22 11:18:01,599 [INFO][worker-0] @ dispatcher.py:530 - dispatching:{
> "args": [
> [
> "talk"
> ]
> ],
> "auth": {
> "secret": "1a29cc714c52b2da384d343fba495332ffb51b9bfeee08eb8533869f4dbc1191",
> "pam": null,
> "uuid": "kstester-dal"
> },
> "classname": "Packages",
> "kws": {},
> "cntr": null,
> "method": "update"
> }
> 2011-11-22 11:18:02,650 [ERROR][worker-0] @ dispatcher.py:488 - 'NoneType' object has no
> attribute 'security'
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/gofer/rmi/dispatcher.py", line 485, in __call__
> retval = method(*args, **keywords)
> File "/usr/lib64/gofer/plugins/pulpplugin.py", line 216, in update
> updated = p.update(names)
> File "/usr/lib64/gofer/plugins/package.py", line 149, in update
> yb.update(pattern=info)
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 2884, in update
> m = self.pkgSack.returnNewestByNameArch(patterns=pats)
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 662, in <lambda>
> pkgSack = property(fget=lambda self: self._getSacks(),
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 516, in _getSacks
> self.plugins.run('exclude')
> File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
> func(conduitcls(self, self.base, conf, **kwargs))
> File "/usr/lib/yum-plugins/security.py", line 479, in exclude_hook
> opts, info = ysp_check_func_enter(conduit)
> File "/usr/lib/yum-plugins/security.py", line 441, in ysp_check_func_enter
> ndata = not (opts.security or opts.advisory or opts.bz or opts.cve)
> AttributeError: 'NoneType' object has no attribute 'security'
> 2011-11-22 11:18:02,651 [INFO][worker-0] @ rmi.py:158 -
> 0123bb45-28c5-4f5c-b409-68805385ed83 processed in: 1.160 (seconds)
> Joel Golden
>
> -------------
>
> The content contained in this electronic message is not intended to constitute formation
> of a contract binding *tw telecom*. *tw telecom* will be contractually bound only upon
> execution, by an authorized officer, of a contract including agreed terms and conditions
> or by express application of its tariffs. This message is intended only for the use of the
> individual or entity to which it is addressed. If the reader of this message is not the
> intended recipient, or the employee or agent responsible for delivering the message to the
> intended recipient, you are hereby notified that any dissemination, distribution or
> copying of this message is strictly prohibited. If you have received this communication in
> error, please notify us immediately by replying to the sender of this E-Mail or by telephone.
>
>
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list