667 Commits

Author SHA1 Message Date
Zuul
245bf49dd2 Merge "Lint and package chart About Mistral" 2021-03-11 06:44:22 +00:00
Zuul
c659b0fdd6 Merge "Update default overrides for openstack and ubuntu" 2021-03-11 03:53:39 +00:00
Zuul
4aa7a30267 Merge "Lint and package chart About Magnum" 2021-03-10 05:22:17 +00:00
Zuul
80c8f6d6d3 Merge "Fix name of variables error About ceph-rgw" 2021-03-06 01:22:09 +00:00
jinyuan
7c4f97c087 Lint and package chart About Magnum
Without this "make",It can lead to not being found <helm-toolkit> when running this script.

Change-Id: Id158275f72937052e3f3f4b562cd9a44d27e2493
2021-03-05 15:50:49 +08:00
jinyuan
0203c224f6 Lint and package chart About Mistral
Without this "make",It can lead to not being found <helm-toolkit> when running this script.

Change-Id: Ibde8f08e2b9062336b6bb2b90655e0e48104ef07
2021-03-05 15:47:31 +08:00
jinyuanliu
86fd8dd134 Remove congress residue
About congress chart,It's been removed,Remove congress residue now.

Related-Bug: #1917762
Change-Id: Ib52e77330cadf45bd3353bfaedc251485620d9f8
2021-03-04 21:48:39 +08:00
jinyuanliu
0ba0252bf3 Fix name of variables error About ceph-rgw
The name of variables should be OSH_EXTRA_HELM_ARGS_CEPH_RGW.

Change-Id: Ibf7a9251da7d268472510211a55ae2798746cb13
2021-03-03 06:46:55 +00:00
Nafiz Haider
ca47e3c974 Re-enable "feat(tls): Change Issuer to ClusterIssuer""
This reverts commit 2ec17153c6.

Reason for revert: resolved bug with cluster issuer versioning

Depends-on: https://review.opendev.org/c/openstack/openstack-helm-infra/+/772814

Co-authored-by: Sangeet Gupta <sg774j@att.com>

Change-Id: If7ebef1cebbe5b1d97ac530dd7136e3fc9232b21
2021-02-26 02:43:09 +00:00
Zuul
05d989cc9b Merge "[ceph] OSH:Make sure loopback devices persistent across reboots" 2021-02-22 18:19:41 +00:00
Zuul
a4279d7956 Merge "[ceph] BUG When deploy ceph" 2021-02-22 18:18:44 +00:00
Chinasubbareddy Mallavarapu
85627eca0c [ceph] OSH:Make sure loopback devices persistent across reboots
Change-Id: I85e4c29925ac63ea7656901f5b03b919984cf12f
2021-02-22 13:54:39 +00:00
Gage Hugo
01a1ab2ecc Update default overrides for openstack and ubuntu
By default when deploying the openstack AIO, it will deploy
openstack ocata release on ubuntu xenial, which by now is quite
old and largely unsupported. This change updates these default
overrides to train and bionic respectively in order to bring
the default settings to more recent/supported releases.

Change-Id: I9b6e1120101767356413b1341828dc8d39bc9b3c
2021-02-03 19:45:59 +00:00
jinyuanliu
1a7b4f22d0 [ceph] BUG When deploy ceph
Without this "Make",It can lead to not being found <helm-toolkit>

Change-Id: Ie59d167fb4063e99e47d73bc1b111e161f12944a
2021-01-28 07:43:00 -05:00
Tin Lam
2ec17153c6 Revert "feat(tls): Change Issuer to ClusterIssuer"
This reverts commit 43e75eaa83.

Reason for revert: Doing this as part of the revert here - https://review.opendev.org/c/openstack/openstack-helm-infra/+/772733

Change-Id: I9c04a35c179d23ec1b7612b4f87d9d16352985cc
2021-01-27 17:09:42 -06:00
sgupta
43e75eaa83 feat(tls): Change Issuer to ClusterIssuer
ClusterIssuer does not belong to a single namespace (unlike Issuer)
and can be referenced by Certificate resources from multiple different
namespaces. When internal TLS is added to multiple namespaces, same
ClusterIssuer can be used instead of one Issuer per namespace.

Depends-on: https://review.opendev.org/c/openstack/openstack-helm-infra/+/766359

Change-Id: I6585d5a8c2ccb507a5c99784c0190502b55a5bcf
2021-01-19 13:47:09 +00:00
Gupta, Sangeet (sg774j)
86c2196679 zuul.d: Adding multinode job
This new job deploys 5 node cluster and deploy train
openstack.

Depends-on: https://review.opendev.org/c/openstack/openstack-helm-infra/+/765588

Change-Id: I9c946d5eab46d6603c9b8ff25dc482b543d236bf
2020-12-28 16:38:32 +00:00
Andrii Ostapenko
25a02b797f Add force cron jobs test run
Change-Id: Iba1045e8b8a992c77449c77a16d410589b7778bc
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-09-10 17:15:26 -05:00
Andrii Ostapenko
71bc6d15c7 Dynamically determine if ceph is enabled for compute kit
Change-Id: If9af66b0e5e1d6b5ba514c8e5e5f27383e74850e
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-08-26 03:35:35 +00:00
Andrii Ostapenko
b334b221db Add retry for curling cfssl.org
We observe SSL related errors rarely in jobs.

