-
Notifications
You must be signed in to change notification settings - Fork 658
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
fix(codebuild): set region when creating sts client #839
Conversation
There's a race condition where default region could not be found, causing STS client failed to be created. To fix it, we set STS client region to what specified in the codebuild halyard config. Fixed spinnaker/spinnaker#5974
UPDATE: the fix I have applied to 1.21 code base, although lets igor start now and even add CodeBuild accounts in Spinnaker deck, still shows signs of distress in Igor's log. The service crashes no longer, but CodeBuild functionality is still unavailable:
|
can we also have fix ported to 1.21? My local build with the fix works alright after I have added account access credentials to CodeBuild section |
@Mergifyio backport release-1.21.x |
There's a race condition where default region could not be found, causing STS client failed to be created. To fix it, we set STS client region to what specified in the codebuild halyard config. Fixed spinnaker/spinnaker#5974 Co-authored-by: Clare Liguori <liguori@amazon.com> (cherry picked from commit babd23f)
Command
|
@Kaixiang-AWS @clareliguori in order for a PR to be backported to previous releases, it must meet the documented criteria. I see that the following is missing:
I see that this issue may have been there since the beginning, meaning that it doesn't fix a regression. Can you confirm? |
Here is my 2 million dollars: it's not a feature, it's a bug in AWS CodeBuild Spinnaker integration (which is claimed to have worked but apparently didn't), the fix is easily portable, there is no need for anyone to wait till 1.23, since it's 1.22 hasn't been even released. And it really blocks me at least from using AWS CodeBuild |
I understand that this is a bug, but at this point only fixes for regressions and security vulenrabilities are allowed into release branches. Until that policy is changed, non-regression bug fixes will need to wait for the next release. |
1.21 is the most current release. I honestly expected the Spinnaker dev team to be more...agile, not putting a policy/process over customer's needs, a policy that makes little sense in this context. 1.23 is not even scheduled |
@german-muzquiz I missed seeing the updated release branch criteria. You are correct, this is not a regression. |
There's a race condition where default region could not be found, causing
STS client failed to be created. To fix it, we set STS client region to
what specified in the codebuild halyard config.
Fixed spinnaker/spinnaker#5974