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
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>
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>
This PS removes the unused pull images role and playbook.
Change-Id: Ic26035c3f58efb6269fd58e570601cccfdd84949
Signed-off-by: Pete Birley <pete@port.direct>
This PS removes the unused helm chart deployment role and playbook.
Change-Id: I01c58a628589ec35af2557c8cc93ea47fe084089
Signed-off-by: Pete Birley <pete@port.direct>
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>
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
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>
This PS bumps the k8s version to that of the current release.
Change-Id: Ife6edac83f6e7639d6142d64aff458450a2e58ff
Signed-off-by: Pete Birley <pete@port.direct>
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>
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>
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>
Upgrades the kubernetes version to v1.10.5 from v1.10.4.
Change-Id: Ic2a1f73c935136135e587945180e67ac928f8178
Signed-off-by: Tin Lam <tin@irrational.io>
When the system is restarted, the helm service is not running,
which results in the failure of the helm command.
Change-Id: I476b7f2e8fc0948d0fb04f51d852080281c265bf
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>
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>
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>
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>
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>
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>
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
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