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

fengxia fxia1 at lenovo.com
Thu Apr 20 12:36:41 UTC 2017


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 1:32 PM, fengxia <fxia1 at lenovo.com 
> <mailto:fxia1 at lenovo.com>> wrote:
>
>     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 exists
>
>     Must be missing something. How do you achieve HA then if one cant
>     install multiple instances of a charm?
>
>     -- 
>     Feng xia
>     Engineer
>     Lenovo USA
>
>     Phone: 5088011794 <tel:5088011794>
>     fxia1 at lenovo.com <mailto:fxia1 at lenovo.com>
>
>     Lenovo.com
>     Twitter | Facebook | Instagram | Blogs | Forums
>
>
>     -- 
>     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>
>
>
>
>
> -- 
> Tom Barber
> CTO Spicule LTD
> tom at spicule.co.uk <mailto:tom at spicule.co.uk>
>
> http://spicule.co.uk
>
> @spiculeim <http://twitter.com/spiculeim>
>
> Schedule a meeting with me <http://meetme.so/spicule>
>
> GB: +44(0)5603641316
> US: +18448141689
>
> <https://leanpub.com/juju-cookbook>

-- 
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
fxia1 at lenovo.com
  	
Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170420/01f15ee9/attachment.html>


More information about the Juju mailing list