On Fri, Jan 5, 2018 at 4:37 PM Christian Robottom Reis <[email protected]> wrote:
> On Wed, Jan 03, 2018 at 01:22:58AM +0000, Christopher Berner wrote: > > I have a ASUS RS400-E8-PS2, which has 2 LAN ports for management. One > > dedicated to the BMC, and one that's shared with the OS's LAN1. The > > dedicated one is mapped to LAN channel 1, and the shared one is mapped to > > LAN channel 8. If I use the dedicated port, MaaS automatic enlistment > works > > fine. However, when trying to use the shared port it fails, because > > bmc-config returns 0.0.0.0 for the IP address, unless --lan-channel=8 is > > used. > > I hacked maas_ipmi_autodetect.py to use --lan-channel=8. However, is > there > > a better solution? And if not, would you take a patch that attempts to > > auto-detect the correct LAN channel to use? > > Ante, what do you think? > Looking at the specifications[1] of the machine, it should have 2 LAN ports and 1 BMC port. I assume this BMC port is then set in sharing mode, where it can be used by both OS and the BMC itself. If that's the case, then bmc-config needs to identify which channel is used for BMC or it needs to be instructed to look to all channels and ignore those that do not have an IP or are not usable at all. I would be interested to see how your patch tackles this problem. Maybe it would be better to open a bug and provide info there. I didn't remember we ever having encountered this issue but we must have > as I've seen 2 management LAN ports in our published BOMs, right? > Our BOMs have two LANs for management network (in essence consumable by operating system), but always just one BMC. I've yet to see a server with a redundant BMC. Regards [1] - https://www.asus.com/us/Commercial-Servers-Workstations/RS400E8PS2/specifications/ -- Ante Karamatić [email protected] Canonical
-- Maas-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/maas-devel
