Commit Graph

225 Commits

Author SHA1 Message Date
Jeffrey Zhang 434b65c6ef Retire kolla-kubernetes project - step 3 remove project content
Depends-On: https://review.openstack.org/567779
Needed-By: https://review.openstack.org/568174
Change-Id: If5bdd602d5f5c8addba70235ac41c0a52cef2c11
2018-05-14 02:54:20 +00:00
Zuul d8db92328f Merge "Changed as per the standard convention set to use "."" 2018-01-11 09:48:22 +00:00
Zuul ccb01a0183 Merge "Zuulv3 iptables" 2018-01-08 22:54:41 +00:00
Kevin Fox d1cc97b1e2 Zuulv3 iptables
The switch to Zuulv3 changed the way iptables works, breaking all
the multinode gates. This makes it work again until we can find a
better solution.

Change-Id: Ia188038f6d0ffd8302086ff99981726be5ddccab
2018-01-08 21:52:12 +00:00
Zuul e457a23639 Merge "Cinder is missing the v3 API endpoints." 2018-01-04 22:07:38 +00:00
rwellum 57e664dd67 Cinder is missing the v3 API endpoints.
Communication between Cinder and Horizon requires V3 API endpoints.

This is catch up with kolla-ansible who already have this done.

Change-Id: Iba53ee680ca2b4b0c8753e1da16260868874529a
2018-01-03 14:50:19 -05:00
Kevin Zhao addf5f3401 Add architecture check when downloading helm and kubectl
There is an issue that setup-kubectl.sh and setup-helm.sh can only
download helm and kubectl for X86_64, but it cannot handle other
architectrues like arm64 or ppc64le.
This patch detects architecture and make the script architecture-aware,
so the script can download proper helm and kubectl for the corresponding
arm64 and ppc64le architectures, in addition to X86_64.

Closes-Bug: #1738743

Change-Id: I58a39268040797fdb3e39b9ff10b2cd7e0822386
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
2017-12-19 10:50:55 +08:00
Kevin Fox 1d1a9c2177 Remove the resolv.conf workaround
Newer Kubernetes supports a mode that eliminates the need for the
resolv.conf workaround. This removes the workaround and changes
the code to use the new mode.

Change-Id: I14a55d64b8fd49f71a78c0df2b75cd32d9f6a696
2017-10-05 14:17:23 -07:00
Kevin Fox b4f242f53e Fixes for Kubernetes 1.8
Kubernetes 1.8 removed some options that we were still using.
This ports the code to use the new way of doing things. It
also bumps canal to the the 1.7 branch that suppots 1.8 too.

Change-Id: Iafedc49fdca7d76c524e00ae5e9da603649ad0c6
2017-10-03 10:24:59 -07:00
Jenkins 772038e7c5 Merge "Drop pycrypto from utility genpwd.py" 2017-09-20 22:24:50 +00:00
Haikel Guemar 307d543761 Drop pycrypto from utility genpwd.py
pycrypto is unmaintained for a while and requirements team advises using
pycryptodome or cryptography libraries instead (see openstack-dev thread
[0]).

genpwd.py uses pycrypto to generate RSA keypair. This commit rewrite
generate_RSA function using python-cryptography while keeping strict 1:1
compatibility with previous code.

[0] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113568.html

Change-Id: I13f468c35adb7b2cf76b3d04d9d700aa8ea54a85
2017-09-20 14:05:59 -07:00
Surya Prakash Singh 3f1c597318 Changed as per the standard convention set to use "."
When we have to source a script file use . instead of source
For Reference follow below link:
https://docs.openstack.org/contributor-guide/writing-style/code-conventions

Change-Id: I73b50bb9496d0c82823f67dcc16f465ee8a96e87
2017-08-28 10:42:31 +00:00
Serguei Bezverkhi d3440608de Disable destroy_tests.sh as it constantly breaks ironic gate
Disable destroy_tests.sh as it constantly breaks ironic gate

Change-Id: I09655dca6d6b3fadbafd1a0d11b87c90d39b9664
2017-08-02 16:46:41 -04:00
Serguei Bezverkhi 497269c3d8 Adding lioadm iscsi_helper support to master
Adding support for lioadm as iscsi_helper for iscsi lvm
backend for cinder and converting gate job for master branch
to use lioadm helper instead of tgtadm.

Change-Id: I8beabd10755bb04c4819263e54170a780b879716
2017-07-18 19:57:58 -04:00
Serguei Bezverkhi 50fc348e39 Adding chart for docker registry and serving master images
Docker registry will be running as a pod, if configured, it will load
tarball with images and start serviceg then inside of a kubernetes cluster.

Change-Id: I9b0df3c27148b22b204403a38e8b49495e31e03f
2017-07-18 09:53:43 -04:00
Sam Betts 559d12e9be Make wait_for_pods.py work inside kubernetes cluster
Change-Id: I96be4b31cc6fba4c6a58dc19ea8aaca36fea02fb
2017-06-29 16:55:18 +01:00
Jenkins e01ef26428 Merge "Remove inspector files and configs from ironic-conductor" 2017-06-02 18:14:15 +00:00
Jenkins fd3c8a6b35 Merge "Remove Kolla Ansible Dependencies on AIO script" 2017-06-02 18:14:09 +00:00
Anthony Lin 79cadbb3fd Remove Kolla Ansible Dependencies on AIO script
This is an attempt to remove kolla ansible dependencies
from the kolla kubernetes AIO script

It will also remove the following 2 jobs from the AIO script as
they have become part of the nova-control and nova-compute charts

1) nova-cell0-create-db-job
2) nova-api-create-simple-cell-job

Change-Id: Ib45220a6882ede8fcc694aacacdea206e604d3dc
2017-05-30 23:24:35 -05:00
Jenkins 96d811d977 Merge "Remove pathfinder from call path of secret-generator" 2017-05-31 02:46:27 +00:00
Jenkins 53c74d1f69 Merge "Add a destroy workflow for kolla-kubernetes" 2017-05-30 17:37:09 +00:00
Steven Dake eea79392af Remove pathfinder from call path of secret-generator
Pathfinder is full of fail especially when attempting to remove
the pip install kolla-ansible operation.  To help that effort along
make secret-generator.py not depend on kubernetes_resources.yml which
really is overkill to specify a namespace.  For the moment hardcode
the namespace as this tool will likely be refactored into something
more helm-like.

Change-Id: Icec93b4c9162cb54956f5c48ea576bb360ad4458
2017-05-30 10:27:41 -07:00
Steven Dake 1ed48456ec Add a destroy workflow for kolla-kubernetes
This workflow deletes all of the following Kolla related objects:
* configmaps
* secrets
* helm charts
* PVs
* PVCs
* namespace
* labels

The cluster will be back to its original state after running this play.

The intent of this patch is to make this workflow available for consumption
by a container.

Implements: blueprint workflow-destroy
Change-Id: I92f50b421281b2bd8bdbcf9cd771f849ebfe7b3c
2017-05-30 09:01:18 -07:00
Jenkins 9449530b7a Merge "Remove pin on ansible<2.1" 2017-05-30 16:00:13 +00:00
Sam Betts fce880575c Remove inspector files and configs from ironic-conductor
The pxe default entry and the IPA agent files are only required for
inspection which runs its own TFTP server, so we remove them from the
conductor TFTP server because they can actually cause problems with
Ironic provisioning if left around.

Change-Id: I9f34f93add348b023d3d620688b8969c0a74ea5c
2017-05-30 15:20:00 +01:00
Jenkins dc9762cf0a Merge "Make sure pathfinder can find passwords.yml in etc/kolla" 2017-05-28 22:26:45 +00:00
Serguei Bezverkhi 13f2656473 cell0's should be deleted only when cell0 is enabled
cell0's should be deleted only when cell0 is enabled

Change-Id: I74865eff1e49a61d63bb08e8a4d12f7e75e4521f
2017-05-28 11:21:11 -04:00
Jenkins d4c9d48175 Merge "Script to Deploy Kolla Kubernetes AIO" 2017-05-27 20:29:43 +00:00
Steven Dake 0db639604d Remove pin on ansible<2.1
A newer version of ansible is required (2.2+) to make the destroy
Ansible workflow function.  This has no negative effect on genconfig.

Change-Id: I3baaf510eb103c6db1cb502b283db1cb099898d5
2017-05-27 11:15:09 -04:00
Anthony Lin 42101f143d Script to Deploy Kolla Kubernetes AIO
This is an attempt to consolidate the codes in the Gates so
that a developer can get a running Kolla Kubernetes cluster
on a CentOS 7 VM by executing the script.

There is no special requirements for the CentOS 7 VM. The
developer will install the CentOS using the minimal CentOS 7
disk.

The flow of the installation is similar to the bare metal
deployment guide.  The developer will need to provide 6
parameters to the script as that will be fed to the cloud.yaml

1) kube proxy IP
2) tunnel_interface
3) ext_interface_name
4) keepalived VIP
5) subnet size of management subnet
6) master/minion

We can execute the script by running the below command (note
that values vary from environment to environment):

tools/setup_kube_AIO.sh 192.168.122.241 eth0 eth1 192.168.122.254 24 master

