How to add openstack cloud to juju 2.1.2-xenial

John Meinel john at arbash-meinel.com
Wed Apr 12 06:04:41 UTC 2017


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 <john at arbash-meinel.com> 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 <drbidwell at gmail.com>
> 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 <drbidwell at gmail.com>
>> > > 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 <drbidwell at gmail.
>> > > > 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 <drbidwell at gm
>> > > > > > 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 <drbidwell at gmail.com>
>> > > > > > >
>> > > > > > >
>> > > > > > > --
>> > > > > > > Juju mailing list
>> > > > > > > Juju at lists.ubuntu.com
>> > > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com
>> > > > > > > /mai
>> > > > > lman
>> > > > > > > /listinfo/juju
>> > > > > > >
>> > > > > > --
>> > > > > > Matthew Helmke
>> > > > > > Documentation
>> > > > > > Canonical
>> > > > > --
>> > > > > Daniel Bidwell <drbidwell at gmail.com>
>> > > > >
>> > > > >
>> > > > --
>> > > > Matthew Helmke
>> > > > Documentation
>> > > > Canonical
>> > > --
>> > > Daniel Bidwell <drbidwell at gmail.com>
>> > >
>> > >
>> > > --
>> > > Juju mailing list
>> > > Juju at lists.ubuntu.com
>> > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
>> > > /listinfo/juju
>> --
>> Daniel Bidwell <drbidwell at gmail.com>
>>
>>
>> --
>> Juju mailing list
>> Juju at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/juju
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170412/a736deec/attachment.html>


More information about the Juju mailing list