Bug 1492544
| Summary: | Set openshift_prometheus_state=absent, it installed prometheus again instead of undeploy prometheus | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Junqi Zhao <juzhao> | ||||
| Component: | Installer | Assignee: | Zohar Gal-Or <zgalor> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Junqi Zhao <juzhao> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.7.0 | CC: | aos-bugs, jcantril, jokerman, mmccomas | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.7.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: | 2017-11-22 08:54:41 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: | |||||||
| Attachments: |
|
||||||
Submitted fix: https://github.com/openshift/openshift-ansible/pull/6180 This defect can be closed now, but we have another issue: https://bugzilla.redhat.com/show_bug.cgi?id=1508310 *** This bug has been marked as a duplicate of bug 1508310 *** |
Created attachment 1327188 [details] ansible running log, intent to undeploy prometheus Description of problem: Set openshift_prometheus_state=absent, it did not undeploy prometheus. See the attached ansible log,actually it installed prometheus again. Version-Release number of selected component (if applicable): # rpm -qa | grep openshift-ansible openshift-ansible-3.7.0-0.126.4.git.0.3fc2b9b.el7.noarch openshift-ansible-roles-3.7.0-0.126.4.git.0.3fc2b9b.el7.noarch openshift-ansible-docs-3.7.0-0.126.4.git.0.3fc2b9b.el7.noarch openshift-ansible-callback-plugins-3.7.0-0.126.4.git.0.3fc2b9b.el7.noarch openshift-ansible-filter-plugins-3.7.0-0.126.4.git.0.3fc2b9b.el7.noarch openshift-ansible-playbooks-3.7.0-0.126.4.git.0.3fc2b9b.el7.noarch openshift-ansible-lookup-plugins-3.7.0-0.126.4.git.0.3fc2b9b.el7.noarch How reproducible: Always Steps to Reproduce: 1. Set openshift_prometheus_state=absent to undeploy prometheus # cd /usr/share/ansible/openshift-ansible/ # ansible-playbook -vvv -i ${INVENTORY_FILE} playbooks/byo/openshift-cluster/openshift-prometheus.yml 2. 3. Actual results: prometheus was not undeployed, it installed prometheus again Expected results: prometheus should be undeployed. Additional info: #inventory file [OSEv3:children] masters etcd nfs [masters] ${MASTER_URL} openshift_public_hostname=${MASTER_URL} [etcd] ${ETCD} openshift_public_hostname=${ETCD} [nfs] ${NFS} openshift_public_hostname=${NFS} [OSEv3:vars] ansible_ssh_user=root ansible_ssh_private_key_file="~/libra.pem" deployment_type=openshift-enterprise openshift_docker_additional_registries=brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888 # Prometheus openshift_prometheus_state=absent openshift_prometheus_namespace=prometheus