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

OSConfigAgent generates PermissionDenied error #467

Open
rjschwei opened this issue Feb 27, 2023 · 2 comments
Open

OSConfigAgent generates PermissionDenied error #467

rjschwei opened this issue Feb 27, 2023 · 2 comments

Comments

@rjschwei
Copy link

OSConfigAgent[1498]: 2023-02-27T21:41:30.9311Z OSConfigAgent Error main.go:88: code: "PermissionDenied", message: "The caller does not have permission", details: []

Observed in the log on SUSE images.

@arekkusu
Copy link

I would generally suggest going through the check in the public doc:
https://cloud.google.com/compute/docs/manage-os#overview

(in case the issue isn't resolved / for reference)

@rjschwei
Copy link
Author

Well, it is probably a bad idea to train users to ignore error messages. As such, given that enabling config agent is an extra step it might be a good idea to improve the error message. I suggest to either not have "details" be empty or state that "enable-osconfig" in the metadata is set to "False" at least the user can Google a reference to "enable-osconfig" agent why searching for the generic information provided now yields useless results.

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

No branches or pull requests

2 participants