95 Commits

Author SHA1 Message Date
Chris Wedgwood
b10ebbb63a [gate] Use Kubernetes 1.10.9
Change-Id: I5bb951f455fa6d7d344a264336a2a9b985fd85f4
2018-10-29 15:10:35 +00:00
Roman Gorshunov
da31cacafd Externalize some repo URL vars to allow runtime modification
This is to be able to use local mirror of certain packages.

Change-Id: Ia06c6df0628ce5a44ed072c875eaa65d1343c65d
2018-10-15 17:10:10 +00:00
Zuul
bfb1c2a498 Merge "Replace docker-py with docker" 2018-10-12 22:15:15 +00:00
Gage Hugo
650214e149 Replace docker-py with docker
docker-py's last release is outdated[0], last updated Nov 2016 while
the more up-to-date "docker" release[1] is still maintained. This
changes the use of "docker-py" to "docker".

[0] https://pypi.org/project/docker-py/
[1] https://pypi.org/project/docker/

Change-Id: I78fe5e426631c5ea5e0d128dc30fd55c81cca2e0
2018-10-08 21:58:00 +00:00
Pete Birley
c7f7091739 Gate: refactor gate script running
This is the 1st in a series of commits to reduce the complexity
of the gate playbooks, follow on work will target gates more
specificly to both reduce infra load and improve coverage.

This PS also removes the unused ldap-deploy playbook.

Change-Id: Ie4ddabe86d71008611c6cc5015a927e32c54fa35
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-08 04:51:59 +00:00
Pete Birley
19376ee9e6 Gate: Move to K8s 1.10.8
This PS moves to use k8s 1.10.8, which includes a couple of fixes
for PVC mounts.

* https://github.com/kubernetes/kubernetes/pull/66863

Change-Id: Ica30950a8200f5755897b51fd2b4d24c69a10e61
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-05 07:44:42 -05:00
Pete Birley
46935734af Gate: remove unused pull images role and playbook
This PS removes the unused pull images role and playbook.

Change-Id: Ic26035c3f58efb6269fd58e570601cccfdd84949
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-05 01:43:40 +00:00
Pete Birley
feeeed4d5d Gate: Remove unused helm chart deployment role and playbook
This PS removes the unused helm chart deployment role and playbook.

Change-Id: I01c58a628589ec35af2557c8cc93ea47fe084089
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-05 01:43:33 +00:00
Pete Birley
16a6f7af8f Gate: Tolerate failures in log collection tasks
This PS updates the gate tasks to tollerate failures in the post
run log collection tasks.

Change-Id: I8b982112955f4112e8107a7eae35680aa68c87ab
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-05 01:42:56 +00:00
sai battina
e155c92f14 Helm: Update helm to 2.11.0
This helps to fix a bug when adding stable repos

Change-Id: I3eb28a037f7eb22016a29bc36e4a791a5bfda852
2018-09-25 18:14:49 +00:00
Loic Nicolle
02789f0701 Fix python-pip install for centOS system
When trying to install gate-based on centOS7
The installer fail to install properly "pip"
it install python-devel instead of python-pip

There is no error in the current CI because pip
is already present so this step is skip by ansible.

Change-Id: Ia24c9eb444058e004039984ed61eff3de4403575
Story: #2003602
2018-09-05 14:13:19 +02:00
Zuul
b6fc24b996 Merge "Revert "Update OSH Author copyrights to OSF"" 2018-08-28 19:33:45 +00:00
Jean-Philippe Evrard
bf069b2311 Revert "Update OSH Author copyrights to OSF"
This reverts commit 178aa271a44956e86f4e962bf815fa827d93c9af.

Change-Id: I38a52d866527dfff2689b618e055f439bc248c13
2018-08-28 17:25:54 +00:00
Zuul
1a33c34cbd Merge "Update OSH Author copyrights to OSF" 2018-08-28 15:23:49 +00:00
Zuul
880fb954de Merge "K8S: Update to current 1.10.x release" 2018-08-27 17:37:25 +00:00
Matt McEuen
178aa271a4 Update OSH Author copyrights to OSF
This PS updates the "Openstack-Helm Authors" copyright attribution
to be the "OpenStack Foundation", as decided in the 2018-03-20
team meeting:
http://eavesdrop.openstack.org/meetings/openstack_helm/2018/openstack_helm.2018-03-20-15.00.log.html

