Project

General

Profile

Bug #18103

Errors when submitting external user groups not displayed

Added by Daniel Lobato Garcia almost 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Authentication
Target version:
Difficulty:
Triaged:
Bugzilla link:

Description

When one submit an user group with external user groups, and this doesn't work for whatever reason, like:

Net::LDAP::Error - No route to host - connect(2)
LdapFluff::Generic::UnauthenticatedException
LdapFluff::ActiveDirectory::MemberService::UIDNotFoundException,

it should show these errors in the UI and ideally some text explaining how to solve the issue.
Currently the errors are merely logged to production.log, which leaves users unable to understand what happened.


Related issues

Related to Foreman - Bug #17992: 500 when external usergroup users don't match filterClosed2017-01-09

Associated revisions

Revision 36f8e9c0 (diff)
Added by Daniel Lobato Garcia almost 3 years ago

Fixes #17992, #18103 - Improve external usergroup errors

When one submit an user group with external user groups, and this
doesn't work for whatever reason, like:

Net::LDAP::Error - No route to host - connect(2)
LdapFluff::Generic::UnauthenticatedException
LdapFluff::ActiveDirectory::MemberService::UIDNotFoundException,

it should show these errors in the UI and ideally some text explaining
how to solve the issue.

Currently the errors are merely logged to production.log, which leaves
users unable to understand what happened.

This commit makes those errors show up in the UI with a suggestion on
how to fix those we know

History

#1 Updated by Daniel Lobato Garcia almost 4 years ago

  • Related to Bug #17992: 500 when external usergroup users don't match filter added

#2 Updated by Daniel Lobato Garcia almost 4 years ago

17992 is a specific instance of this - this bug is for handling most cases, the other one for "users don't match LDAP filter but group does"

#3 Updated by Daniel Lobato Garcia almost 4 years ago

  • Bugzilla link set to 1404507

#4 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4199 added

#5 Updated by Daniel Lobato Garcia over 3 years ago

  • Target version set to 169

#6 Updated by Brad Buckingham over 3 years ago

  • Target version deleted (169)

#7 Updated by Daniel Lobato Garcia over 3 years ago

  • Target version set to 1.11.0

#8 Updated by Marek Hulán over 3 years ago

  • Target version changed from 1.11.0 to 115

#9 Updated by Dominik Hlavac Duran over 3 years ago

  • Assignee changed from Daniel Lobato Garcia to Dominik Hlavac Duran

#10 Updated by Dominik Hlavac Duran over 3 years ago

  • Assignee changed from Dominik Hlavac Duran to Daniel Lobato Garcia

#11 Updated by Marek Hulán over 3 years ago

  • Target version changed from 115 to 1.17.0-RC2

#12 Updated by Marek Hulán about 3 years ago

  • Target version changed from 1.17.0-RC2 to 1.18.0-RC2

#13 Updated by Marek Hulán about 3 years ago

  • Target version changed from 1.18.0-RC2 to 214

#14 Updated by Marek Hulán about 3 years ago

  • Target version changed from 214 to 1.16.0-RC2

#15 Updated by Marek Hulán about 3 years ago

  • Target version changed from 1.16.0-RC2 to 1.16.0-RC1

#16 Updated by Tomer Brisker almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 296

#17 Updated by Anonymous almost 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#18 Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/4902 added

Also available in: Atom PDF