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

Run cred rotation every month #22977

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

damccorm
Copy link
Contributor

@damccorm damccorm commented Aug 31, 2022

Jenkins recently went down for a while because our creds expired. Running the IODatastores rotation job fixed it. Given that its relatively cheap, we should probably run that job every month so that we're not cutting it close on expirations. I could actually be convinced that running it even more frequently is a good idea.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI.

@github-actions github-actions bot added the infra label Aug 31, 2022
@damccorm
Copy link
Contributor Author

@elink21 are there any reasons that you know of not to run this more frequently? (asking since you added this in #17383)

@elink21
Copy link
Contributor

elink21 commented Aug 31, 2022

@elink21 are there any reasons that you know of not to run this more frequently? (asking since you added this in #17383)

The initial bi-monthly frequency was proposed given the credentials lifetime reported by this command. As all the jobs get their cluster credentials dynamically through gcloud, I think there won't be a huge impact if those are rotated on a more frequent basis.

@damccorm
Copy link
Contributor Author

R: @Abacn

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@Abacn
Copy link
Contributor

Abacn commented Aug 31, 2022

Thanks. Is the original every other month setting never working?

@damccorm
Copy link
Contributor Author

It ran for the first time a little less than 2 months ago, but the creds expired before the second run. Had there been a run in between we would've most likely avoided the problem

Copy link
Contributor

@Abacn Abacn left a comment

Choose a reason for hiding this comment

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

Thanks. Let's hope it works a month later

@damccorm damccorm merged commit 2e19b4f into apache:master Aug 31, 2022
@damccorm damccorm deleted the users/damccorm/cronJobFrequency branch August 31, 2022 21:17
dedocibula pushed a commit to dedocibula/beam that referenced this pull request Sep 15, 2022
kkdoon pushed a commit to twitter-forks/beam that referenced this pull request Sep 29, 2022
cushon pushed a commit to cushon/beam that referenced this pull request Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants