The juju GCE error message references the wrong key name

Bug #1566023 reported by Matt Bruzek
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Unassigned

Bug Description

When I am bootstrapping GCE I got an error message:

$ juju bootstrap google google
ERROR invalid config: project-id: must not be empty

So I added "project-id" to the json file. I still got the error. All the other keys in the json file used underscores "_" for word separation. I changed the key to "project_id" and bootstrap progressed further.

We should change the error message to give the user the proper key name "project_id" and maybe where to put it.

Revision history for this message
Cheryl Jennings (cherylj) wrote :

Marking as high as this is a usability issue.

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
tags: added: gce-provider usability
Changed in juju-core:
milestone: none → 2.0.0
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0.0 → 2.0-beta6
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta6 → 2.0-beta7
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta7 → 2.0-beta8
Changed in juju-core:
milestone: 2.0-beta8 → 2.0-beta9
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta9 → 2.0-beta10
tags: added: bitesize
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta10 → 2.0-beta11
Changed in juju-core:
importance: High → Medium
milestone: 2.0-beta11 → none
Changed in juju-core:
milestone: none → 2.0.0
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.0 → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Revision history for this message
Tim McNamara (tim-clicks) wrote :

This appears to have been fixed. Can longer replicate the bug. Here is a bash transcript:

$ juju add-credential google -f credentials.yaml
Credentials "credentials" added for cloud "google"

$ juju bootstrap google google
Creating Juju controller "google" on google/us-east1
Looking for packaged Juju agent version 2.5-beta2 for amd64
No packaged binary found, preparing local Juju agent binary
Launching controller instance(s) on google/us-east1...
Installing Juju agent on bootstrap instance
Fetching Juju GUI 2.14.0
Waiting for address
Attempting to connect to 35.231.176.23:22
Attempting to connect to 10.240.0.2:22
Connected to 35.231.176.23
Running machine configuration script...
Bootstrap agent now started
Contacting Juju controller at 35.231.176.23 to verify accessibility...
Bootstrap complete, "google" controller now available
Controller machines are in the "controller" model
Initial model "default" added

Changed in juju:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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