Bug 1612793
| Summary: | [APB] apb update failed at 'Take down old deployment and pvc' | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Zihan Tang <zitang> |
| Component: | Service Broker | Assignee: | David Zager <dzager> |
| Status: | CLOSED ERRATA | QA Contact: | Zhang Cheng <chezhang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.11.0 | CC: | aos-bugs, chezhang, dzager, jmatthew |
| Target Milestone: | --- | ||
| Target Release: | 3.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-11 07:24:00 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: | |||
https://github.com/ansibleplaybookbundle/postgresql-apb/pull/58 https://github.com/ansibleplaybookbundle/mysql-apb/pull/42 https://github.com/ansibleplaybookbundle/mariadb-apb/pull/40 https://errata.devel.redhat.com/advisory/33505 updated openshift-enterprise-mariadb-apb-v3.11.0-0.11.0.1 openshift-enterprise-mediawiki-apb-v3.11.0-0.11.0.1 openshift-enterprise-postgresql-apb-v3.11.0-0.11.0.1 openshift-enterprise-mysql-apb-v3.11.0-0.11.0.1 openshift-enterprise-asb-container-v3.11.0-0.11.0.1 openshift-enterprise-apb-base-container-v3.11.0-0.11.0.2 Verified. apb: v3.11.0-0.11.0.1 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-2018:2652 |
Description of problem: when update the version of *sql-apb instance, it failed at 'Take down old deployment and pvc' fatal: [localhost]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'ansible.errors.AnsibleError'>, original message: the template file pvc.yaml could not be found for the lookup"} Version-Release number of selected component (if applicable): asb: 1.3.6 apb: v3.11.0-0.11.0.0 How reproducible: always Steps to Reproduce: 1. provision postgresql-apb , using version 9.6, dev plan 2. update to version 9.5 , still in dev plan. Actual results: 2. update failed: ]# oc logs -f bundle-c9eed881-139d-4cde-949b-1422839e002c DEPRECATED: APB playbooks should be stored at /opt/apb/project PLAY [postgresql-apb update] *************************************************** TASK [ansibleplaybookbundle.asb-modules : debug] ******************************* skipping: [localhost] TASK [postgresql-apb : Update last operation] ********************************** changed: [localhost] TASK [postgresql-apb : Set facts] ********************************************** ok: [localhost] TASK [postgresql-apb : Backup database] **************************************** changed: [localhost] TASK [postgresql-apb : Rsync to APB] ******************************************* changed: [localhost] TASK [postgresql-apb : Take down old deployment and pvc (if it exists)] ******** [WARNING]: Unable to find 'pvc.yaml' in expected paths (use -vvvvv to see paths) fatal: [localhost]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'ansible.errors.AnsibleError'>, original message: the template file pvc.yaml could not be found for the lookup"} PLAY RECAP ********************************************************************* localhost : ok=4 changed=3 unreachable=0 failed=1 Expected results: upate succeed. Additional info: