Closed belforte closed 3 years ago
But code for TaskPublish has not changed :-(
looking better, that is an old task, not the one I submitted now after changing Publisher !
hmm... Publisher is not running !! I have a more mundame problem which prevented it from starting:
[crab3@crab-preprod-tw01 Publisher]$ cat nohup.out
Traceback (most recent call last):
File "/data/repos/CRABServer/src/python/Publisher//PublisherMaster.py", line 624, in <module>
master = Master(confFile=configurationFile)
File "/data/repos/CRABServer/src/python/Publisher//PublisherMaster.py", line 184, in __init__
self.crabServer = CRABRest(hostname=restHost, localcert=config.serviceCert,
AttributeError: 'Configuration' object has no attribute 'serviceCert'
[crab3@crab-preprod-tw01 Publisher]$
My initial mistake was due to the fact that preprod DB contains some old task submitted when working on porting REST to new WMCore with incorrect metadata, so every time publisher starts, it keeps trying those and failing. This is quite ugly, the best solution seems to me to clean the preprod DB instance and start fresh with proper metadata. But in general it may always happen that sometimes we upload bad metadata, should not keep trying those for months until relevant partition is dropped.
I guess I could write a small script to exercise old unused FMD API's