Change-Id: Ia5569f411abd2828c6ab289e3942e3a7dabf2d46
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-08-12 12:23:59 -05:00
Chinasubbareddy Mallavarapu
ab10fde533 [CEPH] update ceph installation script to skip loopback device creation
This is to update installation script to enable option to skip the
loopback device creation as this gives flexibility to use exisitng
block devices for ceph.

Change-Id: I2e05cfa627dad5d32e882af3ba82bcde21e2ad70
2020-08-10 17:20:44 -05:00
Andrii Ostapenko
f3ed377cbc Parallelize helm test run for compute-kit
Depends-On: https://review.opendev.org/742499
Change-Id: Iebc74280f5fd6302723caa325603645a2f9755dc
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-08-06 00:51:29 +00:00
Zuul
639f15a069 Merge "[CEPH] Update ceph scripts to create loopback devices" 2020-07-29 20:07:24 +00:00
Chinasubbareddy Mallavarapu
59dac81fd4 [CEPH] Update ceph scripts to create loopback devices
This is to update ceph scripts to create loopback devices
in single script and also to update gate scripts.

Change-Id: I937ae79512ffc998d8dbd0b277a611347550044b
2020-07-29 09:51:31 -05:00
Andrii Ostapenko
3aa712e818 Use default stein OPENSTACK_RELEASE for client setup
Change-Id: I07dfb5bb55a86b34ff0c1af3b5c183efdc0c892a
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-07-27 15:12:52 -05:00
Zuul
85939ac59a Merge "Adding clean-up guide for 900-use-it script" 2020-07-24 19:03:04 +00:00
Zuul
e56deaf464 Merge "Remove stacks created by tempest script before recreating" 2020-07-24 05:54:32 +00:00
Chinasubbareddy Mallavarapu
385c0775b9 [CEPH] Update dev scripts for ceph to handle loopback devices
This is to update loopback devices creation script to take device names
from developers in case if default devices are busy.

Change-Id: Ie368ebdfdc64ea00ccf62cf61010beddcc2cf4ce
2020-07-21 21:46:18 +00:00
Michael Fix
1fcd52a484 Adding clean-up guide for 900-use-it script
This change modifies the exerise-the-cloud.rst file to include user
steps for cleaning up the client environment to allow for subsequent
runs of the 900-use-it.sh script.

Change-Id: I6bd3c95d837f9b3273868d51c1f5121d96e53e73
2020-07-20 23:41:00 +00:00
Andrii Ostapenko
dac7c4f8bd Specify OPENSTACK_RELEASE for setup-client.sh constraints
Also include ensure-pip role to functional jobs.

Depends-On: https://review.opendev.org/741485
Change-Id: I68fd85ada78cd41108c2f292a8cb9a237cd79e8d
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-07-19 00:09:33 +00:00
Zuul
8c9b9a63bf Merge "Refactor to support jobs invocations from other projects" 2020-07-16 15:31:11 +00:00
Andrii Ostapenko
f305793243 Fix security context for glance rally tests
Also enable glance helm tests for gates.
Temporary replaces cirros url to mirror due to [0]

[0] https://bugs.launchpad.net/rally/+bug/1887705

Change-Id: I21ceba857c375c1de054e69cf84449e02881b0ce
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-07-15 18:36:48 +00:00
Jiří Suchomel
71a6af325c Remove stacks created by tempest script before recreating
In case user wants to re-run a script that failed (e.g because of a
timeout), next run should not fail just because the stacks were
already created.

Change-Id: I5b3650225794704de5433a24f678decc69212997
2020-07-13 15:44:53 +02:00
Andrii Ostapenko
67acec14cd Refactor to support jobs invocations from other projects
Switch osh fuctional jobs to osh-infra-job-runner playbook inheriting
from openstack-helm-infra-functional.
Specify gate_scripts_relative_path var for each job to support the
case when corresponding jobs defined in osh are invoked from another
project to allow playbook know where to look for gate scripts.

Depends-On: https://review.opendev.org/740557
Change-Id: I315f04ef7bdf5bf97d09843de8f878e2d15377dc
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-07-12 03:19:39 +00:00
Andrii Ostapenko
44d263b2bf Enable templates linting
- braces
- brackets
- colons
- commas
- comments
- hyphens
- indentation
- key-duplicates

with corresponding code changes.

Also disable enforcement for document-(start|end) rules and
disables warnings to increase readability.

* Unrestrict octal values rule since benefits of file modes readability
  exceed possible issues with yaml 1.2 adoption in future k8s versions.
  These issues will be addressed when/if they occur.

Change-Id: Ic5e327cf40c4b09c90738baff56419a6cef132da
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-07-11 00:52:51 +00:00
Tin Lam
918a307427 feat(tls): add tls support to openstack services
This patch set enables TLS for the following OpenStack services: keystone,
horizon, glance, cinder, heat, nova, placement and neutron for s- (stein)
and t- (train) release. This serves as a consolidation and clean up patch
for the following patches:

