openbmc / phosphor-networkd

Apache License 2.0
18 stars 49 forks source link

VLAN is not created via ipmitool #68

Closed gezhen1 closed 1 year ago

gezhen1 commented 1 year ago

I'm trying to create a VLAN eth0.100 via ipmitool but it doesn't work as expected. execute > ipmitool raw 0x0c 0x01 1 20 100 0x80 Unable to send RAW command (channel=0x0 netfn=0xc lun=0x0 cmd=0x1 rsp=0xff): Unspecified error!

detailed reference networkd journalctl log : journalctl -u xyz.openbmc_project.Network.service Oct 10 07:53:18 birchstream systemd[1]: Starting Phosphor Network Manager... Oct 10 07:53:28 birchstream phosphor-network-manager[286]: Using DHCP options from /etc/systemd/network/00-bmc-eth0.network Oct 10 07:53:28 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:53:30 birchstream systemd[1]: Started Phosphor Network Manager. Oct 10 07:53:32 birchstream phosphor-network-manager[286]: Unable to get the value of Network[DHCP] from /etc/systemd/network/00-bmc-usb0.network Oct 10 07:53:32 birchstream phosphor-network-manager[286]: ETHTOOL not supported on usb0 Oct 10 07:56:38 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:56:38 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:56:38 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:56:38 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:56:38 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:56:38 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:56:38 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:56:38 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:56:38 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:56:39 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:58:49 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:58:49 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:58:49 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 07:58:49 birchstream phosphor-network-manager[286]: GetEthInfo failed on eth1: ioctl 0x8946: No such device Oct 10 08:00:42 birchstream phosphor-network-manager[286]: Tried to delete a non-static address 10.240.205.48 prefix 25 interface eth0 Oct 10 08:00:42 birchstream phosphor-network-manager[286]: The operation is not allowed

gezhen1 commented 1 year ago

set ipsrc to static before setting vlan id,it's work normal. is WAD ? if yes WHY?

gezhen1 commented 1 year ago

WAD