Skip to content

Conversation

@rcampos2029
Copy link
Collaborator

The IAM API is eventually consistent. If the user created the wif-config service accounts needed for cluster deployment within too brief a period, then the backend will not yet have access to it. To avoid confusing error messages being returned, the ocm-cli will verify that the backend can see the resources before wif-config creation is considered complete.

The attached text file shows how the changes included in this patch was tested.
ocm-14483-cli-test.txt

The IAM API is eventually consistent. If the user created the wif-config
service accounts needed for cluster deployment within too brief a
period, then the backend will not yet have access to it. To avoid
confusing error messages being returned, the ocm-cli will verify that
the backend can see the resources before wif-config creation is
considered complete.
@rcampos2029
Copy link
Collaborator Author

cli_test.txt

The attached file shows the user experience creating and updating the wif-config after the included changes.

@ckandag ckandag merged commit 62f7db3 into openshift-online:main Mar 25, 2025
4 checks passed
ckandag added a commit that referenced this pull request Apr 4, 2025
-8e28c06 OCM-14358 | unbind service accounts when deleting wif-configs (#723)
-62f7db3 Improving UX around gcloud iam api consistency model (#725)
-a8ab357 OCM-14357 | Ensuring wif commands are resilient to GCP's consistency model (#726)
-c41ad70 Update module github.com/golang-jwt/jwt/v4 to v4.5.2 (#727)
-19bb541 Update module github.com/hashicorp/go-version to v1.7.0 (#724)
-d4b073f Update Konflux references (#712)
-3d30c1c Update module github.com/spf13/pflag to v1.0.6 (#717)
-5010823 Update module github.com/openshift-online/ocm-sdk-go to v0.1.463 (#715)
-22467d1 various cve updates (#731)
-7deabe5 display versions on wif-config describe (#732)
ckandag added a commit that referenced this pull request Apr 4, 2025
-8e28c06 OCM-14358 | unbind service accounts when deleting wif-configs (#723)
-62f7db3 Improving UX around gcloud iam api consistency model (#725)
-a8ab357 OCM-14357 | Ensuring wif commands are resilient to GCP's consistency model (#726)
-c41ad70 Update module github.com/golang-jwt/jwt/v4 to v4.5.2 (#727)
-19bb541 Update module github.com/hashicorp/go-version to v1.7.0 (#724)
-d4b073f Update Konflux references (#712)
-3d30c1c Update module github.com/spf13/pflag to v1.0.6 (#717)
-5010823 Update module github.com/openshift-online/ocm-sdk-go to v0.1.463 (#715)
-22467d1 various cve updates (#731)
-7deabe5 display versions on wif-config describe (#732)
@ckandag ckandag mentioned this pull request Apr 4, 2025
rcampos2029 pushed a commit that referenced this pull request Apr 4, 2025
-8e28c06 OCM-14358 | unbind service accounts when deleting wif-configs (#723)
-62f7db3 Improving UX around gcloud iam api consistency model (#725)
-a8ab357 OCM-14357 | Ensuring wif commands are resilient to GCP's consistency model (#726)
-c41ad70 Update module github.com/golang-jwt/jwt/v4 to v4.5.2 (#727)
-19bb541 Update module github.com/hashicorp/go-version to v1.7.0 (#724)
-d4b073f Update Konflux references (#712)
-3d30c1c Update module github.com/spf13/pflag to v1.0.6 (#717)
-5010823 Update module github.com/openshift-online/ocm-sdk-go to v0.1.463 (#715)
-22467d1 various cve updates (#731)
-7deabe5 display versions on wif-config describe (#732)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants