Commit 96c3d5d4 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Allow reinstall even when secondaries are offline


Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarAgata Murawska <agatamurawska@google.com>
parent 3dbb3348
......@@ -6985,9 +6985,6 @@ class LUInstanceReinstall(LogicalUnit):
"Cannot retrieve locked instance %s" % self.op.instance_name
_CheckNodeOnline(self, instance.primary_node, "Instance primary node"
" offline, cannot reinstall")
for node in instance.secondary_nodes:
_CheckNodeOnline(self, node, "Instance secondary node offline,"
" cannot reinstall")
 
if instance.disk_template == constants.DT_DISKLESS:
raise errors.OpPrereqError("Instance '%s' has no disks" %
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment