Bug 1622756 - beah-beaker-backend service fails to start on RHEL4: ImportError: No module named uuid
Summary: beah-beaker-backend service fails to start on RHEL4: ImportError: No module n...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 25.6
Assignee: Roman Joost
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-28 00:28 UTC by Dan Callaghan
Modified: 2018-09-03 23:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-03 23:31:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6280 0 None None None 2018-08-28 02:23:31 UTC

Description Dan Callaghan 2018-08-28 00:28:58 UTC
Description of problem:
beah does not start

Version-Release number of selected component (if applicable):
beah-0.7.13-2.el4bkr

How reproducible:
easily

Steps to Reproduce:
1. run a RHEL4 recipe

Actual results:
Installation completes, but harness never starts, watchdog expires.
Beah services are dead:

# service beah-beaker-backend status
beah-beaker-backend dead but pid file exists

Error is evident in /mnt/testarea/beah-beaker-backend.out:

Traceback (most recent call last):
  File "/usr/bin/beah-beaker-backend", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.3/site-packages/pkg_resources.py", line 277, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.3/site-packages/pkg_resources.py", line 2179, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.3/site-packages/pkg_resources.py", line 1912, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.3/site-packages/beah/backends/beakerlc.py", line 74, in ?
    from beah.core import command, event, addict, new_id
  File "/usr/lib/python2.3/site-packages/beah/core/__init__.py", line 21, in ?
    import uuid
ImportError: No module named uuid

Expected results:
Should start and run.

Additional info:
python-uuid is in the harness repos, installing it lets beah start successfully. I probably just messed something up in the spec file recently.

Comment 1 Dan Callaghan 2018-08-28 23:37:55 UTC
This regressed in beah-0.7.13-1, the fix is tagged 0.7.13-3.

Comment 4 Roman Joost 2018-09-03 23:31:34 UTC
This has been released with Beaker 25.6.

Release Notes: https://beaker-project.org/docs/whats-new/release-25.html#beaker-25-6


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