https://bugzilla.wikimedia.org/show_bug.cgi?id=64216

            Bug ID: 64216
           Summary: Initial instance creation leaves a
                    non-Puppet-controlled, dysfunctional gmond process
                    behind
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

After the initial instance creation, a gmond process exists:

| root@toolsbeta-gmond-test:~# ps $(cat /var/run/gmond.pid)
|   PID TTY      STAT   TIME COMMAND
|  9080 ?        Ssl   13:25 /usr/sbin/gmond --pid-file /var/run/gmond.pid
| root@toolsbeta-gmond-test:~#

However, this process isn't recognized by Puppet as a ganglia-monitor service
so Puppet tries to restart it on every run:

| root@toolsbeta-gmond-test:~# puppetd -tv
| [...]
| notice:
/Stage[main]/Ganglia_new::Monitor::Service/Service[ganglia-monitor]/ensure:
ensure changed 'stopped' to 'running'
| [...]
| root@toolsbeta-gmond-test:~# puppetd -tv
| [...]
| notice:
/Stage[main]/Ganglia_new::Monitor::Service/Service[ganglia-monitor]/ensure:
ensure changed 'stopped' to 'running'
| [...]
| root@toolsbeta-gmond-test:~#

Also, this process doesn't feed information to http://ganglia.wmflabs.org/.

Killing this process and rerunning Puppet ("kill -HUP $(cat /var/run/gmond.pid)
&& puppetd -tv") or rebooting the instance creates a gmond process that is
recognized by Puppet and correctly feeds information to
http://ganglia.wmflabs.org/.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to