Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1409697 - 'rhui {cds,haproxy} delete' reports success on nonexisting instances
'rhui {cds,haproxy} delete' reports success on nonexisting instances
Status: NEW
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: Tools (Show other bugs)
3.0.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.0.x
Assigned To: RHUI Bug List
Vratislav Hutsky
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-02 22:22 EST by Irina Gulina
Modified: 2018-03-17 03:01 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Irina Gulina 2017-01-02 22:22:34 EST
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."

Note You need to log in before you can comment on or make changes to this bug.