Project

General

Profile

Actions

Bug #13957

closed

content-host unregister shows error in content-host's /var/log/messages

Added by Stephen Benjamin about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1223568
Description of problem:
[Errno 2] No such file or directory: '/etc/pki/consumer/key.pem'

Version-Release number of selected component (if applicable):
Sat 6.1 GA Snap 5

How reproducible:
Always

Steps to Reproduce:
1. Register a content host to Satellite 6 and watch /var/log/messages in the content host
2. Unregister works but throws an error in content hosts' /var/log/messages

Actual results:
May 20 17:50:18 cloud-qe-7 goferd: [INFO][worker-0] root:473 - connecting to ibm-x3250m4-05.lab.eng.rdu2.redhat.com:5647...
May 20 17:50:18 cloud-qe-7 subscription-manager: Unregistered machine with identity: 2ef50b87-dfb2-4519-adcc-92c0dcf80e28
May 20 17:50:18 cloud-qe-7 dbus-daemon: dbus666: [system] Activating service name='com.redhat.SubscriptionManager' (using servicehelper)
May 20 17:50:18 cloud-qe-7 dbus666: [system] Activating service name='com.redhat.SubscriptionManager' (using servicehelper)
May 20 17:50:19 cloud-qe-7 dbus-daemon: dbus666: [system] Successfully activated service 'com.redhat.SubscriptionManager'
May 20 17:50:19 cloud-qe-7 dbus666: [system] Successfully activated service 'com.redhat.SubscriptionManager'
May 20 17:50:19 cloud-qe-7 goferd: [INFO][Thread-3] rhsm.connection:682 - Using certificate authentication: key = /etc/pki/consumer/key.pem, cert = /etc/pki/consumer/cert.pem, ca = /etc/rhsm/ca/, insecure = False
May 20 17:50:19 cloud-qe-7 goferd: [INFO][Thread-3] rhsm.connection:693 - Connection Built: host: ibm-x3250m4-05.lab.eng.rdu2.redhat.com, port: 443, handler: /rhsm
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][Thread-3] katelloplugin:148 - send enabled report failed: [Errno 2] No such file or directory: '/etc/pki/consumer/key.pem'
May 20 17:50:19 cloud-qe-7 goferd: [INFO][Thread-3] katelloplugin:117 - changed: /etc/pki/consumer/cert.pem
May 20 17:50:19 cloud-qe-7 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:103 - connected: amqps://ibm-x3250m4-05.lab.eng.rdu2.redhat.com:5647
May 20 17:50:19 cloud-qe-7 goferd: [INFO][worker-0] gofer.rmi.dispatcher:600 - call: Consumer.unregister() sn=d38f07cc-ec0f-4424-b005-759d81d8871f data=None
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][worker-0] gofer.rmi.dispatcher:636 - {u'replyto': None, u'request': {u'classname': u'Consumer', u'kws': {}, u'args': [], u'cntr': [[], {}], u'method': u'unregister'}, 'ts': 1432158618.611621, 'inbound': {'url': 'proton+amqps://ibm-x3250m4-05.lab.eng.rdu2.redhat.com:5647', 'queue': 'pulp.agent.2ef50b87-dfb2-4519-adcc-92c0dcf80e28'}, u'secret': u'555d0139361dd346181e3f16', u'version': u'2.0', u'routing': [None, u'pulp.agent.2ef50b87-dfb2-4519-adcc-92c0dcf80e28'], u'data': None, u'pam': None, u'sn': u'd38f07cc-ec0f-4424-b005-759d81d8871f'}
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][worker-0] gofer.rmi.dispatcher:636 - Traceback (most recent call last):
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][worker-0] gofer.rmi.dispatcher:636 - File "/usr/lib/python2.7/site-packages/gofer/rmi/dispatcher.py", line 632, in dispatch
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][worker-0] gofer.rmi.dispatcher:636 - method = RMI
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][worker-0] gofer.rmi.dispatcher:636 - File "/usr/lib/python2.7/site-packages/gofer/rmi/dispatcher.py", line 348, in init
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][worker-0] gofer.rmi.dispatcher:636 - self.inst = self.find_class(request, catalog)
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][worker-0] gofer.rmi.dispatcher:636 - File "/usr/lib/python2.7/site-packages/gofer/rmi/dispatcher.py", line 368, in find_class
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][worker-0] gofer.rmi.dispatcher:636 - raise ClassNotFound(key)
May 20 17:50:19 cloud-qe-7 goferd: [ERROR][worker-0] gofer.rmi.dispatcher:636 - ClassNotFound: Consumer
May 20 17:50:19 cloud-qe-7 goferd: [INFO][worker-0] gofer.agent.rmi:128 - sn=d38f07cc-ec0f-4424-b005-759d81d8871f processed in: 1.214 (seconds)
May 20 17:50:28 cloud-qe-7 goferd: [WARNING][pulp.agent.2ef50b87-dfb2-4519-adcc-92c0dcf80e28] gofer.common:130 - thread:pulp.agent.2ef50b87-dfb2-4519-adcc-92c0dcf80e28, ABORTED
May 20 17:50:28 cloud-qe-7 goferd: [INFO][pulp.agent.2ef50b87-dfb2-4519-adcc-92c0dcf80e28] gofer.messaging.adapter.proton.connection:154 - closed: amqps://ibm-x3250m4-05.lab.eng.rdu2.redhat.com:5647
May 20 17:50:28 cloud-qe-7 goferd: [INFO][Thread-3] gofer.agent.plugin:333 - plugin:katelloplugin queue:pulp.agent.2ef50b87-dfb2-4519-adcc-92c0dcf80e28, detached
May 20 17:50:28 cloud-qe-7 goferd: [INFO][Thread-3] gofer.messaging.adapter.proton.connection:100 - connecting: URL: amqps://ibm-x3250m4-05.lab.eng.rdu2.redhat.com:5647|SSL: ca: /etc/rhsm/ca/katello-server-ca.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
May 20 17:50:28 cloud-qe-7 goferd: [INFO][Thread-3] root:473 - connecting to ibm-x3250m4-05.lab.eng.rdu2.redhat.com:5647...
May 20 17:50:28 cloud-qe-7 goferd: [INFO][Thread-3] gofer.messaging.adapter.proton.connection:103 - connected: amqps://ibm-x3250m4-05.lab.eng.rdu2.redhat.com:5647
May 20 17:50:28 cloud-qe-7 goferd: [INFO][Thread-3] root:493 - connected to ibm-x3250m4-05.lab.eng.rdu2.redhat.com:5647
May 20 17:50:29 cloud-qe-7 goferd: [INFO][Thread-3] gofer.messaging.adapter.proton.connection:154 - closed: amqps://ibm-x3250m4-05.lab.eng.rdu2.redhat.com:5647

Expected results:

Additional info:

Actions #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-agent/pull/35 added
Actions #2

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions #3

Updated by Anonymous about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF