Bug 1154279 - [abrt] fedmsg: core.py:86:__init__:KeyError: 'Could not find endpoint for fedmsg-relay. Try installing fedmsg-relay.'
Summary: [abrt] fedmsg: core.py:86:__init__:KeyError: 'Could not find endpoint for fed...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fedmsg
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralph Bean
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:03dcf4ac046a1102908053e90c3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-18 10:28 UTC by Florian "der-flo" Lehner
Modified: 2014-10-20 02:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-20 02:09:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.78 KB, text/plain)
2014-10-18 10:28 UTC, Florian "der-flo" Lehner
no flags Details
File: environ (3.07 KB, text/plain)
2014-10-18 10:28 UTC, Florian "der-flo" Lehner
no flags Details

Description Florian "der-flo" Lehner 2014-10-18 10:28:13 UTC
Description of problem:
$ fedmsg-logger
Traceback (most recent call last):
  File "/usr/bin/fedmsg-logger", line 9, in <module>
    load_entry_point('fedmsg==0.10.0', 'console_scripts', 'fedmsg-logger')()
  File "/usr/lib/python2.7/site-packages/fedmsg/commands/logger.py", line 114, in logger
    return command.execute()
  File "/usr/lib/python2.7/site-packages/fedmsg/commands/__init__.py", line 104, in execute
    return self.run()
  File "/usr/lib/python2.7/site-packages/fedmsg/commands/logger.py", line 101, in run
    fedmsg.init(**self.config)
  File "/usr/lib/python2.7/site-packages/fedmsg/__init__.py", line 59, in init
    __local.__context = fedmsg.core.FedMsgContext(**config)
  File "/usr/lib/python2.7/site-packages/fedmsg/core.py", line 86, in __init__
    raise KeyError("Could not find endpoint for fedmsg-relay."
KeyError: 'Could not find endpoint for fedmsg-relay. Try installing fedmsg-relay.'

Version-Release number of selected component:
fedmsg-0.10.0-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/fedmsg-logger
executable:     /usr/bin/fedmsg-logger
kernel:         3.16.6-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
core.py:86:__init__:KeyError: 'Could not find endpoint for fedmsg-relay. Try installing fedmsg-relay.'

Traceback (most recent call last):
  File "/usr/bin/fedmsg-logger", line 9, in <module>
    load_entry_point('fedmsg==0.10.0', 'console_scripts', 'fedmsg-logger')()
  File "/usr/lib/python2.7/site-packages/fedmsg/commands/logger.py", line 114, in logger
    return command.execute()
  File "/usr/lib/python2.7/site-packages/fedmsg/commands/__init__.py", line 104, in execute
    return self.run()
  File "/usr/lib/python2.7/site-packages/fedmsg/commands/logger.py", line 101, in run
    fedmsg.init(**self.config)
  File "/usr/lib/python2.7/site-packages/fedmsg/__init__.py", line 59, in init
    __local.__context = fedmsg.core.FedMsgContext(**config)
  File "/usr/lib/python2.7/site-packages/fedmsg/core.py", line 86, in __init__
    raise KeyError("Could not find endpoint for fedmsg-relay."
KeyError: 'Could not find endpoint for fedmsg-relay. Try installing fedmsg-relay.'

Local variables in innermost frame:
self: <fedmsg.core.FedMsgContext object at 0x28c8350>
config: {'zmq_strict': False, 'topic': 'log', 'zmq_enabled': True, 'io_threads': 1, 'crl_location': 'https://fedoraproject.org/fedmsg/crl.pem', 'zmq_reconnect_ivl': 100, 'print_config': False, 'zmq_linger': 1000, 'routing_policy': {'org.fedoraproject.prod.announce.announcement': ['announce-lockbox.phx2.fedoraproject.org']}, 'ssldir': '/etc/pki/fedmsg', 'zmq_tcp_keepalive_cnt': 3, 'environment': 'dev', 'cert_prefix': 'shell', 'zmq_tcp_keepalive_intvl': 5, 'topic_prefix': 'org.fedoraproject', 'zmq_tcp_keepalive': 1, 'ca_cert_cache_expiry': 0, 'timeout': 2, 'ca_cert_cache': '/var/run/fedmsg/ca.crt', 'sign_messages': False, 'zmq_tcp_keepalive_idle': 60, 'config_filename': None, 'active': True, 'topic_prefix_re': 'org\\.fedoraproject\\.(dev|stg|prod)', 'persistent_store': None, 'crypto_validate_backends': ['x509'], 'modname': 'logger', 'high_water_mark': 0, 'logging': {'loggers': {'fedmsg': {'handlers': ['console'], 'propagate': False, 'level': 'INFO'}, 'moksha': {'handlers': ['console'], 'propagate': False, 'level': 'INFO'}}, 'version': 1, 'handlers': {'console': {'formatter': 'bare', 'class': 'logging.StreamHandler', 'stream': 'ext://sys.stdout', 'level': 'INFO'}}, 'formatters': {'bare': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '[%(asctime)s][%(name)10s %(levelname)7s] %(message)s'}}}, 'name': 'relay_inbound', 'ca_cert_location': 'https://fedoraproject.org/fedmsg/ca.crt', 'json_input': False, 'validate_signatures': False, 'zmq_reconnect_ivl_max': 1000, 'certnames': {}, 'logger_message': None, 'post_init_sleep': 0.5, 'crypto_backend': 'x509', 'routing_nitpicky': False, 'endpoints': {'fedora-infrastructure': ['tcp://hub.fedoraproject.org:9940']}, 'crl_cache_expiry': 10, 'crl_cache': '/var/run/fedmsg/crl.pem'}
name: 'relay_inbound'
method: 'connect'

Comment 1 Florian "der-flo" Lehner 2014-10-18 10:28:17 UTC
Created attachment 948093 [details]
File: backtrace

Comment 2 Florian "der-flo" Lehner 2014-10-18 10:28:19 UTC
Created attachment 948094 [details]
File: environ

Comment 3 Ralph Bean 2014-10-20 02:09:15 UTC
Hi, and thanks for reporting this, but I'd like to close it as not-a-bug.  The message in the traceback gives a suggestion about what to do to have fedmsg-logger operate in a meaningful way.  Thanks again, and if you need further help, feel free to ask in #fedora-apps on freenode.


Note You need to log in before you can comment on or make changes to this bug.