GCE provider is very restrictive when using a config-file (json)
Bug #1533790 reported by
Charles Butler
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
When i added the GCE provider and created a service account, the juju GCE provider forced me to remove ~ 6 keys from my config.json. This is problematic.
I feel that the juju config scanner should only care that we have the 4 required keys, the rest should simply be ignored.
The error messaging around this could be more helpful too:
ERROR there was an issue examining the environment: invalid config: key "auth_uri" not supported
ERROR there was an issue examining the environment: invalid config: key "project_id" not supported
This was the output from 1.26-alpha3-
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: docteam |
Changed in juju-core: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
I can confirm that when using the pointing method (auth-file) the following parts need to be removed from the auth file:
project-id x509_cert_ url x509-cert- url
auth-uri
token_uri
auth_provider_
client-
Performing a character substitution ( s/_/-/ ) seems to help at first but ultimately the modified keys are rejected. The above keys are the unmodified (original) versions.
Using 2.0-alpha1- 0ubuntu1~ 15.10.1~ juju1 on Ubuntu 15.10.