[Deploying Sakai] External users provided by LDAP cleanup

Warwick Chapman warwickchapman at gmail.com
Tue Aug 2 02:11:10 PDT 2011


Steve, J-F

Screenie attached.

I tried removing the removed users from SAKAI_USER_ID_MAP but now all that
happens is that the error messages after the crash no longer have the EID's
but the User ID's which I assume are in each site's configuration for
participants.

Surely if a user no longer exists in SAKAI_USER or in the SAKAI_USER_ID_MAP
it should automatically be removed from the participant list of any site?

The 1100+ errors now dumped look like this:
2011-08-02 10:54:02,797  WARN http-8080-Processor20
org.sakaiproject.site.util.SiteParticipantHelper -
SiteParticipantHelper.prepareParticipants: user not defined
135464b1-7a99-4434-94d0-95e4316f1243
2011-08-02 10:54:02,797  WARN http-8080-Processor20
org.sakaiproject.site.util.SiteParticipantHelper -
SiteParticipantHelper.prepareParticipants: user not defined
603a7cf8-36f5-4de1-bfaa-dcd59c59a0ad

Reading up on increasing the debut level.

-- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com


On Tue, Aug 2, 2011 at 9:57 AM, Jean-Francois Leveque <
jean-francois.leveque at upmc.fr> wrote:

