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

Load credentials when saving spec file in local workqueue #11204

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

amaltaro
Copy link
Contributor

@amaltaro amaltaro commented Jul 6, 2022

Fixes #11203

Status

ready

Description

We create a brand new object of CouchServer in the call to wmspec.load(). So make sure that credentials are passed to that method when creating it, otherwise it fails to write to the localhost database.

Is it backward compatible (if not, which system it affects?)

YES (but should be tested in central services as well)

Related PRs

Complement to #11044

External dependencies / deployment changes

None

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: succeeded
    • 1 tests no longer failing
    • 4 changes in unstable tests
  • Python3 Pylint check: succeeded
    • 13 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 2 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13380/artifact/artifacts/PullRequestReport.html

Copy link
Contributor

@todor-ivanov todor-ivanov left a comment

Choose a reason for hiding this comment

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

looks good to me @amaltaro

@amaltaro
Copy link
Contributor Author

amaltaro commented Jul 7, 2022

Thanks for the review. A backported version has been created and applied to all the 2.0.4 active agents.

@amaltaro amaltaro merged commit 613c705 into dmwm:master Jul 7, 2022
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.

CouchDB 3.x: JobUpdater fail to authenticate to localhost workqueue
4 participants