Bug 1596455
| Summary: | no filter named lib_utils_oo_dict_to_list_of_dict when uninstall glusterfs | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> |
| Component: | Installer | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED ERRATA | QA Contact: | Wenkai Shi <weshi> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | 3.7.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
A fix backported from the 3.9 installer incorrectly made use of lib_utils_oo_dict_to_list_of_dict which does not exist in the 3.7 codebase. This task has been updated to use the correct oo_dict_to_list_of_dict filter instead.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-24 04:28:13 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: | |||
Verified with version openshift-ansible-3.7.57-1.git.33.cf01e48.el7, uninstall can succeed without any error. # oc get po -n glusterfs NAME READY STATUS RESTARTS AGE glusterblock-storage-provisioner-dc-1-nlw2b 1/1 Running 0 4h glusterfs-storage-crgdx 1/1 Running 0 4h glusterfs-storage-dkzwx 1/1 Running 0 4h glusterfs-storage-kp88r 1/1 Running 0 4h heketi-storage-1-q444v 1/1 Running 0 4h # ansible-playbook -i inventory -vv /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-glusterfs/uninstall.yml ... INSTALLER STATUS ***************************************************************************************************************************************************************************** Initialization : Complete # oc get po -n glusterfs No resources found. 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:2234 |
Description of problem: uninstall glusterfs report FAILED! => {"failed": true, "msg": "template error while templating string: no filter named 'lib_utils_oo_dict_to_list_of_dict'. String: {{ glusterfs_nodeselector | lib_utils_oo_dict_to_list_of_dict }}"} Version-Release number of the following components: openshift-ansible:v3.7.55 How reproducible: always Steps to Reproduce: 1. Deploy glusterfs on OCP 2. Uninstall glusterfs ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-glusterfs/uninstall.yml Actual results: TASK [openshift_storage_glusterfs : Delete pre-existing GlusterFS resources] *** changed: [qe-37master-etcd-1.0628-a6m.qe.rhcloud.com] => (item={u'kind': u'template', u'name': u'glusterfs'}) changed: [qe-37master-etcd-1.0628-a6m.qe.rhcloud.com] => (item={u'kind': u'daemonset', u'name': u'glusterfs-storage'}) changed: [qe-37master-etcd-1.0628-a6m.qe.rhcloud.com] => (item={u'kind': u'storageclass', u'name': u'glusterfs-storage'}) TASK [openshift_storage_glusterfs : Unlabel any existing GlusterFS nodes] ****** fatal: [qe-37master-etcd-1.0628-a6m.qe.rhcloud.com]: FAILED! => {"failed": true, "msg": "template error while templating string: no filter named 'lib_utils_oo_dict_to_list_of_dict'. String: {{ glusterfs_nodeselector | lib_utils_oo_dict_to_list_of_dict }}"} PLAY RECAP ********************************************************************* Expected results: