Add disable_ssl_certificate_validation to dashboard plugin
disable_ssl_certificate_validation in dashboard allows to disable SSL certificate validation in horizon tempest plugin in cases where validation is possible as IPv6 deployments when accessing using ip instead of a dns name. Change-Id: Iea7a4b85ac64572fac0f0ad871649a79fbc1c0f5
This commit is contained in:
parent
f91d7602c5
commit
2e998fddf4
|
@ -189,6 +189,8 @@
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
# [*dashboard_url*]
|
# [*dashboard_url*]
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
|
# [*disable_dashboard_ssl_validation*]
|
||||||
|
# Defaults to undef
|
||||||
# [*compute_build_interval*]
|
# [*compute_build_interval*]
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
# [*ca_certificates_file*]
|
# [*ca_certificates_file*]
|
||||||
|
@ -222,140 +224,141 @@
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
#
|
#
|
||||||
class tempest(
|
class tempest(
|
||||||
$package_ensure = 'present',
|
$package_ensure = 'present',
|
||||||
$tempest_workspace = '/var/lib/tempest',
|
$tempest_workspace = '/var/lib/tempest',
|
||||||
$install_from_source = true,
|
$install_from_source = true,
|
||||||
$git_clone = true,
|
$git_clone = true,
|
||||||
$tempest_config_file = '/var/lib/tempest/etc/tempest.conf',
|
$tempest_config_file = '/var/lib/tempest/etc/tempest.conf',
|
||||||
|
|
||||||
# Clone config
|
# Clone config
|
||||||
#
|
#
|
||||||
$tempest_repo_uri = 'git://github.com/openstack/tempest.git',
|
$tempest_repo_uri = 'git://github.com/openstack/tempest.git',
|
||||||
$tempest_repo_revision = undef,
|
$tempest_repo_revision = undef,
|
||||||
$tempest_clone_path = '/var/lib/tempest',
|
$tempest_clone_path = '/var/lib/tempest',
|
||||||
$tempest_clone_owner = 'root',
|
$tempest_clone_owner = 'root',
|
||||||
|
|
||||||
$setup_venv = false,
|
$setup_venv = false,
|
||||||
|
|
||||||
# Glance image config
|
# Glance image config
|
||||||
#
|
#
|
||||||
$configure_images = true,
|
$configure_images = true,
|
||||||
$image_name = undef,
|
$image_name = undef,
|
||||||
$image_name_alt = undef,
|
$image_name_alt = undef,
|
||||||
$glance_v1 = true,
|
$glance_v1 = true,
|
||||||
$glance_v2 = true,
|
$glance_v2 = true,
|
||||||
|
|
||||||
# Neutron network config
|
# Neutron network config
|
||||||
#
|
#
|
||||||
$configure_networks = true,
|
$configure_networks = true,
|
||||||
$public_network_name = undef,
|
$public_network_name = undef,
|
||||||
$neutron_api_extensions = undef,
|
$neutron_api_extensions = undef,
|
||||||
|
|
||||||
# Horizon dashboard config
|
# Horizon dashboard config
|
||||||
$login_url = undef,
|
$login_url = undef,
|
||||||
$dashboard_url = undef,
|
$dashboard_url = undef,
|
||||||
|
$disable_dashboard_ssl_validation = undef,
|
||||||
|
|
||||||
# tempest.conf parameters
|
# tempest.conf parameters
|
||||||
#
|
#
|
||||||
$identity_uri = undef,
|
$identity_uri = undef,
|
||||||
$identity_uri_v3 = undef,
|
$identity_uri_v3 = undef,
|
||||||
$cli_dir = undef,
|
$cli_dir = undef,
|
||||||
$lock_path = '/var/lib/tempest',
|
$lock_path = '/var/lib/tempest',
|
||||||
$log_file = $::os_service_default,
|
$log_file = $::os_service_default,
|
||||||
$debug = false,
|
$debug = false,
|
||||||
$use_stderr = true,
|
$use_stderr = true,
|
||||||
$use_syslog = false,
|
$use_syslog = false,
|
||||||
$logging_context_format_string = $::os_service_default,
|
$logging_context_format_string = $::os_service_default,
|
||||||
$attach_encrypted_volume = false,
|
$attach_encrypted_volume = false,
|
||||||
# non admin user
|
# non admin user
|
||||||
$username = undef,
|
$username = undef,
|
||||||
$password = undef,
|
$password = undef,
|
||||||
$project_name = undef,
|
$project_name = undef,
|
||||||
# another non-admin user
|
# another non-admin user
|
||||||
$alt_username = undef,
|
$alt_username = undef,
|
||||||
$alt_password = undef,
|
$alt_password = undef,
|
||||||
$alt_project_name = undef,
|
$alt_project_name = undef,
|
||||||
# admin user
|
# admin user
|
||||||
$admin_username = undef,
|
$admin_username = undef,
|
||||||
$admin_password = undef,
|
$admin_password = undef,
|
||||||
$admin_project_name = undef,
|
$admin_project_name = undef,
|
||||||
$admin_role = undef,
|
$admin_role = undef,
|
||||||
$admin_domain_name = undef,
|
$admin_domain_name = undef,
|
||||||
# roles fo the users created by tempest
|
# roles fo the users created by tempest
|
||||||
$tempest_roles = $::os_service_default,
|
$tempest_roles = $::os_service_default,
|
||||||
# image information
|
# image information
|
||||||
$image_ref = undef,
|
$image_ref = undef,
|
||||||
$image_ref_alt = undef,
|
$image_ref_alt = undef,
|
||||||
$image_ssh_user = undef,
|
$image_ssh_user = undef,
|
||||||
$image_alt_ssh_user = undef,
|
$image_alt_ssh_user = undef,
|
||||||
$flavor_ref = undef,
|
$flavor_ref = undef,
|
||||||
$flavor_ref_alt = undef,
|
$flavor_ref_alt = undef,
|
||||||
$compute_build_interval = undef,
|
$compute_build_interval = undef,
|
||||||
$run_ssh = false,
|
$run_ssh = false,
|
||||||
# whitebox
|
# whitebox
|
||||||
$whitebox_db_uri = undef,
|
$whitebox_db_uri = undef,
|
||||||
# testing features that are supported
|
# testing features that are supported
|
||||||
$resize_available = false,
|
$resize_available = false,
|
||||||
$change_password_available = undef,
|
$change_password_available = undef,
|
||||||
$use_dynamic_credentials = undef,
|
$use_dynamic_credentials = undef,
|
||||||
$l2gw_switch = undef,
|
$l2gw_switch = undef,
|
||||||
# neutron config
|
# neutron config
|
||||||
$public_network_id = undef,
|
$public_network_id = undef,
|
||||||
# Upstream has a bad default - set it to empty string.
|
# Upstream has a bad default - set it to empty string.
|
||||||
$public_router_id = '',
|
$public_router_id = '',
|
||||||
# Sahara config
|
# Sahara config
|
||||||
$sahara_plugins = undef,
|
$sahara_plugins = undef,
|
||||||
# Trove config
|
# Trove config
|
||||||
$db_flavor_ref = $::os_service_default,
|
$db_flavor_ref = $::os_service_default,
|
||||||
# Service configuration
|
# Service configuration
|
||||||
$cinder_available = true,
|
$cinder_available = true,
|
||||||
$cinder_backup_available = false,
|
$cinder_backup_available = false,
|
||||||
$glance_available = true,
|
$glance_available = true,
|
||||||
$heat_available = false,
|
$heat_available = false,
|
||||||
$ceilometer_available = false,
|
$ceilometer_available = false,
|
||||||
$aodh_available = false,
|
$aodh_available = false,
|
||||||
$gnocchi_available = false,
|
$gnocchi_available = false,
|
||||||
$panko_available = false,
|
$panko_available = false,
|
||||||
$designate_available = false,
|
$designate_available = false,
|
||||||
$horizon_available = true,
|
$horizon_available = true,
|
||||||
$neutron_available = false,
|
$neutron_available = false,
|
||||||
$neutron_bgpvpn_available = false,
|
$neutron_bgpvpn_available = false,
|
||||||
$neutron_fwaas_available = true,
|
$neutron_fwaas_available = true,
|
||||||
$neutron_lbaas_available = true,
|
$neutron_lbaas_available = true,
|
||||||
$neutron_l2gw_available = false,
|
$neutron_l2gw_available = false,
|
||||||
$neutron_vpnaas_available = false,
|
$neutron_vpnaas_available = false,
|
||||||
$nova_available = true,
|
$nova_available = true,
|
||||||
$murano_available = false,
|
$murano_available = false,
|
||||||
$sahara_available = false,
|
$sahara_available = false,
|
||||||
$swift_available = false,
|
$swift_available = false,
|
||||||
$trove_available = false,
|
$trove_available = false,
|
||||||
$ironic_available = false,
|
$ironic_available = false,
|
||||||
$watcher_available = false,
|
$watcher_available = false,
|
||||||
$zaqar_available = false,
|
$zaqar_available = false,
|
||||||
$ec2api_available = false,
|
$ec2api_available = false,
|
||||||
$mistral_available = false,
|
$mistral_available = false,
|
||||||
$vitrage_available = false,
|
$vitrage_available = false,
|
||||||
$congress_available = false,
|
$congress_available = false,
|
||||||
$octavia_available = false,
|
$octavia_available = false,
|
||||||
$barbican_available = false,
|
$barbican_available = false,
|
||||||
$keystone_v2 = false,
|
$keystone_v2 = false,
|
||||||
$keystone_v3 = true,
|
$keystone_v3 = true,
|
||||||
$auth_version = 'v3',
|
$auth_version = 'v3',
|
||||||
$run_service_broker_tests = false,
|
$run_service_broker_tests = false,
|
||||||
$ca_certificates_file = undef,
|
$ca_certificates_file = undef,
|
||||||
$disable_ssl_validation = undef,
|
$disable_ssl_validation = undef,
|
||||||
$manage_tests_packages = false,
|
$manage_tests_packages = false,
|
||||||
# scenario options
|
# scenario options
|
||||||
$img_dir = '/var/lib/tempest',
|
$img_dir = '/var/lib/tempest',
|
||||||
$img_file = 'cirros-0.4.0-x86_64-disk.img',
|
$img_file = 'cirros-0.4.0-x86_64-disk.img',
|
||||||
# designate options
|
# designate options
|
||||||
$designate_nameservers = undef,
|
$designate_nameservers = undef,
|
||||||
# DEPRECATED PARAMETERS
|
# DEPRECATED PARAMETERS
|
||||||
$tenant_name = undef,
|
$tenant_name = undef,
|
||||||
$alt_tenant_name = undef,
|
$alt_tenant_name = undef,
|
||||||
$admin_tenant_name = undef,
|
$admin_tenant_name = undef,
|
||||||
$allow_tenant_isolation = undef,
|
$allow_tenant_isolation = undef,
|
||||||
$ensure_package = 'present',
|
$ensure_package = 'present',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
if !is_service_default($tempest_roles) and !empty($tempest_roles){
|
if !is_service_default($tempest_roles) and !empty($tempest_roles){
|
||||||
|
@ -533,6 +536,7 @@ the future release. Please use tempest::package_ensure instead.")
|
||||||
'network/public_router_id': value => $public_router_id;
|
'network/public_router_id': value => $public_router_id;
|
||||||
'dashboard/login_url': value => $login_url;
|
'dashboard/login_url': value => $login_url;
|
||||||
'dashboard/dashboard_url': value => $dashboard_url;
|
'dashboard/dashboard_url': value => $dashboard_url;
|
||||||
|
'dashboard/disable_ssl_certificate_validation': value => $disable_dashboard_ssl_validation;
|
||||||
'database/db_flavor_ref': value => $db_flavor_ref;
|
'database/db_flavor_ref': value => $db_flavor_ref;
|
||||||
'service_available/cinder': value => $cinder_available;
|
'service_available/cinder': value => $cinder_available;
|
||||||
'volume-feature-enabled/backup': value => $cinder_backup_available;
|
'volume-feature-enabled/backup': value => $cinder_backup_available;
|
||||||
|
|
Loading…
Reference in New Issue