Skip to content

Remove assertion about GCS credentials always being null when not set explicitly #83139

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

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

arteam
Copy link
Contributor

@arteam arteam commented Jan 26, 2022

After we fixed getting application credentials in a GCE environment in #82974, we can actually end up in an environment where the credentials set automatically when creating a new GCS client

Fixes #83131

@arteam arteam added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.0.0 v8.1.0 v7.17.1 labels Jan 26, 2022
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Jan 26, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

… explicetly

After we fixed getting application credentials in a GCE environment in elastic#82974, we can actually
get credentials set automatically when creating a new GCS client

Fixes elastic#83131
@arteam arteam force-pushed the gce-remove-wrong-assertions branch from dbfada7 to ad2bf62 Compare January 26, 2022 10:44
@arteam arteam requested review from DaveCTurner and tlrx January 26, 2022 11:00
@arteam arteam added the auto-backport Automatically create backport pull requests when merged label Jan 26, 2022
@arteam arteam merged commit 0f97a85 into elastic:master Jan 26, 2022
@arteam arteam deleted the gce-remove-wrong-assertions branch January 26, 2022 14:10
arteam added a commit to arteam/elasticsearch that referenced this pull request Jan 26, 2022
… explicetly (elastic#83139)

After we fixed getting application credentials in a GCE environment in elastic#82974, we can actually
get credentials set automatically when creating a new GCS client

Fixes elastic#83131
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.0
7.17 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 83139

arteam added a commit that referenced this pull request Jan 26, 2022
… explicetly (#83139) (#83147)

After we fixed getting application credentials in a GCE environment in #82974, we can actually
get credentials set automatically when creating a new GCS client

Fixes #83131
arteam added a commit to arteam/elasticsearch that referenced this pull request Jan 26, 2022
…not set explicetly (elastic#83139)

Backports the following commits to 8.0:
 - Remove assertion about GCS credentials always being null when not set explicetly (elastic#83139)
arteam added a commit that referenced this pull request Jan 26, 2022
…not set explicetly (#83139) (#83149)

Backports the following commits to 8.0:
 - Remove assertion about GCS credentials always being null when not set explicetly (#83139)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v7.17.0 v8.0.0 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] GoogleCloudStorageServiceTests testClientInitializer failing
5 participants