Subordinate charm juju agents are not removed on re-deploy to non-terminated machine

Bug #1100895 reported by David Ames
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
Low
Unassigned

Bug Description

After destroying service of the primary and secondary charms. And re-deploying on a non-terminated machine instance the previous subordinate charm juju agents remained active.

In the following process list ksplice and landscape-client are subordinate charms. You can see instance ksplice/6 and landscape-client/6 after the redeploy

# ps awuxf |grep juju.agents
root 15590 0.0 0.5 317612 23928 ? Ssl 00:56 0:04 python -m juju.agents.machine --nodaemon --logfile /var/log/juju/machine-agent.log --session-file /var/run/juju/machine-agent.zksession
root 18165 0.0 0.6 241020 25136 ? Ssl 01:03 0:06 /usr/bin/python -m juju.agents.unit --nodaemon --logfile /var/lib/juju/units/landscape-client-6/units/landscape-client-6/charm.log --session-file /var/run/juju/unit-landscape-client-6-agent.zksession
root 18192 0.0 0.6 241048 25088 ? Ssl 01:03 0:06 /usr/bin/python -m juju.agents.unit --nodaemon --logfile /var/lib/juju/units/ksplice-6/units/ksplice-6/charm.log --session-file /var/run/juju/unit-ksplice-6-agent.zksession
root 32310 0.1 0.6 392904 25616 ? Ssl 16:14 0:03 /usr/bin/python -m juju.agents.unit --nodaemon --logfile /var/lib/juju/units/squid-forwardproxy-2/charm.log --session-file /var/run/juju/unit-squid-forwardproxy-2-agent.zksession
root 32626 0.1 0.6 241072 25088 ? Ssl 16:14 0:02 /usr/bin/python -m juju.agents.unit --nodaemon --logfile /var/lib/juju/units/ksplice-10/units/ksplice-10/charm.log --session-file /var/run/juju/unit-ksplice-10-agent.zksession
root 32628 0.0 0.6 241044 25120 ? Ssl 16:14 0:01 /usr/bin/python -m juju.agents.unit --nodaemon --logfile /var/lib/juju/units/landscape-client-10/units/landscape-client-10/charm.log --session-file /var/run/juju/unit-landscape-client-10-agent.zksession

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1100895] [NEW] Subordinate charm juju agents are not removed on re-deploy to non-terminated machine

fwiw this issue is address in juju-core/gojuju

On Thu, Jan 17, 2013 at 12:16 PM, David Ames <email address hidden>wrote:

> Public bug reported:
>
> After destroying service of the primary and secondary charms. And re-
> deploying on a non-terminated machine instance the previous subordinate
> charm juju agents remained active.
>
> In the following process list ksplice and landscape-client are
> subordinate charms. You can see instance ksplice/6 and landscape-
> client/6 after the redeploy
>
> # ps awuxf |grep juju.agents
> root 15590 0.0 0.5 317612 23928 ? Ssl 00:56 0:04 python -m
> juju.agents.machine --nodaemon --logfile /var/log/juju/machine-agent.log
> --session-file /var/run/juju/machine-agent.zksession
> root 18165 0.0 0.6 241020 25136 ? Ssl 01:03 0:06
> /usr/bin/python -m juju.agents.unit --nodaemon --logfile
> /var/lib/juju/units/landscape-client-6/units/landscape-client-6/charm.log
> --session-file /var/run/juju/unit-landscape-client-6-agent.zksession
> root 18192 0.0 0.6 241048 25088 ? Ssl 01:03 0:06
> /usr/bin/python -m juju.agents.unit --nodaemon --logfile
> /var/lib/juju/units/ksplice-6/units/ksplice-6/charm.log --session-file
> /var/run/juju/unit-ksplice-6-agent.zksession
> root 32310 0.1 0.6 392904 25616 ? Ssl 16:14 0:03
> /usr/bin/python -m juju.agents.unit --nodaemon --logfile
> /var/lib/juju/units/squid-forwardproxy-2/charm.log --session-file
> /var/run/juju/unit-squid-forwardproxy-2-agent.zksession
> root 32626 0.1 0.6 241072 25088 ? Ssl 16:14 0:02
> /usr/bin/python -m juju.agents.unit --nodaemon --logfile
> /var/lib/juju/units/ksplice-10/units/ksplice-10/charm.log --session-file
> /var/run/juju/unit-ksplice-10-agent.zksession
> root 32628 0.0 0.6 241044 25120 ? Ssl 16:14 0:01
> /usr/bin/python -m juju.agents.unit --nodaemon --logfile
> /var/lib/juju/units/landscape-client-10/units/landscape-client-10/charm.log
> --session-file /var/run/juju/unit-landscape-client-10-agent.zksession
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju.
> https://bugs.launchpad.net/bugs/1100895
>
> Title:
> Subordinate charm juju agents are not removed on re-deploy to non-
> terminated machine
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1100895/+subscriptions
>

Curtis Hovey (sinzui)
Changed in juju:
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.