Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread John Meinel
So while tools would need to be 'agent' it actually needs to be
'image-metadata-url' for what you are doing, and it looks like the docs are
already updated just waiting to be published into HTML:
 https://github.com/juju/docs/blob/master/src/en/howto-privatecloud.md

John
=:->


On Wed, Apr 12, 2017 at 9:56 AM, John Meinel  wrote:

> It sounds like the docs are out of date. The key should be
> "agent-metadata-url" 'tools' was a much older name.
>
> John
> =:->
>
>
> On Wed, Apr 12, 2017 at 7:32 AM, Daniel Bidwell 
> wrote:
>
>> This gets me down to:
>>
>> juju bootstrap acauits acauits-controller --config tools-metadata-url=h
>> ttp://10.20.9.139:80/swift/v1
>>
>> where it gives me:
>>
>> WARNING unknown config field "tools-metadata-url"
>> Creating Juju controller "acauits-controller" on acauits/RegionOne
>> ERROR failed to bootstrap model: no image metadata found
>>
>> I am running juju 2.1.2-xenial-amd64
>>
>> On Tue, 2017-04-11 at 22:26 -0400, Heather Lanigan wrote:
>> > Here is a link on generating the image metadata: https://jujucharms.c
>> > om/docs/stable/howto-privatecloud
>> >
>> > -Heather
>> >
>> > > On Apr 11, 2017, at 10:20 PM, Daniel Bidwell 
>> > > wrote:
>> > >
>> > > I am making progress.  My openstack cloud has been added now.
>> > >
>> > > When I do "juju bootstrap acauits"  it comes back with:
>> > >
>> > > Creating Juju controller "acauits-RegionOne" on acauits/RegionOne
>> > > ERROR failed to bootstrap model: no image metadata found
>> > >
>> > > How do I get/generate image metadata?
>> > >
>> > > I tried "juju metadata generate-tools", but "juju metadata
>> > > generate-
>> > > image" complains that the controller isn't ready yet.
>> > >
>> > > On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
>> > > > I have an OpenStack deployment. In my novarc file, I have this
>> > > > line:
>> > > > export OS_AUTH_URL=http://FAKEURLFORTHISEMAIL.com:5000/v2.0
>> > > >
>> > > > Look for a similar line in your novarc.
>> > > >
>> > > > On Tue, Apr 11, 2017 at 1:22 PM, Daniel Bidwell > > > > com>
>> > > > wrote:
>> > > > > juju add-cloud asks:
>> > > > >
>> > > > > Enter the API endpoint url for the cloud:
>> > > > > https://openstack.example.com:35574/v3.0/
>> > > > >
>> > > > > What openstack service is it asking for?  Is it asking for the
>> > > > > dashboard, nova, or what?
>> > > > >
>> > > > > If I have only one region now, do I give it the same url for
>> > > > > both
>> > > > > the
>> > > > > cloud and region?
>> > > > >
>> > > > > My cloud is up and I can create vm's with the dashboard.  I
>> > > > > just
>> > > > > want
>> > > > > to tie it to juju now.
>> > > > >
>> > > > > Thanks.
>> > > > >
>> > > > > On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
>> > > > > > The Juju documentation includes a page dedicated to your
>> > > > > > task.
>> > > > > Here
>> > > > > > is the link: https://jujucharms.com/docs/stable/help-openstac
>> > > > > > k.
>> > > > > >
>> > > > > > The tl;dr for your specific question is that if you want to
>> > > > > > use
>> > > > > the
>> > > > > > authentication from your existing OpenStack cloud, then
>> > > > > > during
>> > > > > `juju
>> > > > > > add-cloud` you choose the `userpass` auth type and enter the
>> > > > > > URL
>> > > > > for
>> > > > > > the API. This is typically found in your existing novarc
>> > > > > > file.
>> > > > > Follow
>> > > > > > that by running `juju autoload-credentials` and you will be
>> > > > > > all
>> > > > > set.
>> > > > > >
>> > > > > > On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell > > > > > > ail.
>> > > > > com>
>> > > > > > wrote:
>> > > > > > > I need to add openstack as a cloud to juju 2.1.2-xenial.  I
>> > > > > don't
>> > > > > > > seem
>> > > > > > > to find the right howto.  What authentication method do I
>> > > > > > > use?
>> > > > > And
>> > > > > > > where do I get the authentication string?  User name and
>> > > > > password
>> > > > > > > for
>> > > > > > > dashboard user?
>> > > > > > > --
>> > > > > > > Daniel Bidwell 
>> > > > > > >
>> > > > > > >
>> > > > > > > --
>> > > > > > > Juju mailing list
>> > > > > > > Juju@lists.ubuntu.com
>> > > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com
>> > > > > > > /mai
>> > > > > lman
>> > > > > > > /listinfo/juju
>> > > > > > >
>> > > > > > --
>> > > > > > Matthew Helmke
>> > > > > > Documentation
>> > > > > > Canonical
>> > > > > --
>> > > > > Daniel Bidwell 
>> > > > >
>> > > > >
>> > > > --
>> > > > Matthew Helmke
>> > > > Documentation
>> > > > Canonical
>> > > --
>> > > Daniel Bidwell 
>> > >
>> > >
>> > > --
>> > > Juju mailing list
>> > > Juju@lists.ubuntu.com
>> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
>> > > /listinfo/juju
>> --
>> Daniel Bidwell 
>>
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/juju
>>
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://list

Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread John Meinel
It sounds like the docs are out of date. The key should be
"agent-metadata-url" 'tools' was a much older name.

John
=:->


On Wed, Apr 12, 2017 at 7:32 AM, Daniel Bidwell  wrote:

> This gets me down to:
>
> juju bootstrap acauits acauits-controller --config tools-metadata-url=h
> ttp://10.20.9.139:80/swift/v1
>
> where it gives me:
>
> WARNING unknown config field "tools-metadata-url"
> Creating Juju controller "acauits-controller" on acauits/RegionOne
> ERROR failed to bootstrap model: no image metadata found
>
> I am running juju 2.1.2-xenial-amd64
>
> On Tue, 2017-04-11 at 22:26 -0400, Heather Lanigan wrote:
> > Here is a link on generating the image metadata: https://jujucharms.c
> > om/docs/stable/howto-privatecloud
> >
> > -Heather
> >
> > > On Apr 11, 2017, at 10:20 PM, Daniel Bidwell 
> > > wrote:
> > >
> > > I am making progress.  My openstack cloud has been added now.
> > >
> > > When I do "juju bootstrap acauits"  it comes back with:
> > >
> > > Creating Juju controller "acauits-RegionOne" on acauits/RegionOne
> > > ERROR failed to bootstrap model: no image metadata found
> > >
> > > How do I get/generate image metadata?
> > >
> > > I tried "juju metadata generate-tools", but "juju metadata
> > > generate-
> > > image" complains that the controller isn't ready yet.
> > >
> > > On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
> > > > I have an OpenStack deployment. In my novarc file, I have this
> > > > line:
> > > > export OS_AUTH_URL=http://FAKEURLFORTHISEMAIL.com:5000/v2.0
> > > >
> > > > Look for a similar line in your novarc.
> > > >
> > > > On Tue, Apr 11, 2017 at 1:22 PM, Daniel Bidwell  > > > com>
> > > > wrote:
> > > > > juju add-cloud asks:
> > > > >
> > > > > Enter the API endpoint url for the cloud:
> > > > > https://openstack.example.com:35574/v3.0/
> > > > >
> > > > > What openstack service is it asking for?  Is it asking for the
> > > > > dashboard, nova, or what?
> > > > >
> > > > > If I have only one region now, do I give it the same url for
> > > > > both
> > > > > the
> > > > > cloud and region?
> > > > >
> > > > > My cloud is up and I can create vm's with the dashboard.  I
> > > > > just
> > > > > want
> > > > > to tie it to juju now.
> > > > >
> > > > > Thanks.
> > > > >
> > > > > On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> > > > > > The Juju documentation includes a page dedicated to your
> > > > > > task.
> > > > > Here
> > > > > > is the link: https://jujucharms.com/docs/stable/help-openstac
> > > > > > k.
> > > > > >
> > > > > > The tl;dr for your specific question is that if you want to
> > > > > > use
> > > > > the
> > > > > > authentication from your existing OpenStack cloud, then
> > > > > > during
> > > > > `juju
> > > > > > add-cloud` you choose the `userpass` auth type and enter the
> > > > > > URL
> > > > > for
> > > > > > the API. This is typically found in your existing novarc
> > > > > > file.
> > > > > Follow
> > > > > > that by running `juju autoload-credentials` and you will be
> > > > > > all
> > > > > set.
> > > > > >
> > > > > > On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell  > > > > > ail.
> > > > > com>
> > > > > > wrote:
> > > > > > > I need to add openstack as a cloud to juju 2.1.2-xenial.  I
> > > > > don't
> > > > > > > seem
> > > > > > > to find the right howto.  What authentication method do I
> > > > > > > use?
> > > > > And
> > > > > > > where do I get the authentication string?  User name and
> > > > > password
> > > > > > > for
> > > > > > > dashboard user?
> > > > > > > --
> > > > > > > Daniel Bidwell 
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Juju mailing list
> > > > > > > Juju@lists.ubuntu.com
> > > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com
> > > > > > > /mai
> > > > > lman
> > > > > > > /listinfo/juju
> > > > > > >
> > > > > > --
> > > > > > Matthew Helmke
> > > > > > Documentation
> > > > > > Canonical
> > > > > --
> > > > > Daniel Bidwell 
> > > > >
> > > > >
> > > > --
> > > > Matthew Helmke
> > > > Documentation
> > > > Canonical
> > > --
> > > Daniel Bidwell 
> > >
> > >
> > > --
> > > Juju mailing list
> > > Juju@lists.ubuntu.com
> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > > /listinfo/juju
> --
> Daniel Bidwell 
>
>
> --
> 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: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Daniel Bidwell
This gets me down to:

juju bootstrap acauits acauits-controller --config tools-metadata-url=h
ttp://10.20.9.139:80/swift/v1

where it gives me:

WARNING unknown config field "tools-metadata-url"
Creating Juju controller "acauits-controller" on acauits/RegionOne
ERROR failed to bootstrap model: no image metadata found

I am running juju 2.1.2-xenial-amd64

On Tue, 2017-04-11 at 22:26 -0400, Heather Lanigan wrote:
> Here is a link on generating the image metadata: https://jujucharms.c
> om/docs/stable/howto-privatecloud
> 
> -Heather
> 
> > On Apr 11, 2017, at 10:20 PM, Daniel Bidwell 
> > wrote:
> > 
> > I am making progress.  My openstack cloud has been added now.
> > 
> > When I do "juju bootstrap acauits"  it comes back with:
> > 
> > Creating Juju controller "acauits-RegionOne" on acauits/RegionOne
> > ERROR failed to bootstrap model: no image metadata found
> > 
> > How do I get/generate image metadata?
> > 
> > I tried "juju metadata generate-tools", but "juju metadata
> > generate-
> > image" complains that the controller isn't ready yet.
> > 
> > On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
> > > I have an OpenStack deployment. In my novarc file, I have this
> > > line:
> > > export OS_AUTH_URL=http://FAKEURLFORTHISEMAIL.com:5000/v2.0
> > > 
> > > Look for a similar line in your novarc.
> > > 
> > > On Tue, Apr 11, 2017 at 1:22 PM, Daniel Bidwell  > > com>
> > > wrote:
> > > > juju add-cloud asks:
> > > > 
> > > > Enter the API endpoint url for the cloud:
> > > > https://openstack.example.com:35574/v3.0/
> > > > 
> > > > What openstack service is it asking for?  Is it asking for the
> > > > dashboard, nova, or what?
> > > > 
> > > > If I have only one region now, do I give it the same url for
> > > > both
> > > > the
> > > > cloud and region?
> > > > 
> > > > My cloud is up and I can create vm's with the dashboard.  I
> > > > just
> > > > want
> > > > to tie it to juju now.
> > > > 
> > > > Thanks.
> > > > 
> > > > On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> > > > > The Juju documentation includes a page dedicated to your
> > > > > task.
> > > > Here
> > > > > is the link: https://jujucharms.com/docs/stable/help-openstac
> > > > > k.
> > > > > 
> > > > > The tl;dr for your specific question is that if you want to
> > > > > use
> > > > the
> > > > > authentication from your existing OpenStack cloud, then
> > > > > during
> > > > `juju
> > > > > add-cloud` you choose the `userpass` auth type and enter the
> > > > > URL
> > > > for
> > > > > the API. This is typically found in your existing novarc
> > > > > file.
> > > > Follow
> > > > > that by running `juju autoload-credentials` and you will be
> > > > > all
> > > > set.
> > > > > 
> > > > > On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell  > > > > ail.
> > > > com>
> > > > > wrote:
> > > > > > I need to add openstack as a cloud to juju 2.1.2-xenial.  I
> > > > don't
> > > > > > seem
> > > > > > to find the right howto.  What authentication method do I
> > > > > > use? 
> > > > And
> > > > > > where do I get the authentication string?  User name and
> > > > password
> > > > > > for
> > > > > > dashboard user?
> > > > > > --
> > > > > > Daniel Bidwell 
> > > > > > 
> > > > > > 
> > > > > > --
> > > > > > Juju mailing list
> > > > > > Juju@lists.ubuntu.com
> > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com
> > > > > > /mai
> > > > lman
> > > > > > /listinfo/juju
> > > > > > 
> > > > > -- 
> > > > > Matthew Helmke
> > > > > Documentation
> > > > > Canonical
> > > > --
> > > > Daniel Bidwell 
> > > > 
> > > > 
> > > -- 
> > > Matthew Helmke
> > > Documentation
> > > Canonical
> > -- 
> > Daniel Bidwell 
> > 
> > 
> > -- 
> > Juju mailing list
> > Juju@lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > /listinfo/juju
-- 
Daniel Bidwell 


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


Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Heather Lanigan
Here is a link on generating the image metadata: 
https://jujucharms.com/docs/stable/howto-privatecloud 


