Description of problem: 'rhui haproxy delete' reports success but doesn't delete the haproxy or is --force the required option? No Halting msg then as for CDS removing. Version-Release number of selected component (if applicable): 20161220 How reproducible: always Steps to Reproduce: 1. rhui haproxy delete hostname 2. 3. Actual results: >> rhui haproxy delete hap01.example.com ------------------------------------------------------------------------------ >> echo $? 0 >> rhui haproxy list -= RHUI HAProxy Load-balancers =- Hostname: hap01.example.com SSH Username: ec2-user SSH Private Key: /root/.ssh/id_rsa_rhua >> rhui haproxy delete hapr01.example.com --help optional arguments: -h, --help show this help message and exit -f, --force Delete the system, even if it is the last of its kind. Meanwhile for 'rhui cds delete': >> rhui cds delete cds01.example.com Halting: --force is not on and this will remove all instances. Resolution: 1. Add 'Halting' as for cds removing 2. Maybe change Halting msg "this will remove all instances." with "this will remove the last of its kind" both for CDS and Haproxy? 3. Put 'required' tag on '--force'?
The specified haproxy isn't deleted (and, most importantly, unconfigured) even if it's not the only one, and -f doesn't help. The command completes very quicky, and although I haven't debugged it, I just think it doesn't do anything for some reason. It takes much more time in the interactive mode of rhui-manager.
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-2019:0149