Skip to content

Migration to orphan single node cluster fails #7508

@DavidePrincipi

Description

@DavidePrincipi

If the NS8 cluster is constituted by a single node formerly part of a multi-node cluster with NODE_ID > 1 the migration tool is not capable of binding apps to it.

Steps to reproduce

  • Create a NS8 cluster
  • Join a worker node and promote it to leader
  • Remove the old leader
  • Start NS7 migration with the Migration Tool

Expected behavior

When an app migration starts, the Migration Tool automatically selectes the new leader ID, e.g. 2.

Actual behavior

  • An hardcoded default NODE_ID is used: 1

Bind operation fails with this message:

Assertion failed
  File "/var/lib/nethserver/cluster/actions/import-module/50import", line 39, in <module>
    agent.assert_exp(rsyncd_addr)

Components

  • nethserver-ns8-migration-1.3.1-1.ns7.x86_64

See also

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions