diff --git a/tendrl/commons/flows/import_cluster/__init__.py b/tendrl/commons/flows/import_cluster/__init__.py index 839467ab..6acb1043 100644 --- a/tendrl/commons/flows/import_cluster/__init__.py +++ b/tendrl/commons/flows/import_cluster/__init__.py @@ -35,6 +35,7 @@ def run(self): integration_id=entry.key.split('/')[-1] ).load() if _cluster.short_name and short_name and \ + _cluster.is_managed == 'yes' and \ _cluster.short_name == short_name.strip().lower(): raise FlowExecutionFailedError( "Cluster with name: %s already exists" % short_name