Commit Graph

1136 Commits

Author SHA1 Message Date
OpenDev Sysadmins 80096d0dad OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:39 +00:00
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
wangqi 9870692e79 fix link
Change-Id: Ica78d7c71b93d02cfdf9fd2f095b56fff17330b4
2018-02-23 10:39:11 +00:00
Zuul 1f5c3b1bca Merge "Really use imported Zuul jobs" 2018-02-12 20:01:12 +00:00
Andreas Jaeger 1669d22876 Really use imported Zuul jobs
Zuul only handles .yaml as file extension, so rename the file so that it
gets used.

Fix the file so that tests work:
* Add kolla-kubernetes-base, it was missing here.
* Fix path of playbooks.
* Remove extra "---" and project name since it's not needed anymore (the
  scripted change does not catch this, since it's an invalid file).
* Use legacy nodesets.

Needed-By: https://review.openstack.org/540670
Change-Id: I0320fc692a26ba2f4c973eaeef9d2df9d9fde536
2018-02-04 20:16:33 +01:00
Kevin Fox d434f4a41e Update doc to use the right genconfig.
Change-Id: Ic7dd4f829c7533d578285f5b64ae5364011b9cb4
2018-02-01 16:55:01 -08:00
Zuul 8a1ec44980 Merge "Plethora of changes to add functionality and fix basic issues." 2018-01-30 17:56:16 +00:00
Zuul 5a9fc94df0 Merge "Move kolla-k8s jobs to kolla repo" 2018-01-26 23:28:52 +00:00
Zuul d410684e72 Merge "Fixing the README table formatting for the three deliverables." 2018-01-24 18:13:30 +00:00
Zuul d8db92328f Merge "Changed as per the standard convention set to use "."" 2018-01-11 09:48:22 +00:00
rwellum abc1aa9755 Plethora of changes to add functionality and fix basic issues.
1. Added Weave as a working CNI/SDS for inter pod communication.
Weave is far more secure than Canal and gives the user another
option to test and play with.

2. Updated tools, kubernetes, ansible, jinja2 etc. Latest k8s
added and tested.

3. Clean up (-cc) now cleans up docker images much more effectively.

4. Support for Ocata, Pike and Master (Queens)!

5. Support added for customer images in custom repo.

6. Support added for custom tags.

7. Pike and Master Nova work-arounds.

8. Addition of option to run fluent-bit container which now picks
up the logs from containers and forwards to ELK etc.

9. Lots of code and message format consistency.

10. Removal Pike Docker registry work-around - now works with real
images from dockerhub.

11. Cinder V3 API integration (still dev mode).

Change-Id: I35d3cd6a09425a2a0fd5080e9eb4f4e8bb957b5d
2018-01-10 17:55:56 -05:00
Zuul 9decf7410d Merge "Docker Logging Support" 2018-01-09 17:07:46 +00:00
Zuul 553944fd0c Merge "Updated the doc" 2018-01-09 14:26:03 +00:00
Zuul ccb01a0183 Merge "Zuulv3 iptables" 2018-01-08 22:54:41 +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
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
Zuul 5ef59653e5 Merge "Deploy with ansible inside orchestration container" 2018-01-05 19:47:05 +00:00
Justin Scott 29461d6850 Deploy with ansible inside orchestration container
* Add deploy playbook
  * Add Dockerfile
  * Also uses regular filenames with underscores as key in configmaps
    since kubectl creates them from file this way

Change-Id: I8c7ceddacc7be1262f6ad565003ff14bb4d60af0
2018-01-04 22:59:22 -08: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
Zuul 5426564329 Merge "Remove setting of version/release from releasenotes" 2018-01-03 18:17:02 +00:00
Surya Prakash Singh b3a2a61e24 Updated the doc
removed the repeating word

Change-Id: I331d05737374c439602d2b77e2ccdebc2f2bee65
2017-12-21 17:12:37 +05:30
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
Zuul 12f79c88fd Merge "Bump haproxy_exporter version from v0.7.1 to v0.8.0" 2017-12-14 13:29:31 +00:00
Kevin Zhao 4d55b368c1 Bump haproxy_exporter version from v0.7.1 to v0.8.0
Prometheus release v0.8.0 version haproxy_exporter 3 months ago.
All the parameters prefix change from "-" to "--", it's good to
align with it.

Closes-Bug: #1736322

Change-Id: I9cc80769443317cb37911d1c4835e1a99a259c7e
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
2017-12-05 14:25:56 +08: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
Marc Methot 08c290f32b Fixing the README table formatting for the three deliverables.
I removed the cgit url, back to what it was.

