1465 Commits

Author SHA1 Message Date
Tin Lam
943a400b9a RBAC: Fix issue with inclusion of empty jobs or daemonsets
Currently, the rbac logic would allow for ``jobs`` or ``daemonsets``
if it is specified in the dependencies, even if they may just be empty
or null.  This patch set addresses this by checking the jobs or
daemonsets map in the value.yaml is non-empty before including it
in the Role.

This mirrors the fix in OSH-infra in [0].

[0] https://review.openstack.org/#/c/530337/1

Change-Id: I37e8d8c1a0d587410811c544e049bbafed73cba8
Signed-off-by: Tin Lam <tin@irrational.io>
2017-12-28 22:05:34 -06:00
portdirect
9fb2bdf839 Docs: remove potentially confusing references to versions and RBAC
This PS removes references to out of date versions in the
multinode install guide and also RBAC rules, which was causing
confusion with new developers.

Change-Id: I89ae35896367c17e0d43c1d5b7a9183109aa61df
2017-12-28 18:47:21 -05:00
Zuul
5178f3d926 Merge "Ceph: update dependency logic to be more strict" 2017-12-28 21:55:27 +00:00
Zuul
76ca707716 Merge "Docs: update ceph troubleshooting with luminious data" 2017-12-28 20:00:11 +00:00
Zuul
2e609c2bcd Merge "Dev-Deploy: Setup iptables for use with docker >= 1.13.1" 2017-12-28 18:26:42 +00:00
Zuul
53e5a23712 Merge "Horizon: move to kolla image with bugs fixed" 2017-12-28 18:13:44 +00:00
Zuul
a5fc6a860a Merge "Glance: Fix RBAC object creation for storage-init job" 2017-12-28 17:31:51 +00:00
Zuul
8a19f5ace0 Merge "Dev-Docs: Add warning about IP ranges consumed by K8s and Calico" 2017-12-28 14:28:45 +00:00
portdirect
52cb1c4f43 Docs: update ceph troubleshooting with luminious data
This PS updates the output from the troubleshooting guide to reflect
the expected output and commands for ceph luminious.

Change-Id: I8351d782d3b1ddbf2fc121b7096548e1ba38f7bd
2017-12-28 09:23:55 -05:00
portdirect
0482a86635 Glance: Fix RBAC object creation for storage-init job
This PS fixes the RBAC object creation for storage-init job, by
removing the helm hook annotation that was erroniosly applied to
the object manifests.

Change-Id: I98d2cec660199f607a8c18c1a2cc9e54937e3cb8
2017-12-28 00:49:24 -05:00
portdirect
22d77a0065 Dev-Docs: Add warning about IP ranges consumed by K8s and Calico
This PS adds a warning for the CIDRs consumed by Calico and K8s.
It should be replaced by better documentation and/or a sanity
checking chart/script when possible.

Change-Id: Ib87b773b7c19ed65330a54546c4613c16aa9ab75
2017-12-27 20:44:13 -05:00
portdirect
6f10f2bc02 Horizon: move to kolla image with bugs fixed
Horizon has used the Kolla 4.0.0 image for some time as the 3.0.3
image pushed to dockerhub had several bugs in it. The 4.0.0 image
also has a bug where the topology view is not enabled for heat.
The 4.0.0 image is based on ocata, by moving to the `ocata` tag
we can use a image where this bug has been fixed.

Change-Id: Icca1563561454c92fcebd61f14e08f1d19289d24
2017-12-27 20:26:56 -05:00
portdirect
0f107f1b81 Ceph: update dependency logic to be more strict
This PS updates the dependency tree in ceph to take into account
the keyring jobs and also the tollerance for unready endpoints
introduced in the k8s 1.6 era.

Change-Id: If76efeafdbcbe88ee699e7553f0effd5da7ce624
2017-12-28 00:51:42 +00: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
Tin Lam
cc84b98da5 Retrigger the doc publish job
A minor update to trigger the publish job.

Change-Id: Ie1305d438f4a773e744b12f68369c47d232aa490
2017-12-27 17:33:55 -06:00
Zuul
a5ce4c4833 Merge "Dev-Deploy: Deploy Nova with native kvm when possible" 2017-12-27 21:18:34 +00:00
Zuul
51056ac142 Merge "Fixed ceph mon resource definition" 2017-12-27 20:36:16 +00:00
Matt McEuen
e507dc38d9 Fixed ceph mon resource definition
The ceph mon daemonset had a typo, and referenced the osd
resource limit specification in Values instead of its own.

Change-Id: I06433b9039842322786e73eff89da2836c17bb7f
2017-12-27 07:10:19 -06: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
Chris Wedgwood
8e82d07fc6 rabbitmq: reasonable timing for readinessProbe
Give things time to start and probe only as needed.  This avoids
premature health warnings such as:

  Normal   Created                14s   kubelet, node-0    Created container
  Normal   Started                14s   kubelet, node-0    Started container
  Warning  Unhealthy              10s   kubelet, node-0    Readiness probe failed:

Change-Id: I224aed14a03a3690f1ba2a07a2d9fad54b7dd550
2017-12-22 17:10:49 +00: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
Tin Lam
f15f709266 Fix Makefile
This patch sets fixes the make clean target as it currently attempts
to delete the generated */charts up the parents, where the directory
is guaranteed to be non-empty.

Change-Id: I6575cb9e1e7da8b6c690e433418d1115130e0eff
2017-12-18 06:39:45 +00:00
zhengchuan hu
c65961ccfe Fix error in doc of install openstack-helm
install openstack-helm like doc, but the service of horizon
is not nodeport.