Change-Id: I5ccb32d2174bb2403fd69f28f07aae1b3d1ec454
2017-05-23 21:12:31 -05:00
Jenkins 741c6d5be9 Merge "Remove the invariable value in string.format()" 2017-05-24 01:37:03 +00:00
Jenkins 8e341cfd07 Merge "Fixing some issues with v4 gates" 2017-05-23 20:02:13 +00:00
Sam Betts b8d4f1ef36 Make sure pathfinder can find passwords.yml in etc/kolla
Change-Id: I9e97950e77424bd0da944ac15e730c98e5c22dea
2017-05-23 17:45:37 +01:00
Jenkins da49522032 Merge "Remove workaround for broken 1.6.3" 2017-05-23 16:06:05 +00:00
Serguei Bezverkhi addd78e83a Fixing some issues with v4 gates
1. kolla_install_type must be changed if gate job type is source
2. if Branch is v4, change image tags to 4.0.0
3. Adding cell related activities to nova service charts

Partially-Implements: blueprint gate-continuous-improvement

Change-Id: Ib99a7a71cd511854084514db4eba1db6d3a10a36
2017-05-23 11:52:24 -04:00
zhuzeyu 777ddb3b4a Remove the invariable value in string.format()
There is no need to put a invariable value in format

Change-Id: If8ed83059ffe5aed8088cf3b91fc780f3a9cfdee
2017-05-23 16:32:20 +08:00
Jenkins 7fce504dc9 Merge "v4 gate." 2017-05-23 02:33:24 +00:00
Kevin Fox 23e022f33b v4 gate.
This PS adds support for kolla 4.x containers to implement the
centos-binary-4-ceph-multi-nv gate.

Change-Id: I98917ebe58b010aff39d7d9539cb2a7cdbd460ac
2017-05-22 09:38:55 -07:00
Kevin Fox b63bc6581c Remove workaround for broken 1.6.3
1.6.4 was released so the workaround should not be required any
more.

Change-Id: I88456ba0e5b6d3c144033181dd1e64ed7fbf010b
2017-05-19 13:10:42 -07:00
Sam Betts df177f8429 Remove kolla-ansible dependencies
The secrets generator still fails if kolla-ansible isn't installed
because it continues to look for files installed from that package. This
patch changes the code to look at the ansible code location in the
kolla-kubernetes package.

Change-Id: Idd3e35b198ebf0d4c109906b18234bd06e74d48f
2017-05-18 12:03:31 +01:00
Serguei Bezverkhi c897e8f9bf Temp workaround for kubelet 45613 bug
Compiled kubelet 1.6.3 with the 45613 fix is used at the gate. It will be
removed after the fix gets into the repo.

Change-Id: Ib8c7df9955b6050e57f37f89412ca98331b22ddf
2017-05-14 18:35:09 -04:00
Serguei Bezverkhi 03dbb4e09e Fix for new canal.yaml location
Fix for new canal.yaml location

Change-Id: Ib4e6ac01501373eb04c388b1290f77f9563d130d
2017-05-02 16:19:06 -04:00
Jenkins 7c8e2af29f Merge "Make helm microcharts building message" 2017-04-30 02:01:55 +00:00
Jenkins 1032dcc54d Merge "Add Initial Prometheus support." 2017-04-30 01:14:18 +00:00
Serguei Bezverkhi 01033602ff Fix the gate for infra's new ssh requirement
Fix the gate for infra's new ssh requirement

Change-Id: I8848b2659758e14563c7790737f4e03fed2827db
2017-04-28 11:27:35 -04:00
Seyong Um 6b3df50bee Make helm microcharts building message
Make it tidy by adding a space between different sentences printed during building helm microcharts

Before:
Processing 99/173Saving 1 charts
Processing 100/173Saving 1 charts
Processing 101/173Saving 1 charts

After:
Processing  99/173 Saving 1 charts
Processing 100/173 Saving 1 charts
Processing 101/173 Saving 1 charts

Change-Id: I61d80cb6de987b5c003b29af322794e22e493780
2017-04-28 15:03:15 +09:00
Kevin Fox c0f8c53b89 Add Initial Prometheus support.
This PS starts adding Prometheus support. It adds
monitoring of the python api based services.

Partially-Implements: blueprint prometheus

Change-Id: I6f431087565b8574add10d5cc6bee299b7df471c
2017-04-26 16:02:00 -07:00
Jenkins e690299c56 Merge "Version 0.7.0" 2017-04-19 04:25:43 +00:00
Steven Dake c570ff587f Version 0.7.0
Modify version #'s to 0.7.0.

Change-Id: I538bfeb866793f85ba4369443d3656667a9a5ea2
2017-04-18 07:18:08 -07:00
Serguei Bezverkhi a276e345d8 Pinning OS_VOLUME_API_VERSION=2
With Ocata images Cinder api v3 is used by default by cinder client,
since we do not yet support cinder api v3, pinning v2.

Change-Id: I81a33649723b75efcb45743042d35fe98273ee0b
2017-04-18 09:06:25 -04:00