commit | 3bc95f6ff248b80380f709db4e92b42fc1da18c8 | [log] [tgz] |
---|---|---|
author | Alex <osavatieiev@mirantis.com> | Thu Mar 05 17:00:04 2020 -0600 |
committer | Alex <osavatieiev@mirantis.com> | Tue Mar 10 18:27:36 2020 -0500 |
tree | ab345bd216403f13fff388a8b141daa1b7cd0b0c | |
parent | 2e213b2573f84188872a4ed0bf1cf76b901d9ddf [diff] |
Migrating to Python v3 - support for Python v3.8.x - support for Python v3.5.x - new tag, 2019.2.8 - updates class generation and iterators - unittests updated with coverage >75% - new coverage routines - unittests profiling - full fake data for unittests - unittest testrun is ~1.5 seconds long Bugfixes - 34834, proper use of 'sudo' option - multiple proper iterator use - 37919, show warning when installed and candidate versions are newer comparing to release version Change-Id: Idd6b889f7ce94ae0c832e2f0a0346e4fdc3264a3 Related-PROD: PROD-34834 PROD-34664 PROD-34919
This checker module is used to verify and validate cloud after the deployment using number of routines to create reports
Many of our deployments comes with the monitoring solutions, but none of them keeps track of the package versions that is included in release. nd it is very important to have proper package versions. That is critical for cloud stability. here is more, it is critical to keep track of configuration values for networks (and others too..) in Runtime, in Configuration and at Reclass. Also, it is important to keep track of the changes in reclass and be able to have tool that gives clear report on what has been changed.
So, this tool here that can do some checks on the cloud that will be handy for:
Main use cases for the MCP-checker is:
It is pretty simple:
git clone http://gerrit.mcp.mirantis.com/mcp/cfg-checker cd cfg-checker virtualenv .cfgcheck source .cfgcheck/bin/activate pip install -r requirements.txt
mcp_check packages report --html __packages_html_filename.html__
mcp_check packages report --csv __packages_csv_filename.csv__
mcp-checker network check
mcp-checker network report --html __network_html_filename.html__
mcp-checker reclass list -p __models_path__
mcp-checker reclass diff --model1 __model1_path__ --model2 __model2_path__ --html __reclass_html_filename.html__
You can also create your env file to connect to env
env
file set host and user for SSH. For options, use your ~/.ssh/config
salt-key
on master and create an etc/nodes.list
file with minions listTODO:
Cheers!