All nodes within the cluster are configured with the google-fluentd Stackdriver Logging agent. When looking at the logs from the agent, I'm getting the following errors:
$ cat /var/log/google-fluentd/google-fluentd.log
2020-07-12 18:15:56 +0000 [warn]: Failed to extract log entry errors from the error details: "Request had insufficient authentication scopes.". error_class=JSON::ParserError error="String"
...
☝️ This also means the VM instance logs aren't available in the GCP console.
I think I need to expand the service_accounts.scopes for VMs to also include a logging scope to fix this error.
All nodes within the cluster are configured with the
google-fluentd
Stackdriver Logging agent. When looking at the logs from the agent, I'm getting the following errors:☝️ This also means the VM instance logs aren't available in the GCP console.
I think I need to expand the
service_accounts.scopes
for VMs to also include a logging scope to fix this error.