Hi @guillaumeeb, I got the same problem.
There is no Worker instance created. Just one Scheduler Instance.
Is it possible that the Service Account doesn’t have enough permissions.
Which roles / permissions should we give to the Service Account? I can’t find it anywhere on Dask documents.
Log of the Scheduler Instance:
[
{
"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"authenticationInfo": {
"principalEmail": "*******-**@**-****-****.iam.gserviceaccount.com",
"serviceAccountKeyName": "//iam.googleapis.com/projects/**-****-****/serviceAccounts/*******-**@**-****-****.iam.gserviceaccount.com/keys/*********************************",
"principalSubject": "serviceAccount:*******-**@**-****-****.iam.gserviceaccount.com"
},
"requestMetadata": {
"callerIp": "**.**.***.***",
"callerSuppliedUserAgent": "(gzip),gzip(gfe)",
"requestAttributes": {
"time": "2023-05-08T10:12:08.999051Z",
"auth": {}
},
"destinationAttributes": {}
},
"serviceName": "compute.googleapis.com",
"methodName": "v1.compute.instances.insert",
"authorizationInfo": [
{
"permission": "compute.instances.create",
"granted": true,
"resourceAttributes": {
"service": "compute",
"name": "projects/**-****-****/zones/us-east1-c/instances/dask-8ef7b12a-scheduler",
"type": "compute.instances"
}
},
{
"permission": "compute.disks.create",
"granted": true,
"resourceAttributes": {
"service": "compute",
"name": "projects/**-****-****/zones/us-east1-c/disks/dask-8ef7b12a-scheduler",
"type": "compute.disks"
}
},
{
"permission": "compute.subnetworks.use",
"granted": true,
"resourceAttributes": {
"service": "compute",
"name": "projects/**-****-****/regions/us-east1/subnetworks/default",
"type": "compute.subnetworks"
}
},
{
"permission": "compute.subnetworks.useExternalIp",
"granted": true,
"resourceAttributes": {
"service": "compute",
"name": "projects/**-****-****/regions/us-east1/subnetworks/default",
"type": "compute.subnetworks"
}
},
{
"permission": "compute.instances.setMetadata",
"granted": true,
"resourceAttributes": {
"service": "compute",
"name": "projects/**-****-****/zones/us-east1-c/instances/dask-8ef7b12a-scheduler",
"type": "compute.instances"
}
},
{
"permission": "compute.instances.setTags",
"granted": true,
"resourceAttributes": {
"service": "compute",
"name": "projects/**-****-****/zones/us-east1-c/instances/dask-8ef7b12a-scheduler",
"type": "compute.instances"
}
},
{
"permission": "compute.instances.setLabels",
"granted": true,
"resourceAttributes": {
"service": "compute",
"name": "projects/**-****-****/zones/us-east1-c/instances/dask-8ef7b12a-scheduler",
"type": "compute.instances"
}
},
{
"permission": "compute.instances.setServiceAccount",
"granted": true,
"resourceAttributes": {
"service": "compute",
"name": "projects/**-****-****/zones/us-east1-c/instances/dask-8ef7b12a-scheduler",
"type": "compute.instances"
}
}
],
"resourceName": "projects/**-****-****/zones/us-east1-c/instances/dask-8ef7b12a-scheduler",
"request": {
"name": "dask-8ef7b12a-scheduler",
"tags": {
"tags": [
"http-server",
"https-server"
]
},
"machineType": "zones/us-east1-c/machineTypes/n2-standard-2",
"canIpForward": false,
"networkInterfaces": [
{
"accessConfigs": [
{
"type": "ONE_TO_ONE_NAT",
"name": "External NAT",
"networkTier": "PREMIUM"
}
],
"subnetwork": "projects/**-****-****/regions/us-east1/subnetworks/default"
}
],
"disks": [
{
"type": "PERSISTENT",
"mode": "READ_WRITE",
"deviceName": "dask-8ef7b12a-scheduler",
"boot": true,
"initializeParams": {
"sourceImage": "projects/ubuntu-os-cloud/global/images/ubuntu-minimal-1804-bionic-v20201014",
"diskSizeGb": "50",
"diskType": "projects/**-****-****/zones/us-east1-c/diskTypes/pd-standard"
},
"autoDelete": true
}
],
"serviceAccounts": [
{
"email": "default",
"scopes": [
"https://www.googleapis.com/auth/devstorage.read_write",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring.write"
]
}
],
"scheduling": {
"onHostMaintenance": "TERMINATE",
"automaticRestart": true,
"preemptible": false
},
"labels": [
{
"key": "container_vm",
"value": "dask-cloudprovider"
}
],
"deletionProtection": false,
"reservationAffinity": {
"consumeReservationType": "ANY_ALLOCATION"
},
"displayDevice": {
"enableDisplay": false
},
"shieldedInstanceConfig": {
"enableSecureBoot": false,
"enableVtpm": true,
"enableIntegrityMonitoring": true
},
"@type": "type.googleapis.com/compute.instances.insert"
},
"response": {
"id": "6369220010983126039",
"name": "operation-1683540728152-5fb2bdf110052-8d9223d7-901da2c1",
"zone": "https://www.googleapis.com/compute/v1/projects/**-****-****/zones/us-east1-c",
"operationType": "insert",
"targetLink": "https://www.googleapis.com/compute/v1/projects/**-****-****/zones/us-east1-c/instances/dask-8ef7b12a-scheduler",
"targetId": "7446392160937931799",
"status": "RUNNING",
"user": "*******-**@**-****-****.iam.gserviceaccount.com",
"progress": "0",
"insertTime": "2023-05-08T03:12:08.909-07:00",
"startTime": "2023-05-08T03:12:08.910-07:00",
"selfLink": "https://www.googleapis.com/compute/v1/projects/**-****-****/zones/us-east1-c/operations/operation-1683540728152-5fb2bdf110052-8d9223d7-901da2c1",
"selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/**-****-****/zones/us-east1-c/operations/6369220010983126039",
"@type": "type.googleapis.com/operation"
},
"resourceLocation": {
"currentLocations": [
"us-east1-c"
]
}
},
"insertId": "-g2r0xuejrjyu",
"resource": {
"type": "gce_instance",
"labels": {
"zone": "us-east1-c",
"project_id": "**-****-****",
"instance_id": "7446392160937931799"
}
},
"timestamp": "2023-05-08T10:12:08.181048Z",
"severity": "NOTICE",
"logName": "projects/**-****-****/logs/cloudaudit.googleapis.com%2Factivity",
"operation": {
"id": "operation-1683540728152-5fb2bdf110052-8d9223d7-901da2c1",
"producer": "compute.googleapis.com",
"first": true
},
"receiveTimestamp": "2023-05-08T10:12:09.510022825Z"
},
{
"insertId": "0",
"jsonPayload": {
"@type": "type.googleapis.com/cloud_integrity.IntegrityEvent",
"startupEvent": {},
"bootCounter": "1"
},
"resource": {
"type": "gce_instance",
"labels": {
"project_id": "**-****-****",
"zone": "us-east1-c",
"instance_id": "7446392160937931799"
}
},
"timestamp": "2023-05-08T10:12:12.705225299Z",
"severity": "NOTICE",
"logName": "projects/**-****-****/logs/compute.googleapis.com%2Fshielded_vm_integrity",
"receiveTimestamp": "2023-05-08T10:12:14.718245835Z"
},
{
"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"authenticationInfo": {
"principalEmail": "*******-**@**-****-****.iam.gserviceaccount.com",
"serviceAccountKeyName": "//iam.googleapis.com/projects/**-****-****/serviceAccounts/*******-**@**-****-****.iam.gserviceaccount.com/keys/*********************************",
"principalSubject": "serviceAccount:*******-**@**-****-****.iam.gserviceaccount.com"
},
"requestMetadata": {
"callerIp": "**.**.***.***",
"callerSuppliedUserAgent": "(gzip),gzip(gfe)",
"requestAttributes": {},
"destinationAttributes": {}
},
"serviceName": "compute.googleapis.com",
"methodName": "v1.compute.instances.insert",
"resourceName": "projects/**-****-****/zones/us-east1-c/instances/dask-8ef7b12a-scheduler",
"request": {
"@type": "type.googleapis.com/compute.instances.insert"
}
},
"insertId": "-crcxord8p9k",
"resource": {
"type": "gce_instance",
"labels": {
"zone": "us-east1-c",
"project_id": "**-****-****",
"instance_id": "7446392160937931799"
}
},
"timestamp": "2023-05-08T10:12:13.459567Z",
"severity": "NOTICE",
"logName": "projects/**-****-****/logs/cloudaudit.googleapis.com%2Factivity",
"operation": {
"id": "operation-1683540728152-5fb2bdf110052-8d9223d7-901da2c1",
"producer": "compute.googleapis.com",
"last": true
},
"receiveTimestamp": "2023-05-08T10:12:13.681857331Z"
},
{
"insertId": "1",
"jsonPayload": {
"@type": "type.googleapis.com/cloud_integrity.IntegrityEvent",
"bootCounter": "1",
"earlyBootReportEvent": {
"policyMeasurements": [
{
"value": "0KUbR/mg3+8bwW0xjQtbxWh/1gI=",
"hashAlgo": "SHA1",
"pcrNum": "PCR_0"
},
{
"pcrNum": "PCR_7",
"hashAlgo": "SHA1",
"value": "jwk4ZGvqD/g7cbCA762EALidNFw="
}
],
"policyEvaluationPassed": true,
"actualMeasurements": [
{
"hashAlgo": "SHA1",
"pcrNum": "PCR_0",
"value": "0KUbR/mg3+8bwW0xjQtbxWh/1gI="
},
{
"pcrNum": "PCR_1",
"hashAlgo": "SHA1",
"value": "KtcGVWNIdo9pYPgCGcLsoGrtI6Q="
},
{
"hashAlgo": "SHA1",
"pcrNum": "PCR_2",
"value": "sqg7Dr8vg3Qpmlsr38MeqVWtcjY="
},
{
"pcrNum": "PCR_3",
"hashAlgo": "SHA1",
"value": "sqg7Dr8vg3Qpmlsr38MeqVWtcjY="
},
{
"value": "oP1c2wBIal+pGhF9lzBYFCXpPfM=",
"hashAlgo": "SHA1",
"pcrNum": "PCR_4"
},
{
"value": "AuI+039CzYHi8qp4KyhiWOouLcs=",
"hashAlgo": "SHA1",
"pcrNum": "PCR_5"
},
{
"hashAlgo": "SHA1",
"value": "sqg7Dr8vg3Qpmlsr38MeqVWtcjY=",
"pcrNum": "PCR_6"
},
{
"hashAlgo": "SHA1",
"pcrNum": "PCR_7",
"value": "jwk4ZGvqD/g7cbCA762EALidNFw="
}
]
}
},
"resource": {
"type": "gce_instance",
"labels": {
"instance_id": "7446392160937931799",
"zone": "us-east1-c",
"project_id": "**-****-****"
}
},
"timestamp": "2023-05-08T10:12:14.078796466Z",
"severity": "NOTICE",
"logName": "projects/**-****-****/logs/compute.googleapis.com%2Fshielded_vm_integrity",
"receiveTimestamp": "2023-05-08T10:12:14.718245835Z"
},
{
"insertId": "2",
"jsonPayload": {
"lateBootReportEvent": {
"policyEvaluationPassed": true,
"policyMeasurements": [
{
"value": "0KUbR/mg3+8bwW0xjQtbxWh/1gI=",
"pcrNum": "PCR_0",
"hashAlgo": "SHA1"
},
{
"pcrNum": "PCR_4",
"value": "vWn2UuE90y1JkDVGJ0AftI2wUbY=",
"hashAlgo": "SHA1"
},
{
"value": "jwk4ZGvqD/g7cbCA762EALidNFw=",
"hashAlgo": "SHA1",
"pcrNum": "PCR_7"
}
],
"actualMeasurements": [
{
"value": "0KUbR/mg3+8bwW0xjQtbxWh/1gI=",
"hashAlgo": "SHA1",
"pcrNum": "PCR_0"
},
{
"pcrNum": "PCR_1",
"value": "KtcGVWNIdo9pYPgCGcLsoGrtI6Q=",
"hashAlgo": "SHA1"
},
{
"hashAlgo": "SHA1",
"pcrNum": "PCR_2",
"value": "sqg7Dr8vg3Qpmlsr38MeqVWtcjY="
},
{
"value": "sqg7Dr8vg3Qpmlsr38MeqVWtcjY=",
"hashAlgo": "SHA1",
"pcrNum": "PCR_3"
},
{
"pcrNum": "PCR_4",
"value": "vWn2UuE90y1JkDVGJ0AftI2wUbY=",
"hashAlgo": "SHA1"
},
{
"hashAlgo": "SHA1",
"pcrNum": "PCR_5",
"value": "B7aW7ovPgQJoFsfmRrWtFUGU17I="
},
{
"value": "sqg7Dr8vg3Qpmlsr38MeqVWtcjY=",
"pcrNum": "PCR_6",
"hashAlgo": "SHA1"
},
{
"hashAlgo": "SHA1",
"pcrNum": "PCR_7",
"value": "jwk4ZGvqD/g7cbCA762EALidNFw="
}
]
},
"@type": "type.googleapis.com/cloud_integrity.IntegrityEvent",
"bootCounter": "1"
},
"resource": {
"type": "gce_instance",
"labels": {
"zone": "us-east1-c",
"project_id": "**-****-****",
"instance_id": "7446392160937931799"
}
},
"timestamp": "2023-05-08T10:12:29.032293358Z",
"severity": "NOTICE",
"logName": "projects/**-****-****/logs/compute.googleapis.com%2Fshielded_vm_integrity",
"receiveTimestamp": "2023-05-08T10:12:31.041739950Z"
}
]