-Heather

> On Apr 11, 2017, at 10:20 PM, Daniel Bidwell  wrote:
> 
> I am making progress.  My openstack cloud has been added now.
> 
> When I do "juju bootstrap acauits"  it comes back with:
> 
> Creating Juju controller "acauits-RegionOne" on acauits/RegionOne
> ERROR failed to bootstrap model: no image metadata found
> 
> How do I get/generate image metadata?
> 
> I tried "juju metadata generate-tools", but "juju metadata generate-
> image" complains that the controller isn't ready yet.
> 
> On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
>> I have an OpenStack deployment. In my novarc file, I have this line:
>> export OS_AUTH_URL=http://FAKEURLFORTHISEMAIL.com:5000/v2.0
>> 
>> Look for a similar line in your novarc.
>> 
>> On Tue, Apr 11, 2017 at 1:22 PM, Daniel Bidwell 
>> wrote:
>>> juju add-cloud asks:
>>> 
>>> Enter the API endpoint url for the cloud:
>>> https://openstack.example.com:35574/v3.0/
>>> 
>>> What openstack service is it asking for?  Is it asking for the
>>> dashboard, nova, or what?
>>> 
>>> If I have only one region now, do I give it the same url for both
>>> the
>>> cloud and region?
>>> 
>>> My cloud is up and I can create vm's with the dashboard.  I just
>>> want
>>> to tie it to juju now.
>>> 
>>> Thanks.
>>> 
>>> On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
 The Juju documentation includes a page dedicated to your task.
>>> Here
 is the link: https://jujucharms.com/docs/stable/help-openstack.
 
 The tl;dr for your specific question is that if you want to use
>>> the
 authentication from your existing OpenStack cloud, then during
>>> `juju
 add-cloud` you choose the `userpass` auth type and enter the URL
>>> for
 the API. This is typically found in your existing novarc file.
>>> Follow
 that by running `juju autoload-credentials` and you will be all
>>> set.
 
 On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell >> com>
 wrote:
> I need to add openstack as a cloud to juju 2.1.2-xenial.  I
>>> don't
> seem
> to find the right howto.  What authentication method do I use? 
>>> And
> where do I get the authentication string?  User name and
>>> password
> for
> dashboard user?
> --
> Daniel Bidwell 
> 
> 
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mai
>>> lman
> /listinfo/juju
> 
 
 
 -- 
 Matthew Helmke
 Documentation
 Canonical
>>> --
>>> Daniel Bidwell 
>>> 
>>> 
>> 
>> 
>> -- 
>> Matthew Helmke
>> Documentation
>> Canonical
> -- 
> Daniel Bidwell mailto:drbidw...@gmail.com>>
> 
> 
> -- 
> 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: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Daniel Bidwell
I am making progress.  My openstack cloud has been added now.

When I do "juju bootstrap acauits"  it comes back with:

Creating Juju controller "acauits-RegionOne" on acauits/RegionOne
ERROR failed to bootstrap model: no image metadata found

How do I get/generate image metadata?

I tried "juju metadata generate-tools", but "juju metadata generate-
image" complains that the controller isn't ready yet.

