GCE provider config should support extracting auth info from JSON file
Bug #1436390 reported by
Eric Snow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Eric Snow | ||
1.23 |
Fix Released
|
High
|
Eric Snow |
Bug Description
The GCE console gives you a JSON file containing the auth info you need for the provider (to put in environments.yaml). Andrew suggested that we support extracting the info from the JSON file, which will help them avoid issues that come from copying-and-pasting formatting-
Changed in juju-core: | |
assignee: | nobody → Eric Snow (ericsnowcurrently) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is consistently failing on vivid and probably on other platforms. See http:// data.vapour. ws/juju- ci/products/ version- 2483/run- unit-tests- vivid-amd64/ build-297/ consoleText.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 114: PoolListSuite. TestPoolListTab ularSorted
FAIL: poollist_
poollist_ test.go: 125: idList(
[]string{ "--name" , "myaw", "--name", "xyz", "--name", "abc",
"- -format" , "tabular"},
s.assertVal
c,
`
NAME PROVIDER ATTRS
abc testType one=true two=well three=maybe
myaw testType one=true two=well three=maybe
xyz testType one=true two=well three=maybe
`[1:]) test.go: 133: obtained, gc.Equals, expected)
poollist_
c.Assert(
... obtained string = "" +
... "NAME PROVIDER ATTRS\n" +
... "abc testType three=maybe one=true two=well\n" +
... "myaw testType one=true two=well three=maybe\n" +
... "xyz testType one=true two=well three=maybe\n" +
... "\n"
... expected string = "" +
... "NAME PROVIDER ATTRS\n" +
... "abc testType one=true two=well three=maybe\n" +
... "myaw testType one=true two=well three=maybe\n" +
... "xyz testType one=true two=well three=maybe\n" +
... "\n"
OOPS: 23 passed, 1 FAILED com/juju/ juju/cmd/ juju/storage 0.388s
--- FAIL: TestAll (0.07 seconds)
FAIL
FAIL github.