Commit Graph

2563 Commits

Author SHA1 Message Date
Pete Birley
65df9acaf8 Nova: Move ceph config to remain on host
Change-Id: I786f9fec553eb8b65faa5b8b022d6c971f7dfba1
Signed-off-by: Pete Birley <pete@port.direct>
2019-02-08 16:02:13 -06:00
Zuul
51463ddbc2 Merge "Horizon: Expose additional security config params" 2019-02-08 05:51:14 +00:00
Rick Bartra
e60c91e99d Horizon: Expose additional security config params
Expose additional Horizon security params in accordance with the
OpenStack Security Guide [0]

- Check-Dashboard-03: Is DISALLOW_IFRAME_EMBED parameter set to True
- Check-Dashboard-07: Is PASSWORD_AUTOCOMPLETE set to False

[0] https://docs.openstack.org/security-guide/dashboard/checklist.html

Change-Id: I355ddbc9fb1dcd0a6100ee650afd54680ef9ffbd
2019-02-07 09:13:35 -05:00
Zuul
7edbfc8a7e Merge "OSH: Add Armada job for testing update of release uuids" 2019-02-05 20:21:06 +00:00
Zuul
3c8a6c0f8e Merge "Drop heat_stack_owner role" 2019-02-05 20:06:21 +00:00
Pavlo Shchelokovskyy
776f4a8297 Drop heat_stack_owner role
this role is not actually required since ~Kilo
I3f1b70b78b91bfac9af5fadb71140679b208c999
plus the heat chart already sets the trusts_delegated_roles option
for Heat to pass all roles to the trust

Change-Id: Icf900f318d3173d63c5967857d96f7d2a7f9aa5b
2019-02-05 17:36:18 +02:00
Steve Wilkerson
7c283e7b5d OSH: Add Armada job for testing update of release uuids
This adds both a periodic and experimental job for deploying Ceph
and the OSH components via Armada. This job will then generate a
new release uuid, render an updated manifest for all previously
deployed releases, then apply that manifest to validate the
ability for all deployed charts to update successfully with the
new release uuid annotation

Change-Id: I6f2125f3505904c4714688e7a9900b8d6bea49b4
2019-02-05 08:32:22 -06:00
Steve Wilkerson
99b3062315 Armada manifest: Add timeout to nova and neutron
This adds wait timeouts to nova and neutron to circumvent timeout
issues with deploying those two releases

Change-Id: I3fcc9ef5f16ecbc6dc33fc52df22c2d5ff504fb7
2019-02-05 08:31:41 -06:00
Zuul
5648754f50 Merge "Update openstack-helm Armada job" 2019-02-04 20:17:16 +00:00
Steve Wilkerson
dc1ef4c138 Update openstack-helm Armada job
This updates the openstack-helm Armada job to instead deploy
only Ceph, the OpenStack service charts, and their dependencies.
This is dependent on the addition of the Armada job for Ceph and
the LMA components to openstack-helm-infra. This also updates the
jobs definition to use the osh-gate-runner playbook instead, as
well as sets the job both to a periodic and experimental job

Depends-On: https://review.openstack.org/#/c/634676/
Depends-On: https://review.openstack.org/#/c/633067/
Change-Id: I7e191a153f123e04e123acc33fb691d8117062a9
2019-02-04 16:46:22 +00:00
Pete Birley
b02ec05d76 Horizon: Expose security config params
This PS exposes security related config params

Change-Id: Ia6d2e089301cfc8fd809380ad3f31c6e37dc5607
Signed-off-by: Pete Birley <pete@port.direct>
2019-02-01 22:30:14 +00:00
Pete Birley
23f5b18f1c Cinder: Update auth_strategy to explictly specify keystone
In accordance with the OpenStack Security Guide this PS updates
the cinder.conf to explicity set the auth_strategy param.

