Task #12417 (closed)
Opened 10 years ago
Closed 10 years ago
Bug: create_users scripts occasionally fails
Reported by: | mtbcarroll | Owned by: | sbesson |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | Scripting | Version: | 5.0.2 |
Keywords: | n.a. | Cc: | python-team@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Occasionally when I run,
omero load omero-setup/create_users
I get output like,
Created session 3646dc4b-e468-4165-a4a7-34049e20a99e (root@localhost:4064). Idle timeout: 10.0 min. Current group: system Added group read-only-1 (id=3) with permissions rwr--- Added group read-annotate-1 (id=4) with permissions rwra-- Added group read-write-1 (id=5) with permissions rwrw-- Unknown group: private-1 No group found Unknown group: private-1 Added user user-2 (id=2) with password Added user user-3 (id=3) with password Added user user-4 (id=4) with password Added user user-5 (id=5) with password Unknown group: private-1 Added user user-6 (id=6) with password Unknown group: private-1 No group found Unknown group: private-1 Added user user-8 (id=7) with password Added user user-9 (id=8) with password Added user user-10 (id=9) with password Added user user-11 (id=10) with password Unknown group: private-1 Added user user-12 (id=11) with password Unknown group: private-1 Added 3 to the owner list of group 3 Added 8 to the owner list of group 3 Added 5 to the owner list of group 4 Added 10 to the owner list of group 4 Added 4 to the owner list of group 5 Added 9 to the owner list of group 5 Added group adm-private-1 (id=6) with permissions rw---- Added group adm-read-only-1 (id=7) with permissions rwr--- Added group adm-read-annotate-1 (id=8) with permissions rwra-- Added group adm-read-write-1 (id=9) with permissions rwrw-- Added user adm-user-1 (id=12) with password Added user adm-user-2 (id=13) with password Added user adm-user-3 (id=14) with password Added user adm-user-4 (id=15) with password Added user adm-user-5 (id=16) with password Added user adm-user-6 (id=17) with password Added 12 to the owner list of group 6 Added 14 to the owner list of group 7 Added 16 to the owner list of group 8 Added 15 to the owner list of group 9
Attachments (1)
Change History (5)
comment:1 Changed 10 years ago by mtbcarroll
Changed 10 years ago by mtbcarroll
comment:2 Changed 10 years ago by mtbcarroll
$ git log -1 commit 957e5b49c79c2d8239af06fc6740ffdbfb7572e6 Merge: 79bd016 8869809 Author: Sébastien Besson <seb.besson@gmail.com> Date: Thu Jun 19 20:31:22 2014 +0100 Merge pull request #44 from sbesson/yaclifw_gt Yaclifw requirements
comment:3 Changed 10 years ago by sbesson
Checked Mark's log and my own and the only notable difference is the fact that Mark session was destroyed and a new one was created.
I was able to reproduce a similar bug with the following workflow:
sebastien@sbesson1:dist (dev_5_0) $ rm -rf ~/omero/sessions/ sebastien@sbesson1:dist (dev_5_0) $ bin/omero load ../../omego/create_users Server: [localhost] Username: [sebastien]^CCancelled Server: [localhost] Username: [sebastien]root Password: Created session 09b68205-4193-411a-afc2-17c92e799158 (root@localhost:4064). Idle timeout: 10.0 min. Current group: system Group exists: read-only-1 (id=4) Group exists: read-annotate-1 (id=5) Group exists: read-write-1 (id=6) User exists: user-1 (id=2) User exists: user-2 (id=3) User exists: user-3 (id=4) User exists: user-4 (id=5) User exists: user-5 (id=6) User exists: user-6 (id=7) User exists: user-7 (id=8) User exists: user-8 (id=9) User exists: user-9 (id=10) User exists: user-10 (id=11) User exists: user-11 (id=12) User exists: user-12 (id=13) 2 is already owner of group 3 8 is already owner of group 3 4 is already owner of group 4 10 is already owner of group 4 6 is already owner of group 5 12 is already owner of group 5 5 is already owner of group 6 11 is already owner of group 6 Group exists: adm-private-1 (id=7) Group exists: adm-read-only-1 (id=8) Group exists: adm-read-annotate-1 (id=9) Group exists: adm-read-write-1 (id=10) User exists: adm-user-1 (id=14) User exists: adm-user-2 (id=15) User exists: adm-user-3 (id=16) User exists: adm-user-4 (id=17) User exists: adm-user-5 (id=18) User exists: adm-user-6 (id=19) 14 is already owner of group 7 16 is already owner of group 8 18 is already owner of group 9 17 is already owner of group 10
comment:4 Changed 10 years ago by sbesson
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Next time it happens, I should attach Blitz-0.log and current omero-setup git repo commit hash.