Bug 1498571 - Remove image field from APB yaml
Summary: Remove image field from APB yaml
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.7.0
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: 3.7.0
Assignee: David Zager
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-04 16:17 UTC by David Zager
Modified: 2017-11-28 22:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 22:14:33 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 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


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