User story #4515
closed
User story #4459: Support Rudder agent on AIX 5.3+
Correctly parse AIX fusion-inventory reports
Added by François ARMAND over 10 years ago.
Updated over 9 years ago.
Category:
Web - Nodes & inventories
Description
To be able to support AIX in Rudder, we need to correctly parse inventory reports for that plateform.
First problem: Fusion Inventory does not get a KERNEL_VERSION for AIX, which is one of our mandatory tag.
In other Unix, they seems to use the OPERATINGSYSTEM>VERSION as the KERNEL_VERSION, so we could do the same.
We could also use the HARDWARE>OSVERSION has the kernel version, because it is the result of the command "oslevel -r" and it seems to be what is the most relevant for AIX has a kernel version (see: http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/aix-kernel-version-1228197).
In either case, we have to change the consistency check of the inventory with a hook: "if AIX, it's OK to not have KERNEL_VERSION, as long as [H>OSVERSION|OS>VERSION] is not empty]
For now, I will take HARDWARE > OSVERSION so that all the logic can be implemented and tested (and because it seems to be what we want), but the actual alternative tag to use in place of KERNEL_VERSION can be change latter.
- Status changed from In progress to Pending technical review
- Pull Request set to https://github.com/Normation/ldap-inventory/pull/31
The parsing part is done.
Also make Solaris / AIX conssistent.
- Assignee changed from François ARMAND to Nicolas CHARLES
Set to pending tech review, but the other part are not ready yet.
- Status changed from Pending technical review to Discussion
- Assignee changed from Nicolas CHARLES to François ARMAND
Francois, I've made two remarks in the PR, otherwise it looks good to me
could you adress them ?
thank you
- Status changed from Discussion to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset ldap-inventory:commit:a6849fb09d650c8de1ece5bef3c65f17eeec41d0.
- Status changed from Pending release to Released
- Category changed from 26 to Web - Nodes & inventories
- Tracker changed from Enhancement to User story
Also available in: Atom
PDF