LINUX.ORG.RU
ФорумAdmin

Can`t Run LeoGateway on node with leo_manager, Leo_storage - Node is already running

 ,


0

1

Не могу запустить LeoGateway с leo_manager, Leo_storage на одной ноде (сервере) - выдает ‘Node is already running’

Создал issue https://github.com/leo-project/leofs/issues/1199

Ansible Inventory:

# Please check roles/common/vars/leofs_releases for available versions
[all:vars]
leofs_version=1.4.3
build_temp_path="/tmp/leofs_builder"
build_install_path="/tmp/"
build_branch="master"
source="package"

# nodename of leo_manager_0 and leo_manager_1 are set at group_vars/all
[leo_manager_0]
172.26.9.190

# nodename of leo_manager_0 and leo_manager_1 are set at group_vars/all
[leo_manager_1]
172.26.9.189

[leo_storage]
172.26.9.190 leofs_module_nodename=S0@172.26.9.190
172.26.9.189 leofs_module_nodename=S1@172.26.9.189

[leo_gateway]
172.26.9.190 leofs_module_nodename=G0@172.26.9.190
172.26.9.189 leofs_module_nodename=G1@172.26.9.189

[leofs_nodes:children]
leo_manager_0
leo_manager_1
leo_gateway
leo_storage
TASK [leo_gateway : Run LeoGateway] *************************************************************************************************************
fatal: [172.26.9.190]: FAILED! => {
    "changed": true, 
    "cmd": [
        "bin/leo_gateway", 
        "start"
    ], 
    "delta": "0:00:00.768302", 
    "end": "2019-12-15 11:30:37.554137", 
    "rc": 1, 
    "start": "2019-12-15 11:30:36.785835"
}

STDOUT:

Node is already running!


MSG:

non-zero return code

fatal: [172.26.9.189]: FAILED! => {
    "changed": true, 
    "cmd": [
        "bin/leo_gateway", 
        "start"
    ], 
    "delta": "0:00:00.820479", 
    "end": "2019-12-15 11:30:37.647186", 
    "rc": 1, 
    "start": "2019-12-15 11:30:36.826707"
}

STDOUT:

Node is already running!


MSG:

non-zero return code

Schema: leofs-cluster

Как запустить LeoGateway с leo_manager, Leo_storage на одной ноде (сервере) ?

Сначала имеет смісл развернуть все руками, особенно если на грабли наступаешь.

Ошибка может біть и в ансибле где-то, локализуй сначала.

PunkoIvan ★★★ ()