#7711 python 3 fallout in ipa-server-install
Closed: fixed Opened by abbra.

Steps to Reproduce:
1. ipa-server-install --setup-dns --forwarder= -r -p password -a password --zonemgr=Tko@example..com -U

Actual results:
ipa-server-install: error: option zonemgr: b'empty DNS label'

Expected results:
ipa-server-install: error: option zonemgr: empty DNS label


Metadata Update from @abbra:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1626032

Issue linked to Bugzilla: Bug 1626032

On two occasions, the DNS installer code does some additional work with getattr(sys.stderr, 'encoding', None) and encoding = getattr(sys.stdin, 'encoding', None). The workarounds for Python 2's bad unicode support is not only unnecessary on Python 3. The encoding step is also the cause of this bug.

Metadata Update from @cheimes:
- Issue assigned to cheimes

Metadata Update from @cheimes:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2407

master:

  • 341a12054a1363d1a202da64b50b6d62b16c0436 Fix zonemgr encoding issue

ipa-4-7:

  • 7b50fe43a17aef50a7acfcca7874497dd0a03042

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata