Commit Graph

2523 Commits

Author SHA1 Message Date
dt241s@att.com
f1d3bf7a1c Disable Critical Information Exposure through Directory Listing
This disables static page on Apache which would disable Directory
 Listings. This is done as a part of Security defect.

Change-Id: Ia1aa07c83c0db9dc33be6d1dfa7e2e60b3a33de9
2019-01-15 12:44:34 -06:00
Zuul
8935b24544 Merge "Upgrade rally to 1.3.0" 2019-01-09 05:18:39 +00:00
Steve Wilkerson
f915a85f2b Armada: Update LMA configuration overrides in manifest
This updates the Armada LMA manifest to include overrides for
recent changes to the LMA services in osh-infra

Change-Id: Ib1ec2c23570a86d63df35a9f0d690d9e625f1dd0
2019-01-08 13:31:22 -06:00
Zuul
82211e427b Merge "spelling errors" 2019-01-07 07:14:06 +00:00
Andreas Jaeger
1d5dfa2468 Update docs building
The repo used both openstackdocstheme and oslosphinx in requirements but
then configured openstackdocstheme, remove oslosphinx everywhere.

Instead of using sphinx-build, use  docstheme-build-translated.sh to
build English and translated documents.

Update doc/source/conf.py for newer openstackdocstheme and require
a new enough version.

Remove module index - it does not exist, this is not a python repo where
autodoc works.

Remove sphinx-quickstart generated output from index.rst, it's not
needed anymore.

Change-Id: Ib3f09128226f0bcc78384b1ee2da811d62a5b59d
2019-01-05 09:22:36 +00:00
Zuul
7d90483eda Merge "Support the Mimic release for Ceph" 2019-01-05 05:13:38 +00:00
weiyj
50a65ca297 spelling errors
Change-Id: Id2660a1c7f1808b7f74b3960abbd5bf6b72aa387
2019-01-05 04:40:00 +00:00
Sreejith Punnapuzha
34ace3b7bf Add missing libvirt.yaml to the libvirt deployment script
Change-Id: I3d6998b84d5ecea52c4c0af5f95d83cd11009c9f
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-01-03 16:49:38 -06:00
Matthew Heler
4b7f8f0091 Support the Mimic release for Ceph
- Change all tests to support Mimic and Luminous releases
- Update ceph-config-helper dockerfile to use Mimic Ceph binaries

Change-Id: I06a545c1964eaa5b983c58db48b6ad4ccaaa3b8b
2019-01-03 16:26:40 -06:00
Steve Wilkerson
f546dad007 Reinstate openstack-helm checks
A change was merged that had commented out the check jobs. This
simply uncomments them so checks run against changes to
openstack-helm

The change can be found here: https://review.openstack.org/#/c/591808/48

Change-Id: Ia100f1248ebe783d154420c543a9b19fb1ba4ccc
2019-01-02 11:27:58 -06:00
OpenStack Proposal Bot
5fc8e25e4a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If637272e1f78b54db73ec9b4bc6be06074b06191
2018-12-29 08:46:11 +00:00
Zuul
c0418b0fd0 Merge "[gate] Support python-openstackclient as found in Ubuntu 16.04" 2018-12-28 18:12:50 +00:00
Zuul
326981fe28 Merge "fix the url in doc" 2018-12-28 08:33:43 +00:00
Zuul
c5b21ee177 Merge "[cinder,glance] don't randomize job names" 2018-12-28 04:52:51 +00:00
Zuul
42d6c251cc Merge "Armada: Manifest updates for Ocata release" 2018-12-27 18:05:00 +00:00
Zuul
f40673f02d Merge "Neutron: add log config file to ovs agent chart." 2018-12-27 18:04:59 +00:00
Zuul
9643d059f0 Merge "Enable runAsUser in pod level" 2018-12-27 16:29:02 +00:00
Zuul
c3c9137875 Merge "Replace Chinese double quotes to English double quotes" 2018-12-27 15:30:25 +00:00
Zuul
7bff656d34 Merge "Fix glance network policy to allow cinder" 2018-12-27 15:30:24 +00:00
Hyunkook Cho
4f4b7f5b62 Neutron: add log config file to ovs agent chart.
neutron-sanity-check module load logging.conf file
but there is no config file.

Change-Id: I5e6dd298ccd9fb5432002f76bad3931ec035bb16
Signed-off-by: Hyunkook Cho <hk0713.cho@samsung.com>
2018-12-26 18:17:10 +09:00
Hyunkook Cho
57eb81e3c4 Fix glance network policy to allow cinder
cinder volume can be created with glance image.
but network policy of glance didn't allow for cinder.
so it should be added cinder podSelector on glance network policy.

ex. openstack volume create --image XXX --size 1 valume-name

Change-Id: Ia41961e16e2583ab571ed8a851a2ee2d14aa71c5
Signed-off-by: Hyunkook Cho <hk0713.cho@samsung.com>
2018-12-26 18:16:09 +09:00
Hyunkook Cho
642d26cf4d Horizon: add tcp port to network policy for nodeport
This patch fixes the network policy issue when use nodeport mode.
If you enable node port witout this patch, it will block by network policy.
so should be allowed tcp port of horizon when use nodeport.

Change-Id: I5e2622c29c6a32ab6d1c5d99d84d4f13382dab65
Signed-off-by: Hyunkook Cho <hk0713.cho@samsung.com>
2018-12-26 18:09:14 +09:00
melissaml
35d94c4efe fix the url in doc
Change-Id: I7b2fe30bb3fdf129e57216ff1c1b61f0ff52b9fc
2018-12-25 17:39:11 +08:00
Tin Lam
a60cdbf310 Enable runAsUser in pod level
This patchset enables and moves the securityContext: runAsUser to the pod
level, and uses a non-root user (UID != 0) wherever applicable.

Depends-On: I95264c933b51e2a8e38f63faa1e239bb3c1ebfda
Change-Id: I81f6e11fe31ab7333a3805399b2e5326ec1e06a7
Signed-off-by: Tin Lam <tin@irrational.io>
2018-12-25 05:33:54 +00:00
Zuul
ed0c92eca0 Merge "Neutron PodSecurityContext" 2018-12-21 02:44:19 +00:00
Zuul
e24b21afdd Merge "Keystone podSecurityContext" 2018-12-20 21:51:55 +00:00
Jaesang Lee
2a03fd65bf Upgrade rally to 1.3.0
Since rally 1.0, rally has been a platform for testing, and rally for
openstack has been separated by rally-openstack. The current version
of rally in openstack-helm is version 0.8 which corresponds to ocata.
This patch tests with the latest version of rally-openstack, version
1.3.0, and removes scenarios that are no longer in use.

Change-Id: I380a976c0f48c4af0796c9d866fc8787025ce548
2018-12-20 00:22:49 +00:00
Rahul Khiyani
085610523f Keystone podSecurityContext
securitycontext with non-root user is implemented at pod level
and leveraged the helm-toolkit snippet

Fix for adding allowPrivilegeEscalation flag as a blanket
policy on the pod in the keyston chart

Depends-On: I95264c933b51e2a8e38f63faa1e239bb3c1ebfda
Change-Id: I15333df4707948e50deb935ffc1ee599588e4788
2018-12-19 20:55:24 +00:00
Zuul
2fcfd668ad Merge "Enable keystone brute-force protection by default" 2018-12-19 07:24:47 +00:00
Chris Wedgwood
ee84b32f9d [gate] Support python-openstackclient as found in Ubuntu 16.04
Support python-openstackclient 2.3.1-0ubuntu1 - this is the version
found in Ubuntu 16.04.

Change-Id: I0494b01e875ae122374bf2d6efd2fba52d43e4f1
2018-12-18 22:12:40 +00:00
Vladyslav Drok
df336272f0 Enable keystone brute-force protection by default
This change sets lockout_failure_attempts and lockout_duration
configuration options in security_compliance group.

Change-Id: I72910e52239ace23b92d826794cd0603a061e6c3
2018-12-18 05:03:22 +00:00
Steve Wilkerson
4822aa729c Armada: Manifest updates for Ocata release
This patchset updates the chart configuration overrides to account
for functionality supported with the move to Ocata over Newton.
This includes updating the OpenStack service logging configuration
to leverage the fluent handler/formatter that was introduced in the
Ocata release, updating Fluentd's configuration to filter out
duplicate logs, tagging logged events with their log level, and
creating separate indexes for the different log types created by
the elasticsearch templates. This also adds support for leveraging
ceph-radosgw's s3 API for Elasticsearch snapshots.

This also removes the barbican chart deployment from the
armada gate, to help alleviate resource consumption.

Change-Id: I45128bf102909e1762b832fc16ad04bedcfe4f00
2018-12-17 10:14:51 -06:00
Mike Pham
95a6a2e875 Enable Egress policy enforcement
This PS is enable the Egress policies
and enforces them in Openstack-helm.

Depends-On: Icbe2a18c98dba795d15398dcdcac64228f6a7b4c
Change-Id: I6ef3cd157749fd562acb2f89ad44e63be4f7e975
2018-12-17 14:38:29 +00:00
Pete Birley
c90df9d6d5 Neutron: Perform full db migrations when TaaS enabled
This PS fixes the neutron db sync job to perform full db migrations
in addaion to tap-as-a-service when enabled.

