Bug #6491
closedBroken down stats by agent version is completely out of it
Description
See my paint collage attached
Files
Updated by François ARMAND over 9 years ago
Ah. Ok, even with the worst mindset, it's hard to arg here.
We will try to reproduce that, but could you send us the result of :
grep -i -A2 "rudder-agent" /var/rudder/inventories/received/* | grep VERSION
So that we can know if the drug is on the search engine or in the dashboard.
Updated by Olivier Mauras over 9 years ago
- grep -i -A2 "rudder-agent" /var/rudder/inventories/received/* | grep VERSION | grep 2.8.0 | wc -l
73 - grep -i -A2 "rudder-agent" /var/rudder/inventories/received/* | grep VERSION | grep "2.1.*" | wc -l
445
Yes there's something fishy there ...
Updated by François ARMAND over 9 years ago
Ah, the test was not meaningfull because there is all inventories here.
But still, there is too much 2.8 reported. I will check both my "algebra for kids" book and what we are doing on Rudder.
Updated by Jérémy HOCDÉ over 9 years ago
same problem with my installation
1 node upgrade of 11
in dashboard I saw 25%
1/11 != 0,25 :'(
Updated by Jérémy HOCDÉ over 9 years ago
for information :
grep -i -A2 "rudder-agent" /var/rudder/inventories/received/* | grep VERSION | grep "3.0.3" | wc -l
23
grep -i -A2 "rudder-agent" /var/rudder/inventories/received/* | grep VERSION | grep "3.0.4" | wc -l
1
Updated by François ARMAND over 9 years ago
- Assignee set to Vincent MEMBRÉ
- Priority changed from N/A to 3
- Target version set to 3.0.5
Vincent, could you look at that ?
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 3.0.5 to 3.0.6
Updated by Nicolas CHARLES over 9 years ago
I've been looking at the code computing this value, and I fail to understand its behaviour
we get all software that are rudder-agent (ok)
we get their dn (ok again)
we convert soft entry to proper soft object (ok)
then we search node that have any of their software which are one of the soft object, and filtering result by equaling the softDN by softDN - here we should search all node, and filter the dn in the result only, has all accepted nodes are bound to have a rudder-agent, and the OR can get quite big
finally, we get the software object, and take their DN, and are getting version of the soft from the DN
The last 2 steps look very dubious to me ...
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 3.0.6 to 3.0.7
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/891
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|6f70300e7047c49eca37d229e4ea3aac1c595353.
Updated by François ARMAND over 9 years ago
Applied in changeset rudder|5885f5daf90edf0c189913fe672a4bd20cc5d22c.
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.7 and 3.1.0 which were released today.
- Announcement 3.0 3.1
- Changelog 3.0 3.1
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Jonathan CLARKE almost 9 years ago
- Has duplicate Bug #6308: Node breakdown by agent version shows both 3.0.1 and 3.0.1.release added
Updated by Alexis Mousset over 8 years ago
- Has duplicate User story #6776: Please correct node breakdown by agent graph added