0glabs/0g-storage-node

Cannot pub msg since lack of peers(about boot nodes)

nodebrand opened this issue · 0 comments

zgs_uploadSegments() method just deployed but cannot publish message because of lack of peers

2024-06-03T14:02:31.301648Z DEBUG rpc::zgs::r#impl: zgs_uploadSegments()
2024-06-03T14:02:31.301703Z DEBUG rpc::zgs::r#impl: putSegment root=0x50a3…fc86 index=0
2024-06-03T14:02:31.302035Z DEBUG rpc::types: data len: 262144, expected len: 262144
2024-06-03T14:02:31.313268Z DEBUG chunk_pool::mem_pool::chunk_pool_inner: Begin to write segment, root=0x50a3…fc86, segment_size=262144, segment_index=0
2024-06-03T14:02:31.319072Z DEBUG chunk_pool::mem_pool::chunk_write_control: Succeeded to write segment, root=0x50a3…fc86, seg_index=0, total_writings=0
2024-06-03T14:02:31.319452Z DEBUG rpc::zgs::r#impl: putSegment root=0x50a3…fc86 index=1
2024-06-03T14:02:31.319788Z DEBUG rpc::types: data len: 262144, expected len: 262144
2024-06-03T14:02:31.325015Z DEBUG chunk_pool::mem_pool::chunk_pool_inner: Begin to write segment, root=0x50a3…fc86, segment_size=262144, segment_index=1
2024-06-03T14:02:31.328299Z DEBUG chunk_pool::mem_pool::chunk_write_control: Succeeded to write segment, root=0x50a3…fc86, seg_index=1, total_writings=0
2024-06-03T14:02:31.328342Z DEBUG rpc::zgs::r#impl: putSegment root=0x50a3…fc86 index=2
2024-06-03T14:02:31.328484Z DEBUG rpc::types: data len: 262144, expected len: 262144
2024-06-03T14:02:31.331884Z DEBUG chunk_pool::mem_pool::chunk_pool_inner: Begin to write segment, root=0x50a3…fc86, segment_size=262144, segment_index=2
2024-06-03T14:02:31.335622Z DEBUG chunk_pool::mem_pool::chunk_write_control: Succeeded to write segment, root=0x50a3…fc86, seg_index=2, total_writings=0
2024-06-03T14:02:31.335662Z DEBUG rpc::zgs::r#impl: putSegment root=0x50a3…fc86 index=3
2024-06-03T14:02:31.335828Z DEBUG rpc::types: data len: 262144, expected len: 262144
2024-06-03T14:02:31.344837Z DEBUG chunk_pool::mem_pool::chunk_pool_inner: Begin to write segment, root=0x50a3…fc86, segment_size=262144, segment_index=3
2024-06-03T14:02:31.349595Z DEBUG chunk_pool::mem_pool::chunk_write_control: Succeeded to write segment, root=0x50a3…fc86, seg_index=3, total_writings=0
2024-06-03T14:02:31.349640Z DEBUG chunk_pool::mem_pool::chunk_pool_inner: Queue to finalize transaction for file 0x50a3…fc86
2024-06-03T14:02:31.349671Z DEBUG jsonrpsee_http_server::server: [service_fn] sending back: "{\"jsonrpc\":\"2.0\",\"result\":null,\"id\":71}"
2024-06-03T14:02:31.350732Z DEBUG chunk_pool::handler: Received task to finalize transaction id=FileID { root: 0x50a34963d1108469d60febff9c6a016d7587c65bc03d8eff40d692c8aca7fc86, tx_id: TxID { seq: 24927, hash: 0xaf79a296bf9d9bfd9d053d33890a3ba82c2d012f16d53ed86b6479283222ba9e } }
2024-06-03T14:02:31.351383Z DEBUG storage::log_store::log_manager: finalize_tx_with_hash: tx=Transaction { stream_ids: [], data: [], data_merkle_root: 0x50a34963d1108469d60febff9c6a016d7587c65bc03d8eff40d692c8aca7fc86, merkle_nodes: [(13, 0x50a34963d1108469d60febff9c6a016d7587c65bc03d8eff40d692c8aca7fc86)], start_entry_index: 150384640, size: 1048576, seq: 24927 }
2024-06-03T14:02:31.351426Z DEBUG storage::log_store::log_manager: segments_for_proof: 4, last_segment_size_for_proof: 1024
2024-06-03T14:02:31.351429Z DEBUG storage::log_store::log_manager: segments_for_file: 4, last_segment_size_for_file: 1024
2024-06-03T14:02:31.351436Z DEBUG storage::log_store::log_manager: Padding size: 0
2024-06-03T14:02:31.353849Z DEBUG chunk_pool::handler: Transaction finalized id=FileID { root: 0x50a34963d1108469d60febff9c6a016d7587c65bc03d8eff40d692c8aca7fc86, tx_id: TxID { seq: 24927, hash: 0xaf79a296bf9d9bfd9d053d33890a3ba82c2d012f16d53ed86b6479283222ba9e } }
2024-06-03T14:02:31.353950Z DEBUG router::service: Received new message msg=AnnounceLocalFile { tx_id: TxID { seq: 24927, hash: 0xaf79a296bf9d9bfd9d053d33890a3ba82c2d012f16d53ed86b6479283222ba9e } }
2024-06-03T14:02:31.354558Z DEBUG router::service: Received new message msg=Publish { messages: [AnnounceFile(SignedMessage { inner: AnnounceFile { tx_id: TxID { seq: 24927, hash: 0xaf79a296bf9d9bfd9d053d33890a3ba82c2d012f16d53ed86b6479283222ba9e }, peer_id: WrappedPeerId(PeerId("16Uiu2HAmDRe6P2e56QBrmQwaBCXcYdeHAk85ngaYRqBFzQGevEQY")), at: WrappedMultiaddr("/ip4/172.19.0.1/tcp/1234"), timestamp: 1717423351 }, signature: [48, 68, 2, 32, 22, 175, 255, 30, 158, 71, 232, 159, 123, 38, 65, 155, 164, 166, 61, 78, 9, 45, 21, 75, 22, 136, 3, 72, 3, 21, 222, 68, 5, 136, 41, 146, 2, 32, 23, 39, 35, 95, 243, 146, 248, 148, 108, 1, 7, 49, 222, 225, 199, 163, 116, 152, 55, 196, 106, 98, 53, 66, 30, 27, 145, 232, 105, 3, 13, 120], resend_timestamp: 1717423351 })] }
2024-06-03T14:02:31.354679Z DEBUG router::service: Sending pubsub messages count=1 topics=[AnnounceFile]
2024-06-03T14:02:31.355096Z  WARN network::behaviour: Could not publish message error=InsufficientPeers