Last modified: 2014-07-18 22:37:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66216, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64216 - Initial instance creation leaves a non-Puppet-controlled, dysfunctional gmond process behind
Initial instance creation leaves a non-Puppet-controlled, dysfunctional gmond...
Status: RESOLVED WONTFIX
Product: Wikimedia Labs
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Andrew Bogott
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-22 01:00 UTC by Tim Landscheidt
Modified: 2014-07-18 22:37 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Landscheidt 2014-04-22 01:00:55 UTC
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/.
Comment 1 Andrew Bogott 2014-07-18 22:34:48 UTC
Looks to me like this only happens on Precise instances.  Since I'm resolved not to build new Precise images, I'm inclined to mark this as 'wontfix' as Trusty instances look right to me.
Comment 2 Tim Landscheidt 2014-07-18 22:37:58 UTC
Makes sense (having to trust you for the situation with Trusty instances, though :-)).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links