2 collectd processes on controller after post installation

Bug #1621140 reported by Vitaly Gusev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
StackLight
Fix Released
Medium
LMA-Toolchain Fuel Plugins
0.10
Won't Fix
Undecided
Unassigned

Bug Description

9.1 snapshot #231, plugins from master

Steps to reproduce:
Run deploy_toolchain_in_existing_environment automated test

Expected result:
Test passed

Actual result:
======================================================================
FAIL: Deploy the LMA Toolchain plugins in an existing environment.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/osadmin/venv-stacklight-mos9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/osadmin/venv-stacklight-mos9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/osadmin/venv-stacklight-mos9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/osadmin/venv-stacklight-mos9/local/lib/python2.7/site-packages/fuelweb_test/helpers/decorators.py", line 120, in wrapper
    result = func(*args, **kwargs)
  File "/home/osadmin/workspace/stacklight-integration-tests/stacklight_tests/toolchain/test_post_install.py", line 103, in deploy_toolchain_in_existing_environment
    self.check_plugins_online()
  File "/home/osadmin/workspace/stacklight-integration-tests/stacklight_tests/toolchain/api.py", line 96, in check_plugins_online
    plugin.check_plugin_online()
  File "/home/osadmin/workspace/stacklight-integration-tests/stacklight_tests/lma_collector/api.py", line 77, in check_plugin_online
    self.verify_services()
  File "/home/osadmin/workspace/stacklight-integration-tests/stacklight_tests/lma_collector/api.py", line 63, in verify_services
    remote, process, count))
  File "/home/osadmin/workspace/stacklight-integration-tests/stacklight_tests/helpers/checkers.py", line 72, in check_process_count
    msg.format(process=process, count=count, got=len(pids)))
AssertionError: Got 2 instances instead of 1 for process collectd.

There are 2 collectd processes on controller node:
root@node-3:~# ps aux | grep collectd
root 10028 0.0 0.0 10460 936 pts/17 S+ 15:23 0:00 grep --color=auto collectd
root 19571 0.0 0.0 4324 268 ? Ss 15:13 0:00 /usr/sbin/collectdmon -P /var/run/collectd.pid -- -C /etc/collectd/collectd.conf
root 19572 1.1 0.4 1365436 26340 ? Sl 15:13 0:07 collectd -C /etc/collectd/collectd.conf -f
root 19591 0.0 0.2 1296000 13000 ? S 15:13 0:00 collectd -C /etc/collectd/collectd.conf -f

Revision history for this message
Vitaly Gusev (vgusev) wrote :

Diagnostic snapshot:

Swann Croiset (swann-w)
Changed in lma-toolchain:
milestone: 1.0.0 → 0.10.2
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

I've already observed the bug. From what I can tell, it is in the collectd daemon and happens more frequently on loaded systems. That being said I found no reference in the collectd bug tracker.

Revision history for this message
Vitaly Gusev (vgusev) wrote :

Reproduced here https://mirantis.testrail.com/index.php?/tests/view/16932152 with 3 collectd processes

Revision history for this message
Vitaly Gusev (vgusev) wrote :

Reproduced again here https://mirantis.testrail.com/index.php?/tests/view/17864118 with 4 collectd processes

Swann Croiset (swann-w)
Changed in lma-toolchain:
status: New → Confirmed
milestone: 0.10.2 → 1.0.0
Changed in lma-toolchain:
milestone: 1.0.0 → none
tags: added: customer-found
Changed in lma-toolchain:
status: Fix Committed → Fix Released
no longer affects: lma-toolchain/1.0
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.