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
This commit is contained in:
parent
64842660ff
commit
9fe7c07e4d
@ -29,14 +29,10 @@ limitations under the License.
|
||||
{{- if empty .Values.conf.tempest.auth.admin_domain_name -}}
|
||||
{{- $_ := set .Values.conf.tempest.auth "admin_domain_name" .Values.endpoints.identity.auth.admin.user_domain_name -}}
|
||||
{{- end -}}
|
||||
{{- if empty .Values.conf.tempest.auth.admin_domain_scope -}}
|
||||
{{- $_ := set .Values.conf.tempest.auth "admin_domain_scope" .Values.endpoints.identity.auth.admin.user_domain_name -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if empty .Values.conf.tempest.identity.uri_v3 -}}
|
||||
{{- $_ := tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup"| set .Values.conf.tempest.identity "uri_v3" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if empty .Values.conf.tempest.identity.region -}}
|
||||
{{- $_ := set .Values.conf.tempest.identity "region" .Values.endpoints.identity.auth.admin.region_name -}}
|
||||
{{- end -}}
|
||||
|
@ -121,12 +121,23 @@ conf:
|
||||
# - (?:tempest\.scenario\.test_network_basic_ops\.TestNetworkBasicOps\.test_update_instance_port_admin_state)
|
||||
tempest:
|
||||
auth:
|
||||
# admin_username value set by configmap-etc
|
||||
admin_username: None
|
||||
# admin_password value set by configmap-etc
|
||||
admin_password: None
|
||||
# admin_project_name value set by configmap-etc
|
||||
admin_project_name: None
|
||||
# admin_domain_name value set by configmap-etc
|
||||
admin_domain_name: None
|
||||
use_dynamic_credentials: true
|
||||
admin_domain_scope: true
|
||||
tempest_roles: admin, member
|
||||
min_compute_nodes: 1
|
||||
identity:
|
||||
admin_domain_scope: true
|
||||
auth_version: v3
|
||||
# region value set by configmap-etc
|
||||
region: None
|
||||
# uri_v3 value set by configmap-etc
|
||||
uri_v3: None
|
||||
identity-feature-enabled:
|
||||
api_v2: false
|
||||
api_v3: true
|
||||
|
Loading…
Reference in New Issue
Block a user