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. |
| 26 | skipped_nodes: [""] |
| 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. |
| 32 | skipped_groups: [""] |
| 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 | |
| 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' |
| 59 | } |
Oleksii Zhurba | e0dedb5 | 2018-01-16 00:55:25 +0000 | [diff] [blame] | 60 | |
Oleksii Zhurba | 3dbed24 | 2017-10-31 19:58:53 +0000 | [diff] [blame] | 61 | # mtu test setting |
| 62 | # this test may skip groups (see example) |
| 63 | test_mtu: |
| 64 | { #"skipped_groups": ["dbs"] |
Oleksii Zhurba | 1dd1d96 | 2018-08-07 15:01:40 -0500 | [diff] [blame] | 65 | "skipped_ifaces": ["bonding_masters", "lo", "veth", "tap", "cali", "qv", "qb", "br-int", "vxlan"]} |
Oleksii Zhurba | 3dbed24 | 2017-10-31 19:58:53 +0000 | [diff] [blame] | 66 | # mask for interfaces to skip |
Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 67 | |
Dmitriy Kruglov | ac4a14e | 2019-01-23 09:37:13 +0100 | [diff] [blame] | 68 | # test duplicate ips |
| 69 | # do not comment this section |
| 70 | test_duplicate_ips: |
| 71 | { |
| 72 | "skipped_ifaces": ["lo", "virbr0", "docker_gwbridge", "docker0"]} |
| 73 | |
Ievgeniia Zadorozhna | 6baf787 | 2019-01-25 19:09:30 +0300 | [diff] [blame] | 74 | # packages test 'test_packages_are_latest' setting |
| 75 | # this can skip scecial packages |
| 76 | # True value for 'skip_test' will skip this test. Set False to run the test. |
| 77 | # TODO: remove default False value when prod env is fixed |
| 78 | test_packages: |
| 79 | { # "skipped_packages": ["update-notifier-common", "wget"] |
| 80 | "skipped_packages": [""], |
| 81 | "skip_test": True |
| 82 | } |
| 83 | |
Oleksii Zhurba | 3c1b8c2 | 2018-10-11 16:35:30 +0300 | [diff] [blame] | 84 | # specify what mcp version (tag) is deployed |
Oleksii Zhurba | a25984b | 2018-06-15 15:30:41 -0500 | [diff] [blame] | 85 | drivetrain_version: '' |
Oleksii Zhurba | 3c1b8c2 | 2018-10-11 16:35:30 +0300 | [diff] [blame] | 86 | |
| 87 | # jenkins job to run during the test |
mkraynov | 058ee12 | 2018-11-30 13:15:49 +0400 | [diff] [blame] | 88 | jenkins_test_job: 'DT-test-job' |
| 89 | jenkins_cvp_job: 'cvp-sanity' |
Oleksii Zhurba | a25984b | 2018-06-15 15:30:41 -0500 | [diff] [blame] | 90 | |
Oleksii Zhurba | a10927b | 2017-09-27 22:09:23 +0000 | [diff] [blame] | 91 | # ntp test setting |
Oleksii Zhurba | e0668ae | 2017-10-27 23:58:18 +0000 | [diff] [blame] | 92 | # this test may skip specific node (use fqdn) |
| 93 | test_ntp_sync: |
| 94 | { #"skipped_nodes": [""], |
Oleksii Zhurba | e592ed1 | 2018-06-21 18:01:09 -0500 | [diff] [blame] | 95 | "time_deviation": 1} |