Change-Id: I2e195fcef307c05a7505a3e01b83d5f06d7988da
Closes-Bug: #1734397
2017-11-26 04:02:34 -05:00
Zuul bb82438387 Merge "Specify unit (Gi) in common pvc" 2017-11-20 17:31:17 +00:00
Justin Scott d0fbc11bdc Specify unit (Gi) in common pvc
Change-Id: Id72119434f7684e76aa9e4a58cea2eeab280b391
2017-11-17 12:36:00 -08:00
Andreas Jaeger 4ee04673c1 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I2aeae04a326a956b0d61b43f0baaaf437e6f9022
2017-11-17 10:16:28 +01:00
rwellum caa08bbc44 A python tool to orchestrate kolla kubernetes.
This tool provides a method to deploy OpenStack on a Kubernetes
Cluster using Kolla and Kolla-Kubernetes on bare metal servers
or virtual machines. Virtual machines supported are Ubuntu and
Centos.

Versions supported are 4.x (Ocata) and 5.x.

I started developing it as I worked on the project and the
Deployment Guide.

In no way is this supposed to be an official production method.

It is however very simple to use (ko.py eth0 eth1), and I have
verified it on Centos and Ubuntu and Ocata and Pike.

It comes with a 'demo' mode that attempts to explain each step
to the user.

It comes with lots of switches to play with different versions
of all the tools used.

Added a bunch of changes discovered while doing bare-metal
testing.

Added contrib/orchestration directory and using this as the
location to host user contributions.

Change-Id: I85858d06efcbda686bcfa177d41e6f002f98cb03
2017-11-13 19:43:16 -05:00
Hanxi_Liu 3c830825f4 Remove extra characters
Change-Id: If8a40a91f5f5f4ec574dc1cad384f98176e64bc2
2017-10-24 11:38:52 +08:00
caoyuan 073a3653df Update the link for Big Tent Governance
Change-Id: I963017994bd1e1f42a080cb2f30f12b5c504b6a2
2017-10-18 17:25:42 +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 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
Kevin Fox 9ca5ae155c Update init containers
Previously Kubernetes only supported init containers stored
in json encoded annotations. This PS switches them all to
use the native initContainer yaml section now.

Change-Id: Ib8d7a4581baa01173d420570468687679f433e08
2017-09-28 06:24:32 -07:00
Jenkins 459faa6ffd Merge "[Trivialfix]Fix typos" 2017-09-22 13:54:25 +00:00
rwellum 35d60eaf36 Console broken, as novncProxyPort is incorrectly formed.
During testing of VM workload on kolla-kubernetes I
found that the console tab did not work - the
novncproxy_base_url was not replaced by the correct IP Addr.

Remove the code that tried to create this, use the value from
the nova.conf file.

Change-Id: I41a5a9f78775f918a8b8a296bde99d70e7b5725b
2017-09-21 12:25:49 -04:00
OpenStack Proposal Bot 6e48a8bfa8 Updated from global requirements
Change-Id: I2a5d4b045fd0346a7c603aa0227604850547bf8d
2017-09-21 03:41:26 +00:00
shangxiaobj abd213632a [Trivialfix]Fix typos
Fix the typos in kolla-kubernetes.

Change-Id: Id9d7e9734aafd4d114d8d919b65be57a96e1aa03
2017-09-20 19:13:07 -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
Jenkins 00df2d5bfb Merge "Fix Deployment Guide for kolla-kubernetes" 2017-08-07 14:10:51 +00:00
dommgifer 5313adeefd Fix Deployment Guide for kolla-kubernetes
In this doc :
https://docs.openstack.org/kolla-kubernetes/latest/deployment-guide.html

after step of deploy Kubernetes with kubeadm, the note is :

If the following issue occurs after running this command:

preflight] Some fatal errors occurred:
/proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1

There are two work-arounds:
Add net.bridge.bridge-nf-call-ip6tables = 1 and
net.bridge.bridge-nf-call-iptables = 1 to /etc/sysctl.conf

Type sysctl -p to apply the settings from /etc/sysctl.conf
Type sysctl net.bridge.bridge-nf-call-ip[6]tables to
verify the values are set to 1.
-------------------------------------

Modify preflight] to [preflight].

Modify command 'sysctl net.bridge.bridge-nf-call-ip[6]tables' to
'sysctl net.bridge.bridge-nf-call-ip6tables' and
'sysctl net.bridge.bridge-nf-call-iptables'

Change-Id: Ib19ea6e6893967e99cd7f6f1b8c0b83a0f8088b5
Close-bug: #1707149
2017-08-03 05:43:21 +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 ae7f88a88b Fix rendering problem when yaml value gets overridden via cli
When dependecy gets overridden via command line --set argument, it fails to parse
provided value properly.

Change-Id: Ice7ac04b0d9877a61e28f7b2f6395d8814b411ad
2017-07-28 18:00:16 -04:00