Bug #7015
closedBug #7001: If domain name is not set in resolv.conf, the inventory generated is invalid
Some inventories have empty FQDN attribute, mandatory in 3.1
Description
We introduced a change in 3.1 that made the FQDN attribute in inventory mandatory. The reason for that was that the attribute we were relying upon in 3.0 and before (HOSTNAME ?) was sometime badly filled, and the value was not the real fqdn but only the hostname, which proved to lead to errors afterward.
However, in some cases the FQDN attribute may be empty due to bad behaviour of the perl command used by fusion inventory to find it.
So we have two cases to manage:
- correct the bug at fusion inventory level so that on the long run, we can effectivelly rely only on FQDN (maanged in parent ticket #7001)
- find a way to be able to have a Rudder 3.1 server with nodes on Rudder < 3.1 - so actually, use something else than FQDN when that attribute is empty, most likelly what we were using until 3.1 (even if it is sometime filled with a bad value, that will greatly reduce the total pourcentage of error compared to pre-3.1 versions) => this ticket.
Updated by Nicolas CHARLES over 9 years ago
- Related to Bug #6711: Hostname in inventory may sometimes be wrongfully in lowercase added
Updated by Nicolas CHARLES over 9 years ago
- Related to Bug #6782: Broken inventory - missing 'FQDN' added
Updated by François ARMAND over 9 years ago
- Subject changed from Accept inventories with empty FQDN to Some inventories have empty FQDN attribute, mandatory in 3.1
- Description updated (diff)
Updated by Nicolas CHARLES over 9 years ago
- Related to Bug #7031: Inventory <FQDN> content differs from hostname --fqdn and may lead to unauthorised nodes added
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
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/ldap-inventory/pull/69
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 ldap-inventory|54ad0e1061daecd7c0f79f1764690936e5fe6e53.
Updated by Vincent MEMBRÉ over 9 years ago
Applied in changeset ldap-inventory|6ff8a377cd470667ede0157c24d5c1f563472d62.
Updated by François ARMAND over 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.1 which was released today.
- Announcement 3.1
- Changelog 3.1
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/