Skip to content

Migration followup#1135

Open
EbiRider wants to merge 14 commits into
mainfrom
migration-followup
Open

Migration followup#1135
EbiRider wants to merge 14 commits into
mainfrom
migration-followup

Conversation

@EbiRider

Copy link
Copy Markdown
Collaborator

in this follow up we addressing multiple issues for migration

  1. the double m suffix issue from back to back migrations which made subsequent migrations fail
  2. tertiary node not being registered on the target's tertiary node
  3. cleanup of the code for unused variables and parameters
  4. extracting hublvol control logic out of the migration flow to ensure detach and attach of the hublvol respect it's needed cooldown of ten seconds

f"src={src_node_id[:8]} tgt={tgt_node.get_id()[:8]}"
)
return entry.ctrl_name, entry.hub_bdev, None
except Exception:
existing.src_rpc = src_rpc
try:
src_rpc.bdev_nvme_detach_controller(ctrl_name)
except Exception:
except Exception:
pass
return existing.ctrl_name, existing.hub_bdev, None
except Exception:
ter = db.get_storage_node_by_id(node.tertiary_node_id)
if ter.status == StorageNode.STATUS_ONLINE:
return _make_rpc(ter)
except KeyError:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant