You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was woking with the openbmc-test-automation framework and have noticed that one of the tests fails. The test was executing lan set 1 access off IPMI command. I've checked it on the BMC side and have discovered that the behaviour is persistent:
# ipmitool lan set 1 access off
IPMI command failed: Unspecified error
Unable to Set Channel Access(non-volatile) for channel 1
So the setDbusProperty call looks for xyz.openbmc_project.Channel.ChannelAccess interface, but it appears that there is no such interface on my machine:
# busctl tree xyz.openbmc_project.Network
└─/xyz
└─/xyz/openbmc_project
└─/xyz/openbmc_project/network
├─/xyz/openbmc_project/network/config
│ └─/xyz/openbmc_project/network/config/dhcp
└─/xyz/openbmc_project/network/eth0
├─/xyz/openbmc_project/network/eth0/ipv4
│ └─/xyz/openbmc_project/network/eth0/ipv4/dae4712
└─/xyz/openbmc_project/network/eth0/ipv6
└─/xyz/openbmc_project/network/eth0/ipv6/749f2442
root@ak9032v2:~# busctl introspect xyz.openbmc_project.Network /xyz/openbmc_project/network/eth0
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Collection.DeleteAll interface - - -
.DeleteAll method - - -
xyz.openbmc_project.Network.EthernetInterface interface - - -
.AutoNeg property b false emits-change
.DHCPEnabled property s "xyz.openbmc_project.Network.EthernetIn…" emits-change writable
.DefaultGateway property s "100.100.100.200" emits-change writable
.DefaultGateway6 property s "" emits-change writable
.DomainName property as 0 emits-change writable
.IPv6AcceptRA property b true emits-change writable
.InterfaceName property s "eth0" const
.LinkLocalAutoConf property s "xyz.openbmc_project.Network.EthernetIn…" emits-change writable
.LinkUp property b true emits-change
.MTU property u 1500 emits-change writable
.NICEnabled property b true emits-change writable
.NTPServers property as 3 "10.10.10.10" "20.20.20.20" "30.30.30…" emits-change writable
.Nameservers property as 1 "168.95.1.1" emits-change writable
.Speed property u 0 emits-change
.StaticNTPServers property as 0 emits-change writable
.StaticNameServers property as 0 emits-change writable
xyz.openbmc_project.Network.IP.Create interface - - -
.IP method ssys o -
xyz.openbmc_project.Network.MACAddress interface - - -
.MACAddress property s "46:2b:35:e8:46:39" emits-change writable
xyz.openbmc_project.Network.Neighbor.CreateStatic interface - - -
.Neighbor method ss o -
Question:
Is this the ipmi bug?
Does ipmi support ipmitool lan set 1 access on/off command?
I try to implement the xyz.openbmc_project.Channel.ChannelAccess interface at xyz.openbmc_project.Network /xyz/openbmc_project/network/eth0, but when start phosphor-ipmi-host.service the ipmid will crashed.
The text was updated successfully, but these errors were encountered:
I was woking with the
openbmc-test-automation
framework and have noticed that one of the tests fails. The test was executinglan set 1 access off
IPMI command. I've checked it on the BMC side and have discovered that the behaviour is persistent:The channel 1 is working and it is:
The error comes from the
setChannelAccessPersistData
functionphosphor-host-ipmid/user_channel/channel_mgmt.cpp
From this part of code:
Here are the constants:
So the
setDbusPropert
y call looks forxyz.openbmc_project.Channel.ChannelAccess
interface, but it appears that there is no such interface on my machine:The text was updated successfully, but these errors were encountered: