Commit Graph

258 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
Paul Belanger 22ed0c232d
Stop using slave_scripts/install-distro-packages.sh
Migrate the legacy job to start using our bindep role from zuul-jobs.
This will allow openstack-infra to delete
slave_scripts/install-distro-packages.sh in the future.

Change-Id: Iffb98325afcabe73655e4d608ff15976000c3629
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-20 17:56:51 -04:00
Zuul 5a9fc94df0 Merge "Move kolla-k8s jobs to kolla repo" 2018-01-26 23:28:52 +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
Michal (inc0) Jastrzebski b8a7036c40 Move kolla-k8s jobs to kolla repo
First step in zuulv3

Change-Id: I78ea8a214f183314fcbfc57b0b18d8f2ed5fbe3d
2018-01-05 14:46:27 -08: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 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 3c8340e8eb Fix ironic gate
The ironic gate is looking for libvirt.pc on the host but it
is no longer installed. This PS adds the packages back.

Change-Id: I6f0c97f3715d39d4d1215bebc38cf8d1dc080582
2017-10-04 12:43:57 -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
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
Jenkins 25a215af83 Merge "Adding extra condition for simple cell0 create job" 2017-06-05 20:02:10 +00:00
Serguei Bezverkhi 29e0998e73 Adding extra condition for simple cell0 create job
Adding extra condition for simple cell0 create job, nova api will be checked
to confirm there is at least one compute in UP state.

Change-Id: Ic788397b114828ac5c36b7d6c0e4d6cc9ac71a56
2017-06-02 14:38:26 -04:00
Jenkins e01ef26428 Merge "Remove inspector files and configs from ironic-conductor" 2017-06-02 18:14:15 +00:00
Serguei Bezverkhi 6cc7f149e1 Fixing the image tag for ironic
Fixing the image tag for ironic, so it will use default image_tag
with only exception for Branch 2 and 3, where we have to use
3.0.0-beta.1 tag for ironic.

Change-Id: Ic8ba882391ce79e24f69183a371ef5fe78d9cfb5
2017-06-02 08:19:19 -04: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
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
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 bade52de5a Merge "Combine ironic-inspector deployments into one pod" 2017-05-25 19:21:21 +00:00
Sam Betts 9dc4087c81 Combine ironic-inspector deployments into one pod
For the ironic-inspector service to operate correctly it must run on the
same host as its TFTP and DNSmasq service. This is because the
ironic-inspector service needs to manage iptables for DNSmasq to prevent
node that are not in inspection from receiving DHCP responses from
DNSmasq. To achieve this, we should combine the containers providing
those services into the same deployment as the ironic-inspector service
to ensure they are always deployed together.

Change-Id: Ib3af723a2c8b2cffb6eacec6293c5ea7860ba72f
2017-05-25 14:46:18 +01: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
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
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
Sam Betts 19c8396e74 Deploy TFTP with inspector DNSmasq instance
We need to deploy TFTP to serve the ironic python agent images for
ironic inspector. This patch deploys it along side the DNSmasq instance
also used for Ironic inspector.

Change-Id: I5ba194b41601c6681c5211e016ab86870068f226
2017-05-05 15:30:55 -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 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
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
Sam Betts 12ece85bd6 Fix ironic-conductor so that it can run on multiple hosts
Currently you can only provide one IP address for the Ironic conductor
and conductor TFTP service to use. This doesn't work if you scale out
your conductors because every conductor needs a different address. This
patch allows the operator to provide a CIDR in cloud.yaml and the
ironic-conductor service will pick the IP address the host has in that
network.

Change-Id: I1321c0a7b0dfeadfb12e993d6ea38c0176328ff7
2017-04-25 16:23:22 +01:00
Jenkins c5b88df43a Merge "Test Ceph OSD Chart" 2017-04-20 20:18:36 +00:00
Kevin Fox 1289be43cb Test Ceph OSD Chart
This PS finishes the migration of the test Ceph to Helm.

Change-Id: I669976c366edfbb42b41152c934be7fc9557ee9a
2017-04-20 12:28:15 -07: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
Jenkins 0b41d60b96 Merge "Converting keepalived into helm charts" 2017-04-18 00:35:35 +00:00
Jenkins 1e85cf30c9 Merge "Add support for external interface bringup" 2017-04-17 23:41:29 +00:00
Serguei Bezverkhi 7dfb7299d9 Converting keepalived into helm charts
Converting keepalived into helm charts

