Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

[Kusama] Upgrade Validator node from 0.8.8 to 0.8.11 meets Encountered consensus error #1305

@jasl

Description

@jasl
  • Ubuntu 18.04 latest, 2 Core 8G memory
  • Download Linux binary from GitHub releases page
  • Kusama chain
  • Validator role

Start command:

#!/bin/bash

WORK_PATH=$(dirname $(readlink -f "$0"))
NODE_NAME="my-kusama-validator-1"
CHAIN_NAME="kusama"
RESERVED_NODES="/ip4/10.172.0.13/tcp/30333/p2p/12D3KooWCqsof9wiHJgc62nKz2a8gaP9PSyeKMi8jEcgLB93r5b4 /ip4/10.178.0.3/tcp/30333/p2p/12D3KooWCyh5bS5AVroXvuUJdnByDeGv3akpPTVB6GMNWuiVDBwL"

$WORK_PATH/polkadot \
  --chain $CHAIN_NAME \
  --base-path $WORK_PATH \
  --database paritydb \
  --wasm-execution Compiled \
  --name $NODE_NAME \
  --reserved-only \
  --reserved-nodes $RESERVED_NODES \
  --validator \
  "$@"

I'm trying upgrade our Validator node from 0.8.8 to 0.8.11 by

  • stop polkadot
  • replace old binary with 0.8.11
  • start polkadot

After upgrade, I found in output, every blocks has Encountered consensus error: CannotSign([222, 116, 165, 60, 193, 167, 108, 252, 157, 96, 136, 134, 50, 17, 203, 98, 195, 74, 135, 1, 188, 51, 69, 201, 83, 51, 64, 41, 149, 222, 218, 102], "An unknown keystore error occurred: No such file or directory (os error 2)") log

e.g.

2020-06-23 00:09:24 Starting parachain attestation session on top of parent 0xcfdc1662ff14dfdb70aa69fc6e33743193061a26b3a54c7c1bb0f96505abc86e. Local parachain duty is Some(LocalDuty { validation: Relay, index: 173 })
2020-06-23 00:09:25 ✨ Imported #2864801 (0xff5d…9219)
2020-06-23 00:09:25 ✨ Imported #2864801 (0xcdef…6ad0)
2020-06-23 00:09:25 💤 Idle (2 peers), best: #2864801 (0xcfdc…c86e), finalized #2864798 (0x3e45…b17c), ⬇ 84.4kiB/s ⬆ 79.3kiB/s
2020-06-23 00:09:30 🙌 Starting consensus session on top of parent 0xcfdc1662ff14dfdb70aa69fc6e33743193061a26b3a54c7c1bb0f96505abc86e
2020-06-23 00:09:30 🎁 Prepared block for proposing at 2864802 [hash: 0x3ee2ca8555d3e023316ead3878c5c86de53d332e1271b8e2f7e207f55e0732ed; parent_hash: 0xcfdc…c86e; extrinsics (2): [0x4d4e…3728, 0xcf52…810d]]
2020-06-23 00:09:30 Encountered consensus error: CannotSign([222, 116, 165, 60, 193, 167, 108, 252, 157, 96, 136, 134, 50, 17, 203, 98, 195, 74, 135, 1, 188, 51, 69, 201, 83, 51, 64, 41, 149, 222, 218, 102], "An unknown keystore error occurred: No such file or directory (os error 2)")

I think this is not good, so I quickly downgrade to 0.8.10, the output looks normal, I haven't try 0.8.10 to 0.8.11 yet.

I've some question:

  • Is this error a bug? or my mistake when upgrading polkadot
  • I'm running my validator in this situation for minutes, will my validator getting slash?

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