Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
I'M Currently Trying To Setup Gcp Autoscaler And Having Some Issues. I Have Setup The Permissions Of The Gcp Service Account Credentials File According To The Docs Here:

I'm currently trying to setup GCP autoscaler and having some issues. I have setup the permissions of the GCP service account credentials file according to the docs here: None

And I'm able to initially create the autoscaler and I can see the head node VM appear in GCP compute engine. But then it crashes not long after initializing. Attaching the corresponding console logs here.

The default source image seems a bit dated: "source_image":"projects/debian-cloud/global/images/debian-10-buster-v20210721" . Also, I'm wondering if it could be a permissions issue for the service account. Are Service Account User and Compute Admin still sufficient for the GCP autoscaler?

Let me know if I can provide any more details here to help troubleshoot. Appreciate any guidance. Thank you in advance for your support.

  
  
Posted 20 days ago
Votes Newest

Answers 6


Here is the log from the GCP VM for extra context

  
  
Posted 20 days ago

Well, this Machine Image ( projects/debian-cloud/global/images/debian-10-buster-v20210721 ) was the default value set by the WebUI (not something we specified). A ccording to the docs it should be an optional field? However, when I clear the field and try to re-launch I get this error:

googleapiclient.errors.HttpError: <HttpError 400 when requesting 
 returned "Invalid value for field 'resource.disks[0].initializeParams.sourceImage': ''. The URL is malformed.". Details: "[{'message': "Invalid value for field 'resource.disks[0].initializeParams.sourceImage': ''. The URL is malformed.", 'domain': 'global', 'reason': 'invalid'}]">
  
  
Posted 15 days ago

Is it possible the image you used doesn't have docker? Did you find any errors in the log?

  
  
Posted 16 days ago

@<1523701070390366208:profile|CostlyOstrich36> , any thoughts on what might be happening with the autoscaler here?

  
  
Posted 16 days ago

Can you try with a machine image with cuda (if you need) and docker pre-installed?

  
  
Posted 10 days ago

Thanks @<1523701070390366208:profile|CostlyOstrich36> , I was ultimately able to get it to run but had to build my own image, which included:

  • The right version of python
  • Docker
  • CUDA + NVIDIA drivers + kernel header for NVIDIA install
  • Virtual env
  • The right GPU machine types, region with availability
  
  
Posted 10 days ago