"ceph version" retrieves the version from the cluster (i.e., from the queried monitor), but what is needed here is the local ceph version, which is returned by "ceph --version".