Bug 499263

Summary: ipa host-find returns 0 on error: No entries found
Product: [Retired] freeIPA Reporter: Jenny Severance <jgalipea>
Component: ipa-admintoolsAssignee: Rob Crittenden <rcritten>
Status: CLOSED UPSTREAM QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0CC: benl, dpal, jgalipea, mgregg
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-28 09:29:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 431020    

Description Jenny Severance 2009-05-05 20:54:55 UTC
Description of problem:


[root@jennyv2 jenny]# ipa host-find badhost.bos.redhat.com
No entries found
[root@jennyv2 jenny]# echo $?
0

All other host commands return 161

[root@jennyv2 jenny]# ipa host-mod badhost.bos.redhat.com
ipa: ERROR: entry not found
[root@jennyv2 jenny]# echo $?
161


Version-Release number of selected component (if applicable):
2.0

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Pavel Zuna 2009-11-23 13:06:17 UTC
Exit code non-zero; reported as 0 hosts matched.

master: 322d8238a0862355340e1ad9a464bd40f6e9b728
All-around improvements to baseldap.py classes.