No other copyright attributions were changed.

Change-Id: I1137dee2ae5728771835f4b33fcaff60fcc22ca9
2018-08-26 17:17:06 -05:00
Pete Birley
2f7d12f61d Helm: dont update the default stable repo on install
Helm now tries to update the stable repo when running helm init
by default. This ps adds the flag to prevent this, which is required
when running in airgapped, and some corporate, environments.

This PS adds a previously misssed instance.

Change-Id: I9095863d46e320b6ea486d3837e6aa3c4298046e
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-23 15:04:24 -05:00
Pete Birley
c5feca82a3 K8S: Update to current 1.10.x release
This PS bumps the k8s version to that of the current release.

Change-Id: Ife6edac83f6e7639d6142d64aff458450a2e58ff
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-23 12:28:22 -05:00
Pete Birley
c62c5dcf88 Helm: Move to use 2.10 release
This PS moves to use the Helm 2.10 release, which brings in a version
of sprig that supports TLS certificate creation from defined CAs.

Change-Id: I80233f8f31727c80bcd667cfa0d851488da39588
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-21 15:52:20 +00:00
Pete Birley
9e2d684188 K8s: update to 1.10.6 in OSH gates
This PS bumps the version of k8s used in the gates to 1.10.6

Change-Id: I396fe0c0e276d17eb52bfe289a464b7008b8d4d2
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-30 18:30:59 -05:00
Zuul
5d622a806e Merge "Enable systemd service helm-serve" 2018-07-03 06:45:40 +00:00
chenlx
c46f2c9c98 Rename deploy jq role name
Change role name from deploy-yq to deploy-jq for better understand

Change-Id: If853bad049f97367b60e2c7c061af558457a88a5
2018-07-02 04:11:14 +00:00
Pete Birley
ce21f6e96d Gate: Add support for testing fqdn over-rides in zuul
This PS adds support for testing fqdn over-rides in zuul gates.
When enabled it will direct requests to a configurable domain to
the default ip of the primary node.

Change-Id: I3d9a4a0bf06532caf0f544d44027493622f4ae5b
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-25 02:42:09 +00:00
Tin Lam
bb7842f39f Kubernetes: Bump version to 1.10.5
Upgrades the kubernetes version to v1.10.5 from v1.10.4.

Change-Id: Ic2a1f73c935136135e587945180e67ac928f8178
Signed-off-by: Tin Lam <tin@irrational.io>
2018-06-22 17:00:12 +00:00
chenlx
59eb4ce375 Enable systemd service helm-serve
When the system is restarted, the helm service is not running,
which results in the failure of the helm command.

Change-Id: I476b7f2e8fc0948d0fb04f51d852080281c265bf
2018-06-20 13:39:41 +08:00
Zuul
bae870c4e0 Merge "Fix the task name when remove helm stable repo" 2018-06-14 22:19:59 +00:00
Tin Lam
44cb51e3ab Remove a check for docker proxy task
This patch set will allow the docker setting to take effect even if
docker is already installed. The proxy setting will take effect as
long as the proxy variables are in place.

Change-Id: I1df812001d37d094fc3a31bea9e13d1488277a67
Signed-off-by: Tin Lam <tin@irrational.io>
2018-06-12 12:58:12 -05:00
Pete Birley
9f1cfbacd8 Gate: dont deploy hwe kernel by default
This PS updates the gate to not deploy the hwe kernel by default
on ubuntu nodes.

Change-Id: I2ea6ba899ad022d0203874693fd5f16dc76535e2
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-12 01:03:31 +00:00
Pete Birley
b6ee0e3da3 Kubernetes: Bump version to 1.10.4
This PS bumps the k8s version to v1.10.4

Change-Id: I1f07653a6f26a4796f30ce1f0df9937fb32c2b43
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-10 02:59:09 +00:00
Pete Birley
9e96b0fae2 Gate: fix waiting for nodes following zuul ansible update
For some reason it appears that the task to wait for nodes to come up
requires privilege escalation to work. I suspect this is due to
interation between ansible 2.5.4 and zuuls log streamer, but am not
sure. In the meantime this PS unblocks the gates.

