[Starlingx-discuss] [Ironic] deploy bare metal by Ironic

Peters, Matt Matt.Peters at windriver.com
Tue Nov 20 13:34:08 UTC 2018


Hello Yong,
You no longer require a network type in order to configure an IP address against an interface.  Therefore you can setup the ironic provisioning network interface without assigning a specific network to the interface.  Simply set the interface class to ‘platform’ and configure the required IP address.

Hope that helps.

Regards, Matt

From: "Hu, Yong" <yong.hu at intel.com>
Date: Monday, November 19, 2018 at 8:34 PM
To: "Waines, Greg" <Greg.Waines at windriver.com>, "Ho, Teresa" <Teresa.Ho at windriver.com>, "starlingx-discuss at lists.starlingx.io" <starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] [Ironic] deploy bare metal by Ironic

Thanks Greg for sharing the setup procedures!
Well, I noticed “system host-if-modify” was changed, and we need a bit help here.

In the past, it seemed to directly support a “-nt” (network type) input, with which “control” type can be specified.
But currently “-nt” doesn’t exist anymore, and instead, another option “--networks <network name or id>” is provided.
It implies before running “system host-if-modify”, we need to use “system network-add” to create a network with a particular type:
<network type> Type of network [REQUIRED]
After looking through the code, I saw the network types are defined in “sysinv/sysinv/sysinv/sysinv/common/constants.py”:

# Interface definitions
NETWORK_TYPE_NONE = 'none'
NETWORK_TYPE_INFRA = 'infra'
NETWORK_TYPE_MGMT = 'mgmt'
NETWORK_TYPE_OAM = 'oam'
NETWORK_TYPE_BM = 'bm'
NETWORK_TYPE_MULTICAST = 'multicast'
NETWORK_TYPE_DATA = 'data'
NETWORK_TYPE_SYSTEM_CONTROLLER = 'system-controller'

NETWORK_TYPE_PCI_PASSTHROUGH = 'pci-passthrough'
NETWORK_TYPE_PCI_SRIOV = 'pci-sriov'
NETWORK_TYPE_PXEBOOT = 'pxeboot'

PLATFORM_NETWORK_TYPES = [NETWORK_TYPE_PXEBOOT,
                          NETWORK_TYPE_MGMT,
                          NETWORK_TYPE_INFRA,
                          NETWORK_TYPE_OAM]

PCI_NETWORK_TYPES = [NETWORK_TYPE_PCI_PASSTHROUGH,
                     NETWORK_TYPE_PCI_SRIOV]

The at this point, my question is:  for ironic network, *which network type should we set as the replacement of the previous “control” type??*

=======================================================================
Hi @Teresa, according to git log, I noticed you handled following changes mostly.
So, highly appreciate if you could provide some supports here. Thanks in advance!

Regards,
Yong
From: "Waines, Greg" <Greg.Waines at windriver.com>
Date: Tuesday, 20 November 2018 at 1:58 AM
To: "Hu, Yong" <yong.hu at intel.com>, "starlingx-discuss at lists.starlingx.io" <starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] [Ironic] deploy bare metal by Ironic

Yes StarlingX does support Ironic.

Some quick notes on its usage:

  *   It is currently only supported on StarlingX Standard Configurations
     *   i.e. NOT on All-In-One Simplex or Duplex
  *   An additional interface, of network-type ‘control’, must be added to the two Controllers
     *   These interfaces are connected to the ‘ironic provisioning tenant network’,
        *   ... used for network-booting the ironic nodes
     *   These interfaces are configured with an IP Address from the subnet of the ‘ironic provisioning network’,
     *   Typically the ironic provisioning network is on a flat provider network ... but does not have to be
  *   At least one compute node must also be attached to the ‘ironic provisioning network’
  *   The ironic service is optional in StarlingX Deployments
  *   Before enabling it you must first set a number of ironic ‘service parameters’
i.e.
     *   system service-parameter-add ironic neutron provisioning_network=<IRONIC_PROVISIONING_NET_UUID>
     *   system service-parameter-add ironic pxe tftp_server=<TFTP_SERVER_IP>
        *   NOTE: this is the floating IP of the Ironic Conductor / TFTP Server on the ironic provisioning network
     *   system service-parameter-add ironic pxe netmask=24
     *   system service-parameter-add ironic pxe controller_0_if=<CONTROLLER_0_INTERFACE>
     *   system service-parameter-add ironic pxe controller_1_if=<CONTROLLER_1_INTERFACE>
     *   and then
     *   system service-enable ironic

... after that, create ironic nodes and boot Baremetal Instances on those nodes as described in the Ironic Documentation.

Greg.


From: "Hu, Yong" <yong.hu at intel.com>
Date: Tuesday, November 13, 2018 at 8:48 PM
To: "starlingx-discuss at lists.starlingx.io" <starlingx-discuss at lists.starlingx.io>
Subject: [Starlingx-discuss] [Ironic] deploy bare metal by Ironic

One customer asked how StarlingX supports bare metal support by Ironic.
And they mentioned Titanium Cloud used to support it well.

Anyone has the experience to deploy bare metal system by Ironic on StarlingX?
Suggests and feedbacks are much appreciated!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20181120/3748db59/attachment-0001.html>


More information about the Starlingx-discuss mailing list