The LMA collector services get restarted after re-executing the setup_repositories task
Bug #1570850 reported by
Simon Pasquier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
Won't Fix
|
Medium
|
Swann Croiset | ||
0.8 |
Won't Fix
|
Undecided
|
Unassigned | ||
0.9 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Tested on stable/0.9 with MOS 8.
Steps to reproduce
------------------
1. Deploy one environment with the LMA plugins.
2. Store the PIDs of collectd and lma_collector services for all nodes.
3. Re-execute the setup_repositories task
$ fuel node -env <ENV_ID> node --node-id <NODE_ID1> <NODE_ID2> <NODE_ID_N> --tasks setup_repositories
4. Check the PIDs of collectd and lma_collector services for all nodes.
Expected result
---------------
The PIDs haven't changed.
Actual result
-------------
The PIDs have changed.
description: | updated |
Changed in lma-toolchain: | |
importance: | Undecided → Medium |
summary: |
- The LMA collector services get restarted after re-executin the + The LMA collector services get restarted after re-executing the setup_repositories task |
no longer affects: | lma-toolchain/1.0 |
Changed in lma-toolchain: | |
milestone: | 1.0.0 → 0.10.0 |
Changed in lma-toolchain: | |
milestone: | 0.10.0 → none |
Changed in lma-toolchain: | |
status: | In Progress → Won't Fix |
To post a comment you must log in.
The core of the issue is that Fuel always runs the post_deployment task even though the operator asked for the re-execution of only one task.
Regarding lma_collector, the problem is in the heka Puppet module [1]. It tries to stop heka running /etc/init.d/heka which will kill any process named hekad.
Regarding collectd, it is more tricky: the lma_collector/ base.pp manifest wipes out the conf.d directory to get rid of the default configuration and the other manifests (controller.pp, compute.pp, ...) add on top of that.
[1] https:/ /github. com/openstack/ fuel-plugin- lma-collector/ blob/96df47af73 85578280a68863b 55416da7dd8bfdb /deployment_ scripts/ puppet/ modules/ heka/manifests/ init.pp# L111