On Tue, 2017-04-11 at 13:27 -0500, Matthew Helmke wrote:
> I have an OpenStack deployment. In my novarc file, I have this line:
> export OS_AUTH_URL=http://FAKEURLFORTHISEMAIL.com:5000/v2.0
> 
> Look for a similar line in your novarc.
> 
> On Tue, Apr 11, 2017 at 1:22 PM, Daniel Bidwell 
> wrote:
> > juju add-cloud asks:
> > 
> > Enter the API endpoint url for the cloud:
> > https://openstack.example.com:35574/v3.0/
> > 
> > What openstack service is it asking for?  Is it asking for the
> > dashboard, nova, or what?
> > 
> > If I have only one region now, do I give it the same url for both
> > the
> > cloud and region?
> > 
> > My cloud is up and I can create vm's with the dashboard.  I just
> > want
> > to tie it to juju now.
> > 
> > Thanks.
> > 
> > On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> > > The Juju documentation includes a page dedicated to your task.
> > Here
> > > is the link: https://jujucharms.com/docs/stable/help-openstack.
> > >
> > > The tl;dr for your specific question is that if you want to use
> > the
> > > authentication from your existing OpenStack cloud, then during
> > `juju
> > > add-cloud` you choose the `userpass` auth type and enter the URL
> > for
> > > the API. This is typically found in your existing novarc file.
> > Follow
> > > that by running `juju autoload-credentials` and you will be all
> > set.
> > >
> > > On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell  > com>
> > > wrote:
> > > > I need to add openstack as a cloud to juju 2.1.2-xenial.  I
> > don't
> > > > seem
> > > > to find the right howto.  What authentication method do I use? 
> > And
> > > > where do I get the authentication string?  User name and
> > password
> > > > for
> > > > dashboard user?
> > > > --
> > > > Daniel Bidwell 
> > > >
> > > >
> > > > --
> > > > Juju mailing list
> > > > Juju@lists.ubuntu.com
> > > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mai
> > lman
> > > > /listinfo/juju
> > > >
> > >
> > >
> > > -- 
> > > Matthew Helmke
> > > Documentation
> > > Canonical
> > --
> > Daniel Bidwell 
> > 
> > 
> 
> 
> -- 
> Matthew Helmke
> Documentation
> Canonical
-- 
Daniel Bidwell 


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


Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Matthew Helmke
I have an OpenStack deployment. In my novarc file, I have this line:
export OS_AUTH_URL=http://FAKEURLFORTHISEMAIL.com:5000/v2.0

Look for a similar line in your novarc.

On Tue, Apr 11, 2017 at 1:22 PM, Daniel Bidwell  wrote:

> juju add-cloud asks:
>
> Enter the API endpoint url for the cloud:
> https://openstack.example.com:35574/v3.0/
>
> What openstack service is it asking for?  Is it asking for the
> dashboard, nova, or what?
>
> If I have only one region now, do I give it the same url for both the
> cloud and region?
>
> My cloud is up and I can create vm's with the dashboard.  I just want
> to tie it to juju now.
>
> Thanks.
>
> On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> > The Juju documentation includes a page dedicated to your task. Here
> > is the link: https://jujucharms.com/docs/stable/help-openstack.
> >
> > The tl;dr for your specific question is that if you want to use the
> > authentication from your existing OpenStack cloud, then during `juju
> > add-cloud` you choose the `userpass` auth type and enter the URL for
> > the API. This is typically found in your existing novarc file. Follow
> > that by running `juju autoload-credentials` and you will be all set.
> >
> > On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell 
> > wrote:
> > > I need to add openstack as a cloud to juju 2.1.2-xenial.  I don't
> > > seem
> > > to find the right howto.  What authentication method do I use?  And
> > > where do I get the authentication string?  User name and password
> > > for
> > > dashboard user?
> > > --
> > > Daniel Bidwell 
> > >
> > >
> > > --
> > > Juju mailing list
> > > Juju@lists.ubuntu.com
> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > > /listinfo/juju
> > >
> >
> >
> > --
> > Matthew Helmke
> > Documentation
> > Canonical
> --
> Daniel Bidwell 
>
>


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


Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Daniel Bidwell
juju add-cloud asks:

Enter the API endpoint url for the cloud:
https://openstack.example.com:35574/v3.0/

What openstack service is it asking for?  Is it asking for the
dashboard, nova, or what?

If I have only one region now, do I give it the same url for both the
cloud and region?

My cloud is up and I can create vm's with the dashboard.  I just want
to tie it to juju now.

Thanks.

