Skip to content

[autoscaler] GCP: only call setIamPolicy if necessary#3782

Merged
richardliaw merged 2 commits into
ray-project:masterfrom
jamescasbon:jcasbon/iam
Feb 4, 2019
Merged

[autoscaler] GCP: only call setIamPolicy if necessary#3782
richardliaw merged 2 commits into
ray-project:masterfrom
jamescasbon:jcasbon/iam

Conversation

@jamescasbon

Copy link
Copy Markdown
Contributor

What do these changes do?

Avoids trying to call setIamPolicy if they already exist.
setIamPolicy may fail in environments where the user doesn't have permission to do so

Related issue number

No

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/10888/
Test PASSed.

@ericl ericl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks for fixing this. fyi @hartikainen

@richardliaw richardliaw changed the title gcp: only call setIamPolicy if necessary Jan 16, 2019
@richardliaw

Copy link
Copy Markdown
Contributor

One of the lint tests is failing on this PR

@jamescasbon

Copy link
Copy Markdown
Contributor Author

One of the lint tests is failing on this PR

How can you see what the failure was? It just seems to say there was a failure.

@jamescasbon

Copy link
Copy Markdown
Contributor Author

fixed it

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/10905/
Test PASSed.

@richardliaw richardliaw merged commit 976f018 into ray-project:master Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants