Replace urls with cmsweb only endpoints (no cmsweb-prod), for WMAgent.#12431
Replace urls with cmsweb only endpoints (no cmsweb-prod), for WMAgent.#12431khurtado wants to merge 2 commits intodmwm:masterfrom
Conversation
|
Jenkins results:
|
|
Jenkins results:
|
|
test this please |
|
Jenkins results:
|
|
test this please |
|
Jenkins results:
|
|
test this please |
|
Jenkins results:
|
|
test this please |
amaltaro
left a comment
There was a problem hiding this comment.
@khurtado I tried to highlight which modules are important to update (along the code).
Most of the test/*, src/python/WMQuality and mocking stuff is irrelevant - as we are not planning to merge these changes.
I would suggest to make an explicity replacement back from cmsweb-prod to cmsweb - as workflow specs are supposed to be set as cmsweb-prod in ReqMgr2 (which propagates down into the system).
| self.config = config | ||
| dbsUrl = "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader" | ||
| #dbsUrl = "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader" | ||
| dbsUrl = "https://cmsweb.cern.ch/dbs/prod/global/DBSReader" |
| try: | ||
| self.dbsURL = url.replace("cmsweb.cern.ch", "cmsweb-prod.cern.ch") | ||
| #self.dbsURL = url.replace("cmsweb.cern.ch", "cmsweb-prod.cern.ch") | ||
| self.dbsURL = url |
There was a problem hiding this comment.
And maybe we should check like:
if cmsweb-prod.cern.ch:
then set cmsweb.cern.ch
There was a problem hiding this comment.
Good point, I am doing the inverse replacement now
|
Jenkins results:
|
|
Jenkins results:
|
|
Jenkins results:
|
|
@amaltaro Thanks! I made the changes to force replace from cmsweb-prod to cmsweb in the files you pointed out. |
|
Jenkins results:
|
38e0f6f to
6f6938b
Compare
Fix bug in previous commit. Explicitly force change from cmsweb-prod to cmsweb
|
Jenkins results:
|
|
Jenkins results:
|
|
Jenkins results:
|
|
test this please |
|
Jenkins results:
|
Fixes #12429
Status
not-tested
Description
Test running agent with cmsweb endpoints only
Is it backward compatible (if not, which system it affects?)
YES