Change-Id: Ie0a2b9ffebb597166851226eabac4924c34e1404
Signed-off-by: Pete Birley <pete@port.direct>
2019-01-31 15:09:29 -06:00
Zuul
326200bf93 Merge "Scan templated python files with bandit" 2019-01-31 13:53:16 +00:00
Zuul
64e79b7065 Merge "heat : fix heat trustee configuration" 2019-01-31 08:18:05 +00:00
Steve Wilkerson
47d9c8a72c Armada Check: Add release uuid value to charts
This simply adds the release uuid value to the chart overrids in
the Armada manifests, which allows for validation that the release
uuid is appropriately added as an annotation to the resulting pods

Change-Id: I53dc31ed9849ea321064184817549c0e90c34378
2019-01-30 08:50:58 -06:00
Zuul
c863bb0cec Merge "Fix wrong chart name and env-variable's name in deployment-script" 2019-01-30 03:09:28 +00:00
Zuul
817eda621f Merge "Keystone: remove stale pids on startup if present" 2019-01-30 00:38:06 +00:00
Pete Birley
a5162ad6d7 Keystone: remove stale pids on startup if present
This PS removes stale pids on startup if present.

Change-Id: Iff136f16f8d15a08e8ce8c51d058b55288f97a2e
Signed-off-by: Pete Birley <pete@port.direct>
2019-01-29 16:30:36 -06:00
Deokjin Kim
d8f9d2dd35 Fix wrong chart name and env-variable's name in deployment-script
1. Chart name : change from "ceph" to "ceph-rgw"
2. Postfix of environment variable's name
   : change from "OPENSTACK" to "CEPH"

Change-Id: I03a4e12457cec1811b6fa03367811f74e4bb8b83
Signed-off-by: Deokjin Kim <deokjin81.kim@samsung.com>
2019-01-29 14:25:57 +00:00
David Smith
740eb2d219 Remove L3 and DHCP dependency for sriov_agent
Change-Id: I111d713c511d3d742f2ec4519d4f1091354bbb11
2019-01-28 18:19:31 -05:00
DaeSeong Kim
ff2db24c07 heat : fix heat trustee configuration
This PS removes project_XXX in heat.conf [trustee] section.

See below openstack commit.

https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=5a3618d4f51a64cc9ef16d9365aa7190b3f5914e

Change-Id: I858528856fca47de7e352b1f49e3cfdf5a1b66ab
2019-01-28 00:54:30 -08:00
Deokjin Kim
658138935f Allow prometheus-openstack-exporter to access keystone
To get openstack related metrics, prometheus-openstack-exporter need to
access to keystone. So add prometheus-openstack-exporter to network
policy of keystone.

Change-Id: I31106a10e512578a35122949c3cff698b1bc482b
Signed-off-by: Deokjin Kim <deokjin81.kim@samsung.com>
2019-01-25 14:12:09 +00:00
Pete Birley
192e6c0cad Heat: Use public endpoints for heat clients
This PS moves the default to use public endpoints for heat clients
eg: waitcondition url generation consumed by cloudinit in vms.

Change-Id: I24113c969f2b310a48cf128a1ada78930c69a4e1
Signed-off-by: Pete Birley <pete@port.direct>
2019-01-24 11:16:03 -06:00
Gage Hugo
482dbcac29 Scan templated python files with bandit
This change adds a zuul check job to export any templated python
contained in the helm charts and scan it with bandit for any
potential security flaws.

This also adds two nosec comments on the instances of subprocess
used as they currently do not appear to be malicious, as well
as changing the endpoint_update python code to prevent sql
injection, which satisfies bandit code B608.

Change-Id: I2212d26514c3510353d16a4592893dd2e85cb369
2019-01-22 20:53:52 +00:00
Dmitrii Kabanov
1173ef79a1 [Horizon] Hide OS and Apache version in error messages
This PS allows to customize (and disable) information about OS and
Apache version displayed on pages with error messages.

Change-Id: Ic4d19bcc90dadf5cf26faa5c8fb39de00a6f3212
2019-01-21 00:41:49 +00:00
Zuul
5b86825680 Merge "Neutron parameter min_l3_agents_per_router was removed in Ocata" 2019-01-19 22:16:03 +00:00
Pete Birley
f5bf6ec2de Cinder: Allow rootwrap to function in cinder volume
This PS updates the cinder volume template to restore rootwrap
operation.

