-
Notifications
You must be signed in to change notification settings - Fork 107
trouble shooting
Alan Malta Rodrigues edited this page Nov 25, 2015
·
36 revisions
Workqueue is not acquiring request: acquired status but not moving to running open status.
- Check WorkQueueManager Component Log.
- If the error message is showing json parse error, wq view is corrupted.
ERROR:WorkQueueManagerWMBSFileFeeder:Error in wmbs inject loop: unterminated array starting at position 0:
- shutdown the agent, and shutdown couch server
- remove the view from /data1/database/.workqueue_design
- start the couch server and rebuild the view by triggering one of the view
curl http://localhost:5984/workqueue/_design/WorkQueue/_view/availableByPriority
- If the view rebuild is finished, start the agent.
Note, however, in case this issue is happening to all the agents, then it probably is an issue with central workqueue.
Datasets were produced with None either for AcquisitionEra or ProcessingString.
- In these cases these blocks and files will bug DBS3Upload all the time since it does not pass the Lexicon validation in DBS. So, what we need to do is basically to close those blocks and mark them (and its files) as injected in dbsbuffer tables.
1. Shutdown PhEDExInjector and DBS3Upload
2. Find the blocks and files that needs manual intervention (just to keep record)
select * from dbsbuffer_block where blockname like '/%/None-%'; select * from dbsbuffer_file where lfn like '/store/mc/None/%';
3. Close and mark them as injectedUPDATE dbsbuffer_block SET status='Closed' where blockname like '/%/None-%'; UPDATE dbsbuffer_file SET status='InDBS', in_phedex='1' where lfn like '/store/%/None/%';
4. elog them in the workflow team.