Commit Graph

40 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
Kevin Fox d634fa6a9e Docker Logging Support
Support configuring the services to just dump out to stdout/error to
get picked up by docker logging mechanisms. This allows kubectl logs
and kubernetes log plugins to be supported out of the box.

Change-Id: If572f8d2657b0ae7a97f5a9fa0bc17697de740a3
Partially-Implements: blueprint centralized-logging
Partially-Implements: blueprint docker-logging
2018-01-08 13:57:39 -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
rwellum 3a5a23f1ee Stop kolla-kubernetes pike nova-libvirt containers crashing.
kolla-kubernetes changes:

Deploying Nova libvirt container with Kolla kubernetes
and pike images has not been possible as the nova-libvirt
container constantly crashes - causing nova api and other
services to not come up.

The issues are a combination of https://review.openstack.org/#/c/492552
and other missing TLS/Qemu issues previously fixed in
kolla-ansible but not ported to kolla-kubernetes.

In particular, turn listen_tls off, and make sure using kvm or
qemu appropriately. However if TLS is enabled, make sure the correct
SSL header is used.

ko.py changes:

A series of small fixups - primarily to handle libvirt better,
as a result of debugging and fixing libvirt nova issues.

Two new options to edit globals.yaml and cloud.yaml.

Updated default versions for helm and k8s.

Various additions to change and fix bugs.

Cleaner info output at beginning.

nova.conf additions as per deployment guide.

Remove libvirt running on host as well as nasty apparmor.

Feature: give user the options of specifying their own docker
repo. Very useful for running with own images.

closes-bug: 1733806

Change-Id: I9424ddb2757139999b8b575bec27ed435b3d26da
2017-11-29 15:43:28 -05:00
Eric Peterson dc51aac656 Add missing setting for novncproxy_base_url
This change adds novncproxy_base_url to the ansible template.

Change-Id: I354e30e66ba88321159df45b519314556bba775f
Closes-bug: #1699342
2017-06-26 14:11:13 +00:00
Jenkins e01ef26428 Merge "Remove inspector files and configs from ironic-conductor" 2017-06-02 18:14:15 +00: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
Jenkins 796cbc4d94 Merge "Remove useless modules in ansible/library" 2017-05-27 20:42:27 +00:00
Jenkins d4c9d48175 Merge "Script to Deploy Kolla Kubernetes AIO" 2017-05-27 20:29:43 +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
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 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
Jenkins 651eeba2b1 Merge "Remove the checking in neutron tasks" 2017-05-02 16:45:22 +00:00
Jenkins ff47eb3f22 Merge "Memcached Prometheus support." 2017-04-30 01:17:09 +00:00
Kevin Fox f7364e9a0d Memcached Prometheus support.
This PS adds Prometheus support for monitoring Memcached.

Change-Id: I49713a16f3d8e714f242e716a46061b427ade774
Partially-Implements: blueprint prometheus
2017-04-26 17:41:30 -07:00
Sam Betts b32a31cff9 Ensure that /tftpboot/pxelinux.cfg is owned by Ironic
The pxelinux.cfg directory gets created but isn't owned by the correct
user. This patch ensures that the permissions are correctly updated.

Change-Id: Iff75e7b2b04bc785c050540cc7283f0a2f71404c
2017-04-25 16:58:04 +01: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
zhuzeyu 26fe6d8ed6 Remove useless modules in ansible/library
Generating configuration in kolla-k8s doesn't need those modules

Change-Id: I0263e48a28fac3775d4d6b7e71a1d396141d7c97
Partially-Implements: blueprint move-config-to-kolla-k8s
2017-04-15 14:43:33 +08:00
zhuzeyu f4e8249c91 Remove the checking in neutron tasks
Generating configuration doesn't need those checking

Change-Id: Id200b06a6c35c802d8717cfc4fc400f599a933ec
Partially-Implements: blueprint move-config-to-kolla-k8s
2017-04-15 14:38:28 +08: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
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 2500378c9a Merge "Fernet Token Support" 2017-04-06 20:40:38 +00:00
Kevin Fox b2635d9769 Fernet Token Support
This PS adds Keystone Fernet Token support to Kolla Kubernetes.

Partially-Implements: blueprint fernet-token-support

Change-Id: I6b142b4ef881d3a9cb0a0e7d2db9b84d2b1663a8
2017-04-05 13:12:51 -07:00
Jenkins 092330548e Merge "Disable placement for v3 gate." 2017-04-05 17:08:08 +00:00
Kevin Fox 57ad4c0cf8 Disable placement for v3 gate.
A previous PS to kolla-ansible broke the 3.x gate by enabling
the nova placement api. This disables it again.

Change-Id: I03927882b2abd6c8a5989b86c60a7baeb584a9f2
2017-04-04 17:31:11 -07:00
zhubingbing 12d1b84e8b Move cinder config to kolla-k8s
genconfig is getting smaller and smaller

Change-Id: I165fb7409f570f3ebe191eae39c2c78c38e34536
Partially-Implements: blueprint move-config-to-kolla-k8s
Co-Authored-By: Michal (inc0) Jastrzebski <inc007@gmail.com>
2017-04-04 19:22:45 +00:00
zhubingbing 8171bc2223 Move memcached config to kolla-k8s
genconfig is getting smaller and smaller

Change-Id: Ib2977050251242bd2c256a514f8d5e0c67fe8e77
Partially-Implements: blueprint move-config-to-kolla-k8s
Co-Authored-By: Michal (inc0) Jastrzebski <inc007@gmail.com>
2017-04-04 19:08:34 +00:00
Michal (inc0) Jastrzebski 6543ea7bbe Move nova confs to k8s
Another step...

Change-Id: I4101b7b198a6df0007586029cd3ee9030cebd131
2017-04-03 19:22:37 +00:00
zhubingbing 2bd255d8b4
Move horizon config to kolla-k8s
genconfig is getting smaller and smaller

Change-Id: I0e4e6dd259c954981d7744c073dd38e7fd46c6bc
Partially-Implements: blueprint move-config-to-kolla-k8s
2017-03-29 01:39:43 +08:00
Michal (inc0) Jastrzebski c0123fd4bd Move glance config to kolla-k8s
genconfig is getting smaller and smaller

Change-Id: Iac56dffa987f063b7435fb997b94b704fa137642
2017-03-27 18:37:21 +00:00
Michal (inc0) Jastrzebski 3ed57075e2 Move keystone configuration to kolla-k8s
Another role moved

Change-Id: Id701cc58ffc32e618962499d3a98f8949339c1fb
2017-03-23 21:47:32 +00:00
Michal (inc0) Jastrzebski 1df5ebfc20 WIP Move config generation to kolla-k8s
run it with ansible-playbook  -e @/etc/kolla/globals.yml -e
@/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla ./site.yml

Change-Id: I568475fa90cf446c9fedf04a45ea2eb35dbd47e7
2017-03-23 16:59:53 +00:00
Ryan Hallisey c0fa884857 Remove ansible dir from kolla-kubernetes
The project is going to move on to using a different
method of deployment.

Change-Id: I4feb022284b6b4c16a2876466f81989aca6847fc
2016-11-07 10:25:51 -05:00
Serguei Bezverkhi 412731adb9 Builds ansible directory structure for kolla-kubernetes
This PS builds ansible directory structure currently missing
in kolla-kubernetes repo.

Change-Id: I5ccc62b9553218a0dfa6b04377e23e932e14b87f
Partially-implements: blueprint ansible-orchestration
2016-06-29 15:23:45 -04:00