nspcc-dev / neofs-aio

NeoFS All-in-One single node deployment helper
5 stars 9 forks source link

Build failed: sn container is unhealthy #36

Closed mike-petrov closed 1 year ago

mike-petrov commented 1 year ago

I was trying to make a build and got an error:

ERROR: for sn  Container "b5d7aab72c41" is unhealthy.
ERROR: Encountered errors while bringing up the project.
Снимок экрана 2022-10-18 в 12 54 14

I use both commands docker-compose -f docker-compose.cross.yml up -d and docker-compose up -d, however, the result is the same. But at the same time, the rest-gw branch is working:

Снимок экрана 2022-10-18 в 12 49 21 Снимок экрана 2022-10-18 в 12 48 01
KirillovDenis commented 1 year ago

Please provide logs of containers

mike-petrov commented 1 year ago

ir logs:

2022-10-18T13:47:42.558Z        info    alphabet/handlers.go:11 tick    {"type": "alphabet gas emit"}
2022-10-18T13:47:42.564Z        debug   client/client.go:187    neo client invoke       {"method": "emit", "vub": 13792, "tx_hash": "1698f40bbe581c04fe42fc2853628f8047025e8c487d33a89d0cdb0b93de8add"}
2022-10-18T13:47:42.565Z        debug   alphabet/process_emit.go:55     empty network map, do not emit gas
2022-10-18T13:47:43.562Z        debug   innerring/innerring.go:233      new block       {"index": 13790}
2022-10-18T13:47:44.560Z        debug   innerring/innerring.go:233      new block       {"index": 13791}
2022-10-18T13:47:45.561Z        debug   innerring/innerring.go:233      new block       {"index": 13792}
2022-10-18T13:47:46.567Z        debug   innerring/innerring.go:233      new block       {"index": 13793}
2022-10-18T13:47:47.575Z        debug   innerring/innerring.go:233      new block       {"index": 13794}
2022-10-18T13:47:48.571Z        debug   innerring/innerring.go:233      new block       {"index": 13795}
2022-10-18T13:47:49.572Z        debug   innerring/innerring.go:233      new block       {"index": 13796}
2022-10-18T13:47:50.579Z        debug   innerring/innerring.go:233      new block       {"index": 13797}
2022-10-18T13:47:50.607Z        debug   client/notary.go:522    notary request invoked  {"method": "stopContainerEstimation", "valid_until_block": 13900, "fallback_valid_for": 40, "tx_hash": "e9757b718c865d537d79f46ba305a9c918e6dc82a8d6af98243ff3648b72e812"}
2022-10-18T13:47:51.581Z        debug   innerring/innerring.go:233      new block       {"index": 13798}
2022-10-18T13:47:52.582Z        debug   innerring/innerring.go:233      new block       {"index": 13799}
2022-10-18T13:47:53.594Z        debug   innerring/innerring.go:233      new block       {"index": 13800}
2022-10-18T13:47:54.593Z        debug   innerring/innerring.go:233      new block       {"index": 13801}
2022-10-18T13:47:55.598Z        debug   innerring/innerring.go:233      new block       {"index": 13802}
2022-10-18T13:47:56.605Z        debug   innerring/innerring.go:233      new block       {"index": 13803}
2022-10-18T13:47:57.602Z        debug   innerring/innerring.go:233      new block       {"index": 13804}
2022-10-18T13:47:58.606Z        debug   innerring/innerring.go:233      new block       {"index": 13805}
2022-10-18T13:47:59.614Z        debug   innerring/innerring.go:233      new block       {"index": 13806}
2022-10-18T13:48:00.613Z        debug   innerring/innerring.go:233      new block       {"index": 13807}
2022-10-18T13:48:01.614Z        debug   innerring/innerring.go:233      new block       {"index": 13808}
2022-10-18T13:48:02.632Z        debug   innerring/innerring.go:233      new block       {"index": 13809}
2022-10-18T13:48:03.623Z        debug   innerring/innerring.go:233      new block       {"index": 13810}
2022-10-18T13:48:04.624Z        debug   innerring/innerring.go:233      new block       {"index": 13811}
2022-10-18T13:48:05.631Z        debug   innerring/innerring.go:233      new block       {"index": 13812}
2022-10-18T13:48:06.632Z        debug   innerring/innerring.go:233      new block       {"index": 13813}
2022-10-18T13:48:07.637Z        debug   innerring/innerring.go:233      new block       {"index": 13814}
2022-10-18T13:48:08.643Z        debug   innerring/innerring.go:233      new block       {"index": 13815}
2022-10-18T13:48:09.642Z        debug   innerring/innerring.go:233      new block       {"index": 13816}
2022-10-18T13:48:10.642Z        debug   innerring/innerring.go:233      new block       {"index": 13817}
2022-10-18T13:48:11.654Z        debug   innerring/innerring.go:233      new block       {"index": 13818}
2022-10-18T13:48:12.651Z        debug   innerring/innerring.go:233      new block       {"index": 13819}
2022-10-18T13:48:13.647Z        debug   innerring/innerring.go:233      new block       {"index": 13820}
2022-10-18T13:48:14.655Z        debug   innerring/innerring.go:233      new block       {"index": 13821}
2022-10-18T13:48:15.654Z        debug   innerring/innerring.go:233      new block       {"index": 13822}

