Project

General

Profile

Actions

Bug #9694

closed

Bug #7136: Rudder doesn't store and display the IPV6 of the nodes

IPv6 Address isn't displayed

Added by Alexander Brunhirl about 8 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Hi,

the inventory get the IPv6 address but rudder doesn't display the IP address in the "Network interfaces".

Best regards,
Alex

System: openSuSE Leap 42.1 (same as SLES12 SP1)

# grep -R IPADDRESS6 /var/rudder/inventories/received/XXXXXXXXXXXXXXXXXXXXXXXX.ocs 
      <IPADDRESS6>::1</IPADDRESS6>
      <IPADDRESS6>2a01:XXX:XXX:XXXX:200:102:0:105</IPADDRESS6>
      <IPADDRESS6>fe80::704a:c1ff:feb1:5326</IPADDRESS6>
# 
# rpm -qa | grep rudder
rudder-server-root-4.0.0.rc6.git201611090222-1.SLES.12.noarch
rudder-inventory-ldap-4.0.0.rc6.git201611090222-1.SLES.12.x86_64
rudder-agent-4.0.0.rc6.git201611090222-1.SLES.12.x86_64
rudder-techniques-4.0.0.rc6.git201611090222-1.SLES.12.noarch
rudder-reports-4.0.0.rc6.git201611090222-1.SLES.12.noarch
rudder-webapp-4.0.0.rc6.git201611090222-1.SLES.12.noarch
rudder-jetty-4.0.0.rc6.git201611090222-1.SLES.12.noarch
rudder-inventory-endpoint-4.0.0.rc6.git201611090222-1.SLES.12.noarch
# 
Actions #1

Updated by Alexis Mousset about 8 years ago

  • Category changed from Web - Compliance & node report to Web - Nodes & inventories

Thanks for reporting, this is a regression (worked in 3.2). Maybe linked to Fusion Inventory upgrade.

Actions #2

Updated by François ARMAND about 8 years ago

Alex, does the IPv6 address is returned via API for node, when you use:

% curl -k -H "X-API-Token: dTxvl4eL8p3YqvwefVbaxxxxxxxx" -X GET https://..../rudder/api/latest/nodes\?include\=minimal,ipAddresses,networkInterfaces | jq .

Do you see ipv6 addresses in the result 1/ in ipAddresses at top level ? 2/ in ipAddesses into networkInterfaces elements ?

Thanks,

Actions #3

Updated by Nicolas CHARLES almost 8 years ago

Ipv6 are not present in the curl answer :(

{"action": "listAcceptedNodes","result": "success","data": {"nodes": [{"id": "02879B07-18A9-47BA-9348-9BDB197E159D","hostname": "agent1","status": "accepted","ipAddresses": ["192.168.42.3","10.0.2.15"],"networkInterfaces": [{"name": "Intel(R) PRO/1000 MT Desktop Adapter","type": "ethernet","speed": "1000","status": "Up","macAddress": "08:00:27:2F:9E:74","ipAddresses": ["10.0.2.15"]},{"name": "WAN Miniport (PPPOE)","status": "Down","macAddress": "33:50:6F:45:30:30","ipAddresses": []},{"name": "Microsoft Tun Miniport Adapter","speed": "1073.741824","status": "Down","macAddress": "02:00:54:55:4E:01","ipAddresses": []},{"name": "WAN Miniport (PPTP)","status": "Down","macAddress": "50:50:54:50:30:30","ipAddresses": []},{"name": "Intel(R) PRO/1000 MT Desktop Adapter #2","type": "ethernet","speed": "1000","status": "Up","macAddress": "08:00:27:06:7B:0F","ipAddresses": ["192.168.42.3"]}]},{"id": "root","hostname": "server","status": "accepted","ipAddresses": ["127.0.0.1","10.0.2.15","192.168.42.2"],"networkInterfaces": [{"name": "eth1","type": "ethernet","speed": "1000","status": "Up","macAddress": "08:00:27:31:29:54","ipAddresses": ["192.168.42.2"]},{"name": "lo","type": "loopback","status": "Up","macAddress": "00:00:00:00:00:00","ipAddresses": ["127.0.0.1"]},{"name": "eth0","type": "ethernet","speed": "1000","status": "Up","root@server:/# 

Actions #4

Updated by Nicolas CHARLES almost 8 years ago

Inventory is still correct:

<NETWORKS>
      <DESCRIPTION>eth0</DESCRIPTION>
      <DRIVER>e1000</DRIVER>
      <IPADDRESS6>fe80::a00:27ff:fe2d:c00</IPADDRESS6>

Actions #5

Updated by Nicolas CHARLES almost 8 years ago

  • Assignee set to Nicolas CHARLES

The ldap doesn't contain the ipv6 either

Actions #6

Updated by Nicolas CHARLES almost 8 years ago

  • Status changed from New to In progress
Actions #7

Updated by Nicolas CHARLES almost 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/ldap-inventory/pull/96
Actions #8

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #9

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.1 which was released today.

Actions #10

Updated by Benoît PECCATTE over 7 years ago

  • Found in version (s) 4.0.0 added
Actions #11

Updated by Benoît PECCATTE over 7 years ago

  • Found in version(s) old deleted (4.0.0)
Actions

Also available in: Atom PDF