Commit Graph

63 Commits

Author SHA1 Message Date
Vladimir Kozhukalov fc365b8dd5 Bump Cirros image version to 0.6.2
In Bobcat by default the ssh keypair is generated
with ed25519 algorithm which is incompatible with
Cirros 0.3.5. The Cirros 0.6.2 also requires minimum
128Mi of RAM

Change-Id: I0135c09a9ae5bc3171891576b29a450f7000f180
2023-10-12 13:45:53 -05:00
josebb 82065e3bb1 Add configuration for heat-tempest-plugin
Change-Id: I6402a18038f349225696ae0c23c30d55623766a7
2022-08-17 09:17:37 +03:00
josebb d3dfb29e3e Support SSL openstack endpoints in tempest
Change-Id: Id396e2af5fa078395707ef4c5193d42857e63469
2022-08-13 12:17:51 +03:00
Brian Haley ced30abead Support image registries with authentication
Based on spec
support-OCI-image-registry-with-authentication-turned-on.rst

Each Helm chart can configure an OCI image registry and
credentials to use. A Kubernetes secret is then created with this
info. Service Accounts then specify an imagePullSecret specifying
the Secret with creds for the registry. Then any pod using one
of these ServiceAccounts may pull images from an authenticated
container registry.

Related OSH-infra change:
https://review.opendev.org/c/openstack/openstack-helm-infra/+/848142

Change-Id: I54540f14fed29622bc5af8d18939afd06d65e2d8
2022-08-11 00:18:37 +00:00
Gage Hugo 51b2952ca3 Update tempest image defaults to focal
This change updates the default image values for tempest to
focal and wallaby.

Change-Id: Iea2804d45105713d7a8520865a862f6f8b6aa243
2022-04-27 10:01:26 -05:00
okozachenko f6d60656a4 Fix tempest logging config
Change-Id: I8ff6219cac80626b1d48c231ec19acefa76cb6b7
2022-04-07 20:35:14 +10:00
okozachenko a454a7cb29 Tempest: Add helm hook for jobs
Change-Id: Id2fa3fa81b50a5495003fe30e7859e1475f08843
2022-02-14 23:49:45 +11:00
Gage Hugo c20c1e4400 Update htk requirements repo
As part of the move to helm v3, all the charts in the OSH repos
will no longer lint/build properly due to a lack of helm serve
in helm v3.

This change modifies the helm-toolkit repo location to the
osh-infra repo in order to account for the removal oh helm serve.

This work is part of the migration to helm v3 and will be utilized
in future changes.

Change-Id: I90d25943d69ad6c76455f7778a4894f00c525c46
2021-10-10 18:45:28 -05:00
Gage Hugo 5233582991 Remove support for openstack releases older than T
This change bumps each openstack chart version up to the next
greatest minor version of 0.2.0, signifying that openstack-helm
will no longer support older, EOL releases for each chart.

Change-Id: I7ce80c7bdc779c1de4472079f18102f506bfbb90
2021-04-29 12:04:34 -05:00
Andrii Ostapenko 20b6b9a236
Change helm-toolkit dependency version to ">= 0.1.0"
Since we introduced chart version check in gates, requirements are not
satisfied with strict check of 0.1.0

Change-Id: If537f69dec7e3360f6bffcc4424f10c248919ece
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-09-24 12:20:13 -05:00
Zuul 28669f8854 Merge "Sync logging values with upstream repos" 2020-09-17 04:08:40 +00:00
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
okozachenko a8fc28696d Sync logging values with upstream repos
Some OSH charts have diffferent values for logger_root
handler from upsgream repo config defaul values.
Exactly, logger_root handler values.
This leads double logging finally.
To fix this, set logger_root as null like upstream repos.

Change-Id: I20e4f48efe29ae59c56f74e0ed9a4085283de6ad
2020-09-15 19:15:05 +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 b1755c3993.

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