Project

General

Profile

Bug #4243

Missing network card information in inventories on Centos 5

Added by Dennis Cabooter over 6 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
2
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
User visibility:
Effort required:
Priority:

Description

Since Rudder 2.8 more and more inventories are corrupt. After resending them with cf-agent -KI -D force_inventory they are repaired. The most important missing inventory data is network card. Without that, Rudder has no idea about the ip address. Thus, if you use the ip-address in a group criterium, the node will not be added to the group.


Files

inventory.png (79.1 KB) inventory.png Dennis Cabooter, 2013-12-11 16:55
#1

Updated by Dennis Cabooter over 6 years ago

Screenshot attached.

The inventories are incomplete. However, not all of them. The correct one is now in the failed inventories directory:

# grep "<DESCRIPTION>eth0</DESCRIPTION>" 
/var/rudder/inventories/received/node.example.com-2013-12-11-15-25-13.ocs
# grep "<DESCRIPTION>eth0</DESCRIPTION>" 
/var/rudder/inventories/failed/node.example.com-2013-12-11-15-25-13.ocs-2013-12-11  
      <DESCRIPTION>eth0</DESCRIPTION>
      <DESCRIPTION>eth0</DESCRIPTION>
#2

Updated by Jonathan CLARKE over 6 years ago

I don't understand these examples. Why would the correct file have two lines about eth0?

#3

Updated by Dennis Cabooter over 6 years ago

I manually did a "cf-agent -KI -D force_inventory" and now it's ok again:

# grep "<DESCRIPTION>eth0</DESCRIPTION>" /var/rudder/inventories/received/node.example.com-2013-12-11-15-25-13.ocs
      <DESCRIPTION>eth0</DESCRIPTION>
      <DESCRIPTION>eth0</DESCRIPTION>
#4

Updated by Dennis Cabooter over 6 years ago

Jonathan CLARKE wrote:

I don't understand these examples. Why would the correct file have two lines about eth0?

One is ipv4, one is ipv6. :)

#5

Updated by Dennis Cabooter over 6 years ago

An additional note:

From the 5 CentOS 5 nodes I added to Rudder today, the incomplete inventory was sent from 2 out of 5 nodes. After forcing to resend the inventory on those 2 nodes, their inventories are now ok.

#6

Updated by Jonathan CLARKE over 6 years ago

  • Category set to 26
  • Priority changed from N/A to 2

I know it's been a while since you opened this bug, Dennis, but I'm hoping you could provide some further information to us:

For an inventory to be moved to the failed/ directory, it means the inventory-endpoint refused it. Therefore, there will be logs about this is /var/log/rudder/webapp/<date>.stderrout.log. If you still see the same issue, or still have the old logs, could you grep for that filename (node.example.com-2013-12-11-15-25-13.ocs) and send us all the lines around that match?

#7

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 2.8.2 to 2.8.3
#8

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 2.8.3 to 2.8.4
#9

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 2.8.4 to 133
#10

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 133 to 2.9.5
#11

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 2.9.5 to 2.9.6
#12

Updated by Jonathan CLARKE almost 6 years ago

  • Target version changed from 2.9.6 to 2.9.7
#13

Updated by Jonathan CLARKE almost 6 years ago

  • Target version changed from 2.9.7 to 150
#14

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 150 to 2.10.4
#15

Updated by Nicolas PERRON almost 6 years ago

  • Target version changed from 2.10.4 to 2.10.5
#16

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 2.10.5 to 2.10.6
#17

Updated by Matthieu CERDA over 5 years ago

  • Target version changed from 2.10.6 to 2.10.7
#18

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.7 to 2.10.8
#19

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.8 to 2.10.9
#20

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.9 to 2.10.10
#21

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.10 to 2.10.11
#22

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.10.11 to 2.10.12
#23

Updated by Benoît PECCATTE about 5 years ago

  • Category changed from 26 to Web - Nodes & inventories
#24

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.10.12 to 2.10.13
#25

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.10.13 to 2.10.14
#26

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.10.14 to 2.10.15
#27

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.10.15 to 2.10.16
#28

Updated by Nicolas CHARLES almost 5 years ago

Dennis, does this still happen to you ?

#29

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.10.16 to 2.10.17
#30

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.17 to 2.10.18
#31

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.18 to 2.10.19
#32

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.19 to 2.10.20
#33

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.20 to 2.11.18
#34

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.11.18 to 2.11.19
#35

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.11.19 to 2.11.20
#36

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 2.11.20 to 2.11.21
#37

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 2.11.21 to 2.11.22
#38

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 2.11.22 to 2.11.23
#39

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 2.11.23 to 2.11.24
#40

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 2.11.24 to 308
#41

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 308 to 3.1.14
#42

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 3.1.14 to 3.1.15
#43

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 3.1.15 to 3.1.16
#44

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 3.1.16 to 3.1.17
#45

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 3.1.17 to 3.1.18
#46

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 3.1.18 to 3.1.19
#47

Updated by Alexis MOUSSET about 3 years ago

  • Subject changed from Corrupt inventories on Centos 5 to Missing network card information in inventories on Centos 5
  • Status changed from New to Rejected

No answer on this issue, and this problem has not be seen lately.

In addition we updated fusioninventory. Closing, feel free to open a new bug if you see it again.

Also available in: Atom PDF