Bug 1549220
| Summary: | configmap still exist after running uninstall playbook for logging | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Peter Ruan <pruan> |
| Component: | Logging | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.9.0 | CC: | aos-bugs, jcantril, nhosoi, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | 3.9.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
logging-elasticsearch-ops was missing in the delete configmaps list in the openshift-ansible delete_logging role.
Consequence:
The logging-elasticsearch-ops configmap still exists after running uninstall ansible playbook for logging.
Fix:
Adding logging-elasticsearch-ops to the delete configmaps list.
Result:
All the logging configmaps including logging-elasticsearch-ops are uninstalled by running uninstall ansible playbook for logging.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-06 15:46:20 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: | |||
|
Description
Peter Ruan
2018-02-26 18:13:27 UTC
https://github.com/openshift/openshift-ansible/pull/7317 logging-elasticsearch-ops was missing in the delete configmaps task in openshift_logging/tasks/delete_logging.yaml. This will need a 3.9 backport since we now have a 3.9 branch. Do we also need to backport to 3.7? (In reply to Jeff Cantrill from comment #2) > This will need a 3.9 backport since we now have a 3.9 branch. Do we also > need to backport to 3.7? I'd think so. 3.7 shares the same code with the newer versions. "delete_logging.yaml" # delete our configmaps - name: delete configmaps oc_obj: state: absent kind: configmap namespace: "{{ openshift_logging_namespace }}" name: "{{ item }}" with_items: - logging-curator - logging-elasticsearch - logging-fluentd - logging-mux Commits pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/08855ca23cb67d50c0db03beb3cf5713cdc4820e Bug 1549220 - configmap still exist after running uninstall playbook for logging Adding logging-elasticsearch-ops to delete configmaps item. https://github.com/openshift/openshift-ansible/commit/141e68651e71ba38a9c0730137c50e49ff5e3fb4 Merge pull request #7317 from nhosoi/bz1549220 Bug 1549220 - configmap still exist after running uninstall playbook for logging 3.9 cherrypick https://github.com/openshift/openshift-ansible/pull/7560 (In reply to Jeff Cantrill from comment #5) > 3.9 cherrypick https://github.com/openshift/openshift-ansible/pull/7560 Is it ok to remove /hold from the pr? The elasticsearch-ops configmap are can be removed by openshift-ansible-3.9.30-1.git.0.a91a657.el7.noarch 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:1796 |