[0] https://review.opendev.org/#/c/733291
[1] https://review.opendev.org/#/c/735202
[2] https://review.opendev.org/#/c/733962
[3] https://review.opendev.org/#/c/733404
[4] https://review.opendev.org/#/c/734896

This also addresses comments mentioned in previous patches.

Co-authored-by: Gage Hugo <gagehugo@gmail.com>
Co-authored-by: sgupta <sg774j@att.com>

Depends-on: https://review.opendev.org/#/c/737194/

Change-Id: Id34ace54298660b4b151522916e929a29f5731be
Signed-off-by: Tin Lam <tin@irrational.io>
2020-07-10 09:36:31 -05:00
Zuul
135e2c8b64 Merge "Add TungstenFabric compatibility to charts" 2020-07-08 13:47:49 +00:00
Chinasubbareddy Mallavarapu
a385c18176 [CEPH] OSH: use loopback devices for ceph osds.
- This is to make use of loopback devices for ceph osds since
support for directory backed osds going to depricate.

- Move to bluestore from filestore for ceph-osds.

Change-Id: Ia95c9ceb81f7d253dd582a2e753a6ed8fe60a04d
2020-06-30 17:05:22 -05:00
OlegBravo
4f2eb8cac6 Add TungstenFabric compatibility to charts
The charts changes are required for deployment
of various clouds based on Tungsten Fabric SDN.
Right now it's tested for Airship-in-a-bottle.

The code cannot be tested currently in
OpenStack Helm project because of absence of
tests and platform for that.

This patchset doesn't have Heat-related changes,
they'll be added later.

Change-Id: I73f2ced2b09dbb93146334b59fe4571fa13dbfb0
Depends-On: https://review.opendev.org/#/c/734635/
2020-06-26 10:39:20 +03:00
Andrii Ostapenko
41a6fa26e4 Fix developer compute-kit.sh script
Release overrides are not applied in component script if invoked from
developer ceph one because OSH_EXTRA_HELM_ARGS_NOVA is not empty.

Change-Id: Ic4eb1cf6115b740b59922272a789e37b683cb44e
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-06-25 21:56:35 -05:00
Ahmad Mahmoudi
0a91e260bc (fix) Changed pip to pip3
Changed pip to pip3 to address zuul gate issues.

Change-Id: I811fdefa258550b569977000e9b974d17e7be333
2020-06-18 05:20:14 +00:00
Gage Hugo
3a3cabc3b8 Add python3-pip to list of installed packages
OSH requires pip3 to install the openstackclient, and a recent
change in infra made the images no longer contain
pip by default. This change adds python3-pip in order to address
this.

Change-Id: I32febc7194ced6ab88794c6ac9fa2aa373909827
2020-06-17 16:02:11 +00:00
KHIYANI, RAHUL (rk0850)
d6a3a62c54 adding python3-pip package to installation script
python3-pip package is required to support openstack-client

Change-Id: Iccfc52d8ec0577f656c5d06fef43240b33c49c4d
2020-06-12 16:07:30 +00:00
Gayathri Devi Kathiri
16ea83e11c Remove remaining test pods before new test run
If the test pod still exists, then the new test run
fails with ERROR: pods "abc-test" already exists

So, Removing remaining test pods before new test run

Change-Id: I447d2b56b1419086b99df47b6605d0a95e1a9239
Closes-Bug: #1882030
2020-06-04 08:52:51 +00:00
Zuul
ae9632177f Merge "feat(tls): add additional parameters to chart deployment" 2020-06-02 19:08:16 +00:00
Tin Lam
19f79aba19 feat(tls): add additional parameters to chart deployment
This patch set adds in two additional parameters to:

a. establish ownership between certificate and secret so secrets can be
   cleaned up when the certificate is deleted as part of a helm release
b. add the ability to always issue new tls.key as part of the key
   rotation when the secret gets regenerated for any reason.

This also adds linebreaks for readability.

Change-Id: Id40d504251bbd98c32a7d9baa3dbe9858ad495cb
Signed-off-by: Tin Lam <tin@irrational.io>
2020-06-02 10:15:47 -05:00
diwakar thyagaraj
477602f2e7 Enable Apparmor to osh test Pods
Change-Id: I0a67f66cc4ed8a1e3a5c3c458b7c1521f9169160
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
2020-06-01 18:32:51 +00:00
Tin Lam
3da6d34ff2 feat(tls): update cert-manager version
This patch set updates the cert-manager.io version from v1alpha2 to
v1alpha3.

Change-Id: Ib9904f9f2c1f3fa426c852b012307cf7aed266e7
Signed-off-by: Tin Lam <tin@irrational.io>
2020-05-23 05:10:50 -05:00
Zuul
3af196f578 Merge "feat(tls): adding cert manager to gate" 2020-05-21 16:05:39 +00:00
Tin Lam
26c795aa0d feat(tls): adding cert manager to gate
Change-Id: I913c9de3bd405ecd4482c6d455c9c7399e64f95a
Signed-off-by: Tin Lam <tin@irrational.io>
2020-05-20 19:59:58 +00:00