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

ClusterOwnerIdentityMismatchError for the same user #2032

Closed
tokestermw opened this issue Jun 5, 2023 · 4 comments · Fixed by #2033
Closed

ClusterOwnerIdentityMismatchError for the same user #2032

tokestermw opened this issue Jun 5, 2023 · 4 comments · Fixed by #2033

Comments

@tokestermw
Copy link

Hi, I recently got a ClusterOwnerIdentityMismatchError but for the same user. This was using the most recent main branch as of last Wednesday.

The full error is (this happens when I tried to do sky down CLUSTER_ID):

sky.exceptions.ClusterOwnerIdentityMismatchError: 'CLUSTER_ID' (GCP) is owned by account '["EMAIL\\n [project_id=PROJECT_ID]"]', but the activated account is 'EMAIL\n [project_id=PROJECT_ID]'.

Note the extra \ after the email.

I don't exactly remember how I hit this, but I think I initially logged into GCP and ran a job. Then I logged in again, and I wasn't able to access the clusters again.

But I was able to fix by downgrading skypilot to 0.3.0 for now.

@concretevitamin
Copy link
Member

Thanks for the report @tokestermw! Does it work if you switch to the most recent main branch + operate on new clusters?

@Michaelvll the

the activated account is 'EMAIL\n [project_id=PROJECT_ID]'.

part suggests the code at the time didn't have a list based return result, which is weird.

@Michaelvll
Copy link
Collaborator

Thanks @tokestermw! Just made an attempt to fix the issue in #2033.

It is quite weird that the last activated account is not a list. @tokestermw Do you mind check again the error message to see if that was actually not a list or a typo when copy pasting?

@tokestermw
Copy link
Author

tokestermw commented Jun 5, 2023

yup i double checked, and it looks like the second one is not a list

W 06-03 21:15:50 backend_utils.py:2300]   PROJECT_ID: 'PROJECT_ID' (GCP) is owned by account '["EMAIL\\n [project_id=PROJECT_ID]"]', but the activated account is 'EMAIL\n [project_id=PROJECT_ID]'.

@tokestermw
Copy link
Author

I pulled the latest code, it's working fine now, but i may have try once the gcloud login expires

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 a pull request may close this issue.

3 participants