> I've raised Priority to Critical and added a comment with Warwick's crash
> information.
>
> cheers,
> J-F
>
>
> On 02/08/2011 05:57, Steve Swinsburg wrote:
>
>> I'm getting this on internal users as well. I added a user to a site
>> then deleted the user via the Admin Users tool and in Site Info I get:
>>
>> 2011-08-02 13:54:33,838 WARN http-8081-Processor22
>> org.sakaiproject.site.util.**SiteParticipantHelper -
>> SiteParticipantHelper.**prepareParticipants: user not defined
>> b52ec79d-940d-4124-9f21-**29092796616c
>>
>> https://jira.sakaiproject.org/**browse/SAK-20957<https://jira.sakaiproject.org/browse/SAK-20957>
>>
>> cheers,
>> Steve
>>
>>
>>
>>
>> On 02/08/2011, at 10:46 AM, Warwick Chapman wrote:
>>
>>  Steve
>>>
>>> Do you have any idea why I'd be getting a "crash" when trying to
>>> access "Site Info" for one of the project sites with such users?
>>>
>>> All I get is "An internal server error occurred. Please try again
>>> later." before the list of users spews out into catalina.out
>>>
>>> -- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com
>>> <http://warwickchapman.com/>
>>>
>>>
>>> On Tue, Aug 2, 2011 at 2:07 AM, Steve Swinsburg
>>> <steve.swinsburg at gmail.com <mailto:steve.swinsburg at gmail.**com<steve.swinsburg at gmail.com>>>
>>> wrote:
>>>
>>>    Unfortunately this is a known issue:
>>>    https://jira.sakaiproject.org/**browse/SAK-2973<https://jira.sakaiproject.org/browse/SAK-2973>
>>>
>>>    (and see linked issues)
>>>
>>>    The tool will probably need a workaround for if there is a user in
>>>    a site but no actual user because they have been deleted.
>>>
>>>    cheers,
>>>    Steve
>>>
>>>
>>>    On 02/08/2011, at 8:57 AM, Warwick Chapman wrote:
>>>
>>>     Well
>>>>
>>>>    I have 1100 users in this category and now whenever I try to
>>>>    visit "Site Info" for sites which all of those users were a
>>>>    member of, all I get is "An internal server error occurred.
>>>>    Please try again later." and catalina.out gets 1100 messages like
>>>>    this:
>>>>
>>>>    2011-08-02 00:49:25,559 WARN http-8080-Processor24
>>>>    org.sakaiproject.site.util.**SiteParticipantHelper -
>>>>    SiteParticipantHelper.**prepareParticipants: user not defined
>>>> username1
>>>>    2011-08-02 00:49:25,559 WARN http-8080-Processor24
>>>>    org.sakaiproject.site.util.**SiteParticipantHelper -
>>>>    SiteParticipantHelper.**prepareParticipants: user not defined
>>>> username2
>>>>
>>>>    -- Warwick Bruce Chapman | +27 83 7797 094
>>>>    <tel:%2B27%2083%207797%20094> | http://warwickchapman.com
>>>>
>>>>    <http://warwickchapman.com/>
>>>>
>>>>
>>>>    On Mon, Aug 1, 2011 at 4:52 PM, Jean-Francois Leveque
>>>>    <jean-francois.leveque at upmc.fr
>>>>    <mailto:jean-francois.leveque@**upmc.fr<jean-francois.leveque at upmc.fr>>>
>>>> wrote:
>>>>
>>>>        Hi Warwick,
>>>>
>>>>        I've been busy and because this doesn't bother users, I
>>>>        didn't work on it. :(
>>>>
>>>>        The only idea I have so far is to remove site subscriptions
>>>>        for those users, but I don't know which way is best. I don't
>>>>        know which other things should be removed in order not to
>>>>        break anything. Haven't tried any way of doing this yet.
>>>>
>>>>        What do you think ?
>>>>
>>>>        J-F
>>>>
>>>>
>>>>        On 01/08/2011 11:55, Warwick Chapman wrote:
>>>>
>>>>            Hi J-F
>>>>
>>>>            I have this same issue now. Did you ever find a solution
>>>>            to this?
>>>>
>>>>            -- Warwick Bruce Chapman | +27 83 7797 094
>>>>            <tel:%2B27%2083%207797%20094> | http://warwickchapman.com
>>>>
>>>>            <http://warwickchapman.com/>
>>>>
>>>>
>>>>            On Wed, Sep 22, 2010 at 4:15 PM, Jean-Francois Leveque
>>>>            <jean-francois.leveque at upmc.fr
>>>>            <mailto:jean-francois.leveque@**upmc.fr<jean-francois.leveque at upmc.fr>
>>>> >
>>>>            <mailto:jean-francois.leveque@**__upmc.fr
>>>>            <mailto:jean-francois.leveque@**upmc.fr<jean-francois.leveque at upmc.fr>
>>>> >>>
>>>>
>>>>            wrote:
>>>>
>>>>            Hi all,
>>>>
>>>>            I have external users provided by LDAP.
>>>>
>>>>            Some are not in the directory anymore and I'm getting
>>>>            messages such as :
>>>>
>>>>            2010-09-22 15:53:47,008 WARN TP-Processor22
>>>>            org.sakaiproject.site.util.__**SiteParticipantHelper -
>>>>            SiteParticipantHelper.__**prepareParticipants: user not
>>>>            defined ...
>>>>
>>>>            2010-09-22 15:54:22,988 WARN TP-Processor14
>>>>            org.sakaiproject.site.tool.__**
>>>> helper.managegroupsectionrole.**__rsf.GroupListProducer
>>>>            -
>>>>            org.sakaiproject.site.tool.__**
>>>> helper.managegroupsectionrole.**__rsf.GroupListProducer at __**
>>>> 7762e799fillInComponent:
>>>>            cannot find user with id ...
>>>>
>>>>            How can I remove those users and at least the data that
>>>>            leads to those
>>>>            warnings?
>>>>
>>>>            Help with further cleanup of data related to those users
>>>>            is welcome.
>>>>
>>>>            Cheers,
>>>>
>>>>            J-F
>>>>
>>>>            --
>>>>            Jean-Francois Leveque
>>>>            Australe CTO (local Sakai)
>>>>            University Pierre and Marie Curie
>>>>            France
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20110802/0ee27275/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20110801-umthombo-error
Type: application/octet-stream
Size: 65860 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/production/attachments/20110802/0ee27275/attachment-0001.obj 


More information about the production mailing list