On Tue, 2017-04-11 at 06:28 -0500, Matthew Helmke wrote:
> The Juju documentation includes a page dedicated to your task. Here
> is the link: https://jujucharms.com/docs/stable/help-openstack.
> 
> The tl;dr for your specific question is that if you want to use the
> authentication from your existing OpenStack cloud, then during `juju
> add-cloud` you choose the `userpass` auth type and enter the URL for
> the API. This is typically found in your existing novarc file. Follow
> that by running `juju autoload-credentials` and you will be all set.
> 
> On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell 
> wrote:
> > I need to add openstack as a cloud to juju 2.1.2-xenial.  I don't
> > seem
> > to find the right howto.  What authentication method do I use?  And
> > where do I get the authentication string?  User name and password
> > for
> > dashboard user?
> > --
> > Daniel Bidwell 
> > 
> > 
> > --
> > Juju mailing list
> > Juju@lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > /listinfo/juju
> > 
> 
> 
> -- 
> Matthew Helmke
> Documentation
> Canonical
-- 
Daniel Bidwell 


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


charms.reactive bi-weekly catchup

2017-04-11 Thread Stuart Bishop
Hi.

Alex Kavanagh,  Merlijn Sebrechts, Tim Van Steenburgh and myself met
for the regular charms.reactive development discussions.

As some of us are again finding time for actual coding work, we
discussed some smaller fully backwards compatible tasks to move
forward with.

We identified the work on deprecating interface layers and allowing
them to be declared in standard layers as one task that can be
immediately worked on. I plan to tackle this unless others beat me to
it. I believe this  only requires work in charm-tools' 'charm build',
and related charms.reactive documentation.

Another task is migrating the leadership layer into the base layer or
charms.reactive core, per previous discussions. As the existing
implementation is ok and not complex, I'm leaving this for anyone who
wants to dip their toe into the code base.

A simple job is documenting how layers should declare their license
information. It seems a convention of LICENSE.layername or similar
will work fine here and this just needs to be documented.

Renaming states to flags should wait until we have a clearer idea of
any necessary API changes. The rename gives us the opportunity to
change the API while keeping the old API unchanged for backwards
compatibility. Backwards compatibility was a bit of a theme, with Alex
mentioning feedback he has received from charmers already having too
much legacy code needing rewrites and not needing more.

I will discuss my pull request on making the relations base class
pluggable with Cory. This should allow us to start exploring flag
implementations without the pain of using a charms.reactive fork. This
would be an experimental feature rather than one actively supported
and documented.

A lengthy discussion was had on the triggers proposal (
https://github.com/juju-solutions/charms.reactive/issues/97 ). Some of
my assumptions about this were false, as the proposal is actually for
a mechanism to allow state/flag changes to be made after every handler
(rather than 'preflight' code, run before the main reactive loop is
started). Merlijn will work on compelling use cases to convince us on
why this new feature would be a benefit.

We should try to articulate any pain points with the current
charms.reactive framework and bring them to the table. Not everyone is
using charms.reactive the same way, and maybe there are issues people
are having that need to be tackled.

The group will be meeting again in another two weeks.

Discussions welcome here or in github issues at
https://github.com/juju-solutions/charms.reactive/issues :-)


-- 
Stuart Bishop 

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


Re: How to add openstack cloud to juju 2.1.2-xenial

2017-04-11 Thread Matthew Helmke
The Juju documentation includes a page dedicated to your task. Here is the
link: https://jujucharms.com/docs/stable/help-openstack.

The tl;dr for your specific question is that if you want to use the
authentication from your existing OpenStack cloud, then during `juju
add-cloud` you choose the `userpass` auth type and enter the URL for the
API. This is typically found in your existing novarc file. Follow that by
running `juju autoload-credentials` and you will be all set.

On Mon, Apr 10, 2017 at 4:11 PM, Daniel Bidwell  wrote:

> I need to add openstack as a cloud to juju 2.1.2-xenial.  I don't seem
> to find the right howto.  What authentication method do I use?  And
> where do I get the authentication string?  User name and password for
> dashboard user?
> --
> Daniel Bidwell 
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>



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


Openstack load balancer question

2017-04-11 Thread ed bond
Hello all,

Here is my juju 2 environment file: https://paste.ubuntu.com/24359766/ 


Anyone have an idea on how to get the load balancer as a service 
running with `cloud:xenial-newton` ? I enabled it in openstack-dashboard. I 
can’t find the configuration anywhere else. The VPN as a service shows up the 
LB does not.

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