Bug 671279 - ipa dnsrecord-del always passes
Summary: ipa dnsrecord-del always passes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-admintools
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-20 23:28 UTC by Michael Gregg
Modified: 2015-01-04 23:45 UTC (History)
3 users (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-28 09:26:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Gregg 2011-01-20 23:28:10 UTC
Description of problem:
If I try to delete a record that doesn't exist, the tool prints out the entries in the zone, gives no error message, and returns a 0 to the console.

Version-Release number of selected component (if applicable):
ipa-server-2.0-0.2011011418gita68b2d2.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1. ipa dnsrecord-del <zone> <record> --ns-rec-<anything wrong>
  
Actual results:
[root@ipaqavmh ipa-dns]# ipa  dnsrecord-del newzone1 @ --ns-rec=gar.bag.e.
  Record name: @
  MX record: 3.4.5.6
  NS record: 10.16.98.193, 127.0.0.1.
[root@ipaqavmh ipa-dns]# echo $?
0

Expected results:
[root@ipaqavmh ipa-dns]# ipa  dnsrecord-del newzone1 @ --ns-rec=gar.bag.e.
<various "that didn't work" messages>

echo $? 
<something not 0>

Comment 1 Jakub Hrozek 2011-01-21 15:01:53 UTC
https://fedorahosted.org/freeipa/ticket/829

Comment 2 Rob Crittenden 2011-01-28 21:31:54 UTC
master: a641f1f23d40dec7dc596c9d6d2bf7265ea54f97


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