commit | 511f0ced1e6439fe14a882ed0a5f241703e0ec8f | [log] [tgz] |
---|---|---|
author | Ievgeniia Zadorozhna <izadorozhna@mirantis.com> | Thu Nov 08 17:43:10 2018 +0300 |
committer | Ievgeniia Zadorozhna <izadorozhna@mirantis.com> | Thu Nov 08 17:43:10 2018 +0300 |
tree | ed77c99637286981b356c380025dda53027d7b94 | |
parent | 49645db8fbb651a85fd0c7b891cb271de77c3733 [diff] |
Added Kibana status test Sometimes ES can be green, but Kibana is red. Need to check Kibana status at 5601 port /api/status to be green. Change-Id: Ia7c05cfdf343e8f762645dc0082933ef174a657e
This is salt-based set of tests for basic verification of MCP deployments
# root@cfg-01:~/# git clone https://github.com/Mirantis/cvp-sanity-checks # cd cvp-sanity-checks
Use git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 if needed.
# curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-X.X.tar.gz # tar xvfz virtualenv-X.X.tar.gz # cd virtualenv-X.X # sudo python setup.py install
or
# apt-get install python-virtualenv
# virtualenv --system-site-packages .venv # source .venv/bin/activate # pip install --proxy http://$PROXY:8678 -r requirements.txt # python setup.py install # python setup.py develop
# vim cvp_checks/global_config.yaml
SALT credentials are mandatory for tests.
Other settings are optional (please keep uncommented with default values)
Alternatively, you can specify these settings via env variables:
export SALT_URL=http://10.0.0.1:6969
For array-type settings please do:
export skipped_nodes='ctl01.example.com,ctl02.example.com'
# pytest --tb=short -sv cvp_checks/tests/
or
# pytest -sv cvp_checks/tests/ --ignore cvp_checks/tests/test_mtu.py