ipmitool lan print in Noble truncated output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ipmitool (Ubuntu) |
Fix Released
|
Undecided
|
Sergio Durigan Junior | ||
Noble |
Fix Released
|
Undecided
|
Sergio Durigan Junior | ||
Oracular |
Fix Released
|
Undecided
|
Sergio Durigan Junior |
Bug Description
[ 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
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:/
The fix is:
https:/
https:/
This fix has not landed in a tagged version yet.
Also reported in debian:
https:/
Cheers,
Walter Doekes
OSSO B.V.
( attached https:/
Related branches
- git-ubuntu bot: Approve
- Lena Voytek (community): Approve
- Canonical Server Core Reviewers: Pending requested
- Canonical Server Reporter: Pending requested
-
Diff: 68 lines (+46/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/0009-lan-fix-lan-print-fails-on-unsupported-parameters.patch (+38/-0)
debian/patches/series (+1/-0)
Changed in ipmitool (Ubuntu Noble): | |
status: | New → Triaged |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
Changed in ipmitool (Ubuntu Noble): | |
status: | Triaged → In Progress |
tags: |
added: verification-done verification-done-noble removed: verification-needed verification-needed-noble |
Status changed to 'Confirmed' because the bug affects multiple users.