Commit Graph

218 Commits

Author SHA1 Message Date
portdirect
b7cb097dac Docs/Gate: NFS Support
This PS adds gated documentation for a NFS developer environment.

Change-Id: I64488f5e4ef3202e11eff79685a63e16286d5db7
2018-01-17 20:14:47 +00:00
portdirect
2d2e10bfb7 Gate: Update heat templates to export floating IP
This PS updates the heat template to output the Floating IP, which
makes the gate scripts compatible with the current master clients
when used with newton images.

Change-Id: I8e429b504ede521612c91d7563a8c5e4953bdbb4
2018-01-17 03:40:51 +00:00
Zuul
619a2316ae Merge "Gate: Add barbican" 2018-01-15 22:15:33 +00:00
Zuul
c59d44d7e6 Merge "Ingress: Move to namespaced ingress controllers and edge VIP" 2018-01-15 16:49:28 +00:00
Zuul
c9d8f2f5a3 Merge "Gate: Enable Helm Test for core services" 2018-01-15 16:49:26 +00:00
portdirect
a72db2e8ff Gate: Add barbican
This PS adds barbican to the multinode gate

Change-Id: I20ebee8dac7bc56bb194c179fb3491ab957680ef
2018-01-15 14:41:26 +00:00
portdirect
35dfb998f4 Ingress: Move to namespaced ingress controllers and edge VIP
This PS moves to namespace specific ingress controllers, and a
cluster wide ingress controller that acts as the external front
door to the cluster. The cluster ingress controller will also
be able to create a dummy interface that can be announced via the
OpenStack-Helm-Infra Calico chart.

The ability to exercise the edge VIP feature is currently only
demonstrated in the single node gate and guide, as it requires
additional configuration, or hardware to set up the routes in
a multinode env.

Change-Id: I8b823b93465f2e90aaabcca9ec9b783d34539e07
2018-01-15 01:23:45 -05:00
portdirect
9d40323eb1 Gates: Remove legacy zuulv2 scripts
This PS removes the legacy v2 scripts from OSH.

Change-Id: I02ee7654765d90b71632b0042930f4a8d71f648b
2018-01-15 01:22:43 -05:00
Felipe Monteiro
aaff2ce6ba Fix typos in all-in-one code example and add auth info
This PS simply fixes a few typos in an all-in-one code block
example dedicated to setting up the gateway. It also adds
additional information about how to set up auth information
to use the python-openstackclient.

Change-Id: Ie9cc63d3d435c474c3cbda90964f2eababa81139
2018-01-14 11:17:29 +00:00
portdirect
a146232e06 Gate: Enable Helm Test for core services
This PS exercises the helm test functionailty in the gate for core
services.

Change-Id: If359f60bd928ce5a2463f2abc338bbfccf6aa9bb
2018-01-14 02:01:46 -05:00
Zuul
ddfc940afe Merge "Gate: 5 Node basic gate" 2018-01-14 06:11:32 +00:00
Pete Birley
0f86dbdc27 Gate: 5 Node basic gate
This PS adds a 5 node basic gate for OSH, using the same format as the
dev-deploy guide. Follow on commits will:
 * Remove redundant gate scripts
 * Add documentation, in the same format as the AIO guide
 * Add all remaining services in OSH
 * Enable Helm test for all services

Change-Id: I7b72dc4777e88cae2b8a4d842c41a17a526079a2
Depends-On: Ie9b23174fade3df4a87f2b771ea654e2081b4f4e
2018-01-14 02:50:17 +00:00
dave kormann
7b6685befd Disable cephfs_provisioner deployment in openstack namespace
As with the rbd_provisioner deployment, cephfs_provisioner should
only be deployed to the ceph namespace.  This change just disables
that deployment in the openstack namespace.

Change-Id: Idfec8fbdd9408bd292d8770a3690b1b77de2b22d
2018-01-12 13:46:19 -05:00
portdirect
dc105fdcfa CephFS: support for OSH
This PS adds support for CephFS in OSH.

Change-Id: I54d5302b89f04cc30f151c8db59f476f02be5652
2018-01-09 15:41:45 -05:00
Zuul
c9dbf745d4 Merge "RabbitMQ 3.7 with native k8s clustering" 2018-01-05 18:21:32 +00:00
portdirect
0c51d813b3 RabbitMQ 3.7 with native k8s clustering
This PS moves to use RabbitMQ with native k8s clustering.

Change-Id: I6a93c8168bc7dce6b73871aa1fd4d637e6192975
2018-01-05 04:14:54 -05:00
Tin Lam
8c0346da2a Perserve env variables
This patch set adds in -E flag for ``sudo pip install`` so
any environment variable is preserved for the install.  This allows
for some proxy-related variables such as ``http_proxy`` to pass
through for pip.

