Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9800 (closed)

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

Bug: omero admin reindex --full locks config.xml preventing omero startup

Reported by: drussell-x Owned by: jamoore
Priority: critical Milestone: OMERO-4.4.7
Component: Deployment Version: n.a.
Keywords: n.a. Cc: sbesson
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: Bugs Fixing

Description

The config.xml is locked while omero admin reindex is running which prevents omero from starting up. I think this should be opened for reading and not locked.

Change History (6)

comment:1 Changed 11 years ago by jmoore

  • Summary changed from omero admin reindex --full locks config.xml preventing omero startup to Bug: omero admin reindex --full locks config.xml preventing omero startup
  • Type changed from Bug to Task

comment:2 Changed 11 years ago by jmoore

  • Component set to Deployment
  • Milestone set to OMERO-4.5
  • Priority changed from minor to critical

comment:3 Changed 11 years ago by jmoore

  • Cc sbesson added
  • Owner set to jmoore

comment:4 Changed 11 years ago by jmoore

  • Resolution set to fixed
  • Sprint set to Bugs Fixing
  • Status changed from new to closed

comment:5 Changed 11 years ago by jmoore <josh@…>

  • Remaining Time set to 0

(In [447464e74f64d5c56667ca478c08a42cd60d6f8c/ome.git] on branch develop) Close config early for reindexing (Fix #9800)

comment:6 Changed 11 years ago by jmoore <josh@…>

(In [0002331bbb29fbf0ed603c180fcf17328a0387da/ome.git] on branch develop) Handle multiple calls to omero.config.close()

The previous change in bin/omero admin reindex to close
the config early (See #9800) was failing with:

`
CERROR:ConfigXml:Failed to removed lock file, ignoring
Traceback (most recent call last):

File ".../lib/python/omero/config.py", line 154, in _close_lock

os.remove("%s.lock" % self.filename)

OSError: [Errno 2] No such file or direc...
`

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.71118 sec.)

We're Hiring!