How to add openstack cloud to juju 2.1.2-xenial
Heather Lanigan
heather.lanigan at canonical.com
Wed Apr 12 02:26:19 UTC 2017
Here is a link on generating the image metadata: https://jujucharms.com/docs/stable/howto-privatecloud <https://jujucharms.com/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-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 <drbidwell at gmail.
>>> 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 <mailto:drbidwell at gmail.com>>
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju <https://lists.ubuntu.com/mailman/listinfo/juju>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170411/af9c999a/attachment.html>
More information about the Juju
mailing list