SMI Base Image Installation on OpenStack

To install the Base Image on OpenStack:

  1. Log in to Horizon.

  2. Navigate to Create Image page and fill in the following image details:

    • Image Name - Enter a name for the image.

    • Image Description (Optional) - Enter a brief description of the image.

    • Image Source - Select File as the Image Source.

    • File - Browse for the ISO image from your system and add it.

    • Format - Select the Image Format as Raw.

    • Minimum Disk (GB) - Specify the minimum disk size as 100GB.

  3. Click Create Image.

    Note
    It might take several minutes for the image to save completely.
  4. Navigate to the Launch Instance page.

  5. Click Details tab and fill in the following instance details:

    • Instance Name - Enter a name for the instance.

    • Count - Specify the count as 1.

  6. Click Source tab and fill in the following details:

    • Select Boot Source - Select the Base Image from the drop-down list.

    • Volume Size (GB) - Increase the volume size if required.

  7. Click Flavor tab and select a flavor which meets the minimum requirements for the VM from the grid..

    Note
    You can create a new flavor if required.
  8. Click Networks tab and select the appropriate networks for the VM based on your environment.

  9. Click Key Pair tab to create or import key pairs.

    • Click Create Key Pair to generate a new key pair.

    • Click Import Key Pair to import a key pair.

  10. Click Configuration tab to add user configuration.

    • To configure the host name and output the cloud-init details to a log file, use the following configuration:

      #cloud-config
      output:
         all: '| tee -a /var/log/cloud-init-output.log | tee /dev/ttyS0'
      hostname: "test-cluster-control-1"
      Note
      If users and private keys are added to cloud-init, it overrides the OpenStack Key Pairs.
    • By default, log in access to the console is denied. To enable password log in at the console, use the following configuration.

      #cloud-config
      chpasswd:
         list: |
           ubuntu:my_new_password
         expire: false
  11. Click Launch Instance.

    Note
    To monitor the boot progress, navigate to the Instance Console. Also, you can interact with the console and view the boot messages through Console and Log tab respectively.