#2386 RFE: Prompt for the missing options if not provided in command line during record add.
Closed: Fixed None Opened 12 years ago by mkosek.

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:

Patch freeipa-mkosek-225-improve-dnsrecord-interactive-help.patch sent for review

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/03

7 years ago

Login to comment on this ticket.

Metadata