Project

General

Profile

Actions

Bug #2496

closed

When adding a Windows inventory, the inventory is not saved in LDAP due to missing OsName attribute

Added by Nicolas CHARLES over 12 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Error message:

18:07:08.690 [ForkJoinPool-1-worker-3] DEBUG com.normation.inventory.ldap.provisioning.DefaultLDIFReportLogger - LDIF log for report processing: /var/rudder/inventories/debug/file_2012-05-24_18.07.08.69_REPORT.LDIF
18:07:09.086 [ForkJoinPool-1-worker-3] ERROR org.slf4j.LoggerFactory - Report processing will be incomplete, found error: Can not add tree: nodeId=B470D7C6-0533-416C-9F18-70CCA5819A0E,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration
18:07:09.087 [ForkJoinPool-1-worker-3] ERROR org.slf4j.LoggerFactory - Associated exeption: class com.unboundid.ldap.sdk.LDAPException: object class 'windowsNode' requires attribute 'osName'
18:07:09.087 [ForkJoinPool-1-worker-3] DEBUG com.normation.inventory.ldap.provisioning.DefaultLDIFReportLogger - LDIF log for report processing: /var/rudder/inventories/debug/file_2012-05-24_18.07.09.08_COMMITED.LDIF
18:07:09.092 [ForkJoinPool-1-worker-3] DEBUG com.normation.inventory.ldap.provisioning.InventoryHistorizationPostCommit - Not historizing inventory with id B470D7C6-0533-416C-9F18-70CCA5819A0E because only modification were ignorable
18:07:09.094 [ForkJoinPool-1-worker-3] DEBUG com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Report saved.
18:07:09.095 [ForkJoinPool-1-worker-3] INFO com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Report file processed in 453 millisecondes


Files

Actions #1

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 2.4.0~alpha7 to 2.3.8

Is this issue really 2.4 specific? Retargeting to 2.3 until we know.

Actions #2

Updated by François ARMAND over 12 years ago

  • Subject changed from When adding a Windows inventory, the inventory endpoint fails to fail to When adding a Windows inventory, the inventory is not saved in LDAP due to missing OsName attribute
  • Description updated (diff)
  • Status changed from New to 2

Updating the error description. The error reporting is accurate and can't be improved without a major architecture switch. Nonetheless, Windows inventory should be accepted.

Actions #3

Updated by François ARMAND over 12 years ago

  • Status changed from 2 to Pending technical review
  • % Done changed from 0 to 100
Actions #4

Updated by Nicolas CHARLES over 12 years ago

  • Status changed from Pending technical review to Released

This looks very valid, thank you Francois !

Actions #5

Updated by Benoît PECCATTE almost 10 years ago

  • Category changed from 26 to Web - Nodes & inventories
Actions

Also available in: Atom PDF