Re: Running Juju in Google compute engine

2015-05-01 Thread Martin Packman
On 01/05/2015, Eric Snow  wrote:
> We have info in the release notes [1], but looks like we have a gap in
> the docs (I'll follow up on that).  Also, it looks like the release
> notes did not get updated with the "auth-file" config option that
> Andrew mentioned.

So, Jorge and I walked through this and basically had three issues;

* If you some of the three split options *and* auth-file, it ignored
auth-file and complains not having all three options set. The error
should be clearer about what's mutually exclusive.

* The auth-file option is described in the source code but not
docs/release notes.

* The json file Jorge had initially was included a map of stuff to
urls to keys, but didn't include a private key block. I'm not sure how
he got it, but regenerating a json file through the web ui gave him
the right thing.

Martin

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Running Juju in Google compute engine

2015-05-01 Thread Eric Snow
We have info in the release notes [1], but looks like we have a gap in
the docs (I'll follow up on that).  Also, it looks like the release
notes did not get updated with the "auth-file" config option that
Andrew mentioned.

Feel free to ping me if Andrew's and Curtis' comments don't take care
of it for you.

-eric

[1] https://launchpad.net/juju-core/1.23/1.23.0#release-notes

On Fri, May 1, 2015 at 6:26 AM, Jorge O. Castro  wrote:
> I was able to find the project name, client email, and client id in
> the GCE UI, but I wasn't able to find where I'm supposed to find the
> private key, can someone help me out?
>
> --
> Jorge Castro
> Canonical Ltd.
> http://juju.ubuntu.com/ - Automate your Cloud Infrastructure
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/juju

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Running Juju in Google compute engine

2015-05-01 Thread Curtis Hovey-Canonical
Hi Jorge.

On Fri, May 1, 2015 at 9:06 AM, Andrew Wilkins
 wrote:
> On Fri, May 1, 2015 at 8:26 PM, Jorge O. Castro  wrote:
>>
>> I was able to find the project name, client email, and client id in
>> the GCE UI, but I wasn't able to find where I'm supposed to find the
>> private key, can someone help me out?
>
>
> Did you get a JSON key file from the console yet?
> APIs & Auth > Credentials
> Generate New JSON key
>
> You can just point environments.yaml at that JSON file, like so:
> type: gce
> auth-file: /path/to/project-1230182313.json
> project-id: whatever
> region: us-central1

And I need to add this needs to be your own GCE identity and project.
While Canonical provides an account/identity for us, we cannot manage
projects. We cannot use Canonical's account. Once I switched to my own
account, I could find the "Generate New JSON key" action. Send the
bill to your manager as always.


-- 
Curtis Hovey
Canonical Cloud Development and Operations
http://launchpad.net/~sinzui

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Running Juju in Google compute engine

2015-05-01 Thread Andrew Wilkins
On Fri, May 1, 2015 at 8:26 PM, Jorge O. Castro  wrote:

> I was able to find the project name, client email, and client id in
> the GCE UI, but I wasn't able to find where I'm supposed to find the
> private key, can someone help me out?


Did you get a JSON key file from the console yet?
APIs & Auth > Credentials
Generate New JSON key

You can just point environments.yaml at that JSON file, like so:
type: gce
auth-file: /path/to/project-1230182313.json
project-id: whatever
region: us-central1

HTH


> --
> Jorge Castro
> Canonical Ltd.
> http://juju.ubuntu.com/ - Automate your Cloud Infrastructure
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju