neofs-cli netmap nodeinfo says that Node is online despite the node is offline #766

Closed
opened 2025-12-28 17:20:38 +00:00 by sami · 0 comments
Owner

Originally created by @ikovalev1 on GitHub (Oct 4, 2022).

Originally assigned to: @carpawell on GitHub.

Steps to Reproduce (for bugs)

  1. Vary a node offline:
    neofs-cli control set-status --endpoint localhost:8091 -w /etc/neofs/storage/wallet.json --status offline
  2. tick apoch
    neofs-adm morph force-new-epoch -c config.yaml
  3. run Healthcheck and verify that the node is offline
oot@az:/home/service# neofs-cli --endpoint localhost:8091 -w /etc/neofs/storage/wallet.json control healthcheck
   Enter password >
   Network status: OFFLINE
   Health status: READY
  1. run neofs-cli netmap nodeinfo. It outputs : state: online
root@az:/home/service# neofs-cli netmap nodeinfo -w /etc/neofs/storage/wallet.json -r az:8080
Enter password >
key: 03afa0da7476f01322aea526c5ab5b12c2e12993a72759b0c3a08af72fc964654e
state: online
address: /dns4/node1.neofs/tcp/8080
attribute: Continent=Europe
attribute: Country=Russia
attribute: CountryCode=RU
attribute: Deployed=YACZROKH
attribute: Location=Moskva
attribute: Price=10
attribute: SubDiv=Moskva
attribute: SubDivCode=MOW
attribute: UN-LOCODE=RU MOW

Your Environment

Sbercloud 4 nodes

root@az:/home/service# uname -a
Linux az 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux

root@az:/home/service# neofs-cli --version
NeoFS CLI
Version: v0.32.0-32-g5284ac53
GoVersion: go1.18.4

root@az:/home/service# neofs-node --version
NeoFS Storage node
Version: v0.32.0-32-g5284ac53
GoVersion: go1.18.4

Originally created by @ikovalev1 on GitHub (Oct 4, 2022). Originally assigned to: @carpawell on GitHub. ## Steps to Reproduce (for bugs) 1) Vary a node offline: neofs-cli control set-status --endpoint localhost:8091 -w /etc/neofs/storage/wallet.json --status offline 2) tick apoch neofs-adm morph force-new-epoch -c config.yaml 3) run Healthcheck and verify that the node is offline ``` r oot@az:/home/service# neofs-cli --endpoint localhost:8091 -w /etc/neofs/storage/wallet.json control healthcheck Enter password > Network status: OFFLINE Health status: READY ``` 4) run neofs-cli netmap nodeinfo. It outputs : state: online ``` root@az:/home/service# neofs-cli netmap nodeinfo -w /etc/neofs/storage/wallet.json -r az:8080 Enter password > key: 03afa0da7476f01322aea526c5ab5b12c2e12993a72759b0c3a08af72fc964654e state: online address: /dns4/node1.neofs/tcp/8080 attribute: Continent=Europe attribute: Country=Russia attribute: CountryCode=RU attribute: Deployed=YACZROKH attribute: Location=Moskva attribute: Price=10 attribute: SubDiv=Moskva attribute: SubDivCode=MOW attribute: UN-LOCODE=RU MOW ``` ## Your Environment Sbercloud 4 nodes root@az:/home/service# uname -a Linux az 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux root@az:/home/service# neofs-cli --version NeoFS CLI Version: v0.32.0-32-g5284ac53 GoVersion: go1.18.4 root@az:/home/service# neofs-node --version NeoFS Storage node Version: v0.32.0-32-g5284ac53 GoVersion: go1.18.4
sami 2025-12-28 17:20:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-node#766
No description provided.