Skip to content
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

Change DBS url to cmsweb-prod in MatrixInjector #33209

Merged
merged 2 commits into from Mar 30, 2021
Merged

Change DBS url to cmsweb-prod in MatrixInjector #33209

merged 2 commits into from Mar 30, 2021

Conversation

justinasr
Copy link
Contributor

PR description:

Use cmsweb-prod.cern.ch for "DbsUrl" attribute in the dictionary that is submitted to ReqMgr2 by MatrixInjector.

Relevant ticket on gitlab: https://gitlab.cern.ch/cms-http-group/doc/-/issues/256

PR validation:

None.

If this PR is a backport please specify the original PR and why you need to backport that PR:

Not a backport.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33209/21646

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @justinasr (Justinas Rumševičius) for master.

It involves the following packages:

Configuration/PyReleaseValidation

@jordan-martins, @chayanit, @wajidalikhan, @kpedro88, @cmsbuild, @srimanob can you please review it and eventually sign? Thanks.
@makortel, @Martin-Grunewald, @fabiocos, @slomeo this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@chayanit
Copy link

please test

@@ -71,7 +71,7 @@ def __init__(self,opt,mode='init',options=''):
if not self.wmagent:
if not opt.testbed :
self.wmagent = 'cmsweb.cern.ch'
self.DbsUrl = "https://"+self.wmagent+"/dbs/prod/global/DBSReader"
self.DbsUrl = "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

although it was already hardcoded, why not configure it via env variable. This will help in future when we have to change it again.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be the most flexible way, however it would then depend on each user having to export it before every use. Unless you are talking about env variables that are set by cmsenv, then yes, it could be set there. I also don't expect this to change that often that it would cause too much of inconvenience to change the hardcoded value.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@justinasr , I mean use the env variable to override the default. If env variable is set then we use it otherwise fallback to default ( hardcoded in the release).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smuzaffar sure, should the whole url be configurable or just the host? Would these be appropriate names for the env variables: DBSREADER_URL (if the whole url is configurable) or DBSREADER_HOST (if only host is configurable)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@justinasr , I would suggest to make whole url configurable. About the name, I would suggest to use CMS_DBSREADER_URL . If you want, you can also add command-line option e.g. --dbs-url ful-dbs-url to runTheMatrix.py :-)

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f3e720/13589/summary.html
COMMIT: fc3c7b9
CMSSW: CMSSW_11_3_X_2021-03-17-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33209/13589/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2639935
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2639906
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

@srimanob
Copy link
Contributor

Hi @smuzaffar @justinasr
Do you converge on this PR? Thanks.

@smuzaffar
Copy link
Contributor

smuzaffar commented Mar 26, 2021

@srimanob , as we are changing it from one hardcoded value to another, I suggested to provide a way to override it in future via an environment variable ( see #33209 (comment) ) .

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33209/21806

@cmsbuild
Copy link
Contributor

Pull request #33209 was updated. @jordan-martins, @chayanit, @wajidalikhan, @kpedro88, @cmsbuild, @srimanob can you please check and sign again.

@justinasr
Copy link
Contributor Author

@smuzaffar Updated so it would be configurable with env variable and --dbs-url. I believe this PR still needs some tests triggered.

@srimanob
Copy link
Contributor

Please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f3e720/13827/summary.html
COMMIT: 704a42e
CMSSW: CMSSW_11_3_X_2021-03-28-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33209/13827/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

The workflows 140.53 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 1264 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2639935
  • DQMHistoTests: Total failures: 3674
  • DQMHistoTests: Total nulls: 19
  • DQMHistoTests: Total successes: 2636220
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 45.703 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 140.53 ): 44.531 KiB Hcal/DigiRunHarvesting
  • DQMHistoSizes: changed ( 140.53 ): 1.172 KiB RPC/DCSInfo
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

@srimanob
Copy link
Contributor

+Upgrade

This is a technical PR to assign dbsUrl attribute in the dictionary, which is submitted to ReqMgr2 by MatrixInjector.

@smuzaffar This update looks OK for me. Is it as you expect? Thanks.

@smuzaffar
Copy link
Contributor

yes @srimanob this looks good now.

@chayanit
Copy link

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Mar 30, 2021

+1

@cmsbuild cmsbuild merged commit b4193ae into cms-sw:master Mar 30, 2021
@justinasr justinasr deleted the cmsweb-prod branch May 4, 2021 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants