juju2: format of clouds.yaml for juju add-cloud

Ian Booth ian.booth at canonical.com
Tue May 3 14:06:47 UTC 2016



On 03/05/16 23:55, Andreas Hasenack wrote:
> On Tue, May 3, 2016 at 10:28 AM, Ian Booth <ian.booth at canonical.com> wrote:
> 
>>
>> The syaml referred to above is for cloud definitions. The command being
>> run is
>> for adding a credential. The credential data model is different to clouds.
>> The
>> type of cloud though (eg openstack vs aws vs google) determine what
>> credential
>> attributes are valid. "domain-name" is used for keystone v3
>> authentication. It
>> is optional and not needed for keystone v2. Whether to enter it or not
>> depends
>> entirely on your openstack setup.
>>
>>
> Thanks.
> 
> Suggestion: since I'm adding a credential for a cloud that is already
> defined, maybe juju shouldn't ask me for "domain-name" if the endpoint url
> is for keystone 2.
> 

That would be a nice improvement. It's tricky because the credentials schema is
currently only defined on the type of cloud, not any attributes assigned to the
cloud. It will potentially be a non-trivial amount of work to change that.



More information about the Juju mailing list