ironic-specs/specs/juno-implemented/enabling-ipmi-double-bridge-support.rst
Devananda van der Veen d6caa9a083 Reorganize specs tree
* Move liberty -> approved
* Move completed liberty specs to liberty-implemented
* Move kilo -> kilo-implemented
* Move juno -> juno-implemented
* Move kilo-archive -> backlog (moving these to approved causes test
  failures because the template changed since kilo)
* Reword the header for the index page
* Update unit tests to look at the new "approved" folder

** NOTE **

This patch does not create placeholders in the previous locations
for each spec. This will be done in the following patch so that the
history is preserved. Both patches must be landed together so that web
links are not broken for long.

Change-Id: I61f02731150ea944eafaa8c6ea702210364b3478
Implements: blueprint feature-based-releases
2015-08-05 06:57:53 -07:00

4.8 KiB

Enabling IPMI double bridge support

https://blueprints.launchpad.net/ironic/+spec/enabling-ipmi-double-bridge-support

This blueprint proposes ipmi double bridging support in ironic.

Problem description

Currently, ironic IPMI driver(ipmitool) does not support bridging.

Many of the recent server architecture is based on distributed management. For a chassis that has "n" number of servers, the management is delegated from the core controller to many satellite controllers, which mandates the need for bridging.

Proposed change

  • When registering an baremetal node which requires bridging, the appropriate parameters should be specified to ironic IPMI power driver as follows:
    • -i ipmi_bridging=<single/dual/no>

    • -i ipmi_local_address=<VALUE>

    • -i ipmi_transit_local_address=<VALUE>

    • -i ipmi_transit_channel=<VALUE>

    • -i ipmi_transit_address=<VALUE>

    • -i ipmi_target_channel=<VALUE>

    • -i ipmi_target_address=<VALUE>

      The parameters can be specified based on the hardware being registered. i.e, In order to perform an double-bridge, an user can just specify 'transit_address' and 'target_address', rest is taken care by ipmi. But some hardware will mandate to specify transit_channel and target_channel, if they are using different channels.

      The parameter 'ipmi_bridging' should specify the type of bridging required(single/dual) to access the baremetal node. If the parameter is not specified, the default value will be set to "no"

      Single Bridging:

      ironic node-create -d pxe_ipmitool [-i ipmi_local_address=VALUE] <-i ipmi_bridging=single> <-i ipmi_target_channel=VALUE> <-i ipmi_target_address=VALUE> ...

      The parameter 'ipmi_local_address' is optional. If the parameter is not specified, it is auto discovered by ipmitool

      Double Bridging:

      ironic node-create -d pxe_ipmitool [-i ipmi_local_address=VALUE] [-i ipmi_transit_local_address=VALUE] <-i ipmi_bridging=dual> <-i ipmi_transit_channel=VALUE> <-i ipmi_transit_address=VALUE> <-i ipmi_target_channel=VALUE> <-i ipmi_target_address=VALUE> ...

      The parameters 'ipmi_local_address' and 'ipmi_transit_local_address' are optional. If the parameters are not specified, it is auto discovered by ipmitool

  • Ironic IPMI driver should be modified to parse the above information and perform ipmi operations with appropriate parameters.

Alternatives

None

Data model impact

None

REST API impact

None

Driver API impact

None

Nova driver impact

None

Security impact

None

Other end user impact

None

Scalability impact

Depends on the number of parallel IPMI sessions that can be supported by the underlying BMC. When the sessions are exhausted, IPMI retry option can be used to get the handle of a session.

Performance Impact

If the underlying BMC is designed for federated management, where there might be one main controller and many sub controllers, there will not be any impact. However if only one controller exists in the BMC that manages all the nodes, then the sessions might be slower when it reaches its threshold.

Other deployer impact

When an node which mandates bridging is being registered, provide the appropriate parameters:

  • -i ipmi_bridging=<single/dual/no>
  • -i ipmi_local_address=<VALUE>
  • -i ipmi_transit_local_address=<VALUE>
  • -i ipmi_transit_channel=<VALUE>
  • -i ipmi_transit_address=<VALUE>
  • -i ipmi_target_channel=<VALUE>
  • -i ipmi_target_address=<VALUE>

Developer impact

None

Implementation

Assignee(s)

Primary assignee:

rh-s

Other contributors:

bmahalakshmi

Work Items

  • Include functionality to IPMI driver(ipmitool) to check if the underlying ipmitool utility supports bridging.
  • Changes to IPMI driver to parse the bridging parameters.
  • When a node being provisioned has bridging configuration specified, perform all ipmi operations with appropriate parameters.

Dependencies

IPMITOOL_1_8_12

Testing

Unit test cases to test IPMI driver with bridging enabled and disabled

Documentation Impact

Documentation should reflect the parameters that can be provided during registering an node to enable bridging operation.

References