Commit Graph

2856 Commits

Author SHA1 Message Date
Daniel Badea
80a14e940e Cinder replace is_ceph_volume_configured
In preparation for supporting multiple Ceph backends
replace is_ceph_volume_configured with has_ceph_backend.

has_ceph_backend returns true when at least one
backend is using RBDDriver.

Change-Id: Iaa67061b05a9d355228ad7d3f5ee0f4f04dbdc66
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>.
2019-06-20 14:51:06 +00:00
Zuul
a8c8b74f69 Merge "Fixed wrong path to the value" 2019-06-19 20:32:24 +00:00
Zuul
a165c97b61 Merge "Sync Sphinx requirement" 2019-06-19 20:13:11 +00:00
Zuul
0b39112f21 Merge "Fully Document node/nodelabel override capability" 2019-06-19 16:17:27 +00:00
Zuul
3122def9bc Merge "[neutron] Update rootwrap filters to support python3 applications" 2019-06-19 16:17:26 +00:00
Jiří Suchomel
83fbb31192 [neutron] Update rootwrap filters to support python3 applications
There are the changes here

1. extend current kill_metadata filter for python3 versions

2. add kill_keepalived_monitor filters (introduced for neutron with
  https://review.opendev.org/#/c/636710/ )

Change-Id: If82db83bdb3bd8bebeb15382079b538fd8019376
2019-06-19 15:26:35 +02:00
Itxaka
d4b8f16f26 keystone: default domain fix
Provide the default domain id and assign the admin
role to it on bootstrap.
Currently we cannot provide domain scoped tokens with
the admin user due to it not being assigned the admin
role for the default domain.

This patch makes it so we assign the proper role on bootstrap.

Depends-on: https://review.opendev.org/662992
Change-Id: Ide1918c1ed264ccc2998008b2334542e3d683bfc
2019-06-19 13:05:05 +00:00
jacky06
4fd741d6bf Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Remove unncessary "=="

Change-Id: I3451c44a30a2e3d4bb58d2ac512e69da0781e961
2019-06-19 17:52:24 +08:00
Jiří Suchomel
2d754adf21 Fixed wrong path to the value
Apparently there was a copy & paste bug introduced in https://review.opendev.org/#/c/665750/

Change-Id: I359fcc239610df9e78ed0d490706673f37034936
2019-06-19 09:31:48 +02:00
Zuul
8ec7e3208a Merge "Cinder: Support backup driver specification by module or class name" 2019-06-19 05:28:04 +00:00
Pete Birley
9bcf0df94c Messaging: use htk function to directly hit RabbitMQ servers
This PS updates the charts to use the htk function recently introduced
to allow oslo.messaging clients ans servers to directly hit their
backends rather than using either DNS or K8S svc based routing.

Depends-On: I5150a64bd29fa062e30496c1f2127de138322863

Change-Id: I458b4313c57fc50c8181cedeca9919670487926a
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-18 21:47:45 +00:00
Zuul
cd460f12c2 Merge "Rafactoring volume mount variables in db sync job" 2019-06-18 18:24:18 +00:00
Robert Church
aa4ca5ad56 Cinder: Support backup driver specification by module or class name
During the Queens cycle, Cinder introduced the ability to specify the
backup driver via class name and deprecated backup driver initialization
using the module name. (Id6bee9e7d0da8ead224a04f86fe79ddfb5b286cf)

Legacy support for initialization by module name was dropped in Stein.
(I3ada2dee1857074746b1893b82dd5f6641c6e579)

This change will support both methods of initialization and leave the
driver defaults enabled for module based initialization (valid through
Rocky images).

This change has been tested using the OSH default Cinder (Ocata) images
and StarlingX images based on master (Train).

Change-Id: Iec7bc6f4dd089aaa08ca652bebd9a10ef49da556
Signed-off-by: Robert Church <robert.church@windriver.com>
2019-06-18 13:21:35 -04:00
Oleh Hryhorov
89f5bfe3ac Creating directory from ${APACHE_RUN_DIR} variable
If an image is built with python3 therefore libapache2-mod-wsgi-py3
module have to be installed accordingly but the module doesn't create
/var/run/apache2 directory which is APACHE_RUN_DIR in apache configuration
file so apache can't start without it due to the fact that the directory
is used to make there pid, run, etc files.

Change-Id: Ic92b095e9d7636c3ed833241bd3badbb4bb6e552
2019-06-18 06:02:47 +00:00
Pete Birley
31bd9c832d Logs: Make it optional to use log_config_append option
This PS enables the use of simple logging options if desired.

Change-Id: If6ea420c6ed595b3b6b6eedf99a0bf26a20b6abf
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-17 13:51:21 -05:00
Pete Birley
5ccd3a9e95 Nova: Fix metadata deps
This PS fixes the nova metadata deps to permit operation without
and ingress controller and prevent a circular dep chain.

Change-Id: I265d488e8024967685c5587d7a7cd24281011f3b
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-17 17:07:50 +00:00
Pete Birley
c9f425f269 Gate/Dev: enable compute kit to be deployed from outwidth the cluster
This PS updates the deplyment script for the compute-kit to allow use
from outside the k8s cluster.

Change-Id: Ie758b3c3c6b36c1882030c9a1be1b2ba6cc13ed4
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-17 17:07:32 +00:00
Pete Birley
74da069530 Neutron: Make config secret conform to k8s schema validation
This PS updates the neutron secret to conform to K8s schema
validation.

Change-Id: Id477510873362224ba919b0c97e09664d5c1b205
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-17 15:52:06 +00:00
RAHUL KHIYANI
5ad45700f4 Barbican: Add security context to chart and read-only-fs
This PS adds the security context macros to the barbican chart,
and sets the default to read-only-rootfs

Change-Id: I2dad0a50b23f2d202d6cd89b96d308321001fbe9
2019-06-12 10:38:01 -05:00
Pete Birley
d0b135cd77 AMPQ: update ha policy regex
Change-Id: I2f023c2e41a52b5753cdb77e93c9e876bc60a87d
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-11 12:17:22 -05:00
Zuul
47cb52b67c Merge "tempest: several fixes to tempest config" 2019-06-09 04:57:34 +00:00
Steve Wilkerson
0e1c296101 Horizon helm tests
This adds a helm test for Horizon, the helm test
runs a selenium webdriver check to verify the dashboard
is up

Change-Id: I3616c05596b2bd94931c39fb774333bf65453d52
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-06-05 12:41:21 -05:00
Zuul
0ee6063173 Merge "Implement Security Context for Nova" 2019-06-04 21:16:34 +00:00
Zuul
2132a98956 Merge "Add missing passwords to armada-osh manifest" 2019-06-04 16:41:43 +00:00
Gage Hugo
4f35570a46 Remove network-policy overrides default scripts
This change removes the network policy overrides from the default
developer deployment scripts now that there is a set of
designated scripts that provide this functionality.

Change-Id: I788845e85314b3a8a9c860fbc77de536113781e0
2019-06-04 14:52:16 +00:00
Itxaka
e9df9affe4 tempest: several fixes to tempest config
* tempest_roles: removed, as this is only used when the test
requires additional roles to be assigned.
Currently no test needs extra roles so adding those is changing
the expected output of some of the tests.

 * domain_specific_drivers: set to True. This needs to be a mirror
of the same value on the keystone chart

Change-Id: I1c84ed1ed5b1c2d8abd9e089044f40d08838c422
2019-06-04 11:36:17 +02:00
Zuul
4ec3d501b3 Merge "Armada: Remove logging overrides from OSH manifest" 2019-06-04 07:30:54 +00:00
Zuul
3811eedefe Merge "Exposed backoffLimit and restartPolicy in chart values" 2019-06-03 22:35:10 +00:00
Zuul
10f3ae3c93 Merge "Change set variable in openstack helm gate job" 2019-06-03 21:30:37 +00:00
matthew-fuller
8938b35e3b Exposed backoffLimit and restartPolicy in chart values
This change allows the restartPolicy of the tempest test pod to be set
to Never, bringing it in line with other test pod behavior, like rally.
If set to OnFailure, test pods are often deleted before logs can be
viewed.

Change-Id: I312b93784d27109452b2076658e5655210a92b48
2019-06-03 19:16:55 +00:00
Steve Wilkerson
77fa02b655 Armada: Remove logging overrides from OSH manifest
This removes the logging overrides for using the oslo log
fluentd handler and formatter from the armada-osh manifest. As
the armada jobs in the openstack-helm repo no longer deploy the
lma components, there's no fluentd instance for the openstack
services to log to

Change-Id: I6aed11871046a2caf705a3c444d169d1d977bdee
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-06-03 12:35:39 -05:00
pd2839
9b42e8a1c0 Implement Security Context for Nova
Implement container security context for the following Nova resources:
 - Nova server deployment

Change-Id: I02743cff46d9a043ccb029547c819fafd9da3611
2019-06-03 12:31:18 -05:00
Gage Hugo
976cab856c Create separate users for helm test
Currently each service uses the same name for their helm test user,
"test". While this works when services are ran sequentially, when
multiple services are deployed and tested at the same time, it can
lead to a race condition where one service deletes the user before
the other is done testing, causing a failure.

This change makes it so that each service defines its own test user
in the form of [service]-test.

Change-Id: Idd7ad3bef78a039f23fb0dd79391e3588e94b73c
2019-06-03 11:26:18 -05:00
Zuul
1292da06d5 Merge "Set the execution flag for 085-horizon.sh script" 2019-05-30 14:13:40 +00:00
Zuul
c8a012c477 Merge "fix wrong mount key for scheduler and consoleauth" 2019-05-30 13:28:41 +00:00
Zuul
be761f50f6 Merge "cinder: allow configuring the rbd app name" 2019-05-29 21:12:23 +00:00
Zuul
7c93354aa0 Merge "glance: allow configuring the rbd app name" 2019-05-29 21:08:38 +00:00
John Haan
41ad002419 Change set variable in openstack helm gate job
The volume variables is changed in mariadb chart.

It affects openstack helm gating job of mariadb, so we need to
change varible to
volume.use_local_path_for_single_pod_cluster.enabled.

Enable the local host path for mariadb data so if the container
is restarted during the gate jobs it can recover successfully.

Story: 2004702
Task: 33462
Depends-on: https://review.opendev.org/661955

Change-Id: Ib55779ddcbe7033da1900f5cd21de46543392d11
2019-05-29 23:25:08 +09:00
Zuul
6817c5cabf Merge "[Fix] Add Prometheus mysql exporter label to network policy" 2019-05-29 13:45:03 +00:00
Jiří Suchomel
5add8df532 Set the execution flag for 085-horizon.sh script
Change-Id: I9b98874ba943f5afb3de5d5bed779daa92e22b4f
2019-05-29 14:39:10 +02:00
Sreejith Punnapuzha
ed392356f9 [Fix] Add Prometheus mysql exporter label to network policy
Prometheus mysql exporter is failing because of missing label in
network policy for mysql. This is to add the label to the override
yaml

Change-Id: Ic5e2613303f04d2bfab1229d3818a2fc9b4263bc
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-05-28 14:20:01 +00:00
Itxaka
c38443de4c cinder: allow configuring the rbd app name
Instead of hardcoding it, let us override it with
custom values for normal volumes and backups

Change-Id: I3abb343877abd0436c592a3371372f82ef581790
2019-05-28 14:34:20 +02:00
Itxaka
d1e5fb3f92 glance: allow configuring the rbd app name
Instead of hardcoding it, let us override it with
values

Change-Id: Ifb8e5050d9fbcd7e5b40b2a5dcb4a2ce384ca195
2019-05-28 14:32:08 +02:00
OpenStack Proposal Bot
b3f8ef5614 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I11b8f563303c5d8abb5b40e84fc6d83abb0d6b44
2019-05-28 08:44:53 +00:00
Zuul
11d76bb083 Merge "Keystone: Enable Proxy Header Parsing" 2019-05-27 21:04:49 +00:00
Jiří Suchomel
bd6e5f9bd9 Added multinode version of horizon deployment script
Does not require node port values assignment

Change-Id: I6e443636d423e31a5504b3e1f74fe5aedc4fe672
2019-05-23 15:17:11 +00:00
sg774j
7a57dcf33a Keystone: Enable Proxy Header Parsing
Setting enable_proxy_headers_parsing to true under oslo_middleware

Change-Id: I50a72129d25fe1812a2c1d0adb736024349108af
2019-05-22 08:22:24 -05:00
John Haan
0ea9be7ade Rafactoring volume mount variables in db sync job
This patch make the db sync job template follows the same pattern
that other templates utilize the variables to make in a predictable
pattern.

Change-Id: Idbedd046c6b4fd001cf63004ffac792173a5778b
Story: 2005754
Task: 33457
2019-05-22 17:47:03 +09:00
Zuul
f8adab245b Merge "Point to OSH-images images" 2019-05-18 19:12:58 +00:00
Zuul
39eb474224 Merge "Expose Anti-Affinity Weight Setting." 2019-05-17 20:10:15 +00:00