Appliance is not pingable or does not have network connectivity
lastline_apply_config logs displays the lines :
INFO - Error: Evaluation Error: Error while evaluating a Function Call, Non-existing interfaces configured as sniffing interface: enp59s0f0np0,enp59s0f1np1 (file: /usr/share/appliance-config/modules/sensor/manifests/common.pp, line: 116, column: 9) on node lastline-sensor.lastline.local
ERROR - Applying configuration failed. 2022-10-18 09:48:57,956: output: Applying configuration failed.
lastline_test_appliance displays the error :
output: > The system found unexpected settings. Please remove any configuration changes that were applied manually and retry: [('customer_configs.sniff_ifaces', ValidationError('Interface enp59s0f0np0 does not exists',))]
NSX NDR ( LASTLINE)
Instability in the Broadcom driver fails to load after a kernel update.
The issue can impact both Management and Sniffing interfaces.
Upon validation of the sniffing interfaces configuration file vs the NICS in the appliance , we see device names are missing in the Device Section for the Broadcom NetXtreme Interfaces :
Executing cat /etc/previct_config/sniff_ifaces as current user
2022-10-18 10:59:23,400: output: enp59s0f0np0,enp59s0f1np1
Executing lshw -c network -short as current user
output: H/W path Device Class Description
output: ========================================================
output: /0/100/1c.5/0 eno1 network NetXtreme BCM5720 Gigabit Ethernet PCIe
output: /0/100/1c.5/0.1 eno2 network NetXtreme BCM5720 Gigabit Ethernet PCIe
output: /0/101/0 network BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Controller
output: /0/101/0.1 network BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Controller
The missing device name points to a potential driver issue and below are the steps to reinstall the drivers :
Verify you see 1.10.0-214.0.259.0 in the output if this version # is different, you need to change the version # below in Step # 2.
2. Run dkms remove bnxt_en/1.10.0-214.0.259.0 --all
3. Run dkms build bnxt_en/1.10.0-214.0.259.0 -k
4. Run dkms install bnxt_en/1.10.0-214.0.259.0 -k
5. Run modprobe bnxt_en
6. Run lshw -c network -short | less
7. Re-trigger the configuration.
The above steps also holds good if the issue is seen on Management Interfaces which are using Broadcom Cards.