[Tooling update] health_checks
* Added:
- get_cinder_db_versions: Retrieve cinder db release codename
- get_glance_db_versions: Retrieve glance db release codename
- get_heat_db_versions: Retrieve heat db release codename
- get_neutron_db_versions: Retrieve neutron db release codename
- get_keystone_db_versions: Retrieve keystone db release codename
- get_nova_db_versions: Retrieve nova db release codename
- list_db_versions: Retrieve openstack DB release codenames
* Extra:
- fixed kitchen test (metadata import)
- fixed salt grain import: https://github.com/saltstack/salt/pull/56094
- Schema validator is not enabled. Should be added in next patch.
Change-Id: Iad318511ec6ee3d0c98c503cf66fdcf3ad146427
Prod-Related: PROD-34978
diff --git a/README.rst b/README.rst
index 06e79d7..a14d847 100644
--- a/README.rst
+++ b/README.rst
@@ -978,6 +978,54 @@
salt-call health_checks.keystone_keys_check keys_type='credential'
+Retrieve cinder db release codename
+
+.. code-block:: bash
+
+ salt-call health_checks.get_cinder_db_versions db_host='192.168.0.50' db_user='cinder' \
+ db_pass='password'
+
+Retrieve glance db release codename
+
+.. code-block:: bash
+
+ salt-call health_checks.get_glance_db_versions db_host='192.168.0.50' db_user='glance' \
+ db_pass='password'
+
+Retrieve heat db release codename
+
+.. code-block:: bash
+
+ salt-call health_checks.get_heat_db_versions db_host='192.168.0.50' db_user='heat' \
+ db_pass='password'
+
+Retrieve neutron db release codename
+
+.. code-block:: bash
+
+ salt-call health_checks.get_neutron_db_versions db_host='192.168.0.50' db_user='neutron' \
+ db_pass='password'
+
+Retrieve keystone db release codename
+
+.. code-block:: bash
+
+ salt-call health_checks.get_keystone_db_versions db_host='192.168.0.50' db_user='keystone' \
+ db_pass='password'
+
+Retrieve nova db release codename
+
+.. code-block:: bash
+
+ salt-call health_checks.get_nova_db_versions db_host='192.168.0.50' db_user='nova' \
+ db_pass='password' db_api_user='nova' db_api_pass='api_password'
+
+Retrieve openstack db release codenames
+
+.. code-block:: bash
+
+ salt-call health_checks.list_db_versions
+
Encrypted pillars
~~~~~~~~~~~~~~~~~