Bug 1498571

Summary: Remove image field from APB yaml
Product: OpenShift Container Platform Reporter: David Zager <dzager>
Component: Service BrokerAssignee: David Zager <dzager>
Status: CLOSED ERRATA QA Contact: Jian Zhang <jiazha>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: aos-bugs, chezhang, smunilla
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 22:14:33 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 David Zager 2017-10-04 16:17:23 UTC
Description of problem:

Now that the broker stores fully qualified paths to Ansible Playbook Bundles (APBs) it retrieves and the APB tool doesn't generate image field in APB yaml (https://bugzilla.redhat.com/show_bug.cgi?id=1497819), this bug is to track the work to remove the image field from existing APBs.


How reproducible:
Always


Steps to Reproduce:

# Note: you must pull the images before you can inspect them
for image in rhscl-mariadb-apb mediawiki123-apb rhscl-postgresql-apb rhscl-mysql-apb; do
  d_image="docker.io/ansibleplaybookbundle/${image}"
  docker inspect $d_image --format "{{ index .Config.Labels \"com.redhat.apb.spec\" }}" | base64 --decode | grep 'image:'
done


Actual results:
image: ansibleplaybookbundle/rhscl-mariadb-apb
image: ansibleplaybookbundle/mediawiki123-apb
image: ansibleplaybookbundle/rhscl-postgresql-apb
image: ansibleplaybookbundle/rhscl-mysql-apb

Expected results:
""

Comment 2 David Zager 2017-10-04 19:03:46 UTC
Updated to include all the images that are being updated:

https://github.com/ansibleplaybookbundle/rhscl-mysql-apb/pull/3 | Bug 1498571 - Remove image from APB by djzager · Pull Request #3 · ansibleplaybookbundle/rhscl-mysql-apb
https://github.com/ansibleplaybookbundle/mediawiki123-apb/pull/6 | Bug 1498571 - Remove image from APB by djzager · Pull Request #6 · ansibleplaybookbundle/mediawiki123-apb
https://github.com/ansibleplaybookbundle/rhscl-postgresql-apb/pull/5 | Bug 1498571 - Remove image from APB by djzager · Pull Request #5 · ansibleplaybookbundle/rhscl-postgresql-apb
https://github.com/ansibleplaybookbundle/rhscl-mariadb-apb/pull/4 | Bug 1498571 - Remove image from APB by djzager · Pull Request #4 · ansibleplaybookbundle/rhscl-mariadb-apb
https://github.com/ansibleplaybookbundle/hello-world-apb/pull/1 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/hello-world-apb
https://github.com/ansibleplaybookbundle/rocketchat-apb/pull/1 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/rocketchat-apb
https://github.com/ansibleplaybookbundle/hello-world-db-apb/pull/2 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #2 · ansibleplaybookbundle/hello-world-db-apb
https://github.com/ansibleplaybookbundle/etherpad-apb/pull/1 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/etherpad-apb
https://github.com/ansibleplaybookbundle/hastebin-apb/pull/1/files | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/hastebin-apb
https://github.com/ansibleplaybookbundle/nginx-apb/pull/1 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/nginx-apb
https://github.com/ansibleplaybookbundle/pyzip-demo-db-apb/pull/1 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/pyzip-demo-db-apb
https://github.com/ansibleplaybookbundle/pyzip-demo-apb/pull/1 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/pyzip-demo-apb
https://github.com/ansibleplaybookbundle/rds-postgres-apb/pull/1 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/rds-postgres-apb
https://github.com/ansibleplaybookbundle/thelounge-apb/pull/1 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/thelounge-apb
https://github.com/ansibleplaybookbundle/wordpress-ha-apb/pull/1 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #1 · ansibleplaybookbundle/wordpress-ha-apb
https://github.com/ansibleplaybookbundle/manageiq-apb/pull/3 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #3 · ansibleplaybookbundle/manageiq-apb
https://github.com/ansibleplaybookbundle/jenkins-apb/pull/2 | Bug 1498571 - Remove image from apb yaml by djzager · Pull Request #2 · ansibleplaybookbundle/jenkins-apb

Comment 7 errata-xmlrpc 2017-11-28 22:14:33 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