Change-Id: I5cf1f75db46771236ed7f3553016df8cec6b23b2
Partially-Implements: blueprint more-microservices
2017-04-17 16:38:52 -04:00
Kevin Fox d93d39fdd1 Add support for external interface bringup
This PS adds support to the vswitch to start the external interface
if needed. It defaults to not doing anything.

Change-Id: I964d29b677de7ae9274f698489a331ba514def01
2017-04-17 13:21:13 -07:00
Steven Dake 2a0f1eccfe Fix a bug related to genconfig and iscsi
ansible-playbook was not called in one place - instead genconfig
was being called.  This exposed a problem where iscsi was not in
the site.yml file.  It further exposed a problem where the change
Id1b1cc3bb3c1790a77f9449ec5b0b5d1c67f91e4 was not applied.

Co-Authored-By: zhubingbing <zhu.bingbing@99cloud.net>
Change-Id: I0e731b233ab6b4d8182ae811e16c1aa398f40f39
Partially-Implements: blueprint move-config-to-kolla-k8s
2017-04-15 17:50:20 -07:00
Jenkins 72dba9ec61 Merge "Forcing ironic-compute registration with nova cell" 2017-04-15 01:12:03 +00:00
Steven Dake a1e0d65270 Import generate_passwords.py from kolla-ansible
This is a direct copy of generate_passwords.py from kolla-ansible to
remove the kolla-ansible dependency.

Change-Id: Ia8a19ee4e196c4bd5f6d42fe0f6ccfc36f0bfb7f
Partially-Implements: blueprint remove-deps
2017-04-14 19:03:04 -04:00
Serguei Bezverkhi 0996b57604 Forcing ironic-compute registration with nova cell
This PS addresses one racing condition when ironic gets requested to
deploy a bare metal node, but ironic-compute process has not yet
been registered with nova cell resulting deployment failure.

Change-Id: I160b7e1f9f6b1de0beb3a0eabb4d5ee668ab4788
2017-04-14 18:29:10 -04:00
Michal (inc0) Jastrzebski 3aa64eda32 Finalize move of configs to kolla-k8s
Remove gate workaround and add release notes

Change-Id: Iba69045299b5f68af73e182bd6c928bbc2697ca9
2017-04-14 09:15:47 -07:00
Michal (inc0) Jastrzebski 780c166858 Move ceph configs to kolla-k8s
step by step we'll get there

Change-Id: I46c6e651ba76e4e792e0826ae395f7b7370019d4
2017-04-14 09:13:09 -07:00
Kevin Fox ac616e4454 Placement support in nova service chart
Adds nova placement API support into the helm service chart for
nova controllers.

Co-Authored-By: Steven Dake <stdake@cisco.com>
Partially-Implements: blueprint gate-continuous-improvement
Implements: blueprint placement-api
Change-Id: I293c4a2fa63a985a84c477ac04524d84925ad884
2017-04-13 22:29:45 -04:00
zhubingbing 7d470a1eaf Move ironic config to kolla-k8s
genconfig is getting smaller and smaller

Change-Id: I5bdfde7f2f39388754522ce900277a9c5f52b94d
Partially-Implements: blueprint move-config-to-kolla-k8s
2017-04-13 09:44:40 -07:00
Michal (inc0) Jastrzebski af5c0fcd26 Move mariadb configs to k8s
Almost there...almost there...

Change-Id: I495cddb1f68b3d6404667c31b27a49c1b2b8a8d3
2017-04-12 23:25:05 +00:00
zhubingbing fd94d70ff8 Move heat config to kolla-k8s
genconfig is getting smaller and smaller

Change-Id: I2a597cc89c6d2e533cbf5fde4c5e2809ea736f08
Partially-Implements: blueprint move-config-to-kolla-k8s
2017-04-12 22:17:14 +00:00
zhubingbing b97f103ad8 Move rabbitmq config to kolla-k8s
genconfig is getting smaller and smaller

Change-Id: Ic18ae1fd6940ee8e4c07ae29175f85e11de1b964
Partially-Implements: blueprint move-config-to-kolla-k8s
Co-Authored-By: Michal (inc0) Jastrzebski <inc007@gmail.com>
2017-04-12 20:42:58 +00:00
Jenkins 87e0f9dd41 Merge "Update the version of cirros" 2017-04-08 16:51:21 +00:00