-
Notifications
You must be signed in to change notification settings - Fork 109
Replace urls with cmsweb only endpoints (no cmsweb-prod), for WMAgent. #12431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Jenkins results:
|
Jenkins results:
|
test this please |
Jenkins results:
|
test this please |
Jenkins results:
|
test this please |
Jenkins results:
|
test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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).
@@ -254,7 +254,8 @@ def __init__(self, config): | |||
|
|||
# parse mandatory attributes from the configuration | |||
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is important.
@@ -88,7 +88,8 @@ def __init__(self, url, logger=None, parallel=None, **contact): | |||
|
|||
# instantiate dbs api object | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is important.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And maybe we should check like:
if cmsweb-prod.cern.ch:
then set cmsweb.cern.ch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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:
|
Fixes #12429
Status
not-tested
Description
Test running agent with cmsweb endpoints only
Is it backward compatible (if not, which system it affects?)
YES