-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add new uploader script to CMSSW #33479
Conversation
A new Pull Request was created by @Dres90 (Andrés Cárdenas) for CMSSW_11_3_X. It involves the following packages: CondCore/Utilities @ggovi, @cmsbuild can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
Hi @Dres90 , thanks a lot for this new uploader script. If you remember at the AlCaDB meeting when you presented about this, I asked if it is possible to do Prep-To-Prod direct uploads (without having to download a local sqlite file from Prep and upload that to Prod) with the new version of the code. I'm wondering how one does that with this new script. Thanks! |
Hi @tvami, I do have that noted as a future improvement but currently it is not a functionality offered by the new uploader. Definitely a possibility but we want to get the stable version fully tested before beginning work in improvements. |
Ok, looking forward to it! |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-05bb4a/14356/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
|
'\nWhich is the destination database where the tags should be exported? \nPossible choices: oracle://cms_orcon_prod/CMS_CONDITIONS (for prod) or oracle://cms_orcoff_prep/CMS_CONDITIONS (for prep) \ndestinationDatabase: ' | ||
elif ntry==1: | ||
inputMessage = \ | ||
'\nPlease choose one of the two valid destinations: \noracle://cms_orcon_prod/CMS_CONDITIONS (for prod) or oracle://cms_orcoff_prep/CMS_CONDITIONS (for prep) \ |
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.
Would it be possible to simplify this and ask the user to choose between "Prep" or "Prod" instead of the full string of "oracle://cms_orcon_prod/CMS_CONDITIONS" or "oracle://cms_orcoff_prep/CMS_CONDITIONS"? Or even 0 and 1, the same way when we choose the tags? That would make the user's life a bit more convenient. Thanks!
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.
Thank you for the suggestion, it is a great idea.
I have just added that functionality and updated the PR. The suggestions to the user are oradev and orapro to keep consistency with the conddb tools, however it will also resolve to the proper destination if you input "prep" or "prod".
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.
Awesome, thanks!
…lection based on destination database
PR has been updated with the following changes:
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-05bb4a/14385/summary.html Comparison SummarySummary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_11_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_0_X is complete. 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) |
@mmusich good point. At some point, that 'invitation' will be explicit. We are still somewhat in the introductory phase... |
@Dres90 Please make a PR first to master before backporting to 11_3_X. |
Closing this PR as it was pointing to a prior release. Replaced by |
PR description:
Include new uploader script for the V2 version of the CondDbUploader to be distributed via CMSSW