130 Commits

Author SHA1 Message Date
Matt McEuen
7d7cf484ee Fixed helm_dry_run path issue
Fixed the calculation of WORK_DIR so that the script can be
invoked by itself (as opposed to part of the overall gate scripts,
which works fine).

Change-Id: Ib7d07978965d3401725c7766754bbaff2f535a5a
2017-11-27 14:52:28 +00:00
Tin Lam
ba67412639 Fix dumps_log playbook
Currently, execution openstack.sh in the dumps_log is not performed
causing some variable in the dumps_log.sh to be empty.  Consequently,
any openstack-related logs are not captured at the end of the gate.
This patch set should fix the path issue of the openstack.sh.

Change-Id: I1d8f5733d49476e80c7fa1399f46bcd6c45198c0
2017-11-25 01:25:27 +00:00
Tin Lam
5ae0bff97c Zuul v3 cross repo dependency and gate entrypoint
This patch set performs the ground work to use the zuul v3 ansible
scripts from openstack-helm-infra in the main openstack-helm repo.

Co-Authored-By: Pete Birley <pete@port.direct>
Co-Authored-By: Tin Lam <tin@irrational.io>

Depends-On: I376da8940ed085b7575dd528ec4082f42da1748c

Change-Id: I692c7c3a5102e69ad1fb271f73fea223642deb62
2017-11-22 18:05:12 +00:00
Vlad Naboichenko
090d2656cf Add congress chart
This chart provides a policy framework for the cloud.
It consist of 3 services. Api, policy engine, datasource.

helm install --name=congress local/congress --namespace=openstack

Change-Id: I5fabf91893bc006470469af397994b13fe86223b
2017-11-20 11:19:50 -08:00
Vlad Naboichenko
56eb2354e4 Remove keypair after vm launch script
This will allow to re-launch vm_heat_launch.sh if needed
without errors

Change-Id: I564baa00727645311887d32cf9908e95d849adb0
2017-11-16 13:37:47 -08:00
Zuul
2c89386765 Merge "Image puller: fix user and location in gate." 2017-11-14 21:46:35 +00:00
intlabs
4d0492a9fc Image puller: fix user and location in gate.
This PS fixes the location of the image pull command in the gate
and also moves the position it is run at to after docker is
installed.

Change-Id: I45573ae18147a44e99698bfac208fe1f2dcf6128
2017-11-14 19:23:45 +00:00
Zuul
f8377b1258 Merge "Kernel Modules: Load via chroot into host" 2017-11-13 20:08:00 +00:00
Vlad Naboichenko
ed81234e22 Upgrade kubernetes version
- k8s version = 1.8.2
- change 'kubectl upgrade' to 'replace' since its unavailable
  in new version

Change-Id: If0feabfe678d558e15273bd20b51994a56b9ea6e
2017-11-02 20:19:18 +00:00
intlabs
35267bffe4 Kernel Modules: Load via chroot into host
This PS moves the loading of kernel modules required by services to
being perfromed via a chroot on the host, this ensures that the correct
module is found and provides compatibility across distros.

Change-Id: I889fdd047a24bf4b123dadf9f6d6e6e8079d69d1
2017-10-31 23:51:53 +00:00
Vlad Naboichenko
a168c44949 Modify DockerFile to support multiple k8s versions
- service-node-port-range changed to support extended port range

Change-Id: Ia3d70504ffe1ac93df816b9798e8341dde9b65bb
2017-10-31 18:43:30 +00:00
intlabs
a89ee54171 Images: add pull all images to makefile
This PS adds a `pull-all-images` target to the makefile, which
requires yq to operate.

Change-Id: I58b871b99f48cbd636b3db66db812be3dfc1a204
2017-10-23 12:26:28 -05:00
Jenkins
75ced17cbe Merge "Ceph subnet_range calculation improvement" 2017-10-13 15:53:33 +00:00
Matt McEuen
7bb6b8b3d1 Parameterize charts for NFS in gate
Added check to the gate script to appropriately tell the libvirt
and nova charts whether ceph is being used.  Also added a doc
update to tell Glance to use pvc rather than ceph.

Change-Id: Ic4fc29276a9c0379c43dda8f1788342c31dcf920
2017-10-11 18:01:44 -05:00
Artur Korzeniewski
ece78c448d Ceph subnet_range calculation improvement
Gate scripts are trying to calculate the SUBNET_RANGE basing on IP address
of default interface. There is ipcalc tool used.
The issue is that based on infra datacenter selected to run the VM gate,
the default interface can have address with /32 network.

If IP has /32 network, the ipcalc would not calculate the network address,
for example 192.168.0.0/24, which is needed for ceph to be configured.

As a workaround, try to change the /32 to /24 after getting the IP of the
default interface, and then calculate the network address.

