Install the Bare Metal service components

Install the Bare Metal service componentsΒΆ

Caution

The procedure below applies to existing MCP clusters and to new MCP clusters prior to the 2019.2.6 maintenance update.

Starting from 2019.2.6, you can skip the procedure below for new MCP clusters and deploy Ironic automatically using the OpenStack deployment pipeline as described in Deploy an OpenStack environment.

After you have configured the deployment model as described in Modify the deployment model, install the Bare Metal service components, including Ironic API, Ironic Conductor, Ironic Client, and others.

To install the Bare Metal service components:

  1. Install Ironic API:

    salt -C 'I@ironic:api and *01*' state.sls ironic.api
    salt -C 'I@ironic:api' state.sls ironic.api
    
  2. Install Ironic Conductor:

    salt -C 'I@ironic:conductor' state.sls ironic.conductor
    
  3. Install Ironic Client:

    salt -C 'I@ironic:client and *01*' state.sls ironic.client
    salt -C 'I@ironic:client' state.sls ironic.client
    
  4. Install software required by Ironic, such as Apache and TFTP server:

    salt -C 'I@ironic:conductor' state.sls apache
    salt -C 'I@tftpd_hpa:server' state.sls tftpd_hpa
    
  5. Install nova-compute with ironic virt-driver:

    salt -C 'I@nova:compute' state.sls nova.compute
    salt -C 'I@nova:compute' cmd.run 'systemctl restart nova-compute'
    
  6. Log in to an OpenStack Controller node.

  7. Verify that the Ironic services are enabled and running:

    salt -C 'I@ironic:client' cmd.run '. /root/keystonercv3; ironic driver-list'