Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!

Now, the MOSK documentation set covers all product layers, including MOSK management (formerly Container Cloud). This means everything you need is in one place. Some legacy names may remain in the code and documentation and will be updated in future releases. The separate Container Cloud documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.

Add a bare metal host using MOSK management console

This section describes how to add bare metal hosts using the MOSK management console during a MOSK cluster creation.

Before you proceed with adding a bare metal host:

To add a bare metal host to a MOSK cluster:

  1. Optional. Create a custom bare metal host profile depending on your needs as described in Create a custom bare metal host profile.

    Note

    You can view the created profiles in the BM Host Profiles tab of the MOSK management console.

  2. Log in to the MOSK management console with the m:kaas@operator or m:kaas:namespace@bm-pool-operator permissions.

  3. Switch to the required non-default project using the Switch Project action icon located on top of the main left-side navigation panel.

    Caution

    Do not create a MOSK cluster in the default project (Kubernetes namespace), which is dedicated for the management cluster only. If no projects are defined, first create a new mosk project as described in Create a project for MOSK clusters.

  4. Optional. In the Credentials tab, click Add Credential and add the IPMI user name and password of the bare metal host to access the Baseboard Management Controller (BMC).

  5. In the Baremetal tab, click Create Host Inventory.

  6. Fill out the Create baremetal host inventory form:

    • Name

      Specify the name of the new bare metal host.

    • Boot Mode

      Specify the BIOS boot mode. Available options: Legacy, UEFI, or UEFISecureBoot.

    • MAC Address

      Specify the MAC address of the PXE network interface.

    • Baseboard Management Controller (BMC)

      Specify the following BMC details:

      • IP Address

        Specify the IP address to access the BMC.

      • Credential Name

        Specify the name of the previously added bare metal host credentials to associate with the current host.

      • Cert Validation

        Enable validation of the BMC API certificate. Applies only to the redfish+http BMC protocol. Disabled by default.

      • Power off host inventory after creation

        Experimental. Select to power off the bare metal host inventory after creation.

        Caution

        This option is experimental and intended only for testing and evaluation purposes. Do not use it for production deployments.

  7. Click Create.

    While adding the bare metal host, MOSK discovers and inspects the hardware of the bare metal host and adds it to BareMetalHost.status for future references.

    During provisioning, baremetal-operator inspects the bare metal host and moves it to the Preparing state. The host becomes ready to be linked to a bare metal machine.

  8. In the left sidebar, click Baremetal. The Hosts page opens.

  9. Verify that the bare metal host is registered and switched to one of the following statuses:

    • Preparing for a newly added host

    • Ready for a previously used host or for a host that is already linked to a machine

  10. On the Hosts page, click the host kebab menu and select Host info.

  11. In the window with the host details, scroll down to the Hardware section.

  12. Review the section and make sure that the number and models of disks, network interface cards, and CPUs match the hardware specification of the server.

    • If the hardware details are consistent with the physical server specifications for all your hosts, proceed to Create a MOSK cluster.

    • If you find any discrepancies in the hardware inspection results, it might indicate that the server has hardware issues or is not compatible with MOSK.