Hello Walter, Apologies for taking so long to follow up on this.
I have just uploaded the fix for Noble, which means that the SRU team will soon process it. As I mentioned before, we don't have an easy way to reproduce the problem, so I would kindly ask that you perform the verification of this bugfix as soon as the package is accepted by the SRU team. There is no formal requirement for what needs to be included in the verification, but I personally like to be as verbose as possible and show excerpts from the terminal containing: - The version of the current package you have installed in your system. - Proof that the current package has the bug. - An "apt install" showing that the new package from the proposed pocket has been installed. - The version of the new package. - Proof that the new package does not have the bug. Thanks. ** Description changed: + [ Impact ] + + impitool users who issue the "lan print" command will see a truncated + output on Noble, with a lot of fields missing from the report (like + information about the network gateway, VLAN, and cipher suites). + + [ Test Plan ] + + Unfortunately this bug is not easily reproducible because it requires + special hardware to do so. I could not find another way to do it. + + Instead, we will be relying on the reporter's help to verify that the + fix actually works. We used the same strategy for the Oracular upload, + and the result was positive. + + [ Where problems could occur ] + + The patch itself is extremely simple; reading its description (from + upstream) makes us even more confident that this is exactly the fix we + need for this issue. + + Having said that, not being able to reproduce the bug ourselves is never + the ideal scenario and, for that reason, we need to be more careful than + usual. Despite requesting detailed results from the reporter when the + package hits noble-proposed, it is still possible (albeit unlikely) that + this SRU introduces some unforeseen regression. If that is the case, + the best solution would be to revert the fix until a better solution is + found. + + [ Original Description ] + ipmitool 1.8.19 (in Ubuntu/Noble) shows a truncated output when doing 'ipmitool lan print'. This means we're missing fields like "Default Gateway IP". A diff between the 1.8.18 and 1.8.19 output is as follows: - --- 1.8.18.txt 2024-09-03 15:17:18.280191476 +0000 - +++ 1.8.19.txt 2024-09-03 15:17:23.684191153 +0000 - @@ -1,32 +1,14 @@ - Set in Progress : Set Complete - Auth Type Support : NONE MD2 MD5 PASSWORD - Auth Type Enable : Callback : MD2 MD5 PASSWORD - : User : MD2 MD5 PASSWORD - : Operator : MD2 MD5 PASSWORD - : Admin : MD2 MD5 PASSWORD - : OEM : MD2 MD5 PASSWORD - IP Address Source : DHCP Address - IP Address : 10.xx.xx.xx - Subnet Mask : 255.255.255.0 - MAC Address : 3c:xx:xx:xx:xx:22 - SNMP Community String : public - IP Header : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00 - BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled - -Default Gateway IP : 10.xx.xx.1 - -Default Gateway MAC : 00:00:00:00:00:00 - -Backup Gateway IP : 0.0.0.0 - -Backup Gateway MAC : 00:00:00:00:00:00 - -802.1q VLAN ID : Disabled - -802.1q VLAN Priority : 0 - -RMCP+ Cipher Suites : 1,2,3,6,7,8,11,12 - -Cipher Suite Priv Max : XaaaXXaaaXXaaXX - - : X=Cipher Suite Unused - - : c=CALLBACK - - : u=USER - - : o=OPERATOR - - : a=ADMIN - - : O=OEM - -Bad Password Threshold : 3 - -Invalid password disable: yes - -Attempt Count Reset Int.: 300 - -User Lockout Interval : 300 + --- 1.8.18.txt 2024-09-03 15:17:18.280191476 +0000 + +++ 1.8.19.txt 2024-09-03 15:17:23.684191153 +0000 + @@ -1,32 +1,14 @@ + Set in Progress : Set Complete + Auth Type Support : NONE MD2 MD5 PASSWORD + Auth Type Enable : Callback : MD2 MD5 PASSWORD + : User : MD2 MD5 PASSWORD + : Operator : MD2 MD5 PASSWORD + : Admin : MD2 MD5 PASSWORD + : OEM : MD2 MD5 PASSWORD + IP Address Source : DHCP Address + IP Address : 10.xx.xx.xx + Subnet Mask : 255.255.255.0 + MAC Address : 3c:xx:xx:xx:xx:22 + SNMP Community String : public + IP Header : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00 + BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled + -Default Gateway IP : 10.xx.xx.1 + -Default Gateway MAC : 00:00:00:00:00:00 + -Backup Gateway IP : 0.0.0.0 + -Backup Gateway MAC : 00:00:00:00:00:00 + -802.1q VLAN ID : Disabled + -802.1q VLAN Priority : 0 + -RMCP+ Cipher Suites : 1,2,3,6,7,8,11,12 + -Cipher Suite Priv Max : XaaaXXaaaXXaaXX + - : X=Cipher Suite Unused + - : c=CALLBACK + - : u=USER + - : o=OPERATOR + - : a=ADMIN + - : O=OEM + -Bad Password Threshold : 3 + -Invalid password disable: yes + -Attempt Count Reset Int.: 300 + -User Lockout Interval : 300 The cause is this (seen when adding verbosity with -vvv): `Get LAN Parameter 'Gratituous ARP Intrvl' command failed: Unknown (0x80)` In 1.8.18, that would just return false and continue. In 1.8.19, we get: `Get LAN Parameter 'Gratituous ARP Intrvl' command failed: Unsupported parameter` And then the output stops. The breakage is caused by: https://codeberg.org/IPMITool/ipmitool/commit/351dad24a26f ( lib/ipmi_lanp.c line 240 ). The fix is: https://codeberg.org/IPMITool/ipmitool/pulls/25 https://codeberg.org/IPMITool/ipmitool/commit/137aeb64cbb4 This fix has not landed in a tagged version yet. Also reported in debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061770 Cheers, Walter Doekes OSSO B.V. ( attached https://codeberg.org/IPMITool/ipmitool/commit/137aeb64cbb4.patch ) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078813 Title: ipmitool lan print in Noble truncated output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/2078813/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
