Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSSD Error Msg Improvement: Invalid argument #5578

Closed
ikerexxe opened this issue Apr 8, 2021 · 1 comment
Closed

SSSD Error Msg Improvement: Invalid argument #5578

ikerexxe opened this issue Apr 8, 2021 · 1 comment
Assignees
Labels
Closed: Fixed Issue was closed as fixed.

Comments

@ikerexxe
Copy link
Contributor

ikerexxe commented Apr 8, 2021

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 8): Bug 1936902

Description of problem:

Reading SSSD logs it's not clear what "Invalid Arguments" message. For better
analysis of the logs it would be helpful if more detail is available. Sample
logs snip is given below.

-------------------------------------------------------------------------------
---------------------------------------------------------
(2020-12-22  0:03:13): [be[example.com]] [be_nsupdate_done] (0x0040): nsupdate
child execution failed [1432158240]: Dynamic DNS update failed
(2020-12-22  0:03:13): [be[example.com]] [ad_dyndns_sdap_update_done] (0x0040):
Dynamic DNS update failed [1432158240]: Dynamic DNS update failed
(2020-12-22  0:03:13): [be[example.com]] [be_ptask_done] (0x0040): Task [Dyndns
update]: failed with [1432158240]: Dynamic DNS update failed
(2020-12-21 13:03:31): [be[example.com]] [gpo_cse_done] (0x0020):
ad_gpo_parse_gpo_child_response failed: [22][Invalid argument]
-------------------------------------------------------------------------------
---------------------------------------------------------
(2020-12-10 13:39:05): [be[example.com]] [sdap_idmap_add_domain] (0x1000):
Adding domain [S-1-5-21-560720425-791098809-1427889808] as slice [400]
(2020-12-10 13:39:05): [be[example.com]] [sdap_idmap_add_domain] (0x0020): BUG:
Range maximum exceeds the global maximum: 2870330815 > 2000200000
(2020-12-10 13:39:05): [be[example.com]] [sdap_idmap_init] (0x0020): Could not
add domain [uhs.uh.edu][S-1-5-21-560720425-791098809-1427889808][400] to ID
map: [Invalid argument]
(2020-12-10 13:39:05): [be[example.com]] [ad_init_misc] (0x0010): Could not
initialize ID mapping. In case ID mapping properties changed on the server,
please remove the SSSD database
(2020-12-10 13:39:05): [be[example.com]] [sssm_ad_init] (0x0020): Unable to
init AD module [22]: Invalid argument
(2020-12-10 13:39:05): [be[example.com]] [dp_module_run_constructor] (0x0010):
Module [ad] constructor failed [22]: Invalid argument
(2020-12-10 13:39:05): [be[example.com]] [be_ptask_destructor] (0x0400):
Terminating periodic task [Dyndns update]
(2020-12-10 13:39:05): [be[example.com]] [dp_load_module] (0x0020): Unable to
create DP module.
(2020-12-10 13:39:05): [be[example.com]] [dp_target_init] (0x0010): Unable to
load module ad
(2020-12-10 13:39:05): [be[example.com]] [dp_load_targets] (0x0020): Unable to
load target [id] [80]: Accessing a corrupted shared library.
(2020-12-10 13:39:05): [be[example.com]] [dp_init_done] (0x0020): Unable to
initialize DP targets [1432158209]: Internal Error
-------------------------------------------------------------------------------
---------------------------------------------------------


Version-Release number of selected component (if applicable):

sssd-2.3.0-9.el8.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

"Invalid arguments" message is not clear.

Expected results:

"Invalid arguments" message show be provided with more detail.

Additional info:
@ikerexxe ikerexxe self-assigned this Apr 8, 2021
DDDas7 added a commit to DDDas7/sssd that referenced this issue Jun 2, 2021
Improve invalid argument msg with additional information

Resolves: SSSD#5578
DDDas7 added a commit to DDDas7/sssd that referenced this issue Jun 2, 2021
Improve invalid argument msg with additional information

Resolves: SSSD#5578
DDDas7 added a commit to DDDas7/sssd that referenced this issue Jun 19, 2021
Improve invalid argument msg with additional information

Resolves: SSSD#5578
DDDas7 added a commit to DDDas7/sssd that referenced this issue Jun 21, 2021
Improve invalid argument msg with additional information

Resolves: SSSD#5578
DDDas7 added a commit to DDDas7/sssd that referenced this issue Jun 21, 2021
Improve invalid argument msg with additional information

Resolves: SSSD#5578
@pbrezina
Copy link
Member

Pushed PR: #5668

  • master
    • 89a40e7 - SSSD Log: invalid_argument msg mod

@pbrezina pbrezina added the Closed: Fixed Issue was closed as fixed. label Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants