This ps stops and removes the test VM after we have finished with it.
This frees up resources for the helm tests to use on the small machines
we have avalible in openstack-infra.
Change-Id: I743d8a9271bd349636ffc57e86255cc967633844
This PS adds 'helm test' functionality using Rally to Nova
Change-Id: Ie53c42636b58e36c22a9260c67a7981183d741d3
Partial-Implements: blueprint implement-helm-test-for-charts
External-Tracking-Id: OSH-89
This PS adds basic vm booting and functional testing to the single node
Zuul gates. Multinode testing will be once we have ceph running in zuul.
Change-Id: Ifcbdcaa4a30dee4088e369d4410dd737ef6f12cd
This PS fixes the MVP values file to permit VM's to both be accessed
and access external networks.
Change-Id: If2243e55747c771ecd5fd9e2f4fb683899aa6623
This PS makes the init of the KubeADM environment more stable by ensuring
all kube-system pods are up before trying to launch tiller. the NFS PVC
provider is now made optional but enabled by default, so that Ceph (and
other more complex providers) can be supported in future. Finaly the
scripts to bring up k8s/helm are refined to not bring in the clients if
already present with the correct versions on the host.
Change-Id: I4d7ceb6196e8fd5e3350ec99f09fbe6bb5fe01f6
When the linter fails due to trailing whitespaces, the trapped
dump_logs.sh execution will attempt to collect logs using kubectl,
which is not installed, causing further errors in the log.
This patch set prevents the log gathering if kubectl does not
exists.
Change-Id: I83c13caec2ece7cc8ec9bfd838ae7d4af9dcbed3
This patch set cleans up some whitespaces introduced in preparation
for the linter gate to be voting.
Change-Id: If92a754204c40171b055bfd71eb03ff519955f9d
This patch set removes the need to create a temporary directory
brought up in patch set [0].
[0] https://review.openstack.org/#/c/472451/
Change-Id: I57448d9722a33bb63fca5576d19b61f3015828ec
Conditionals: since the developer flag is no longer used by the
glance chart, it's no longer a good example. However, we want to
keep the flag around for future use if needed. So, replaced with
a foo/bar example.
gen-oslo-openstack-helm README: it referred to "this directory",
which doesn't make sense when the README is sourced into the
overall ops guide. Specified the directory explicitly.
Change-Id: I2ba02bd3efd87e58fcb701c8b7c2bb6af05994ba
This PS sets up the check scripts to support a N node gate in zuul
it also adds more comprehensive logging of OS-H.
Change-Id: Id2af01c688a438eeec348f221fb05b09401c80a0
There are two spots where docker log is run without sudo, and
without sudo the command will usually fail and the loop will
never be exited. This would only be hit on an error.
Change-Id: I4335783478ad2583b581bd9264b029e929bfc8c3
This PS introduces 'helm test' functionaility to keystone and
provides the basic framwork for charts to use.
Change-Id: Ie84a6ca0ed007fb55e10d503d1c3e49788908eec
Partial-Implements: blueprint implement-helm-test-for-charts
This PS introduces a 2 node check in zuul, it uses the KubeADM-AIO
container to stand up a master and worker node, before deploying
OpenStack-Helm using NFS as a PV backend. This check is a stopgap
untill a 3 node gate is deployed which will use ceph and enable
HA of all components to be tested.
Change-Id: I7bb70e6b103a483a0e1df1492fa2047d229eb86f
-r on xargs will not run the command if the input is empty.
Otherwise the command will get run once and it will fail, though
the || true catches the error. With this the || true can be
removed.
Change-Id: I12fbe83b69de39d0cae67e337cbacf8cfab02180
This PS also pins the remaining components of the kubelet, moves
the K8s version to 1.6.4 and restores CentOS 7 operation.
Change-Id: Ia32c9e02dbf9451c13addce436f6e36f5a0a622f
This PS moves the dev contents to the tools directory as well
as updates the VagrantFile to use the existing scripts
for installing kubeadm-aio and deploying helm charts.
Change-Id: I6768d1f96abe6b15f66931d543e9adcc0e82829b
This PS adds a dry-run to all the charts in OpenStack-Helm as part
of the Checking process. The output is logged to a ./log dir by
default so the results are caught and handled by the devstack-logs
publisher.
Change-Id: I8f82e371b5098c97311d51071ebb60e8734c2900
Allow glance to use the "pvc" method, this was previously called file
but has been renamed for clarity.
We now require Kubernetes 1.6 or later; remove the storage annotation
in favor of storageClassName.
Change-Id: I315eaf68937f91b56c1a26954072bda53767c606
This patch sets put in whitespace check against all files except .tgz,
files in hidden directory or things in the doc/build folder. Enforcing
the cleanup work in [0]. Also fixed two readmes' trailing blank spaces.
[0] https://review.openstack.org/#/c/466409/
Change-Id: I21ee232e4d502ca2db9dbf012624d6552d0f7ad2
This PS adds support for CentOS, Fedora and running the gate locally
on a developers machine. It also expands on the original gate scripts
by setting up dns access to the OpenStack cluster from the host's
running OpenStack-Helm using a daemonset.
Change-Id: I99c573a44a73452d558e612fc020e22e7f41ade7
This PS makes the versioning of kubeadm and kubelet a bit easier to
control. It also directs users and the gate to use a published image
providing a consistent known good state to start from.
Change-Id: I052c1784c8549f6f1cb6137bd01e40cec6476249
This patch set is setting up initial lint gate job for the
OpenStack-Helm project.
Co-Authored-By: Alexis Rivera <gardlt@tetrasol.org>
Change-Id: I6ebf2d22467f1c56f474c437abd94e5cc4055ee1
This PS updates the NFS Image, and moves the CNI to use Canal as
the backend for container networking.
Change-Id: Iade12181be9a427bad7bc5eb2658eefacbff0279