https://bugzilla.redhat.com/show_bug.cgi?id=790295 (Red Hat Enterprise Linux 6)
Description of problem: This was raised by atolani as part of IPA DNS Test day. When options are provided to dnsrecord-add and if any of the required option is missing, then the expected behaviour is to prompt for it interactively instead of displaying an error message. Similar to how we prompt for the zone name and record name if not provided in the command line. for example: [root@zetaprime ~]# ipa dnsrecord-add --sshfp-algorithm=1 --sshfp-fp-type=1 Zone name: lab.eng.pnq.redhat.com Record name: test44 ipa: ERROR: invalid 'sshfprecord': 'sshfp_fingerprint' is a required part of DNS record [root@zetaprime ~]# Here the user expected a interactive prompt asking for "sshfp_fingerprint" Version-Release number of selected component (if applicable): ipa-server-2.2.0-101.20120127T0607zgit6863b8f.el6.x86_64 How reproducible: Steps to Reproduce: 1. See description 2. 3. Actual results: Expected results: Additional info:
attachment freeipa-mkosek-225-improve-dnsrecord-interactive-help.patch
Patch freeipa-mkosek-225-improve-dnsrecord-interactive-help.patch sent for review
master: 1d09cdf
ipa-2-2: 104e976
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/03
Login to comment on this ticket.