Change:
I'm following the documentation on this doc: Everything works until this command: I get this error consistently from different VMs (a Debian and a CoreOS). Maybe I have to edit /etc/hosts to add the "external-ip" with the public IP of some server? Docs don't seem clear. Thanks, Riccardo
Its failing to look up your master correctly. You can try setting KUBERNETES_MASTER=http://<your IP hearBrendan On Sep 21, 2014 5:45 AM, "Riccardo Carlesso" wrote:

Discussion:
# Do one final check that we have a good release if ! gsutil -q stat $RELEASE_NORMALIZED/master-release.tgz; then <del> echo "Could not find release tar.  If developing, make sure you have run src/release/release.sh to create a release." </del> <ins> echo "Could not find release tar.  If developing, make sure you have run src/release/release.sh to create a release." 1>&2 </ins> exit 1 fi echo "Release: ${RELEASE_NORMALIZED}"

fi if [ -z "$PROJECT" ]; then <del> echo "Could not detect Google Cloud Platform project.  Set the default project using 'gcloud config set project <PROJECT>'" </del> <ins> echo "Could not detect Google Cloud Platform project.  Set the default project using 'gcloud config set project <PROJECT>'" 1>&2 </ins> exit 1 fi echo "Project: $PROJECT (autodetected from gcloud config)"

function detect-minions () { KUBE_MINION_IP_ADDRESSES=() for (( i=0; i<${#MINION_NAMES[@]}; i++)); do <ins> # gcutil will print the "external-ip" column header even if no instances are found </ins> local minion_ip=$(gcutil listinstances --format=csv --sort=external-ip  --columns=external-ip --zone ${ZONE} --filter="name eq ${MINION_NAMES[$i]}"  <del> | tail -n 1) echo "Found ${MINION_NAMES[$i]} at ${minion_ip}" KUBE_MINION_IP_ADDRESSES+=("${minion_ip}") </del> <ins> | tail --lines=+2 | tail -n 1) if [ -z "$minion_ip" ] ; then echo "Did not find ${MINION_NAMES[$i]}" 1>&2 else echo "Found ${MINION_NAMES[$i]} at ${minion_ip}" KUBE_MINION_IP_ADDRESSES+=("${minion_ip}") fi </ins> done if [ -z "$KUBE_MINION_IP_ADDRESSES" ]; then <del> echo "Could not detect Kubernetes minion nodes.  Make sure you've launched a cluster with 'kube-up.sh'" </del> <ins> echo "Could not detect Kubernetes minion nodes.  Make sure you've launched a cluster with 'kube-up.sh'" 1>&2 </ins> exit 1 fi }

function detect-master () { KUBE_MASTER=${MASTER_NAME} if [ -z "$KUBE_MASTER_IP" ]; then <ins> # gcutil will print the "external-ip" column header even if no instances are found </ins> KUBE_MASTER_IP=$(gcutil listinstances --format=csv --sort=external-ip  --columns=external-ip --zone ${ZONE} --filter="name eq ${MASTER_NAME}"  <del> | tail -n 1) </del> <ins> | tail --lines=+2 | tail -n 1) </ins> fi if [ -z "$KUBE_MASTER_IP" ]; then <del> echo "Could not detect Kubernetes master node.  Make sure you've launched a cluster with 'kube-up.sh'" </del> <ins> echo "Could not detect Kubernetes master node.  Make sure you've launched a cluster with 'kube-up.sh'" 1>&2 </ins> exit 1 fi echo "Using master: $KUBE_MASTER (external IP: $KUBE_MASTER_IP)"

function verify-prereqs { for x in gcloud gcutil gsutil; do if [ "$(which $x)" == "" ]; then <del> echo "Can't find $x in PATH, please fix and retry." </del> <ins> echo "Can't find $x in PATH, please fix and retry." 1>&2 </ins> exit 1 fi done

# Make sure docker is installed gcutil ssh ${MINION_NAMES[$i]} which docker > /dev/null if [ "$?" != "0" ]; then <del> echo "Docker failed to install on ${MINION_NAMES[$i]}. Your cluster is unlikely to work correctly." echo "Please run ./cluster/kube-down.sh and re-create the cluster. (sorry!)" </del> <ins> echo "Docker failed to install on ${MINION_NAMES[$i]}. Your cluster is unlikely to work correctly." 1>&2 echo "Please run ./cluster/kube-down.sh and re-create the cluster. (sorry!)" 1>&2 </ins> exit 1 fi done