commit | a7d71702ed5b24f51482122cfc80a00cc900f810 | [log] [tgz] |
---|---|---|
author | Alex <osavatieiev@mirantis.com> | Thu Sep 22 09:41:24 2022 -0500 |
committer | Oleksandr Savatieiev <osavatieiev@mirantis.com> | Thu Sep 22 14:42:51 2022 +0000 |
tree | e406214ef868c89b5ad9acb82be7bba60cb0a2dc | |
parent | fb45977be4ff6defac8ab9f46b5ecbf1e5c99980 [diff] |
Updated package versions for 21 maintenance release and remap kaas Related-PROD: PROD-36910 Change-Id: If7b3a015e5492973f2804a257864f7e3001eeb13
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 listhttps://github.com/kubernetes-client/python/blob/master/examples/api_discovery.py https://github.com/kubernetes-client/python/blob/master/examples/remote_cluster.py
Cheers!