51 Commits

Author SHA1 Message Date
Mohammed Naser
89969ade3a Add chart-testing linter
Added chart lint in zuul CI to enhance the stability for charts.
Fixed some lint errors in the current charts.

Change-Id: I7e4b191fb9e355ab5d5a233e8ed121346519df62
2020-09-16 21:12:17 +03:00
Zuul
7d4208a1f3 Merge "fix tempest conf" 2020-08-08 02:24:46 +00:00
terrysong
8c846a06d5 remove tempest deprecated config
dns_servers in openstack-helm/temepst/values.yaml is deprecated,
this config option is no longer used anywhere,
so it can be removed.

Change-Id: Ic1a83fbc7a25716fd082f4896355ce1014c4134d
2020-08-07 19:31:27 +00:00
Andrii Ostapenko
8cfa2aa390 Enable yamllint checks
- brackets
- braces
- colon
- commas
- comments
- document-end
- document-start
- empty-lines
- hyphens
- indentation
- new-line-at-end-of-file
- new-lines
- octal-values
- trailing-spaces

with corresponding code adjustment.

Also add yamllint.conf under the check.

Change-Id: Ie6251c9063c9c99ebe7c6db54c65d45d6ee7a1d4
2020-05-27 19:16:34 -05:00
Gage Hugo
db79e79788 Remove OSH Authors copyright
The current copyright refers to a non-existent group
"openstack helm authors" with often out-of-date references that
are confusing when adding a new file to the repo.

This change removes all references to this copyright by the
non-existent group and any blank lines underneath.

Change-Id: Ia035037e000f1bf95202fc07b8cd1ad0fc019094
2020-04-03 20:53:32 +00:00
Shy
4beb0eba34 fix tempest conf
The configuration of conf.volume.backend_name
in openstack-helm/tempest/values.yaml is missing an "s",
and the standard configuration of volume
in tempest.conf is "backend_names".

Change-Id: I1778e047774b8d74a021153674ab53915649663f
2020-01-09 09:44:31 +08:00
Steve Wilkerson
9736f5f544 Update kubernetes-entrypoint image reference
This updates the kubernetes-entrypoint image reference to consume
the publicly available kubernetes-entrypoint image that is built
and maintained under the airshipit namespace, as the stackanetes
image is no longer actively maintainedy

Depends-On: https://review.opendev.org/688435

Change-Id: I8e76cdcc9d4db8975b330e97169754a2a407341f
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-10-21 13:58:22 +00:00
Vasyl Saienko
bd8f9c3477 Set tempest.dashboard.dashboard_url parameter
Set parameter dynamically from endpoints.

Change-Id: Iac354a57fa4ec2e22c8773635fd407588327249c
2019-08-15 07:32:45 +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
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
Jean-Philippe Evrard
1d335146fa Point to OSH-images images
We now have a process for OSH-images image building,
using Zuul, so we should point the images by default to those
images, instead of pointing to stale images.

Without this, the osh-images build process is completely not
in use, and updating the osh-images process or patching its
code has no impact on OSH.

This should fix it.

Change-Id: I672b8755bf9e182b15eff067479b662529a13477
2019-05-13 10:58:02 +02:00
Zuul
7f95467e3d Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-05-01 16:11:28 +00:00
Zuul
b6830fd9c3 Merge "Fix some tempest values" 2019-04-27 07:12:24 +00:00
Zuul
15d7e6fcc2 Merge "Fix tempest test script" 2019-04-27 07:12:23 +00:00
caoyuan
cb77d3adff Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I9a7bcee8727cb127d57ccb4dce1183895a4130cd
2019-04-25 00:37:57 +08:00
Pete Birley
623c131292 OSH: Add emptydirs for tmp
This PS adds emptydirs backing the /tmp directory in pods, which
is required in most cases for full operation when using a read only
filesystem backing the container.

Additionally some yaml indent issues are resolved.