Change-Id: Ieab54649344fb8737e2d8855f00a9ed574ace5ee
Signed-off-by: Pete Birley <pete@port.direct>
2018-12-15 18:42:46 -06:00
Zuul
fbe95c1a6e Merge "Implemented livenessProbe for different OpenStack api containers" 2018-12-15 09:01:52 +00:00
Steve Wilkerson
8879e6110f Disable gnocchi, ceilometer, mongodb from multinode jobs
This disables the deployment of gnocchi, ceilometer and mongodb
from the multinode job until we can determine the root cause of
the failures in these charts

Change-Id: I8c936cae0b814841da12aabd6d3f95e902912bda
2018-12-14 13:39:51 -06:00
Chris Wedgwood
938d0a1390 [cinder,glance] don't randomize job names
Random job names mean `helm upgrade` or indeed anything looks for
changes from rendered templates will see changes when there are none
causing churn and restarts.

Change-Id: I44331e00c288b517fccf69a4b60435efa2e13d61
2018-12-14 18:26:11 +00:00
bk160f
8514d31f51 Neutron PodSecurityContext
securityContext with non-root user is implemented
at Pod level and leveraged the helm-toolkit snippet

Fix for adding allowPrivilegeEscalation flag in container
securityContext in the neutron charts whereever needed

Depends-On: I95264c933b51e2a8e38f63faa1e239bb3c1ebfda

Change-Id: Id93b56d2e3886b9dd9115e79c28f661930146b00
2018-12-14 16:47:28 +00:00
Huang,Sophie(sh879n)
3061ae3896 Implemented livenessProbe for different OpenStack api containers
LivenessProbe is added to the below deployments:
  glance-api
  glance-registry
  heat-api
  heat-cfn
  horizon
  keystone-api
  nova-api-metadata
  nova-api-osapi
  nova-placement-api

Change-Id: I76b8cafa437855eeb42b77e88da6e3c514a3ac90
Signed-off-by: Huang,Sophie(sh879n) <sh879n@att.com>
2018-12-14 09:52:50 -06:00
Zuul
25e806a997 Merge "Imported Translations from Zanata" 2018-12-14 05:28:44 +00:00
Zuul
f834d37a8b Merge "Add local override for ingress" 2018-12-14 05:28:43 +00:00
Zuul
1a62d44a47 Merge "Change openstack-dev to openstack-discuss" 2018-12-14 05:28:43 +00:00
Zuul
861c41b1ac Merge "Adding livenessProbe to cinder-api container" 2018-12-13 18:07:22 +00:00
Jean-Philippe Evrard
7a42e7c383 Add local override for ingress
Without this patch it is not possible to have an override of
the helm values for the ingress controllers.

This is a problem, as this is inconsistent with other components
and this has reduced flexibility.

This patch solves the problem by exposing two extra overrides
for ingress: $OSH_EXTRA_HELM_ARGS_INGRESS_ceph and
$OSH_EXTRA_HELM_ARGS_INGRESS_openstack, next to the usual
$OSH_EXTRA_HELM_ARGS

Change-Id: I5b56941a6e9a585b9398099c632df349414112fa
2018-12-13 11:14:52 +00:00
Huang,Sophie(sh879n)
b859c1b1a5 Adding livenessProbe to cinder-api container
This patch set deploys a livenessProbe
for the Cinder API container.

Change-Id: Ice932f3209b9bbff0b54fadc79a99cfc1c2f1ee5
Signed-off-by: Huang,Sophie(sh879n) <sh879n@att.com>
2018-12-12 13:54:00 -06:00
OpenStack Proposal Bot
4c8f257d6d Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id389fa620236e9fddde4c7e9b18e83b76d416dd6
2018-12-12 10:26:25 +00:00
Steve Wilkerson
e633b33e78 Update upgrade host playbook in osh to match osh-infra
This updates the upgrade host playbook in openstack-helm to match
the playbook used in openstack-helm-infra. The recent addition of
adding an apparmor profile to the calico chart requires us to
do the same setup on hosts in the openstack-helm jobs before
attempting to deploy calico

Change-Id: I264ba4ee8a2f24ffcbb36e28f6b91bbc114b406d
2018-12-11 12:10:20 -06:00
Zuul
bc8eacf3fa Merge "Add TaaS panel to Horizon dashboard" 2018-12-06 20:20:16 +00:00
Pete Birley
bb7b973258 Nova: Mount cgroups read only
This PS updates the mount options for the nova-compute pod to mount
cgroups as read only within the pod.

Change-Id: I82e958c2865029cd4a093f62614a1e878075098a
Signed-off-by: Pete Birley <pete@port.direct>
2018-12-05 09:33:52 +00:00
Zuul
c20d358c60 Merge "Fallback to default allow_resize_to_same_host" 2018-12-05 00:03:05 +00:00