pve7to8: ceph version check: ignore commit hash
The commit hash of the Ceph version might be different between major
releases. For example:
ceph version 17.2.6 (
810db68029296377607028a6c6da1ec06f5a2b27) quincy (stable)
ceph version 17.2.6 (
995dec2cdae920da21db2d455e55efbc339bde24) quincy (stable)
This can lead to unnecessary warnings of multiple detected versions.
Therefore, extract the version, e.g. 'ceph version 17.2.6', and the
commit hash. Use the simplified version for the version checks and show
an info line when the commit is different instead of a warning.
If the commit hashes are the only difference, we are likely in the
middle of the upgrade.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>