Change-Id: I9df8f70e913b911ff755600fa2f669d9c5dcb928
Signed-off-by: Pete Birley <pete@port.direct>
2019-04-20 08:55:44 -05:00
Zuul
b8b7c0fa24 Merge "Fix configmap-etc values for tempest" 2019-04-18 06:44:59 +00:00
Zuul
21668ddddf Merge "Add logging.conf to tempest" 2019-04-18 06:15:09 +00:00
Itxaka
82c12e581d
Fix some tempest values
changes the default admin_domain_scope to false as we do not provide
an admin scoped credentials in the default deployment

drops volume-feature-enabled -> api_v1/api_v3 as its deprecated and
instead use catalog_type to let tempest know which version to use

drop identiti-feautre-enabled -> api_v2 as its deprecated

Change-Id: I508b5d3e59b33e2c37155918ce99504e1b760210
2019-04-17 15:13:50 +02:00
Itxaka
10289c5566
Add logging.conf to tempest
Add a configurable logging.conf to the tempest chart.
Sets the default level to WARN as it currently its on INFO and
that results into the log being full of rest_client calls, which
makes it difficult to read the log and the actual tests running

Change-Id: I9deb016a4feee482c01e79a4209c001968b8ea12
2019-04-16 12:11:01 +02:00
Itxaka
720c72baa9
Fix tempest test script
We need to pass the config file to tempest cli so it can run from
anywhere

As a side effect, we need to also pass the concurrency value to the cli
as it cannot infer it by itself

Change-Id: I897951cbbe39152767123387dff43109bef84cc6
2019-04-15 17:35:55 +02:00
Itxaka
1c8cbe6be8
point to openstackhelm tempest image
we are pointing to a non-existant tempest image from kolla

point to our published image instead

Change-Id: Ia9acfdc90c2bed47c944bcc1420a2e9920b40a54
2019-04-15 17:34:13 +02:00
Itxaka
96aa69d131
Fix configmap-etc values for tempest
we are using the None value for some of the values that should be filled
by the configmap-etc template but as that template checks for empty values
and None is not counted, we are filling the tempest.conf with the wrong
values for auth and others

Instead use the null value for those so they get properly filled by the
template system into the appropiate values

Change-Id: I30528b1944722e9ce2e227b1b4dacae7635167ec
2019-04-08 18:01:31 +02:00
sandriichenko
9bca5deacd Fix letters mistake in tempest chart
Change-Id: Iac300334aed4c16f7e88e2f4333a8d7480efaf8d
Story: 2005199
Task: 29963
2019-03-11 15:03:43 +00:00
Howell, Ian (ih616h)
c8f744a435 Use unique names for tempest jobs
This commit replaces the hard-coded name for tempest jobs with the
unique Release name, allowing multiple runs of the job in the same
namespace without causing collisions.

Change-Id: I0c8aada93803875d7b0ff216c12ea67a925a510f
2018-12-04 16:57:14 +00:00
Tin Lam
3cd4d0898a Upgrade default from newton to ocata
This patch set moves the default deployment to ocata from newton.
Newton zuul job is now moved into its separate job.

Change-Id: Ic534c8ee02179f23c7855d93a4707e5a2fd77354
Signed-off-by: Tin Lam <tin@irrational.io>
2018-10-13 04:18:46 +00:00
Doug Schveninger
9fe7c07e4d Clean up the tempest.conf section of the values.yaml
While running chart internal to AT&T we found some
tempest.conf values that are not mapped to the correct section of the
tempest config.py.  This commmit is to address these changes:

1) tempest.auth.admin_domain_scope should be in
tempest.identity.admin_domain_scope
default is false and existing code is
setting the value to true so it is needed
https://github.com/openstack/tempest/blob/master/tempest/config.py#L109

2) tempest.auth.min_compute_nodes should be in
tempest.compute.min_compute_nodes but it is setting the default value so
this is not needed and I am dropping it
https://github.com/openstack/tempest/blob/14.0.0/tempest/config.py#L231

