Issues with DHCP and IPMI
Андрей Башлаков
a.bashlakov at corp.vk.com
Thu Nov 9 17:59:11 UTC 2017
Hi, all!
I’m using latest MaaS release 2.3.0 rc1 updated several times from 2.1 and have several questions/issues about IPMI and DHCP:
1) I’ve configured /24 network for MaaS machines and successfully tested about 300 machines for last few month. Later I’ve removed all machines and now after connecting new machines to this network and power on them, they appears in interface with «Unknown» power state. If I click on button to edit power parameters and push save button without any changes, power state of this machines changes to correct state («on» or «off»). This behavior was also observed on earlier versions and was followed by log messages like this:
> Sep 26 18:11:42 maas maas.api: [info] comic-salmon: Enlisted new machine
> Sep 26 18:11:43 maas maas.node: [info] BMC could not save extracted IP address ‘172.Х.Х.Х': 'get() returned more than one StaticIPAddress -- it returned 2!'
On current MaaS version there is no such message, but behavior is the same.
In subnet overview page I see: Subnet addresses 254, Used 100%, Availability 0 (0%). There is two reserve ranges: 20 static and over 200 dynamic addresses. At the same time I can’t see for any record under «Used» section.
How to fix this behavior for correct automatically enlisting new machines?
2) I think this may by bug, anyway: if BMC change their IP address, there is no update for power parameters in MaaS even if the machine powered on manually. I encountered this behavior when connected machines with statically configured BMC addresses. After they was enlisted in MaaS in «New» state with power error, I've changes their address mode in BIOS from static to DHCP and powered on again but there was no effect. I had to remove this machines from MaaS for new enlisting, and after next power on machines appears in MaaS with correct address. Is it a bug?
3) We need to connect much of machines with statically configured BMC addresses and I would like to automate process of changing address mode from static to dhcp. It seems to me that before I saw a checkbox with text like «Reconfigure BMC to obtain IP address via DHCP», but can’t find it now. Or is there any way to run custom scripts during the first loading to MaaS enlisting image?
4) This is probably a bug. After upgrade to latest release any smartctl test is failing, machine change their state to «Failed testing» but on «Hardware tests» tab this test freezing in running state.
Best regards,
Andrey Bashlakov
R&D Engineer
www.vk.com
More information about the Maas-devel
mailing list