System |
|
|
|
|
|
|
|
|
|
|
EventData |
Exception sending metrics to Stackdriver: error(0, 'RegisterEventSource/ReportEvent', 'No error message is available') |
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/db19d139-2217-4f31-a093-96b511ccc3d3%40googlegroups.com.
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdriver-discu...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-discussion+unsub...@googlegroups.com.
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdriver-discu...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-discussion+unsub...@googlegroups.com.
- | System |
|
|
|
|
|
|
|
|
|
|
- | EventData |
Exception sending metrics to Stackdriver: ServerNotFoundError('Unable to find the server at metadata.google.internal',) |
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/b2ffcdd4-e30c-4b9b-bcca-e6756082579c%40googlegroups.com.
gcloud compute instances set-service-account [INSTANCE_NAME] \
[--service-account [SERVICE_ACCOUNT_EMAIL] | --no-service-account] \
[--no-scopes | --scopes [SCOPES,...]]
where:
[SERVICE_ACCOUNT_EMAIL]
is the service account email you want to use. For example: my-s...@my-project-123.iam.gserviceaccount.com
.[INSTANCE_NAME]
is the name of the instance.[SCOPES]
is a comma-separated list of full scope URIs, or scope aliases provided in the description for the --scopes
flag. If you want to remove all scopes for the instance, use the --no-scopes
flag instead.gcloud compute instances set-service-account [INSTANCE_NAME] -service-account [SERVICE_ACCOUNT_EMAIL] --scopes [SCOPES,...]
Another update, i've been going through all the logs I can find as related to stackdriver on the instance. I have found the the C:\Program Files (x86)\Stackdriver\LoggingAgent\fludentd.log contains the following message adding credence to my suspicion the my issue is something permission related. an excerpt of the log stats :"AuthorizationError: Error code 404 trying to get security access token\nfrom Compute Engine metadata for the default service account. This\nmay be because the virtual machine instance does not have permission\nscopes specified"As mentioned prior my instance details does not show any information concerning a "Service Account" nor does it show the "Cloud API access scopes" even after stopping the instance.per this link (https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances ) I should be able to stop the instance and edit the service account and scope details, but non are available to me to edit.There is a section under "GCLOUD" on that page that show a command for setting a service. Would this break anything if I attempted using those commands to set the service account and scopes? and would it be okay to set it to the "default" service account, or should I create a new one?The gcloud command referenced are:
gcloud compute instances set-service-account [INSTANCE_NAME] \
[--service-account [SERVICE_ACCOUNT_EMAIL] | --no-service-account] \
[--no-scopes | --scopes [SCOPES,...]]where:
[SERVICE_ACCOUNT_EMAIL]
is the service account email you want to use. For example:my-sa-123@my-project-123.iam.gserviceaccount.com
.