Also while learning about the chart we found that the admin_domain_scope
configmap-etc was mappinng the wrong data type so we removed the map
and set the admin_domain_scope  to true.

Change-Id: I52f115c3a1afee0fd58ef9422c6353ea1a93e814
2018-09-27 12:44:08 +00:00
Pete Birley
3ae745a10e Add release uuid to pods and rc objects
This PS adds the ability to attach a release uuid to pods and rc
objects as desired. A follow up ps will add the ability to add arbitary
annotations to the same objects.

Depends-On: Iceedba457a03387f6fc44eb763a00fd57f9d84a5
Change-Id: I324680f10263c1aefca2be9056e70d0ff22fcaf0
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-13 06:29:14 -05:00
Kaustuv Royburman
3836899a26 Prevent resource deletion in Live Lab
The tempest utility that is configured here will take a snapshot.
After the snapashot and test run it will delete any resources that
are not in the snapshot.

If a tenant creates a resource outside of the test run it will also
be deleted.

This is something which is not desirable in a live lab.

This patch aims to provide control to the end-user to define how
to perform the final cleanup.

Change-Id: I1f7eb3ac5e9f9be08cb05a70bb1fb2d0f4b41382
2018-09-07 05:35:49 +00:00
Zuul
1985da999e Merge "Tempest: add option to execute cleanup always" 2018-08-29 22:12:17 +00:00
Jean-Philippe Evrard
05d0e2b4b8 Revert "Update OSH Author copyrights to OSF"
This reverts commit b1755c399341388627a668ab9fd6f43b7416f65a.

Change-Id: I215a172f2ff4220340292b95f5323847944baeb7
2018-08-28 17:25:13 +00:00
Matt McEuen
b1755c3993 Update OSH Author copyrights to OSF
This PS updates the "Openstack-Helm Authors" copyright attribution
to be the "OpenStack Foundation", as decided in the 2018-03-20
team meeting:
http://eavesdrop.openstack.org/meetings/openstack_helm/2018/openstack_helm.2018-03-20-15.00.log.html

No other copyright attributions were changed.

Change-Id: I167ceedab8fadee28c19514fad6f125d0a521caf
2018-08-26 17:17:41 -05:00
Zuul
e31f82668e Merge "Keystone: Correct endpoint definition" 2018-08-24 16:01:53 +00:00
Pete Birley
4b3cbafc9a Keystone: Correct endpoint definition
This PS udpates the keystone endpoint definition to point to the
correct host for the admin endpoint when looked up using endpoint
functions from helm-toolkit.

Change-Id: Ic6b82a002cca92e37d21f594bad5f00758f1ea7a
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-23 11:33:21 -05:00
Pete Birley
83b91e6e1b Openstack: Use k8s secret to store config
This PS moves openstack components in OSH to use secrets to store
potentially sensitive config information.

Depends-On: https://review.openstack.org/#/c/593732

Change-Id: I9bab586c03597effea0e48a58c69efff3f980a92
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-22 20:39:52 -05:00
Jawon Choo
7bb4aed56c Tempest: add option to execute cleanup always
This PS makes to control cleanup action.
If there are FAILED cases, temepest-test returns non-zero code.
_run-tests.sh.tpl exit immediately without cleanup.
if set Values.conf.cleanup.force to true, cleanup is excuted always.

Change-Id: Ie2ffee8faa9561f8acb4dc762fcfa9a282477f50
Closes-Bug: #1788076
2018-08-22 18:12:44 +09:00
Pete Birley
4a6d740154 Keystone: Stop running keystone container with root user
This PS updates the keystoen chart to stop running the keystone api
as the root user.

Change-Id: If3042210f761476846da02fc8e648c700267a591
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-04 10:06:32 -05:00
Pete Birley
5f349ae653 Keystone: Disable v2 api
This PS disables the v2 keystone API, and finishes the migration to
full v3 support.