Change-Id: Ifc6d2442e536e22dca0563bb16634fd9accf44e1
Signed-off-by: Pete Birley <pete@port.direct>
2019-01-19 14:53:37 -06:00
Zuul
624d737efc Merge "Fix cinder backup secret" 2019-01-19 10:18:57 +00:00
Evgeny L
b5803ad5a8 Neutron parameter min_l3_agents_per_router was removed in Ocata
This parameter has been deprecated in Newton and removed [1]
in Ocata.

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

Change-Id: Ib80cc6634d0fba8ddd2a8e5c9d26a6a0524164b8
2019-01-18 22:50:17 +00:00
Dmitrii Kabanov
6de134f600 [Horizon] Disable server-status page
This PS disables the server status page of Apache.
On the page provided information which can aid the
malicious user in finding vulnerabilities in the system.

Change-Id: I11104b10359808dc78a214ebb531d710ec353f60
2019-01-18 21:13:04 +00:00
Zuul
0292c2ec80 Merge "Disable Critical Information Exposure through Directory Listing" 2019-01-18 19:20:15 +00:00
John Haan
9447518d58 Fix cinder backup secret
cinder-backup container should reference cinder-backup-rbd-keyring

not cinder-volume-rbd-keyring if the backend driver of cinder backup

is ceph.

Change-Id: Icb7f80a01fc332ee13a42533f8e41e447008c2f4
2019-01-17 11:14:05 +09:00
Chinasubbareddy M
13277440d7 OSH: Ceph charts cleanup
This is  to clean ceph charts for unused variables and left over from
ceph chart split

Change-Id: If5c8a5a2cf590154ff712695d409ca83d81e8197
2019-01-16 21:06:46 +00:00
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
cc4c9cdc9d Merge "[Nova] Add host interface for host_ip in hypervisor description" 2019-01-15 15:26:36 +00:00
Zuul
76629fe523 Merge "Remove deprecated NovaImages.list_images test scenario" 2019-01-11 03:37:24 +00:00
Steve Wilkerson
112e15b165 Remove NovaImages.list_images from nova rally tests
This removes the NovaImages.list_images test from the rally
tests defined in the nova chart, as the updated rally version
seemingly doesn't include this test. This caused the multinode
periodic job to fail.

See: http://zuul.openstack.org/build/9628003399d640e683945260d9738ade

Change-Id: I9515fc3fee192ee6636e85a745071f93ff86c051
2019-01-10 12:20:31 -06:00
Andrii Ostapenko
86775083ba Remove deprecated NovaImages.list_images test scenario
According to https://review.openstack.org/#/c/605404
NovaImages.list_images scenario is deprecated

Change-Id: I73f9155b042486828226986009be20f1c02f1acf
2019-01-09 22:11:12 -06:00
Zuul
c510c08686 Merge "Fix for adding allowPrivilegeEscalation flag in container securityContext in the charts whereever needed" 2019-01-10 00:48:32 +00:00
John Haan
af3369cfea [Nova] Add host interface for host_ip in hypervisor description
This patch set host_interface for update host_ip information in compute
node.

Currently helm chart defines the value of my_ip set "0.0.0.0",
therefore host_ip of compute node is null.

$ nova hypervisor-show {uuid}
+---------------------------+------------------------------------------+
| Property                  | Value                                    |
+---------------------------+------------------------------------------+
| cpu_info_arch             | x86_64                                   |
.
.
| host_ip                   | None                                     |

Through this patch, OpenStack can provide appropriate values for
the required field.

Change-Id: I05f929cb2c777582c177e8c7a64b9fd431d554ec
2019-01-09 15:37:34 +09:00
Zuul
8935b24544 Merge "Upgrade rally to 1.3.0" 2019-01-09 05:18:39 +00:00
Rahul Khiyani
1e85edddfc Fix for adding allowPrivilegeEscalation flag in container
securityContext in the charts whereever needed

Change-Id: I97f17ce0631051be33038449a21efee26c572613
2019-01-09 02:39:54 +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