Preconditions
Skale manager: 1.7.0-beta.0
16 active nodes on the contract
also some amount in maintenane and letf status
Step to reproduce
Update skale manager form version 1.7.0-beta.0 to 1.8.0-develop.0
After skale manager update we have problem like:
root@ip-172-31-2-148:/home/ubuntu/.skale/node_data# cat node_config.json
{
"sgx_key_name": "NEK:some key",
"name": "future-sagittarius",
"node_id": 1,
"node_ip": "54.187.189.172"
}root@ip-172-31-2-148:/home/ubuntu/.skale/node_data# skale node info
Node info
Name:
IP: 131.56.102.151
Public IP: 61.4.12.224
Port: 56615
Status: Leaving
skale wallet info
Address: 0x983666aed6507878f3b3a3f0debbe6c5884f5b96
ETH balance: 1.4575429295 ETH
SKALE balance: 0 SKALE
By some reason node public ip was changed, also changed status and empty name
Before sm update was this:
1 future-sagittarius 54.187.189.172 ACTIVE 0x983666aeD6507878f3b3A3f0dEbbE6C5884F5B96 1.4584797755
2 calm-ophiuchus 54.70.3.214 ACTIVE 0xD1F460600Ffa61FD602fba14a8c7565Cb39171Ee 1.303386161
4 future-vela 44.242.107.13 ACTIVE 0xB03E3d4EFD9f55e50967301c7994854B2F139531 1.479072296
6 young-corona-borealis 44.236.83.169 ACTIVE 0x7649dFa7009640a5B50e0F2F7a0ced75b88cd78b 1.40779365075
7 silly-orion 54.213.59.133 ACTIVE 0xe15819bcC4A874316E499a03686de42778375633 1.38718345225
8 gentle-coma-berenices 44.238.50.32 ACTIVE 0xB5a7cBFA801E638e4E515d4f6C300F073A23636C 1.23581521
9 nice-sagitta 44.236.203.139 ACTIVE 0x5c2894DD5bf8C54285F7e0532d3598d6bC19a554 1.5193627
12 long-eridanus 35.161.61.56 ACTIVE 0x7398e470dfA375a59fEcac4bF138B543d22D1Fa6 1.4475360715
13 fast-circinus 44.241.123.48 ACTIVE 0x7D7949A846F661bdc3F22dfF23B2DF24560B7dB2 1.519089866
14 early-ara 52.38.230.168 ACTIVE 0x3D4a525961A0Bd890ebb9a516a5760f14610FC96 1.085707469
15 agreeable-leo-minor 44.236.65.41 ACTIVE 0xfF0B4e379D6e56aC7FCba8988c36A2ed79010C10 1.31900661525
16 polite-mensa 54.69.241.239 ACTIVE 0x7D8c8a2eAd8c810476a384B82ff93dd1241A5126 1.48136618575
17 fast-lupus 35.162.40.251 ACTIVE 0x2E8A2CA3685E1b35e3E1eA772c0905e3169D5D6A 1.413041766
20 wonderful-canis-minor 44.236.124.246 ACTIVE 0x62E4c8cfb2b230108998b7978070F33d2B251A26 0.86620257
21 aggressive-gemini 52.37.95.183 ACTIVE 0x41e0193Bda7e49558Ff2b6797220bA88cf5D975E 0.829181414
22 early-circinus 44.241.162.179 ACTIVE 0x9cb14cEB077e70a7Ad8280dda0E3aF01295d3ce2 0.883621714
This data from nodeId 1
From other nodes:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/src/admin/web/routes/nodes.py", line 39, in node_info
data = {'node_info': node.info}
File "/usr/src/admin/core/node.py", line 212, in info
raw_info = self.skale.nodes.get(_id)
File "/usr/local/lib/python3.8/site-packages/skale/utils/helper.py", line 51, in wrapper
result = function(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/skale/contracts/manager/nodes.py", line 65, in get
return self.__get_raw_w_pk(node_id)
File "/usr/local/lib/python3.8/site-packages/skale/contracts/manager/nodes.py", line 59, in __get_raw_w_pk
raw_node_struct = self.__get_raw(node_id)
File "/usr/local/lib/python3.8/site-packages/skale/contracts/manager/nodes.py", line 56, in __get_raw
raise InvalidNodeIdError(node_id)
skale.utils.exceptions.InvalidNodeIdError: Node with ID = 12 doesn't exist!
┆Issue is synchronized with this Jira Bug