#7711 python 3 fallout in ipa-server-install
Closed: fixed 5 years ago Opened 5 years ago 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

5 years ago

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

5 years ago

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

5 years ago

master:

  • 341a120 Fix zonemgr encoding issue

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

5 years ago

Login to comment on this ticket.

Metadata