morph logs:

2022-10-18T13:46:50.355Z        INFO    runtime log     {"tx": "795238f31ade6b35f1c50d9bc104070b5f4de0752884b78efcdfe144a3215992", "script": "0605a9623cb07b638fc6fe243bb7dc8bc50d30cd", "msg": "process new epoch"}
2022-10-18T13:46:50.358Z        INFO    initializing dbft       {"height": 13738, "view": 0, "index": 0, "role": "Primary"}
2022-10-18T13:46:50.383Z        INFO    runtime log     {"tx": "0d92e73be5de02611a36a3b521086bb0eb635d5becd8c9065d19d510af48ac4e", "script": "4fe02bcf074db1b6a5b71c13e3ac04e4bcfc3a96", "msg": "notification has been produced"}
2022-10-18T13:46:51.064Z        INFO    persisted to disk       {"blocks": 1, "keys": 54, "headerHeight": 13737, "blockHeight": 13737, "took": "5.930041ms"}
2022-10-18T13:46:51.355Z        INFO    sending PrepareRequest  {"height": 13738, "view": 0}
2022-10-18T13:46:51.355Z        INFO    sending Commit  {"height": 13738, "view": 0}
2022-10-18T13:46:51.355Z        INFO    approving block {"height": 13738, "hash": "c838ec347494a330b4e2aea8356bcf8cf06e7d5373acd4896fbdd10d5e1634ea", "tx_count": 2, "merkle": "9e3db5db39d88a61512906c31d3a92f30d2040320252c0aa12594a9c5cee894d", "prev": "1632f75d159ced489ac976a2e34dbdbf7010fc49e53fe3081eae7d90879bc9ad"}
2022-10-18T13:46:51.355Z        INFO    runtime log     {"tx": "854eec61a4753e1399c99b6648f3c12ea08319f1dba63c7e2b7bb4971cae4970", "script": "4fe02bcf074db1b6a5b71c13e3ac04e4bcfc3a96", "msg": "notification has been produced"}
2022-10-18T13:46:51.355Z        INFO    initializing dbft       {"height": 13739, "view": 0, "index": 0, "role": "Primary"}
2022-10-18T13:46:52.066Z        INFO    persisted to disk       {"blocks": 1, "keys": 48, "headerHeight": 13738, "blockHeight": 13738, "took": "6.416167ms"}
2022-10-18T13:46:52.358Z        INFO    sending PrepareRequest  {"height": 13739, "view": 0}
2022-10-18T13:46:52.358Z        INFO    sending Commit  {"height": 13739, "view": 0}
2022-10-18T13:46:52.358Z        INFO    approving block {"height": 13739, "hash": "5e44cf8d262b1f57906fcbf7167d1d77d52a633c0cc0f4402363e889c42fb5ea", "tx_count": 0, "merkle": "0000000000000000000000000000000000000000000000000000000000000000", "prev": "c838ec347494a330b4e2aea8356bcf8cf06e7d5373acd4896fbdd10d5e1634ea"}
2022-10-18T13:46:52.358Z        INFO    initializing dbft       {"height": 13740, "view": 0, "index": 0, "role": "Primary"}
2022-10-18T13:46:52.361Z        INFO    runtime log     {"tx": "f829658f4f7603f4c880278e7abd1bd2687314045620b88abe8282712598dadc", "script": "73cf92b4a0a52009605d19d1dbc67db05d243662", "msg": "utility token has been emitted to proxy contract"}
2022-10-18T13:46:52.361Z        INFO    runtime log     {"tx": "f829658f4f7603f4c880278e7abd1bd2687314045620b88abe8282712598dadc", "script": "73cf92b4a0a52009605d19d1dbc67db05d243662", "msg": "utility token has been emitted to inner ring nodes"}
2022-10-18T13:46:53.079Z        INFO    persisted to disk       {"blocks": 1, "keys": 30, "headerHeight": 13739, "blockHeight": 13739, "took": "12.928625ms"}
2022-10-18T13:46:53.359Z        INFO    sending PrepareRequest  {"height": 13740, "view": 0}
2022-10-18T13:46:53.360Z        INFO    sending Commit  {"height": 13740, "view": 0}
2022-10-18T13:46:53.360Z        INFO    approving block {"height": 13740, "hash": "6974ea6c7137ee0854d607390c7e5a5313cf89ed4a5e5725b09f589295e0707f", "tx_count": 1, "merkle": "204e39fa9490ff61bca0934d2b9eac514c7fc8c6d08f24e090d7300f8788f8d5", "prev": "5e44cf8d262b1f57906fcbf7167d1d77d52a633c0cc0f4402363e889c42fb5ea"}
2022-10-18T13:46:53.362Z        INFO    runtime log     {"tx": "d5f888870f30d790e0248fd0c6c87f4c51ac9e2b4d93a0bc61ff9094fa394e20", "script": "73cf92b4a0a52009605d19d1dbc67db05d243662", "msg": "utility token has been emitted to proxy contract"}
2022-10-18T13:46:53.363Z        INFO    runtime log     {"tx": "d5f888870f30d790e0248fd0c6c87f4c51ac9e2b4d93a0bc61ff9094fa394e20", "script": "73cf92b4a0a52009605d19d1dbc67db05d243662", "msg": "utility token has been emitted to inner ring nodes"}
2022-10-18T13:46:53.365Z        INFO    initializing dbft       {"height": 13741, "view": 0, "index": 0, "role": "Primary"}

