123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- # Copyright 2022 Dell Inc. or its subsidiaries. All Rights Reserved.
- #
- # Licensed under the Apache License, Version 2.0 (the "License");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- #
- # http://www.apache.org/licenses/LICENSE-2.0
- #
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an "AS IS" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- ---
- #usage: test_control_plane_validation.yml
- port_no: 22
- os_name: CentOS
- os_name_rocky: rocky
- os_name_leap: leap
- os_version: '8.4'
- internet_status: "Failed. No Internet connection. Make sure network is up."
- check_os_success_msg: "OS and Version are supported"
- check_os_fail_msg: "Unsupported OS or OS version. OS should be {{ os_name }} and Version should be {{ os_version }} or more"
- input_params_folder: "../input_params/"
- control_plane_dir: "../"
- control_plane_validation_script_path: test_control_plane_validation.yml
- input_files_tc01:
- - "test_vars/base_vars.yml"
- - "test_vars/login_vars.yml"
- input_files_tc02:
- - "test_vars/login_vars.yml"
- input_config_check_success_msg: "control_plane.yml validation passed"
- input_config_check_fail_msg: "control_plane.yml validation failed"
- install_package_success_msg: "{{item}} is installed"
- install_package_fail_msg: "{{item}} is not installed"
- login_vars_filename: "../input_params/login_vars.yml"
- login_vars_fail_msg: "Login vars is not encrypted"
- login_vars_success_msg: "Login vars is encrypted"
- fw_update_false: "firmware_update_required: false"
- fw_update_true: "firmware_update_required: true"
- fw_success_validation: "Validation Success for firmware update"
- fw_fail_validation: "Validation Failed for firmware update"
- docker_success_validation: "Docker Validated successfully"
- docker_fail_validation: "Docker not validated"
- test_package: 'jq'
- check_pods_success_msg: "Pod is running"
- check_pods_fail_msg: "Pods is not running"
- nfs_share_success_msg: "NFS Server is running"
- nfs_share_fail_msg: "NFS Server is not running"
- nfs_mount_Path: "/var/nfs_repo"
- nfs_mount_success_msg: "NFS repo is mounted"
- nfs_mount_fail_msg: "NFS repo is not mounted"
- check_iso_path: '/var/nfs_repo/unattended_centos7.iso'
- check_iso_success_msg: "ISO is present in the NFS repo"
- check_iso_fail_msg: "ISO is not present in the NFS repo"
- pod_service_check_fail_msg: "Service is not running"
- pod_service_check_success_msg: "Service is up and running"
- network_config_pod_success_msg: "Network-Config Pod is running"
- network_config_pod_fail_msg: "Network-Config Pod is not running"
- awx_pod_success_msg: "awx pod is up and running."
- awx_pod_fail_msg: "awx pod is not running"
- pvc_stat_success_msg: "pvc stat is running"
- pvc_stat_fail_msg: "pvc stat is not running"
- svc_stat_success_msg: "svc stat is running"
- svc_stat_fail_msg: "svc stat is not running"
- svc_conn_success_msg: "Connection to svc is successful at"
- svc_conn_fail_msg: "Connection to svc failed at: "
- cobbler_pod_success_msg: "Cobbler service is running"
- cobbler_pod_fail_msg: "Cobbler service is not running"
- subnet_manager_success_msg: "Subnet Manager is running"
- subnet_manager_fail_msg: "Subnet Manager is not running"
- cron_jobs_success_msg: "Cron jobs are running"
- cron_jobs_fail_msg: "Cron jobs are not running"
- container_info: "CONTAINER_RUNNING"
- ethernet_true: "ethernet_switch_support: true"
- ethernet_false: "ethernet_switch_support: false"
- powervault_true: "powervault_support: true"
- powervault_false: "powervault_support: false"
- infiniband_true: "ib_switch_support: true"
- infiniband_false: "ib_switch_support: false"
- # Update
- docker_user: "User"
- docker_password: "Password"
- valid_docker_creds: "Credentials are valid"
- invalid_docker_creds: "Please input valid docker username and password in test_control_plane_vars.yml"
- #Usage: Grafana Test Cases
- grafana_pod_success_msg: "grafana pod is up and running."
- grafana_pod_fail_msg: "grafana pod is not running"
- grafana_pvc_stat_success_msg: "grafana pvc stat is running"
- grafana_pvc_stat_fail_msg: "grafana pvc stat is not running"
- grafana_svc_stat_success_msg: "grafana svc stat is running"
- grafana_svc_stat_fail_msg: "grafana svc stat is not running"
- grafana_loki_svc_stat_success_msg: "grafana loki svc stat is running"
- grafana_loki_svc_stat_fail_msg: "grafana loki svc stat is not running"
- grafana_loki_svc_conn_success_msg: "Connection to grafana loki svc is successful at"
- grafana_loki_svc_conn_fail_msg: "Connection to grafana loki svc failed at: "
- grafana_svc_conn_success_msg: "Connection to grafana svc is successful at"
- grafana_svc_conn_fail_msg: "Connection to grafana svc failed at: "
- prometheus_alertmanager_pod_success_msg: "Prometheus alertmanager Pod is running"
- prometheus_alertmanager_pod_fail_msg: "Prometheus alertmanager Pod is not running"
- prometheus_node_exporter_pod_success_msg: "Prometheus node-exporter Pod is running"
- prometheus_node_exporter_pod_fail_msg: "Prometheus node-exporter Pod is not running"
- prometheus_alertmanager_svc_stat_success_msg: "prometheus alertmanager svc stat is running"
- prometheus_alertmanager_svc_stat_fail_msg: "prometheus alertmanager svc stat is not running"
- prometheus_node_exporter_svc_stat_success_msg: "prometheus node-exporter svc stat is running"
- prometheus_node_exporter_svc_stat_fail_msg: "prometheus node-exporter svc stat is not running"
- monitoring_pod_svc_success_msg: "monitoring pod svc stat is running"
- monitoring_pod_svc_fail_msg: "monitoring pod svc stat is not running"
- grafana_loki_port: 3100
- grafana_port: 5000
- #Usage: AppArmor Test Cases
- apparmor_true: "Y"
- apparmor_enabled_success_msg: "apparmor is enabled"
- apparmor_enabled_fail_msg: "apparmor is not enabled"
- apparmor_module: "apparmor module is loaded."
- apparmor_status_success_msg: "apparmor profiles are loaded."
- apparmor_status_fail_msg: "apparmor profiles are not loaded."
- apparmor_passwd_profile: "usr.bin.passwd"
- apparmor_profile_success_msg: "usr.bin.passwd profiles is available in /extra-profiles/"
- apparmor_profile_fail_msg: "usr.bin.passwd profiles is not available in /extra-profiles/"
- apparmor_nscd: "nscd"
- apparmor_not_unconfined_success_msg: "nscd running executables which are currently confined by an AppArmor profile"
- apparmor_not_unconfined_fail_msg: "nscd profile currently unconfined by an AppArmor profile"
- apparmor_auditd: "/usr/sbin/auditd (/sbin/auditd) not confined"
- apparmor_unconfined_success_msg: "auditd currently unconfined by an AppArmor profile"
- apparmor_unconfined_fail_msg: "(/sbin/auditd) currently not unconfined by an AppArmor profile"
|