jonvet
05/26/2022, 1:37 PMCaller does not have storage.objects.get access to the Google Cloud Storage object.
has anyone else had problems with gcloud & dagster lately?sean
05/26/2022, 1:58 PMjonvet
05/26/2022, 2:07 PMK8sRunLauncher
should use?sean
05/26/2022, 2:09 PMdaniel
05/26/2022, 2:10 PMjonvet
05/26/2022, 2:43 PMserviceAccountName
in the values file (the service name is just the bit before the @ in the service account email address right?) I also tried setting includeConfigInLaunchedRuns: true
in the dagster-user-deployments
bit of the values file. everything I tried results in the dagster-user-deployments
pod having the correct service account and the pod that runs my job having a random different one (PROJECT_ID.svc.id.goog
)jonvet
05/26/2022, 3:06 PMgcloud auth list
. I have no idea why this particular job has a different one 🤯jonvet
05/26/2022, 3:09 PMjonvet
05/26/2022, 3:33 PMjonvet
05/26/2022, 3:37 PMserviceAccountName
. but when I checked the node pool I saw that this service account actually appears with the name `default`in the gcloud console. Then I checked kubectl get serviceaccount
and saw that indeed there is a service account with name default
in there. So, then I changed the values file so serviceAccountName: default
but I’m getting this error:
Error: rendered manifests contain a resource that already exists. Unable to continue with install: ServiceAccount "default" in namespace "default" exists and cannot be imported into the current release
johann
05/26/2022, 3:38 PMthe service name is just the bit before the @ in the service account email address right?I’m not sure, I’m not as familiar with GCP
johann
05/26/2022, 3:39 PMdefault
in your case), you just need to make sure it has adequate permissionsjohann
05/26/2022, 3:40 PMserviceAccount:
create: true
johann
05/26/2022, 3:41 PMjonvet
05/26/2022, 6:41 PMserviceAccountName: default
and added
serviceAccount:
create: false
to the yaml file. so now it schedules this job on a pod with the correct service account. still not 100% what changed or why all of this is needed all of a sudden but hey.. it works 🙂 thanks!