Why to do it?
Virtuozzo is сollecting VHI Cluster Configuration Details in order to understand better the technical context of our customers
Resolution:
- Upload the attached cluster-info.py script from this article to your VHI cluster primary node.
Authenticate yourself in vinfra and run the script
# source /etc/kolla/admin-openrc.sh && export VINFRA_USERNAME=$OS_USERNAME && export VINFRA_PASSWORD=$OS_PASSWORD # python3 cluster-info.py
⚠️ Alternatively you may skip the first command completely and execute the script as is.
In such case you would need to enter an admin password for vinfra via stdin to be able to execute it. ⚠️
Verify the script output, it should look like this:
[root@kk-vhi630-170 ~]# python3 cluster-info.py Initializing vstorage-info script... Checking vinfra authentication... OK Checking vinfra cluster status... OK Getting node list... OK Getting node disk list... OK Checking SSH connection to kk-vhi630-170-5.vstoragedomain... OK Checking SSH connection to kk-vhi630-170.vstoragedomain... OK Checking SSH connection to kk-vhi630-170-6.vstoragedomain... OK ... ... OK Cluster information has been successfully gathered and written to: /root/cluster-info.json
- Collect and share the results. The output is collected to /root/<cluster ID>_cluster-info.json file where <cluster ID> is the ID of your cluster. Please save it and share with us by email.
Notes:
- Command 'vinfra cluster settings client-fanout-mode show' is designed for VHI 7.x and will return an error on 6.x clusters. Nothing to worry about, all other cluster details are still getting saved correctly even on VHI 6.x.
- You need to know an admin password for vinfra to be able to execute this script.