Airship utility CLI access
Go to file
Parsons, Cliff (cp769u) d5ec559cba Fix issue reading backup/restore secrets
This patchset uses jq to parse secrets instead of the grep/awk
combination that was being used before, which was problematic if the
formatting of secrets gets changed.

In order to do this for etcdctl-utility pod, I had to add "jq" to the
Dockerfile. Mysql and Postgresql utility images already had jq.

Change-Id: Ice7e7a44dbe9d6f8b4c7f02d2ed75c08ee47c89f
2020-10-05 22:56:54 +00:00
charts Fix issue reading backup/restore secrets 2020-10-05 22:56:54 +00:00
docs Create an initial Automation Validation Testing framework 2020-06-12 13:43:58 -04:00
images Fix issue reading backup/restore secrets 2020-10-05 22:56:54 +00:00
jmphost Enforce the use of the correct kubectl client version 2020-01-06 19:31:09 +00:00
kube_utility_container Merge "Add Below test Cases to Postgres Utility Container" 2020-08-19 17:38:17 +00:00
tools Switch to ensure-docker role 2020-09-21 20:05:43 +00:00
zuul.d Rename Zuul Test Job 2020-08-19 17:45:28 +00:00
.gitignore Chart/Dockerfile for Ceph Utility Container 2019-01-10 10:08:55 -06:00
.gitreview Add .gitreview 2019-08-07 14:41:35 +00:00
LICENSE Initial commit 2018-09-05 14:42:30 -05:00
Makefile Create an initial Automation Validation Testing framework 2020-06-12 13:43:58 -04:00
README.md Replace Postgresql UC deployment Process 2020-04-08 01:00:25 +00:00
requirements-frozen.txt Create an initial Automation Validation Testing framework 2020-06-12 13:43:58 -04:00
requirements.txt Create an initial Automation Validation Testing framework 2020-06-12 13:43:58 -04:00
setup.cfg Create an initial Automation Validation Testing framework 2020-06-12 13:43:58 -04:00
setup.py Create an initial Automation Validation Testing framework 2020-06-12 13:43:58 -04:00
test-requirements.txt Create an initial Automation Validation Testing framework 2020-06-12 13:43:58 -04:00
tox.ini Create an initial Automation Validation Testing framework 2020-06-12 13:43:58 -04:00

README.md

Utility Containers

Utility containers give Operations staff an interface to an Airship environment that enables them to perform routine operations and troubleshooting activities. Utility containers support Airship environments without exposing secrets and credentials while at the same time restricting access to the actual containers.

Prerequisites

=======

Deploy OSH-AIO.

Deploy the Openstack-Helm All-in-One environment starting from here up through the section Deploy Compute Kit

The recommended minimum system requirements for a full deployment are:

  • 16 GB RAM
  • 8 Cores
  • 48 GB HDD

=======

  1. To run further commands from the CLI manually, execute the following to set up authentication credentials

     export OS_CLOUD=openstack_helm
    
  2. Clone the Porthole repo to openstack-helm project

     git clone https://opendev.org/airship/porthole.git
    

To deploy utility pods

  1. To Deploy Utility containers, Please run required scripts

     cd porthole
    
  2. Deploy Calico-utility. ./tools/deployment/utilities/005-calicoctl-utility.sh

  3. Deploy Ceph-utility.

     ./tools/deployment/utilities/010-ceph-utility.sh
    
  4. Deploy Compute-utility.

     ./tools/deployment/utilities/020-compute-utility.sh
    
  5. Deploy Etcdctl-utility.

     ./tools/deployment/utilities/030-etcdctl-utility.sh
    
  6. Deploy Mysqlclient-utility.

     ./tools/deployment/utilities/040-Mysqlclient-utility.sh
    
  7. Deploy Openstack-utility.

     ./tools/deployment/utilities/050-openstack-utility.sh
    
  8. Deploy `Postgresql-utility'. ./tools/deployment/utilities/060-postgresql-utility.sh

NOTE

The PostgreSQL utility container needed Postgresql DB Pods for Testing. Please follow below Link. [PostgreSQL README](https://opendev.org/airship/porthole/src/branch/master/images/postgresql-utility/README.md).