Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1508049 - apb-tools container does not work
apb-tools container does not work
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.7.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.7.0
Assigned To: Jason Montleon
Weihua Meng
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-31 14:09 EDT by Jason Montleon
Modified: 2017-11-28 17:20 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:20:29 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Jason Montleon 2017-10-31 14:09:43 EDT
Description of problem:
Create an alias for the apb-tools container:

apb prepare
Traceback (most recent call last):
  File "/usr/bin/apb", line 9, in <module>
    load_entry_point('apb==1.0.3', 'console_scripts', 'apb')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/site-packages/apb/cli.py", line 6, in <module>
    import apb.engine
  File "/usr/lib/python2.7/site-packages/apb/engine.py", line 15, in <module>
    from ruamel.yaml import YAML
ImportError: cannot import name YAML


Version-Release number of selected component (if applicable):
openshift-enterprise-apb-tools-v3.7.0-0.188.0.0 

How reproducible:
Always

Steps to Reproduce:
1. Set up alias
2. clone an apb repo from ansibleplaybookbundle github org and cd into it
3. run apb prepare

Actual results:
traceback

Expected results:
apb prepare works

Additional info:
python-ruamel-orderdict needs to be updated. This has already been done so once a new puddle is created we should be able to pick it up with a new container build.
Comment 3 Weihua Meng 2017-10-31 23:26:34 EDT
No PR attatched.

The latest image is v3.7.0-0.188.0.0 
apb-container-scripts-1.0.3-1.el7.noarch
apb-1.0.3-1.el7.noarch

Will try again when newer one is avaliable.
Comment 8 errata-xmlrpc 2017-11-28 17:20:29 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:3188

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