Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1512793 - fail to re-install ocp with ansible-service-catalog deployed
fail to re-install ocp with ansible-service-catalog deployed
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.7.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.7.z
Assigned To: Fabian von Feilitzsch
Zhang Cheng
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-14 01:35 EST by liujia
Modified: 2017-12-18 08:23 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-18 08:23:56 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 RHBA-2017:3464 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.7 bug fix and enhancement update 2017-12-18 13:22:05 EST

  None (edit)
Description liujia 2017-11-14 01:35:48 EST
Description of problem:
Run config.yml against v3.7 ocp with ansible-service-catalog deployed on it. Re-install failed at task [ansible_service_broker : create ansible-service-broker service].

fatal: [x.x.x.x]: FAILED! => {"changed": false, "failed": true, "msg": {"cmd": "/usr/bin/oc replace -f /tmp/asb-pUz9c3 -n openshift-ansible-service-broker", "results": {}, "returncode": 1, "stderr": "The Service \"asb\" is invalid: spec.clusterIP: Invalid value: \"\": field is immutable\n", "stdout": ""}}

Version-Release number of the following components:
openshift-ansible-3.7.7-1.git.0.3e1b62b.el7.noarch.rpm

How reproducible:
always

Steps to Reproduce:
1. Install ocp v3.7 with asb installed by default.
openshift_service_catalog_image_prefix: x.x.x.x
ansible_service_broker_image_prefix: x.x.x.x
template_service_broker_prefix: x.x.x.x
2. Re-install
3.

Actual results:
Re-install failed.

Expected results:
Re-install succeed.

Additional info:
Please attach logs from ansible-playbook with the -vvv flag
Comment 1 Fabian von Feilitzsch 2017-11-27 15:36:33 EST
https://github.com/openshift/openshift-ansible/pull/6276
https://github.com/openshift/openshift-ansible/pull/6277

Should fix or work around the idempotence issues.
Comment 2 openshift-github-bot 2017-12-01 11:26:24 EST
Commits pushed to master at https://github.com/openshift/openshift-ansible

https://github.com/openshift/openshift-ansible/commit/4f72e8a10da24aa231498c897db1153ef51ba2ee
Bug 1512793- Fix idempotence issues in ASB deploy

- Add support for annotations in oc_service
- Use oc_service instead of oc_obj
- Use oc_pvc instead of oc_obj
- Work around lack of idempotency for oc_obj DeploymentConfig

https://github.com/openshift/openshift-ansible/commit/e0e10698184c9a7cf4bf65787771686e46d26603
Merge pull request #6277 from fabianvf/asb-idempotence-cpick

Bug 1512793- Fix idempotence issues in ASB deploy
Comment 4 Zhang Cheng 2017-12-05 01:44:03 EST
Verified with openshift-ansible-3.7.11-1, re-installed succeed. LGTM
Comment 7 errata-xmlrpc 2017-12-18 08:23:56 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/RHBA-2017:3464

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