OpenShift Service Catalog upgrade fails due to AlreadyExists
Issue
- OpenShift 3.10 upgrade fails during Service Catalog role:
Hosts: #######.#######.####.###
Play: Upgrade Service Catalog
Task: Create the Broker resource in the catalog
Message: {u'cmd': u'/usr/bin/oc create -f /tmp/brokerout-kxQhIH -n default', u'returncode': 1, u'results': {}, u'stderr': u'Error from server (AlreadyExists): error when creating "/tmp/brokerout-kxQhIH": clusterservicebrokers.servicecatalog.k8s.io "ansible-service-broker" already exists\n', u'stdout': u''}
TASK [ansible_service_broker : Create the Broker resource in the catalog] *************************************************************************************************************************************
fatal: [ #######.#######.####.###]: FAILED! => {"changed": false, "failed": true, "msg": {"cmd": "/usr/bin/oc create -f /tmp/brokerout-_WH2A5 -n default", "results": {}, "returncode": 1, "stderr": "Error from server (ServiceUnavailable): error when creating \"/tmp/brokerout-_WH2A5\": the server is currently unable to handle the request (post clusterservicebrokers.servicecatalog.k8s.io)\n", "stdout": ""}}
to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_10/upgrade_control_plane.retry
Environment
- Red Hat OpenShift Container Platform
- 3.10
- 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.