Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 1 | --- |
vkhalin | 8b40267 | 2017-12-05 17:47:57 +0200 | [diff] [blame] | 2 | # MANDATORY: Credentials for Salt Master |
| 3 | # SALT_URL should consist of url and port. |
| 4 | # For example: http://10.0.0.1:6969 |
| 5 | # 6969 - default Salt Master port to listen |
| 6 | # Can be found on cfg* node using |
| 7 | # "salt-call pillar.get _param:salt_master_host" |
| 8 | # and "salt-call pillar.get _param:salt_master_port" |
Oleksii Zhurba | e592ed1 | 2018-06-21 18:01:09 -0500 | [diff] [blame] | 9 | # or "salt-call pillar.get _param:jenkins_salt_api_url" |
vkhalin | 8b40267 | 2017-12-05 17:47:57 +0200 | [diff] [blame] | 10 | # SALT_USERNAME by default: salt |
| 11 | # It can be verified with "salt-call shadow.info salt" |
| 12 | # SALT_PASSWORD you can find on cfg* node using |
Oleksii Zhurba | e592ed1 | 2018-06-21 18:01:09 -0500 | [diff] [blame] | 13 | # "salt-call pillar.get _param:salt_api_password" |
| 14 | # or "grep -r salt_api_password /srv/salt/reclass/classes" |
Oleksii Zhurba | e0668ae | 2017-10-27 23:58:18 +0000 | [diff] [blame] | 15 | SALT_URL: <salt_url> |
| 16 | SALT_USERNAME: <salt_usr> |
| 17 | SALT_PASSWORD: <salt_pwd> |
Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 18 | |
Oleksii Zhurba | 7a67111 | 2018-01-12 11:50:56 -0600 | [diff] [blame] | 19 | # How many seconds to wait for salt-minion to respond |
| 20 | salt_timeout: 1 |
| 21 | |
Oleksii Zhurba | e0dedb5 | 2018-01-16 00:55:25 +0000 | [diff] [blame] | 22 | # List of nodes (full fqdn) to skip in ALL tests |
Oleksii Zhurba | 7a67111 | 2018-01-12 11:50:56 -0600 | [diff] [blame] | 23 | # Use as env variable as |
| 24 | # export skipped_nodes=mtr01.local,log02.local |
Oleksii Zhurba | e0668ae | 2017-10-27 23:58:18 +0000 | [diff] [blame] | 25 | # TEMPORARY: please do not comment this setting. |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 26 | skipped_nodes: [] |
Oleksii Zhurba | e0668ae | 2017-10-27 23:58:18 +0000 | [diff] [blame] | 27 | |
| 28 | # List of groups (short name, e.g. dbs) to skip in group tests |
Oleksii Zhurba | 7a67111 | 2018-01-12 11:50:56 -0600 | [diff] [blame] | 29 | # Use as env variable as |
| 30 | # export skipped_groups=mtr,log |
Oleksii Zhurba | e0668ae | 2017-10-27 23:58:18 +0000 | [diff] [blame] | 31 | # TEMPORARY: please do not comment this setting. |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 32 | skipped_groups: [] |
Oleksii Zhurba | e0668ae | 2017-10-27 23:58:18 +0000 | [diff] [blame] | 33 | |
Oleksii Zhurba | e0dedb5 | 2018-01-16 00:55:25 +0000 | [diff] [blame] | 34 | # Groups can be defined using pillars. |
| 35 | # Uncomment this section to enable this. |
| 36 | # Otherwise groups will be discovered automaticaly |
Oleksii Zhurba | e592ed1 | 2018-06-21 18:01:09 -0500 | [diff] [blame] | 37 | # Tips: |
| 38 | # 1) you don't need to separate kvm and kvm_glusterfs nodes |
| 39 | # 2) Use I@pillar or mask like ctl* for targetting nodes |
| 40 | |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 41 | groups: |
| 42 | cmp: 'I@nova:compute' |
| 43 | ctl: 'I@keystone:server' |
| 44 | msg: 'I@rabbitmq:server' |
| 45 | dbs: 'I@galera:*' |
| 46 | prx: 'I@nginx:server' |
| 47 | mon: 'I@prometheus:server and not I@influxdb:server' |
| 48 | log: 'I@kibana:server' |
| 49 | mtr: 'I@influxdb:server' |
| 50 | kvm: 'I@salt:control' |
| 51 | cid: 'I@docker:host and not I@prometheus:server and not I@kubernetes:*' |
| 52 | ntw: 'I@opencontrail:database' |
| 53 | ceph_mon: 'I@ceph:mon' |
| 54 | ceph_osd: 'I@ceph:osd' |
| 55 | k8-ctl: 'I@etcd:server' |
| 56 | k8-cmp: 'I@kubernetes:* and not I@etcd:*' |
| 57 | cfg: 'I@salt:master' |
| 58 | gtw: 'I@neutron:gateway' |
Oleksii Zhurba | e0dedb5 | 2018-01-16 00:55:25 +0000 | [diff] [blame] | 59 | |
Oleksii Zhurba | 3dbed24 | 2017-10-31 19:58:53 +0000 | [diff] [blame] | 60 | # mtu test setting |
| 61 | # this test may skip groups (see example) |
| 62 | test_mtu: |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 63 | skipped_groups: [] |
| 64 | skipped_ifaces: |
| 65 | - bonding_masters |
| 66 | - lo |
| 67 | - veth |
| 68 | - tap |
| 69 | - cali |
| 70 | - qv |
| 71 | - qb |
| 72 | - br-int |
| 73 | - vxlan |
| 74 | - virbr0 |
| 75 | - virbr0-nic |
| 76 | - docker0 |
| 77 | - o-hm0 |
| 78 | - vnet |
Oleksii Zhurba | 3dbed24 | 2017-10-31 19:58:53 +0000 | [diff] [blame] | 79 | # mask for interfaces to skip |
Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 80 | |
Dmitriy Kruglov | e961f27 | 2019-01-23 09:37:13 +0100 | [diff] [blame] | 81 | # test duplicate ips |
| 82 | # do not comment this section |
| 83 | test_duplicate_ips: |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 84 | skipped_ifaces: |
| 85 | - lo |
| 86 | - virbr0 |
| 87 | - docker_gwbridge |
| 88 | - docker0 |
Dmitriy Kruglov | e961f27 | 2019-01-23 09:37:13 +0100 | [diff] [blame] | 89 | |
Hanna Arhipova | e6ed8e4 | 2019-05-15 16:27:08 +0300 | [diff] [blame] | 90 | # packages test 'test_packages_are_latest' setting |
| 91 | # this can skip scecial packages |
| 92 | # True value for 'skip_test' will skip this test. Set False to run the test. |
| 93 | # TODO: remove default False value when prod env is fixed |
| 94 | test_packages: |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 95 | skipped_packages: [] |
| 96 | skip_test: 'true' |
Hanna Arhipova | e6ed8e4 | 2019-05-15 16:27:08 +0300 | [diff] [blame] | 97 | |
Oleksii Zhurba | 3c1b8c2 | 2018-10-11 16:35:30 +0300 | [diff] [blame] | 98 | # specify what mcp version (tag) is deployed |
Oleksii Zhurba | a25984b | 2018-06-15 15:30:41 -0500 | [diff] [blame] | 99 | drivetrain_version: '' |
Oleksii Zhurba | 3c1b8c2 | 2018-10-11 16:35:30 +0300 | [diff] [blame] | 100 | |
| 101 | # jenkins job to run during the test |
mkraynov | 058ee12 | 2018-11-30 13:15:49 +0400 | [diff] [blame] | 102 | jenkins_test_job: 'DT-test-job' |
| 103 | jenkins_cvp_job: 'cvp-sanity' |
Oleksii Zhurba | a25984b | 2018-06-15 15:30:41 -0500 | [diff] [blame] | 104 | |
Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 105 | # ntp test setting |
Oleksii Zhurba | e0668ae | 2017-10-27 23:58:18 +0000 | [diff] [blame] | 106 | # this test may skip specific node (use fqdn) |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 107 | ntp_skipped_nodes: [] |
Hanna Arhipova | 7e5286b | 2019-03-07 13:46:43 +0200 | [diff] [blame] | 108 | |
Sergey Galkin | 9daa27d | 2019-12-03 14:16:30 +0400 | [diff] [blame^] | 109 | # Maximum time diff for nodes |
| 110 | # Need for case if test test_ntp_sync is running on the border between seconds |
| 111 | maximum_time_diff: 1 |
| 112 | |
Hanna Arhipova | 7e5286b | 2019-03-07 13:46:43 +0200 | [diff] [blame] | 113 | # packages need to skip in |
| 114 | # test_check_package_versions |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 115 | skipped_packages: [] |
Hanna Arhipova | 7e5286b | 2019-03-07 13:46:43 +0200 | [diff] [blame] | 116 | # test_check_module_versions |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 117 | skipped_modules: [] |
Hanna Arhipova | 7e5286b | 2019-03-07 13:46:43 +0200 | [diff] [blame] | 118 | # test_check_services |
Ievgeniia Zadorozhna | ff57ae8 | 2019-11-12 16:03:51 +0300 | [diff] [blame] | 119 | skipped_services: [] |
Hanna Arhipova | 7e5286b | 2019-03-07 13:46:43 +0200 | [diff] [blame] | 120 | |