gcloud requests argument that can't be provided via add-k8s --gke directly

Bug #1889027 reported by Tim McNamara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

This could be considered a UX problem. When errors emerge from gcloud, they're propagated directly to the user. That's a problem because users can't pass option info to gcloud as instructed:

  $ juju add-k8s --gke --cluster-name charmed-k8s charmed-k8s
  Available Accounts
    <email address hidden>

  Select account [<email address hidden>]:

  Available Projects
    juju-credentials-tutorial
    juju-kubernetes-experiments

 Select project [juju-credentials-tutorial]: juju-kubernetes-experiments

  ERROR ERROR: (gcloud.container.clusters.get-credentials) One of [--zone, --region] must be supplied:
  Please specify location.

  $ juju add-k8s --gke --cluster-name charmed-k8s charmed-k8s --zone australia-southeast1-b
  ERROR option provided but not defined: --zone

Ian Booth (wallyworld)
tags: added: add-k8s
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.