Change-Id: I3021ebe0bee668db9f28e7fb18e2d4b26172f209
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-03 14:50:45 +00:00
Pete Birley
dc7008d9a5 Keystone: enable external access to admin endpoint
This PS moves to use port 80 by default for the keystone
asdmin endpoint, and adjusts paths accordingly.

Change-Id: Iccae704dadc17eba269e857301654782f64763c9
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-02 14:40:20 +00:00
Zuul
29e920f83d Merge "Tempest: change manifests.pvc to pvc.enabled from pvc-tempest.yaml" 2018-07-31 16:28:58 +00:00
Pete Birley
95c5b4942d Keystone: Use service domain for service users
This PS moves to use a service domain for openstack service accounts
and users.

Change-Id: Ibe7c5f83a9fc9960fb85e53f9745d24f2192a94a
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-26 05:19:38 +00:00
Pete Birley
ec2f9d0808 Keystone: Update admin port declaration to use standard layout
This PS updates keystone, and the keystone endpoints sections to use
the same layout for port declarations as other charts.

Change-Id: I7dddabee6c74bf023da4b1cdf722a409e7475f8f
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-25 13:00:52 -05:00
Chris Wedgwood
f6ee969f4d tempest: use updated entrypoint container
Change-Id: I483ecfe200494c0fa1d9d08d79958f658791af69
2018-07-17 22:08:21 +00:00
Siri Kim
be471eaaee Tempest: change manifests.pvc to pvc.enabled from pvc-tempest.yaml
This PS remove change pvc-tempest.yaml from manifests.pvc to
pvc.enabled as there is no manifests enabled value for pvc.
Bug was tempest pod is in pending state as pvc is not found.

Change-Id: Ib6704725c7415e95237f633d340479e33b43d85b
2018-07-12 07:20:15 +00:00
caoyuan
8f4eadcf85 Complete the Default values decription
Change-Id: I4733a72b3c9c4473dd721c39671918bb99562044
2018-06-30 05:25:57 +00:00
Gage Hugo
f5c2fe9a1a Consolidate all variations of member role
As of Rocky, keystone creates a default "member" role upon bootstrap.

This change modifies any references to the manually created
"_member_" role to "member". In a future change, the manualy creation
of this role in keystone can be removed since it will no longer be
needed.

Change-Id: I65c63695976f38da21dc6dd8f40ad70e23da6f48
2018-06-25 18:40:22 +00:00
Pete Birley
75ecf8fdf4 Gotpl: remove quote and trunc to suppress output
This PS removes the use of the `quote and truncate` approach to
suppress output from gotpl actions in templates and replaces it
with the recommended practice of defining `$_` instead.

Change-Id: I5f35c5f7e70b4f7f461d772e3b72ed1c695c56a8
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-16 18:52:13 +00:00
zhulingjie
eb80c4f7f1 Update the home page for openstack project
Change-Id: I3841873915bb6e10e55375cd170688a7d6810535
2018-05-27 14:01:50 -04:00
Pete Birley
460675bf7f Add image management function to manifests
When removing helm-toolkit from OSH and swithcing to use the
toolkit from OSH-Infra, the image declaration function was missed.

Depends-On: I2f2012590d81ffcb159d49d8a76eedd4441744cd
Change-Id: I0f1118bb748f3fe1b6bb73acfc00e77c5cca9c7d
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-20 10:10:16 -05:00
Steve Wilkerson
354b311ec5 Add local-registry image managment to OSH from OSH-Infra
This PS adds the local registry image managment to OSH from OSH-Infra.
With this the delta between helm-toolkits in the Repo's is removed,
allowing the toolkit from OSH-Infra to be used and the one from OSH
to be depreciated.

Change-Id: If5e218cf7df17261fe5ef249d281f9d9637e2f6a
Co-Authored-By: Pete Birley <pete@port.direct>
2018-05-12 14:35:48 +00:00