Subordinate charms

Rick Harding rick.harding at canonical.com
Tue May 31 12:50:25 UTC 2016


Yes, this is the way that subordinates work. They can often do very
intrusive things. Imagine a django subordinate that installs and sets up a
plugin into the django application it's deployed to. We don't currently
support the removal of them. They kind of become one with the principle
application.

On Thu, May 26, 2016 at 5:41 PM André Moreira <andre.lcm at gmail.com> wrote:

> Hi Tom,
>
> I found this:
>
> The current model of subordinates doesn't include support for removing
> subordinate units from their principal service apart from removing the
> principal service itself. This limitation stems from the current policy
> around service shutdown and the invocation of stop hooks.
> https://jujucharms.com/docs/1.25/authors-subordinate-services
>
> Is this policy still valid?
>
> André
>
> 2016-05-26 18:38 GMT-03:00 Tom Barber <tom at analytical-labs.com>:
>
>> Hi Andre
>>
>> Can you give us a clue what you are installing/uninstalling because I
>> believe Bilal is correct, I've not see it wipe out the parent charms either.
>>
>> Tom
>>
>> --------------
>>
>> Director Meteorite.bi - Saiku Analytics Founder
>> Tel: +44(0)5603641316
>>
>> (Thanks to the Saiku community we reached our Kickstart
>> <http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
>> goal, but you can always help by sponsoring the project
>> <http://www.meteorite.bi/products/saiku/sponsorship>)
>>
>> On 26 May 2016 at 22:36, André Moreira <andre.lcm at gmail.com> wrote:
>>
>>> Using this, it also removes the unit of the charm it is subordinated to.
>>>
>>> 2016-05-26 18:34 GMT-03:00 Bilal Baqar <bbaqar at plumgrid.com>:
>>>
>>>> Try the normal charm remove command:
>>>> *juju remove-service <subordinate-charm-name> *
>>>>
>>>> Regards
>>>>
>>>> 2016-05-27 2:24 GMT+05:00 André Moreira <andre.lcm at gmail.com>:
>>>>
>>>>> How can I remove a subordinate charm without removing the principal?
>>>>>
>>>>> --
>>>>>
>>>>> Le doux charme de maint songe
>>>>> Par leur bel art inventé
>>>>> Sous les habits du mensonge
>>>>> Nous offre la vérité.
>>>>>     -La Fontaine
>>>>>
>>>>> --
>>>>> Juju mailing list
>>>>> Juju at lists.ubuntu.com
>>>>> Modify settings or unsubscribe at:
>>>>> https://lists.ubuntu.com/mailman/listinfo/juju
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Bilal Baqar
>>>> MTS - PLUMgrid Inc.
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Le doux charme de maint songe
>>> Par leur bel art inventé
>>> Sous les habits du mensonge
>>> Nous offre la vérité.
>>>     -La Fontaine
>>>
>>> --
>>> Juju mailing list
>>> Juju at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/juju
>>>
>>>
>>
>
>
> --
>
> Le doux charme de maint songe
> Par leur bel art inventé
> Sous les habits du mensonge
> Nous offre la vérité.
>     -La Fontaine
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160531/90326fae/attachment.html>


More information about the Juju mailing list