Task #9800 (closed)
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...
`
PR opened https://github.com/openmicroscopy/openmicroscopy/pull/822