openstack-helm/tools/gate
Larry Rensing bc8da1a89d Fix ceph single node gate health
Ceph's health when running in the single node gate currently
is 'HEALTH_WARN'.  This PS adds an extra config option such that
the ceph cluster will not attempt to perform replication when deployed
on a single node, as well as introduces a mvp yaml file for ceph
deployments in the gate.

Change-Id: Ib2ec3345140f541c94da044ff9d77723ea3ee2bd
2017-07-17 16:30:09 +00:00
..
funcs Convert ceph to utilize hostNetworking 2017-07-14 19:06:57 +00:00
basic_launch.sh Fix ceph single node gate health 2017-07-17 16:30:09 +00:00
dump_logs.sh Merge "Kubernetes: bump version to K8s v1.6.7" 2017-07-11 13:20:28 +00:00
helm_dry_run.sh Add dry-runs to all charts in OpenStack-Helm in dev and gate scripts 2017-05-31 12:50:18 -05:00
kubeadm_aio.sh DNS: add helper chart to OSH for setting up hosts resolv.conf 2017-07-10 11:11:14 -05:00
openstack_aio_launch.sh Soft pod anti-affinity for all pods 2017-07-03 14:15:40 -05:00
provision_gate_worker_node.sh Refactor Ceph secret generation 2017-06-27 13:42:03 -05:00
README.rst Gate scripts: Update readme to describe multinode deployment 2017-06-28 14:45:26 +00:00
setup_gate_worker_nodes.sh Gate: fix multinode support for running outside of zuul 2017-06-29 17:27:59 -05:00
setup_gate.sh Kubernetes: bump version to K8s v1.6.7 2017-07-09 17:11:29 -05:00
whitespace.sh Add a whitespace check script 2017-05-20 11:17:45 -05:00

Openstack-Helm Gate Scripts

These scripts are used in the OpenStack-Helm Gates and can also be run locally to aid development and for demonstration purposes. Please note that they assume full control of a machine, and may be destructive in nature, so should only be run on a dedicated host.

Supported Platforms

Currently supported host platforms are:
  • Ubuntu 16.04
  • CentOS 7
  • Fedora 25

Usage (Single Node)

The Gate scripts use the setup_gate.sh as an entrypoint and are controlled by environment variables, an example of use to run the basic integration test is below:

export INTEGRATION=aio
export INTEGRATION_TYPE=basic
export PVC_BACKEND=ceph
./tools/gate/setup_gate.sh

Usage (Multi Node)

To use for a multinode deployment you simply need to set a few extra environment variables:

export INTEGRATION=multi
export INTEGRATION_TYPE=basic
export PVC_BACKEND=ceph
#IP of primary node:
export PRIMARY_NODE_IP=1.2.3.4
#IP's of subnodes:
export SUB_NODE_IPS="1.2.3.5 1.2.3.6 1.2.3.7"
#Location of SSH private key to use with subnodes:
export SSH_PRIVATE_KEY=/etc/nodepool/id_rsa
./tools/gate/setup_gate.sh

Options

Rather than ceph, you may use a nfs based backend. This option is especially useful on old or low spec machines, though is not currently supported with Linux Kernels >=4.10:

export PVC_BACKEND=nfs