Google Cloud new cluster generation failure. -
i have been trying create new cluster using both web ui , following command: gcloud dataproc clusters create cluster-2 --zone europe-west1-b --master-machine-type n1-standard-1 --master-boot-disk-size 50 --num-workers 2 --worker-machine-type n1-standard-1 --worker-boot-disk-size 50 --project <project-name>
the cluster consists of 1 master node , 2 worker nodes , pretty small cluster. virtual machines generated , running properly. however, cluster generation fails.
the error messages shown during cluster-generation point me file "dataproc-startup-script_output". error message have found error: "--max_wait_seconds" not port
in file.
the number of vms have 5. single machines can created , run successfully. in recent past (few days ago), able create cluster no problems. cluster deleted however. there limit how many clusters 1 can create?
to summarize findings following separately email thread, in general if:
- it takes longer 10 minutes or fail, and
- you've changed project network settings @ all
then potential culprit network misconfiguration. in general, dataproc clusters require full internal ip networking access each other, , it's typical have firewall rule in google compute engine network opens of udp:1-65535,tcp:1-65535,icmp
limited internal-ip "source ip range".
in case, project indeed missing necessary rule due minor typo/misconfiguration, default-allow-internal
rule accidentally limited source ip range complete mask of /32
.
if you're not doing advanced vpn configuration or cross-project networking, re-adding simple 10.0.0.0/8 udp:1-65535;tcp:1-65535;icmp
firewall rule should work. if you're doing more advanced networking, you'll want restrict source range bit more specific, example if network's ipv4 range 10.128.0.0/16
should set "allow internal" firewall use 10.128.0.0/16
source range well.
adding firewall rules through cloud console provides convenience methods selecting applicable source ip ranges, convenient when have subnetworks messy enumerate manually.
Comments
Post a Comment