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

2017-04-21 Thread Patrizio Bassi
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.shcherba...@canonical.com> ha scritto: > Patrizio,

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

2017-04-21 Thread Dmitrii Shcherbakov
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):

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

2017-04-21 Thread John Meinel
You can already do that without the extra flag: juju deploy app [name] You can name any app any name, we just default to the app name if it is not supplied. John =:-> On Apr 21, 2017 18:12, "Patrizio Bassi" wrote: > Dear All > > this conversation led me to an

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

2017-04-21 Thread Mark Shuttleworth
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@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju

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

2017-04-20 Thread Adam Collard
On Thu, 20 Apr 2017 at 13:39 fengxia wrote: > I c. So I should have used add-unit command instead of "deploy". Is that > right? > Pretty much, but it really depends on your charm. See https://jujucharms.com/docs/stable/charms-scaling and

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

2017-04-20 Thread Tom Barber
Sorry, yeah didn't hit reply all! :) Yeah, deploy a service once, add unit for more capacity or HA generally. On Thu, Apr 20, 2017 at 1:36 PM, fengxia wrote: > I c. So I should have used add-unit command instead of "deploy". Is that > right? > > On 04/20/2017 08:34 AM, Tom

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

2017-04-20 Thread fengxia
I c. So I should have used add-unit command instead of "deploy". Is that right? On 04/20/2017 08:34 AM, Tom Barber wrote: You add new "units" so you can run n units of a charm which then can use the internal peer relation to deal with inter-app communications. Tom On Thu, Apr 20, 2017 at

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

2017-04-20 Thread fengxia
Hi, I have developed a charm called "test". Using command line to deploy from local repo: $ juju deploy $JUJU_REPOSITORY/trusty/test First one went well. Issuing this command again will give error: 08:28:49 ERROR cmd supercommand.go:460 cannot add application "test": application already