Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1534894 - apb preprare -f fail with error
apb preprare -f fail with error
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.9.0
Assigned To: Dylan Murray
Zihan Tang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-16 03:53 EST by Zihan Tang
Modified: 2018-06-27 14:01 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 14:01:30 EDT
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-2018:2013 None None None 2018-06-27 14:01 EDT

  None (edit)
Description Zihan Tang 2018-01-16 03:53:00 EST
Description of problem:
openshift v3.9.0-0.19.0
kubernetes v1.9.0-beta1
asb : 1.14
apb : docker.io/ansibleplaybookbundle/apb-tools  (image id : 7dfacf2bca7a)

When run command : 
apb prepare -f Dockerfile-latest 
Got the following error: 
Exception occurred! [Errno 2] No such file or directory: '/mnt/Dockerfile-latest'

How reproducible:
Always

Steps to Reproduce:
1. pull apb images:
  docker.io/ansibleplaybookbundle/apb-tools
2.set alias:
alias apb='docker run --rm --privileged -v $PWD:/mnt -v $HOME/.kube:/root/.kube -v /var/run/docker.sock:/var/run/docker.sock -u $UID docker.io/ansibleplaybookbundle/apb-tools'
3.make a apb or clone from github openshift-ansibe/playbook-bundles
4. apb prepare -f Dockerfile-latest

 Actual results:
 root@dhcp-140-42 tet-prepare]# apb prepare -f Dockerfile-latest
groupadd: GID '0' already exists
usermod: group 'apb' does not exist
Exception occurred! [Errno 2] No such file or directory: '/mnt/Dockerfile-latest'

Expected results:
apb prepare -f works successfully.
Comment 1 Dylan Murray 2018-01-16 12:00:25 EST
Zhang,

[dymurray@dymurray mediawiki123-apb]$ alias apb-docker='docker run --rm --privileged -v $PWD:/mnt -v $HOME/.kube:/root/.kube -v /var/run/docker.sock:/var/run/docker.sock -u $UID docker.io/ansibleplaybookbundle/apb-tools'
[dymurray@dymurray mediawiki123-apb]$ apb-docker prepare -f Dockerfile-latest 
Finished writing dockerfile.

I was not able to reproduce. Can you make certain you were running `apb prepare` in a directory with `Dockerfile-latest`?
Comment 2 Zhang Cheng 2018-01-16 22:41:12 EST
Dylan, 
We cannot reproduce this issue either with latest image today. Please change status to "ON_QA", and we will double confirm and verify. Thanks.
Comment 3 Zihan Tang 2018-01-22 22:30:06 EST
Verified on the latest image, it fixed.
Comment 5 errata-xmlrpc 2018-06-27 14:01:30 EDT
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-2018:2013

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