Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1167270
Description of problem: Tracebacks are shown with latest build for --zonemgr cli option. Found in two test cases in automation execution. Version-Release number of selected component (if applicable): ipa-server-4.1.0-7.el7.x86_64 How reproducible: Always Steps to Reproduce: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : :: [ LOG ] :: ipa-server-install-015: [Positive] Install with zonemgr bz888124 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : :: [ 01:52:01 ] :: Uninstall for next test :: [ BEGIN ] :: Uninstalling ipa server for next test :: actually running 'ipa-server-install --uninstall -U ' Shutting down all IPA services ... Unconfiguring ipa-otpd :: [ PASS ] :: Uninstalling ipa server for next test (Expected 0, got 0) :: [ BEGIN ] :: Making sure that /etc/sssd/sssd.conf does not exist. BZ 819982 :: actually running 'ls /etc/sssd/sssd.conf' ls: cannot access /etc/sssd/sssd.conf: No such file or directory :: [ PASS ] :: Making sure that /etc/sssd/sssd.conf does not exist. BZ 819982 (Expected 2, got 2) :: [ 01:52:27 ] :: EXECUTING: ipa-server-install --setup-dns --forwarder=10.16.36.29 -r TESTRELM.TEST -p xxxxxxxx -P xxxxxxxx -a xxxxxxxx --zonemgr=test_admin@test.raleigh -U :: [ BEGIN ] :: Installing ipa server with zonemgr :: actually running 'ipa-server-install --setup-dns --forwarder=10.16.36.29 -r TESTRELM.TEST -p xxxxxxxx -P xxxxxxxx -a xxxxxxxx --zonemgr=test_admin@test.raleigh -U' MARK-LWD-LOOP -- 2014-11-24 01:52:29 -- Traceback (most recent call last): File "/usr/sbin/ipa-server-install", line 1343, in <module> safe_options, options = parse_options() File "/usr/sbin/ipa-server-install", line 288, in parse_options options, args = parser.parse_args() File "/usr/lib64/python2.7/optparse.py", line 1399, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib64/python2.7/optparse.py", line 1439, in _process_args self._process_long_opt(rargs, values) File "/usr/lib64/python2.7/optparse.py", line 1514, in _process_long_opt option.process(opt, value, values, self) File "/usr/lib64/python2.7/optparse.py", line 788, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib64/python2.7/optparse.py", line 808, in take_action self.callback(self, opt, value, parser, *args, **kwargs) File "/usr/lib/python2.7/site-packages/ipaserver/install/bindinstance.py", line 407, in zonemgr_callback value = value.decode(sys.stdin.encoding) TypeError: decode() argument 1 must be string, not None :: [ FAIL ] :: Installing ipa server with zonemgr (Expected 0, got 1) ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : :: [ LOG ] :: ipa-server-install-016: [Negative] Install with invalid zonemgr ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : :: [ 01:52:43 ] :: cmd=[ipa-server-install --setup-dns --forwarder=10.16.36.29 -r TESTRELM.TEST -p xxxxxxxx -P xxxxxxxx -a xxxxxxxx --zonemgr=T??ko@redhat.com -U] :: [ 01:52:43 ] :: expect [2], out=[/tmp/tmp.lEFA3LcILT/ipaserverinstall_invalidzonemgr.out] :: [ 01:52:43 ] :: Verify expected error message for IPA Install with invalid zonemgr :: [ FAIL ] :: expect [2] actual [1] --------- expected msg --------- [error: invalid zonemgr: mail account may only include letters, numbers, -, _ and a dot. There may not be consecutive -, _ and . characters. Its parts may not start or end with - or _] ========== execution output =============== Traceback (most recent call last): File "/usr/sbin/ipa-server-install", line 1343, in <module> safe_options, options = parse_options() File "/usr/sbin/ipa-server-install", line 288, in parse_options options, args = parser.parse_args() File "/usr/lib64/python2.7/optparse.py", line 1399, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib64/python2.7/optparse.py", line 1439, in _process_args self._process_long_opt(rargs, values) File "/usr/lib64/python2.7/optparse.py", line 1514, in _process_long_opt option.process(opt, value, values, self) File "/usr/lib64/python2.7/optparse.py", line 788, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib64/python2.7/optparse.py", line 808, in take_action self.callback(self, opt, value, parser, *args, **kwargs) File "/usr/lib/python2.7/site-packages/ipaserver/install/bindinstance.py", line 407, in zonemgr_callback value = value.decode(sys.stdin.encoding) TypeError: decode() argument 1 must be string, not None
master:
ipa-4-1:
Metadata Update from @jcholast: - Issue assigned to mbasti - Issue set to the milestone: FreeIPA 4.1.2
Login to comment on this ticket.