Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assuming the naming convention is followed as : rack-uloc-blade-type.domain where "blade" would be 000 for single system chassis systems, while for bladecenters such as the fx2 chassis from Dell would use values of "b01", "b02", etc. This patch will extend the idrac_interfaces lookups to differentiate between each blade and will require a distinct entry for each for the "foreman" and "director" types. For example, if you have hosts with these names: f01-h20-b01-fc640.example.com f01-h20-b02-fc640.example.com Then you will also likely want to have the following entries in your idrac_interfaces.yml file: director_fc640_b01_interfaces: NIC.ChassisSlot.8-1-1,HardDisk.List.1-1,NIC.Integrated.1-1-1 director_fc640_b02_interfaces: NIC.ChassisSlot.4-1-1,HardDisk.List.1-1,NIC.Integrated.1-1-1 foreman_fc640_b01_interfaces: NIC.Integrated.1-1-1,HardDisk.List.1-1,NIC.ChassisSlot.8-1-1 foreman_fc640_b02_interfaces: NIC.Integrated.1-1-1,HardDisk.List.1-1,NIC.ChassisSlot.4-1-1 the reason is that the shared IO modules map interfaces to different PCI slots from the host perspective, and as such the boot devices will be different depending on which blade you're working with. If the hostname contains the 000 instead, then we don't alter the director and foreman entries (i.e. no suffix is added). Fixes: #319 Change-Id: I84821bcdc8e768c6e1eb1c2c58c10f2e8a10e57e
- Loading branch information