Subordinate charms
Samuel Cozannet
samuel.cozannet at canonical.com
Wed Jun 1 08:48:28 UTC 2016
Hello,
What is then the recommendation for monitoring / logging / (...) agents
that run independently on the units and are loosely connected to the local
charms, but potentially still need to know about the apps running?
Wouldn´t colocation make them cumbersome? Still encoded as subordinate
charms they lack flexibility as they can´t change/be replaced.
For the Django example (and any framework sort of charms) I would have
thought that a layer is needed and the plugin is an option of the layer.
++
Sam
--
Samuel Cozannet
Cloud, Big Data and IoT Strategy Team
Business Development - Cloud and ISV Ecosystem
Changing the Future of Cloud
Ubuntu <http://ubuntu.com> / Canonical UK LTD <http://canonical.com> / Juju
<https://jujucharms.com>
samuel.cozannet at canonical.com
mob: +33 616 702 389
skype: samnco
Twitter: @SaMnCo_23
[image: View Samuel Cozannet's profile on LinkedIn]
<https://es.linkedin.com/in/scozannet>
On Tue, May 31, 2016 at 2:50 PM, Rick Harding <rick.harding at canonical.com>
wrote:
> 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
>>
>
> --
> 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/20160601/4ae4ed38/attachment.html>
More information about the Juju
mailing list