#6328 ipa trust-fetch-domains throws internal error
Closed: Fixed None Opened 7 years ago by mbabinsk.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1375269

Description of problem:ipa trust-fetch-domains throws internal error


Version-Release number of selected component (if applicable):
ipa-server-4.4.0-10.el7.x86_64
ipa-server-common-4.4.0-10.el7.noarch
ipa-server-dns-4.4.0-10.el7.noarch
ipa-server-trust-ad-4.4.0-10.el7.x86_64


How reproducible: Always


Steps to Reproduce:
1. Add trust
2. run ipa trust-fetch-domains


Actual results:
[root@master samba]# ipa trust-fetch-domains
Realm name: pne.qe
ipa: ERROR: an internal error has occurred

error_log
    [Mon Sep 12 19:32:04.274209 2016] [:error] [pid 9368] ipa: ERROR:
non-public: AttributeError: 'NoneType' object has no attribute 'info'
    [Mon Sep 12 19:32:04.274237 2016] [:error] [pid 9368] Traceback (most
recent call last):
    [Mon Sep 12 19:32:04.274240 2016] [:error] [pid 9368]   File
"/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 366, in
wsgi_execute
    [Mon Sep 12 19:32:04.274243 2016] [:error] [pid 9368]     result =
command(*args, **options)
    [Mon Sep 12 19:32:04.274245 2016] [:error] [pid 9368]   File
"/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 449, in __call__
    [Mon Sep 12 19:32:04.274247 2016] [:error] [pid 9368]     return
self.__do_call(*args, **options)
    [Mon Sep 12 19:32:04.274249 2016] [:error] [pid 9368]   File
"/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 477, in __do_call
    [Mon Sep 12 19:32:04.274251 2016] [:error] [pid 9368]     ret =
self.run(*args, **options)
    [Mon Sep 12 19:32:04.274253 2016] [:error] [pid 9368]   File
"/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 799, in run
    [Mon Sep 12 19:32:04.274255 2016] [:error] [pid 9368]     return
self.execute(*args, **options)
    [Mon Sep 12 19:32:04.274257 2016] [:error] [pid 9368]   File
"/usr/lib/python2.7/site-packages/ipaserver/plugins/trust.py", line 1765, in
execute
    [Mon Sep 12 19:32:04.274259 2016] [:error] [pid 9368]     res =
fetch_domains_from_trust(self.api, trustinstance, **options)
    [Mon Sep 12 19:32:04.274261 2016] [:error] [pid 9368]   File
"/usr/lib/python2.7/site-packages/ipaserver/plugins/trust.py", line 1647, in
fetch_domains_from_trust
    [Mon Sep 12 19:32:04.274263 2016] [:error] [pid 9368]     forest_root_name
= trustinstance.remote_domain.info['dns_forest']
    [Mon Sep 12 19:32:04.274265 2016] [:error] [pid 9368] AttributeError:
'NoneType' object has no attribute 'info'
    [Mon Sep 12 19:32:04.274521 2016] [:error] [pid 9368] ipa: INFO:
[jsonserver_session] admin@TESTRELM.TEST: trust_fetch_domains/1(u'pne.qe',
version=u'2.213'): AttributeError
    s4_tevent: Added timed event "tevent_req_timedout": 0x7fb328864990
    signed SMB2 message
    s4_tevent: Schedule immediate event "tevent_queue_immediate_trigger":
0x7fb32afe3fb0


Expected results:
Should work without any error.

Additional info:

master:

  • b0d40b8 trust-fetch-domains: contact forest DCs when fetching trust domain info

ipa-4-4:

  • 6755cbb trust-fetch-domains: contact forest DCs when fetching trust domain info

Metadata Update from @mbabinsk:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.4.2

7 years ago

Login to comment on this ticket.

Metadata