User story #8920
closedUser story #8919: Remove modifications made to the inventory by the agent
Use FusionInventory system attributes instead of Rudder's custom ones
Description
- USERSLIST
- PROCESSORS
- USERSLIST:
<USERSLIST> <USER>root</USER> </USERSLIST> = vers => <LOCAL_USERS> <HOME>/root</HOME> <ID>0</ID> <LOGIN>root</LOGIN> <NAME>root</NAME> <SHELL>/bin/bash</SHELL> </LOCAL_USERS>
*PROCESSORS:<PROCESSORS> <PROCESSOR> <VENDOR>GenuineIntel</VENDOR> <FAMILY>6</FAMILY> <MODEL>2</MODEL> <NAME>QEMU Virtual CPU version 0.12.5</NAME> <STEPPING>3</STEPPING> <FREQUENCY>1862.301</FREQUENCY> </PROCESSOR> </PROCESSORS> = vers => <CPUS> <ARCH>i386</ARCH> <FAMILYNAME>Other</FAMILYNAME> <FAMILYNUMBER>6</FAMILYNUMBER> <ID>23 06 00 00 FD FB 8B 07</ID> <MANUFACTURER>Intel</MANUFACTURER> <MODEL>2</MODEL> <NAME>QEMU Virtual CPU version 0.12.5</NAME> <SPEED>2000</SPEED> <STEPPING>3</STEPPING> </CPUS>
I guess now is time to get rid of the ones we add and leverage the builtin ones :)
Updated by Matthieu CERDA about 8 years ago
Careful though, we tend to use "upper" XPATH bounds to iterate on things ( USERSLIST-USER-/USERSLIST ) whereas fusion seems to just add multiple entries ( LOCAL_USERS ). Same goes for the PROCESSORS / CPUS.
Updated by Matthieu CERDA about 8 years ago
We should also, if not done already, remove the "VM" custom tag parsing. We already are able to parse VIRTUALMACHINES Fusion-provided one, our tag is unnecessary.
Updated by François ARMAND about 8 years ago
- Target version changed from 4.0.0~rc2 to 4.1.0~beta1
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta1 to 4.1.0~beta2
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta2 to 4.1.0~beta3
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta3 to 4.1.0~rc1
Updated by François ARMAND almost 8 years ago
- Target version changed from 4.1.0~rc1 to 4.2.0~beta1
Updated by Alexis Mousset over 7 years ago
- Target version changed from 4.2.0~beta1 to 4.2.0~beta2
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 4.2.0~beta2 to 4.2.0~beta3
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 4.2.0~beta3 to 4.2.0~rc1
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0~rc1 to 4.2.0~rc2
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0~rc2 to 4.2.0
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0 to 4.2.1
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.1 to 4.2.2
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.2 to 4.2.3
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.2.3 to 4.2.4
Updated by François ARMAND almost 7 years ago
- Target version changed from 4.2.4 to 4.1.10
Updated by François ARMAND almost 7 years ago
In 4.1, the state is:
- we already use fusion VIRTUALMACHINES,
- we already use fusion CPUS,
So for User / local accounts, we just need to parse both and deduplicate to be forward compatible (and be able to remove all of that in 4.3).
Updated by François ARMAND almost 7 years ago
- Status changed from New to In progress
Updated by François ARMAND almost 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/ldap-inventory/pull/128
Updated by François ARMAND almost 7 years ago
Also, as of 4.1, start to parse back HARDWARE/UUID for mother board id. It is more up to date than our MACHINEID tag.
Updated by Rudder Quality Assistant almost 7 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
Updated by François ARMAND almost 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset ldap-inventory|9437b61ddf05f22eb5b00e14dd048f98015612b5.
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.
- 4.1.10: Announce Changelog
- 4.2.4: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/