Bug 1622756

Summary: beah-beaker-backend service fails to start on RHEL4: ImportError: No module named uuid
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Roman Joost <rjoost>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dcallagh, jmckenzi, mtyson, rjoost
Target Milestone: 25.6Keywords: Patch, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-03 23:31:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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