Change-Id: I85b39aa0f3c9cf9880bc1d44270e2336d950a35c
2017-12-15 19:10:16 +08: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
Felipe Monteiro
df2f510a4d [zuul] Make openstack-helm-dev-deploy job gated
This PS updates .zuul.yaml to make the voting job
openstack-helm-dev-deploy a gate check, as that is the infra
convention [0]:

"Non-voting jobs should only be added to check queues." (So
voting jobs should be added to both.)

While there are currently openstack-health statistics for the
job yet, going off the following data:

    http://zuulv3.openstack.org/builds.html?job_name=openstack-helm-dev-deploy

the job currently has a roughly ~83% success rate
(11 fail, 25 pass, 36 total).

[0] https://docs.openstack.org/infra/manual/creators.html#non-voting-jobs

Change-Id: I2577d9c435be3688fc6ebc02dc97d809861b00da
2017-12-11 23:31:18 +00:00
Zuul
8f696ab93b Merge "Add imageFormat and imageFeature support" 2017-12-11 21:27:34 +00:00
Zuul
cadccfd214 Merge "Ceph liveness scripts" 2017-12-11 16:33:20 +00:00
Zuul
a0a0774a06 Merge "Exclude dev-deploy job from doc-only change" 2017-12-09 23:24:31 +00:00
Tin Lam
af7d921f33 Exclude dev-deploy job from doc-only change
This patch set updates the zuul job to not execute a full
dev-deploy job when the change only impacts documentation,
so it is inline with other jobs that runs the full deployment.

Change-Id: Ica18b5bf903765acde91e686bf6d4453fd366d06
2017-12-08 08:46:25 -06:00
rong.zhang
8c6d2c8543 Add imageFormat and imageFeature support
Add imageFormat and imageFeature support

Change-Id: I441bbf82031c70da8ac49730b8dc4e5ea08a6b7e
2017-12-08 16:55:36 +08:00
Zuul
2388ce4920 Merge "Images: Senlin service specific explicit image names" 2017-12-07 23:54:52 +00:00
Zuul
5c27cf0d91 Merge "Images: Mistral service specific explicit image names" 2017-12-07 23:54:51 +00:00
Zuul
eaadfa6e93 Merge "Docs: Updated developer documentation to use -infra repo" 2017-12-07 02:42:51 +00: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
Tin Lam
197b79592d Images: Mistral service specific explicit image names
This patch set makes the service-specific images for mistral
have explicit names, allowing simple over-riding of images
for an entire site.

Change-Id: I49a105a29660bbcc500e31352d639389f5636ed5
2017-12-03 05:28:17 +00:00
Tin Lam
8ba057ba64 Images: Senlin service specific explicit image names
This patch set makes the service-specific images for senlin
have explicit names, allowing simple over-riding of images
for an entire site.

Change-Id: I16ba85b20c84354d7e2c35b52ccc4f766e9fecb6
2017-12-02 00:48:07 +00:00
Zuul
cae76dc9ab Merge "Images: Neutron service specific explicit image names" 2017-12-01 20:15:02 +00:00
Tin Lam
1c5b5024cf Images: Neutron service specific explicit image names
This patch set makes the service-specific images for neutron
have explicit names, allowing simple over-riding of images
for an entire site.

Change-Id: Ica7e1f77f43936971d44ac0e6645ac656ca83b96
2017-12-01 11:14:30 -06:00
Tin Lam
29abf7266d Images: Magnum service specific explicit image names
This patch set makes the service-specific images for magnum
have explicit names, allowing simple over-riding of images
for an entire site.

Change-Id: I6d1dfe6bbd5a0911cc176958b932aaaf31131620
2017-12-01 10:53:17 -06:00
dave kormann
5f3f13cc0a Ceph liveness scripts
Replace socket-based liveness checks with scripts

The current TCP socket-based liveness/readiness check for Ceph
doesn't accurately reflect when daemons are live, doesn't handle
multiple OSDs on a host, and doesn't work when hostNetworking is
in use and the Ceph network is different from the one associated
with the hostname.  This change adds new scripts for checking
Ceph monitor and OSD liveness/readiness that query the Ceph Unix
domain sockets to get daemon status and exits 0 iff all sockets
report that their daemons are in an "active" state.

This isn't perfect: we don't know how many daemons SHOULD be
active, so if only a subset is live and the others have no
sockets (yet?), we'll still claim the pod is ready.  The scripts
also don't distinguish between liveness and readiness for OSDs.

Change-Id: I5d370b4bc4025fece2e640355c3a29167afca871
2017-12-01 13:45:41 +00:00
Zuul
48a4d0cfba Merge "Nova: Move placement API to run behind Apache" 2017-11-30 21:34:29 +00:00
Zuul
5d8554edad Merge "Spec: Add nginx sidecar" 2017-11-30 19:31:12 +00:00
portdirect
5986506799 Nova: Move placement API to run behind Apache
This PS moves the placement API to run behind Apache, to match
the recommended deployment method.

Change-Id: Id057ef042cf30300c0cd35265dff6a9c16694c70
2017-11-30 13:40:31 -05:00
Tin Lam
0685f75d97 Spec: Add nginx sidecar
This specification proposes to add an nginx sidecar container to support
TLS offloading and termination.

Change-Id: I6d7e19539b5411d8ab15dc2d39e2051da1cce126
External-tracking: F#47
2017-11-30 09:53:25 -06:00
Zuul
a3f40dcc07 Merge "Images: Cinder service specific explicit image names" 2017-11-30 15:47:54 +00:00
Zuul
3ff69104fe Merge "Zuul: Update jobs to ignore docs changes" 2017-11-29 15:29:22 +00:00
Zuul
5267fe6301 Merge "Images: Horizon service specific explicit image names" 2017-11-29 15:28:30 +00:00