sn logs:


2022-10-18T13:45:11.063Z        debug   innerring/innerring.go:233      new block       {"index": 13638}
2022-10-18T13:45:12.059Z        debug   innerring/innerring.go:233      new block       {"index": 13639}
2022-10-18T13:45:12.060Z        info    alphabet/handlers.go:11 tick    {"type": "alphabet gas emit"}
2022-10-18T13:45:12.069Z        debug   client/client.go:187    neo client invoke       {"method": "emit", "vub": 13642, "tx_hash": "0df520df8b330c6f803a16b9cc701914d5e67fb1252236fd80ad476fcca8a550"}
2022-10-18T13:45:12.070Z        debug   alphabet/process_emit.go:55     empty network map, do not emit gas
2022-10-18T13:45:13.065Z        debug   innerring/innerring.go:233      new block       {"index": 13640}
2022-10-18T13:45:14.066Z        debug   innerring/innerring.go:233      new block       {"index": 13641}
2022-10-18T13:45:15.070Z        debug   innerring/innerring.go:233      new block       {"index": 13642}
2022-10-18T13:45:16.068Z        debug   innerring/innerring.go:233      new block       {"index": 13643}
2022-10-18T13:45:17.081Z        debug   innerring/innerring.go:233      new block       {"index": 13644}
2022-10-18T13:45:18.075Z        debug   innerring/innerring.go:233      new block       {"index": 13645}
2022-10-18T13:45:19.079Z        debug   innerring/innerring.go:233      new block       {"index": 13646}
2022-10-18T13:45:20.082Z        debug   innerring/innerring.go:233      new block       {"index": 13647}
2022-10-18T13:45:21.083Z        debug   innerring/innerring.go:233      new block       {"index": 13648}
2022-10-18T13:45:22.084Z        debug   innerring/innerring.go:233      new block       {"index": 13649}
2022-10-18T13:45:23.098Z        debug   innerring/innerring.go:233      new block       {"index": 13650}
2022-10-18T13:45:24.092Z        debug   innerring/innerring.go:233      new block       {"index": 13651}
2022-10-18T13:45:25.094Z        debug   innerring/innerring.go:233      new block       {"index": 13652}
2022-10-18T13:45:26.103Z        debug   innerring/innerring.go:233      new block       {"index": 13653}
2022-10-18T13:45:27.102Z        debug   innerring/innerring.go:233      new block       {"index": 13654}
2022-10-18T13:45:28.103Z        debug   innerring/innerring.go:233      new block       {"index": 13655}
2022-10-18T13:45:29.111Z        debug   innerring/innerring.go:233      new block       {"index": 13656}
2022-10-18T13:45:30.114Z        debug   innerring/innerring.go:233      new block       {"index": 13657}
2022-10-18T13:45:31.113Z        debug   innerring/innerring.go:233      new block       {"index": 13658}
2022-10-18T13:45:32.124Z        debug   innerring/innerring.go:233      new block       {"index": 13659}
2022-10-18T13:45:33.120Z        debug   innerring/innerring.go:233      new block       {"index": 13660}
2022-10-18T13:45:34.124Z        debug   innerring/innerring.go:233      new block       {"index": 13661}
KirillovDenis commented 1 year ago

It seems these aren't full logs. Also attach them as files (since these files can be quite large). Also please specify version of your OS

mike-petrov commented 1 year ago

System Version: macOS 12.6 (21G115) Kernel Version: Darwin 21.6.0 arm64

Logs: ir.log morph.log sn.log