forked from rook/rook
ceph: external refuse cluster older than Nautilus
The external cluster must run at least on Nautilus. The main reason being the msgr2 knowledge by the Operator and the Ceph CLI. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
@@ -291,6 +291,11 @@ func (c *ClusterController) configureExternalCephCluster(namespace, name string,
|
||||
return fmt.Errorf("failed to get ceph mon version. %+v", err)
|
||||
}
|
||||
|
||||
// We only support Nautilus or newer
|
||||
if !cephMonVersion.IsAtLeastNautilus() {
|
||||
return fmt.Errorf("unsupported ceph version %s, need at least nautilus", cephMonVersion.String())
|
||||
}
|
||||
|
||||
logger.Infof("detecting the image version provided for the external cluster...")
|
||||
specCephVersionImage, err := cluster.detectCephVersion(c.rookImage, cluster.Spec.CephVersion.Image, detectCephVersionTimeout)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user