Change-Id: Ia2858c6a2b4c56fbc42ef06b5f157625a56beb3c
2017-10-10 18:19:10 +02:00
Jenkins
ecdf097885 Merge "Implement LDAP chart" 2017-10-09 15:48:01 +00:00
Chris Wedgwood
9a36845f6a gate: cleanup 'helm serve'
The goal here is to prevent some gate runs from hanging upon
completion.

Change-Id: I36fbe1b65f163b93ff12183080ec2b22f7d46347
2017-10-08 06:44:45 +00:00
Tin Lam
5191e28ec7 Implement LDAP chart
This patch set adds a basic OpenLDAP chart.

Change-Id: If7ede814da1bbae0f4cf76cba75ea79f206d5a8a
2017-10-05 18:49:58 +00:00
Jenkins
597863887c Merge "Add Rally Chart" 2017-10-05 16:03:10 +00:00
Darla Ahlert
cbb6ed9172 Add Rally Chart
Basic functioning chart
Helm tests to verify functionality
Documentation to support

Implements: blueprint openstack-helm-chart-rally
Change-Id: Idcff88db63a5d8be6099969c41f6c34450c61064
2017-10-05 09:19:49 -05:00
Pete Birley
3cfb0a007c Telemetry: add ceilometer chart
This PS adds a ceilometer chart.

Change-Id: I8ddf3867514f2bbf0d9d0607733594a512c75e35
Co-Authored-By: Steve Wilkerson <sw5822@att.com>
Co-Authored-By: Larry Rensing <lr699s@att.com>
2017-10-03 23:11:52 -05:00
Pete Birley
e5304b45e0 Telemetry: add mongodb chart
This PS adds a mongodb chart.

Change-Id: I7038650ca38b1fbae02a14c39d10270e847042c6
2017-10-03 21:57:11 +00:00
Pete Birley
637383495b Telemetry: add gnocchi chart
This PS adds a gnocchi chart.

Change-Id: I51634a3876a36dde1eb28cc62cef3189e345cd2c
Co-Authored-By: Steve Wilkerson <sw5822@att.com>
Co-Authored-By: Larry Rensing <lr699s@att.com>
2017-10-03 21:56:26 +00:00
Pete Birley
05bf70f4c7 Telemetry: add postgresql chart
This PS adds a PostgreSQL chart.

Change-Id: Id33b110e242d86a78215bc3926bfba4602b9a1c9
Co-Authored-By: Steve Wilkerson <sw5822@att.com>
Co-Authored-By: Larry Rensing <lr699s@att.com>
2017-10-03 20:05:27 +00:00
Chris Wedgwood
f99cb96e81 gate: move 'root check' to setup
Change-Id: I4d365390d673c45eb2bb1ff885ee1c74e632d5d8
2017-10-02 23:28:08 +00:00
Pete Birley
a3f6838c72 Fedora: fix gate script on F25
This PS re-enables support for F25 in the gate scripts.

Change-Id: Icbaac6c568ac917ae24971ca0ce207d4b1a2b138
2017-09-22 22:56:50 +00:00
Pete Birley
285959c863 Disk targeting
This PS adds a disc targeting framework for OSH Components for
services like Ceph, Swift, and Cinder (LVM) to use when targeting
phsical discs. It uses the bus ID of the attached device to simplfy
management of large quanitites of physical hardware.

Change-Id: I1cb227e43ed5394d4c68c6156047889574a0e869
2017-09-22 20:32:21 +00:00
Jenkins
f3e16dae18 Merge "Nova: remove oslo-genconfig" 2017-09-22 14:27:52 +00:00
Jenkins
2fed2f1b91 Merge "gate: add a second upstream DNS server" 2017-09-22 02:57:23 +00:00
Pete Birley
e3a6a4166d Nova: remove oslo-genconfig
This PS removes the modified oslo-genconfig from nova.

Partially implements: blueprint remove-pregenerated-config-templates

Change-Id: I65575ba5d78429b9c1a3984c76aa26757d5fd6e2
2017-09-21 14:52:04 -05:00
Chris Wedgwood
22488a5c14 gate: add a second upstream DNS server
We get transient DNS failures, having a second DNS server should help.

Change-Id: I8307ba0c2b8f2b12eb714dfd8b7034c7645ff288
2017-09-21 17:52:31 +00:00
Chris Wedgwood
ec43f3392c gate: for aio only run a single rabbitmq
Change-Id: I2ae79c131dbc11d000681ba23b7779149b14d424
2017-09-21 15:08:55 +00:00
Chris Wedgwood
e6cdfcdd07 gate: expose timeouts for node and pod startup
Change-Id: I98da4768c438cb1801cf481a229a1a0f74df1415
2017-09-20 21:36:13 +00:00
Pete Birley
e7723d81ce Helm: move to helm v2.6.1
This ps bumps the Helm version to v2.6.1.

Change-Id: I46e1b3457a50d440bc82ba2ef3b164ae4a2a1771
2017-09-19 14:37:34 +00:00
Jenkins
cdedd4916c Merge "Kubernetes: move to Kubernetes v1.7.5 gate" 2017-09-18 14:59:57 +00:00
Pete Birley
010955fbef Kubernetes: move to Kubernetes v1.7.5 gate
This PS moves to use Kubernetes v1.7.5 as the reference deployment
version.