Change-Id: I705f2ddf3facfe56838f606f88cfb15b822d18a5
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-10 02:43:55 +00:00
zhulingjie
7ba5e204ac Fix the task name when remove helm stable repo
Change-Id: Ia49c538cfa349a455dc1d85810aa0c3fe72aec59
2018-06-07 15:39:06 -04:00
Pete Birley
39d93dbe23 Kube: Update to kubernetes 1.10.3
This PS updates the version of kubernetes deployed in the gates/dev
env to 1.10.3.

Change-Id: I4916a669ab0cb58760c0497b2264d4a7d0a9bffe
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-04 09:35:26 -05:00
Tin Lam
b80d9146d1 Update helm to v2.9.1
This patchset updates helm version to v2.9.1.

Change-Id: I438142cd9649749933fbe7153d149e7d0b0a5537
Signed-off-by: Tin Lam <tin@irrational.io>
2018-05-19 14:56:20 +00:00
Pete Birley
39e1f7f9f3 KubeADM: Keystone Kubernetes Webhook
This PS adds the ability to deploy the Keystone Kubernetes Webhook
chart via kubeadm-aio

Change-Id: I18b0477a775de942f940e9c0984559089dca1cdb
Co-Authored-By: Tin Lam <tin@irrational.io>
Co-Authored-By: Gage Hugo <gagehugo@gmail.com>
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-18 00:53:58 -05:00
Pete Birley
70cfb0d341 Fedora: fix mount propagation support with kubernetes 1.10.x
This PS restores operation of fluentbit on fedora with kubernetes
>= 1.10.x.

Change-Id: I905c20794a6cc38fad3b048a916b7693226f865c
2018-05-17 01:11:05 +00:00
Zuul
b5c63ea4be Merge "Gate: place role default vars within the role" 2018-05-14 18:27:59 +00:00
Pete Birley
559910e358 Gate: Disable local nameserver
disable the local nameserver as it interferes with the k8s
dns-service and other local resolvers used for development use.

Change-Id: I32c8e752675b037610f77c8baee1c1636d5a032e
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-14 01:38:38 -05:00
Pete Birley
be3f300623 Gate: place role default vars within the role
This PS places the role default vars within the appropriate role,
in addition it exposes kubeadm's selfhosted param and deploys the
kubeadm binary to master nodes.

This PS exposes the selfhosted param, and deploys kubeadm to master
nodes.

Change-Id: I5ad1b593a711ffe353b012394d54044dede0691d
2018-05-14 03:28:31 +00:00
Pete Birley
903ab24b34 Gate: Dont deploy pip dist package if already installed
This PS stops the gate playbook trying to deploy pip via dist
packages if its already deployed.

Change-Id: I8c4f41ad1253c03d523646a6df696e8b115cf528
2018-05-13 15:53:07 +00:00
Pete Birley
dd92edfb58 Gate: use infra mirror when in infra for kubeadm aio image
This PS uses the infra mirrors in the kubeadm aio build when
running the gate in openstack-infra.

Change-Id: Id9a4bf2b13051dfcf5aea688511da24cd245de9c
2018-05-11 16:43:22 -05:00
Pete Birley
b9edac6148 Kubernetes: enable mount propagation
This PS enables the mount propogation feature gate.

Change-Id: I7a37f45ff6061b144c6f04233712cd84fccb3e83
2018-04-22 15:35:40 -05:00
Pete Birley
39ab1c3b5d Gate: Improve centos support
This PS updates the CentOS Gate.

Change-Id: Ic29b9e5949fb3fb3433802f7933208f3cabfef72
2018-04-20 11:28:36 -05:00
Pete Birley
5750d2a01f Gate: update Ansible conventions
Using tests as filters is deprecated, and will be removed in 2.9.

Change-Id: I2bc31177cdb3d59319c4cb04f77db573f3217479
2018-04-18 23:32:35 -05:00
Pete Birley
37d836c8c7 Gate/Dev: RPM and structure improvements
This PS restores the use of the distro provided docker for RPM based
distros. It also removes the roles subdirectory from the playbooks
and replaces it with a symlink for local dev use.

Change-Id: Ic11adb85813e92488f5ebbe6714ad7da8d3938e2
2018-04-18 13:56:47 -05:00
Steve Wilkerson
9dd81954fd Move roles and playbooks to top level
This proposes moving the playbooks and roles to the top level of
osh-infra to be consumed by osh

Change-Id: I7e3516da8e516060f94b8b9c8875918504de7446
2018-04-09 20:52:18 -05:00