Change-Id: I89881d811b53b27e2663a40c1c96fcf18e614b00
2018-01-04 18:47:57 -06:00
Steve Wilkerson
361ab53076 Add out-of-date warning to openstack-helm gates README
Adds a warning to the gate docs README to indicate the scripts
are out of date. This points all single-node development and
evaluation purposes to the current all-in-one deployment docs.

Change-Id: Id6899ef568bda388ed82a70aa7fdacfe60bd8cb0
2017-12-29 08:33:46 -06:00
portdirect
10b4205417 Dev-Deploy: Setup iptables for use with docker >= 1.13.1
With Docker >= 1.13.1 the default the default FORWARD chain policy
is configured to DROP, for the l3 agent to function as expected and
VMs reach the outside world correctly this needs to be set to ACCEPT.

Change-Id: I6bea3304f5eb4ab6b37283e94e20cda7e4119a44
2017-12-28 00:51:10 +00:00
Zuul
a5ce4c4833 Merge "Dev-Deploy: Deploy Nova with native kvm when possible" 2017-12-27 21:18:34 +00:00
portdirect
6bbee088ea Dev-Deploy: Deploy Nova with native kvm when possible
This PS adds support for Nova to run with native kvm when possible
using the developer deployment guide scripts.

Change-Id: I5d03dabfcb007f8a23ad65d3f129cb281b7aa87e
2017-12-27 01:46:02 +00:00
portdirect
7f96995af0 Dev-Deploy: setup gateway to use default route device
This PS updates the dev-deploy guide and scripts to set the
gateway device to match that used for the default route on the
developers machine.

Change-Id: I420ceb8cd845ae85f524f7b615ace753642d8e1d
2017-12-26 18:02:45 -05:00
portdirect
fa2620d54b RBAC for OSH
This PS applys RBAC rules to OSH, based off the work
done in https://review.openstack.org/#/c/526464/

Change-Id: I541b0ac1a3972566ef2b66571ae32744dab70c17
2017-12-26 10:24:19 -05:00
portdirect
a8d3dc5428 Gate: Increase service start timeouts
This PS increases the timeouts for services, mariadb in particular,
to come up.

Change-Id: I335eb7034176b65e6d6fdf43cff3a0112d5e50d0
2017-12-20 09:27:14 -05:00
Steve Wilkerson
5bc7ded909 Update names of helm test pods for openstack services
This updates the names of the helm test pods to give all services
in OSH-infra/OSH a uniform '{{ .Release.Name }}-test' name, which
allows for easier gathering of test results across all deployed
services

Change-Id: I24df7a18d32b99d1ffaad19647ef724316e2fe20
2017-12-14 14:03:12 +00:00
Huamin Chen
eed43b8524 Ceph: luminous fixes
init osd: Ceph luminous release init osd differently. This fix detects
ceph releases and use the right process to init osd directory
mgr: Set mgr daemonset that is in Luminous

Change-Id: I99a102f24c4a8ba18a0bba873e9f752368bea594
Signed-off-by: Huamin Chen <hchen@redhat.com>
Depends-On: I17359df62a720cbd0b3ff79b1d642f99b3e81b3f
2017-12-13 15:52:36 -05:00
portdirect
704cbcbcea Docs: Updated developer documentation to use -infra repo
This PS updates the developer documentation to make use
of the openstack-helm-infra repo and new developer
environment.

Implements: blueprint developer-environment

Change-Id: I45b627f78b9504dc0abfbe7d0061ea3475ee4748
2017-12-06 14:52:16 -06:00
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
Chulmin Kang
56d4657561 Fix a typo in the comment in kubelet-container
set 'to_this' one --> set to 'this_one'

TrivialFix

Change-Id: Icb6946d36a37c91a87a922320f1388f3c53c6c59
2017-11-20 22:29:48 +09: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
Chris Wedgwood
3d75724318 apiVersion rbac.authorization.k8s.io/v1alpha1 is no longer valid
rbac.authorization.k8s.io/v1alpha1 is no longer valid in recent
Kuernetes releases (where /v1beta1 and /v1 work).  Use
rbac.authorization.k8s.io/v1beta1 which works on currently supported
releases.

Change-Id: I91ed84f9d3305ca1098e7743999a319c9e47b4a0
2017-10-17 03:14:54 +00: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
ff3c52ba9f Nova: Update MVP values to reflect removal of oslo-genconfig tool
This PS updates the Nova MVP values to reflect the removal of
the oslo-genfig tool.

Change-Id: Ibb5c2b4e97d119da138fe1ba853137f517703bcd
2017-10-04 17:19:29 +00:00