When trying to use Dataproc image version 2.2. the gcloud CLI raises a validation error.
Trying the same command with version 2.1 works properly.
Is there anything I'm doing wrong here?
While image deprecation is a common reason for validation errors in Dataproc, there are other potential causes for the error you're encountering with version 2.2:
Troubleshooting Steps
Verify Availability:
gcloud
command: List available image versions using:
gcloud dataproc images list
Check Syntax and Typos:
gcloud dataproc clusters create
command. Ensure no typos exist in the image version specification or other parameters. Pay close attention to the region specified.Consult Release Notes:
Update/Upgrade if Necessary
gcloud dataproc images list
results.Example:
gcloud dataproc clusters create cluster-251b --region us-central1 --master-machine-type n2-standard-4 --master-boot-disk-size 500 \
--num-workers 2 --worker-machine-type n2-standard-4 --worker-boot-disk-size 500 \
--image-version 2.2.11 --project granulate
Is the `gcloud dataproc images list `command publicly available? I couldn't find any reference to it or access it via cloud shell.