Moonshot Chassis Manager 2.0

Thanks for taking a look! We currently have limited HP Moonshot available for testing and I believe it is older hardware. Couple of hints to get you going.

As of MAAS 2.9 BMC detection and configuration is done in the commissioning script 30-maas-01-bmc-config. There is a class for HP Moonshot already so you can make changes in there. I originally wanted to get feature parity with generic IPMI but didn’t have enough access to Moonshot hardware to implement it. The IPMI class may have some code you can use, it may even be possible to merge the IPMI and Moonshot class.

One of the changes I made in MAAS 2.9 is you can actually override MAAS’s builtin BMC configuration and detecting script with your own. All you have to do is make sure your script runs before 30-maas-01-bmc-config. You can fork the current script and rename it(don’t forget to change the name in the Start MAAS 1.0 script metadata section). I did a Show & Tell on creating a custom BMC configuration and detection script a few weeks ago.

MAAS runs all power actions from the rack controller. MAAS actually has two Moonshot drivers. One uses IPMI for communication the other uses SSH which includes chassis support. I’m not sure why there are two.

Let us know if you need any other help. Remember to include unit tests with any patches :slight_smile:

3 Likes