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
Communication between Cinder and Horizon requires V3 API endpoints.
This is catch up with kolla-ansible who already have this done.
Change-Id: Iba53ee680ca2b4b0c8753e1da16260868874529a
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>
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
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
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
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
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
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
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
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
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
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
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
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
This PS adds support for kolla 4.x containers to implement the
centos-binary-4-ceph-multi-nv gate.
Change-Id: I98917ebe58b010aff39d7d9539cb2a7cdbd460ac
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
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
This PS starts adding Prometheus support. It adds
monitoring of the python api based services.
Partially-Implements: blueprint prometheus
Change-Id: I6f431087565b8574add10d5cc6bee299b7df471c
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