Install and discover RHOSO using Gitops ArgoCD

Welcome to the Red Hat OpenStack Services on OpenShift (RHOSO) lab instructions. These instructions will guide you through the installation of the next generation of Red Hat’s OpenStack product onto an existing OpenShift Cluster utilizing a bastion host and a single host for the data plane.

In this lab, you will use the following infrastructure:

  • A 3 OCP controller/worker 4.16 OCP cluster

  • A bastion host to access to the OCP environment

  • A RHEL 9.4 virtualised compute host

In this lab, you will cover the following topics:

Within the lab environment, you will be able to copy and paste the specified commands into the CLI. For some steps you may also need to edit some of the commands from the instructions.

The content presented in this guide is not officially supported by Red Hat. It is intended solely for exploratory purposes and to gather feedback that may inform potential future productization.

Fork the Lab Repository

Fork the GitHub repository into your personal GitHub space:

Access Your Lab Environment

  1. Access to the bastion executing the following command:

    ssh {bastion_ssh_user_name}@{bastion_public_hostname} -p {bastion_ssh_port}

    SSH password is {bastion_ssh_password}. The uuid of your lab is: my-guid

  2. Optionally copy your public SSH key to the bastion allowing you to authenticate with the server without entering a password every time you connect:

    ssh-copy-id -p {bastion_ssh_port} {bastion_ssh_user_name}@{bastion_public_hostname}

    If needed, you can navigate to the OpenShift console URL: {openshift_cluster_console_url}[{openshift_cluster_console_url}^] using user admin and password {openshift_cluster_admin_password}

Add the Bastion SSH Key to the SSH Agent

In the bastion, add the bastion ssh key to the ssh agent:

eval "$(ssh-agent -s)"
ssh-add ~/.ssh/my-guidkey.pem

Add the SSH Public Key to GitHub

Copy the public key ~/.ssh/my-guidkey.pub from the bastion to your GitHub account:

  1. Copy the SSH public key to your clipboard.

  2. In the upper-right corner of any page on GitHub, click your profile photo, then click Settings.

  3. In the "Access" section of the sidebar, click SSH and GPG keys.

  4. Click New SSH key or Add SSH key.

  5. In the Title field, add a descriptive label, such as "bastion RHOSO gitops key".

  6. Click Add SSH key.

Set Your Repository URL

In the next chapter, we will refer to your forked repository using the variable: "$your_github_id", for example:

your_github_id=pnavarro

Clone Your Forked Repository

In the bastion, clone your forked repository to the bastion using SSH:

cd
git clone git@github.com:$your_github_id/showroom_osp-on-ocp-day2.git labrepo
cd labrepo

Be sure to review all commands carefully for both functionality and syntax!