Juju deploy same application twice, failed "application already exist"

Patrizio Bassi patrizio.bassi at gmail.com
Fri Apr 21 14:40:59 UTC 2017


Fantastic!

I checked the docs but i didn't find that using different name could allow
multiple instances

I will test  asap to check if i can deal with it.

Thank you!

Patrizio
Il giorno ven 21 apr 2017 alle 16:24 Dmitrii Shcherbakov <
dmitrii.shcherbakov at canonical.com> ha scritto:

> Patrizio,
>
> In a bundle:
>
>   nova-compute-kvm:
>     charm: cs:xenial/nova-compute
> ...
>     options:
> ...
>       virt-type: kvm
>   nova-compute-lxd:
>     charm: cs:xenial/nova-compute
> ...
>     options:
> ...
>       virt-type: lxd
>
>
> Best Regards,
> Dmitrii Shcherbakov
>
> Field Software Engineer
> IRC (freenode): Dmitrii-Sh
>
> On Fri, Apr 21, 2017 at 5:12 PM, Patrizio Bassi <patrizio.bassi at gmail.com>
> wrote:
>
>> Dear All
>>
>> this conversation led me to an interesting (for me at least!) speculation
>> about nova-compute charm.
>>
>> At the moment the nova-compute charm has "virt-type" param supporting
>> kvm, xen, uml, lxc, qemu, lxd.
>> At the same time we have nova-compute-vmware charm which is an
>> indipendent app.
>>
>> So, in case i may want to have an openstack with kvm and vmware mixed,
>> juju allows it (just talking about juju, not considering openstack
>> opportunity to have them really working).
>>
>> What if i want to have two nova-compute installations, one unit with kvm
>> and one with lxd? As far i know we cannot.
>> So it would be nice to add a feature such as:
>>
>> juju deploy <app> which defaults the deployed app to charm name
>> juju deploy <app> -name <mycustomname>
>>
>> so all units will be in mycustomname/00XXX format, we kee the original
>> charm reference (for upgrades for instance) and we can use multiple
>> configurations under a different "umbrella"
>>
>> ie.
>> nova-compute/0 (with default kvm)
>> nova-compute/1 (with default kvm)
>> nova-compute/2 (with default kvm)
>> mynova-compute/0 (with lxd)
>> mynova-compute/1 (with lxd)
>> mynova-compute/2 (with lxd)
>>
>> regards,
>> Patrizio
>>
>>
>> 2017-04-21 9:55 GMT+02:00 Mark Shuttleworth <mark at ubuntu.com>:
>>
>>> On 20/04/17 13:36, fengxia wrote:
>>> >
>>> > I c. So I should have used add-unit command instead of "deploy". Is
>>> > that right?
>>> >
>>>
>>> Yup :)
>>>
>>> --
>>> Juju mailing list
>>> Juju at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/juju
>>>
>>
>>
>>
>> --
>>
>> Patrizio Bassi
>> www.patriziobassi.it
>> http://piazzadelpopolo.patriziobassi.it
>>
>> --
>> Juju mailing list
>> Juju at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>>
> --

Patrizio Bassi
www.patriziobassi.it
http://piazzadelpopolo.patriziobassi.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170421/d992e70e/attachment.html>


More information about the Juju mailing list