Bug 1409697
| Summary: | 'rhui {cds,haproxy} delete' reports success on nonexisting instances | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Irina Gulina <igulina> |
| Component: | Tools | Assignee: | Pavlina Bartikova <pbartiko> |
| Status: | CLOSED ERRATA | QA Contact: | Radek Bíba <rbiba> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.0.0 | CC: | bkearney, bperkins, pbartiko, pcreech |
| Target Milestone: | 3.1.2 | ||
| Target Release: | 3.1.x | ||
| 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: | 2019-09-12 13:23:38 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: | |||
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/RHEA-2019:2757 |
Description of problem: No message "There are no registered instances with that hostname." when deleting nonexisting cds or haproxy with rhui CLI. Version-Release number of selected component (if applicable): iso 20161220 How reproducible: always Steps to Reproduce: 1. rhui {cds,haproxy} delete nonexisting_hostname Actual results: >> [root@rhua ~]# rhui cds list -= RHUI CDSs =- Hostname: cds01.example.com SSH Username: ec2-user SSH Private Key: /root/.ssh/id_rsa_rhua ------------------------------------------------------------------------------ >> [root@rhua ~]# rhui haproxy list -= RHUI HAProxy Load-balancers =- Hostname: hap01.example.com SSH Username: ec2-user SSH Private Key: /root/.ssh/id_rsa_rhua ------------------------------------------------------------------------------ [root@rhua ~]# rhui cds delete cds02.example.com ------------------------------------------------------------------------------ [root@rhua ~]# echo $? 0 [root@rhua ~]# rhui haproxy delete hap02.example.com ------------------------------------------------------------------------------ [root@rhua ~]# rhui haproxy delete hap02.example.com --force ------------------------------------------------------------------------------ [root@rhua ~]# rhui cds delete cds02.example.com --force ------------------------------------------------------------------------------ Expected results: "There are no registered instances with that hostname."