Remote installation of packages on subscribed System-Engine systems is failing with 'AddPackageError'

Solution Verified - Updated -

Issue

  • Remote package installation via system-engine is failing
  • On the remote client system, the following errors are observed in the /var/log/gofer/agent.log:
2012-07-02 20:46:47,572 [ERROR][worker-0] __call__() @ dispatcher.py:488 - Public key for wireless-tools-29-5.1.1.el6.x86_64.rpm is not installed
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gofer/rmi/dispatcher.py", line 485, in __call__
    retval = method(*args, **keywords)
  File "/usr/lib64/gofer/plugins/katelloplugin.py", line 175, in install
    installed = p.install(names)
  File "/usr/lib64/gofer/plugins/package.py", line 180, in install
    yb.processTransaction()
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4877, in processTransaction
    self._checkSignatures(pkgs,callback)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4922, in _checkSignatures
    raise Errors.YumGPGCheckError, errmsg
YumGPGCheckError: Public key for wireless-tools-29-5.1.1.el6.x86_64.rpm is not installed
2012-07-02 20:46:47,581 [INFO][worker-0] sendreply() @ rmi.py:158 - 550fd782-05d9-4be9-8768-6c0e76c59513 processed in: 1.219 (seconds)
  • Another related error message:
2012-08-01 21:30:09,999 [ERROR][worker-0] __call__() @ dispatcher.py:488 - Didn't install any keys
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gofer/rmi/dispatcher.py", line 485, in __call__
    retval = method(*args, **keywords)
  File "/usr/lib64/gofer/plugins/katelloplugin.py", line 175, in install
    installed = p.install(names)
  File "/usr/lib64/gofer/plugins/package.py", line 180, in install
    yb.processTransaction()
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4877, in processTransaction
    self._checkSignatures(pkgs,callback)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4920, in _checkSignatures
    self.getKeyForPackage(po, self._askForGPGKeyImport)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4652, in getKeyForPackage
    raise Errors.YumBaseError, _("Didn't install any keys")
YumBaseError: Didn't install any keys
2012-08-01 21:30:10,007 [INFO][worker-0] sendreply() @ rmi.py:158 - c1d5041b-1ea8-4f46-84ec-83de71fc9b22 processed in: 2.443 (seconds)

Environment

  • CloudForms System Engine 1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In