Change-Id: Ie2060dc5271decf1b9298fc8fc8f23ead6501fbd
2017-09-14 20:34:45 +00:00
Jenkins
af77125f10 Merge "gate: Introduce POD_START_TIMEOUT (default 480s)" 2017-09-14 15:43:19 +00:00
Chris Wedgwood
30f63c349d gate: Introduce POD_START_TIMEOUT (default 480s)
Change-Id: I29a56527bfb00f9953cdc37b5fafb8e98f6334ed
2017-09-13 22:51:16 +00:00
Chris Wedgwood
ca9a78765a Pedant: prefer "--set " over "--set="
Change-Id: I02e47b411ed3702c70da1fd42deef5d25ad2add2
2017-09-13 22:01:41 +00:00
Artur Korzeniewski
3653128bd3 Preparation for Neutron Linuxbridge gate
Added new variable SDN_PLUGIN to handle gate behavior when using ovs or
linuxbridge.

By default SDN_PLUGIN is set to ovs.

To enable testing linuxbridge, new gate have to be created, with
SDN_PLUGIN set to linuxbridge.

Change-Id: I014307ae497374b5b6fa00946b01fa5d93c3056f
Implements: blueprint support-linux-bridge-on-neutron
2017-09-12 10:23:57 +02:00
Pete Birley
b3f8b812ca Glance: Backend support and auth improvements
This PS enables the following backends for glance:
 * PVC
 * RBD
 * RadosGW (direct)
 * Swift

It also moves the creation of the RBD pool when required to a storage
init job. This job also creates credentials as required for glance to
use when accessing the required backend, rather than using the admin
keyring.

Change-Id: I90fead961ff73a9263826acc794128fa73ead2e1
2017-09-09 02:13:01 +00:00
Chris Wedgwood
cfe5ade024 Be explicit about SDN plugin in gate override
We now support linuxbridge and ovs.  Rename the files to reflect this.

Change-Id: I4bedf5bf9d8f22994e34b55f6e4da58bda0fde23
2017-09-07 18:33:48 +00:00
Pete Birley
7c37157fb1 Ceph: RadosGW
This PS implements the ceph radosgw and also provides keystone
intergration, allowing ceph to provide a swift like service if
desired for object storage.

In addtion it updates the endpoint lookups to use valid yaml when
dealing with keystone services with a '-' in their name.

Change-Id: I9162ad657df2f77c1bc1afa93a8b999894b1b470
2017-09-06 23:35:47 -05:00
Artur Korzeniewski
ca05f7ac3c Neutron and OVS: add full name to ovs and lb daemonsets
Add neutron prefix to lb-agent and ovs-agent.
Rename ovs-db and ovs-vswitchd to openvswitch-db and openvswitch-vswitchd.

Change-Id: Iad69b0c00d17e59a9f0eb66003e4512ccaeab128
2017-09-04 13:58:59 +02:00
Jenkins
198162a073 Merge "Fix some typos" 2017-09-03 04:47:48 +00:00
Pete Birley
37b099e320 Neutron: Move OpenVSwitch into its own chart
This PS moves OpenVSwitch into its own chart - decoupling it from neutron,
both making it easier to deploy and use seperately and permitting
use of other network backends.

Partially implements: blueprint split-nova-and-neutron-infra

Change-Id: Ifd637136b950ddf1ba1c26ce76c9bbdeafc232c3
2017-08-30 16:01:29 +00:00
Pete Birley
0252ca776e Nova: Move Libvirt into its own chart
This PS moves libvirt into its own chart - decoupling it from nova,
both making it easier to deploy and use seperately and permitting
use of other compute backends.

Partially implements: blueprint split-nova-and-neutron-infra

Change-Id: I06237157244c3cdb5503eafa01229d061b1614f0
2017-08-29 23:50:08 -05:00
Pete Birley
7463058b73 Reduce load in single node gate tests
This PS seeks to reduce the load exerted on the node in the single
node gate test - as a the single node gate is currently broken
due to resource starvation on the nodes.

Change-Id: I34db5108b4abb48bb452eed73067644cc03270c0
2017-08-26 17:01:19 -05:00
Pete Birley
0251c099ba Nova: Support Cinder Volume Attachement using Ceph Backend
This PS enables cinder volume attachment for nova when used with ceph.

Change-Id: I9772f38fb3a1a9af26bd92ee18a651d3372de64c
2017-08-25 14:07:34 -05:00
Pete Birley
ff6e6d19f9 Gate: Heat functional test
This PS adds a functional test of heat in the OSH gates, it also moves
most params to a seperate file - making config of the gate in non-zuul
environments simpler.

Change-Id: I37a1bc0dcc8000c5da8067a8d376c78f7cd6f7ab
2017-08-21 13:55:53 -05:00