Context cancelled when listing an instance group.
From Slack:
i’ve been debugging the context cancelled problem with the google compute plugin i’ve traced the problem all the way down to here: https://gitlab.com/gitlab-org/fleeting/fleeting-plugin-googlecompute/-/blob/6f31726b8c2a2696283c638c615dd1d81b992cc5/provider.go#L60 in the plugin where we use the google sdk to call compute. even with context.Background() which can’t be cancelled (put right before) i’m still getting a context cancelled error out of that service call. i tried reauthing google auth login which touched my credentials, but that didn’t help the exact same code works fine with [the] aws [plugin]
Error looks like this:
WARNING: Failed to process runner builds=0 error=failed to update
executor: initializing taskscaler: creating taskscaler: initializing
provisioner: reconciling with instance group: rpc error: code =
Canceled desc = Post
"https://compute.googleapis.com/compute/v1/projects//zones/europe-west4-b/instanceGroupManagers/jburnett-taskrunner-asg/listManagedInstances?alt=json&prettyPrint=false":
context canceled executor=instance runner=LMPaaTzF
Edited by Joe Burnett