Bug 1508049 - apb-tools container does not work
Summary: apb-tools container does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.7.0
Assignee: Jason Montleon
QA Contact: Weihua Meng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-31 18:09 UTC by Jason Montleon
Modified: 2017-11-28 22:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 22:20:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description Jason Montleon 2017-10-31 18:09:43 UTC
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-11-01 03:26:34 UTC
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 22:20:29 UTC
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.