Skip to content

bootstrapping the local node is compromised due to the existing 2-node cluster configuration #1702

@zzhou1

Description

@zzhou1

Just as the subject. Here is the reproducer as below.

adm@tws-corosync3-1:~> sudo -E crm cluster init --use-ssh-agent -ys /dev/disk/by-partlabel/sbd-tws-c3 -N adm@tws-corosync3-2
adm@tws-corosync3-1:~> sudo -E crm cluster disable --all
adm@tws-corosync3-1:~> sudo -E crm cluster stop --all
adm@tws-corosync3-1:~> sudo -E crm cluster init --use-ssh-agent -ys /dev/disk/by-partlabel/sbd-tws-c3
...
ERROR: cluster.init: Failed to run command systemctl is-enabled 'sbd.service' on root@tws-corosync3-2: root@tws-corosync3-2: Permission denied (publickey,password,keyboard-interactive). Please configure passwordless authentication with "crm cluster init ssh" and "crm cluster join ssh"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions