ninsmiracle opened a new issue, #2007:
URL: https://github.com/apache/incubator-pegasus/issues/2007

   ## General Question
   
   When I deploy master branch of pegasus to real cluster, I could not connect 
to peagsus via peagsus_shell.
   
   1. Firstly , I change all the IP to hostname in pegasus config
   2. Then I deloy it to machines
   3. I connected to peagsus cluster via admlin-cli,such as use this command 
`./admin-cli -n aaa:25101,bbb:25101`,but return `fatal: failed to list nodes 
[context deadline exceeded]`
   4. I connected to pegasus cluster via pegasus-shell. It works. However,when 
I type `nodes -d` ,cluster crash.
   
   stdout(error log) in meta server:
   ```
   I2024-05-08 14:13:57.603 (1715148837603905326 81668) : pegasus server 
starting, pid(81668), version($Version: Pegasus Server 2.6.0-SNAPSHOT 
(aea1cfe632d455fcddfe4c92ebbd9d4e89037abb) Release, built by gcc 7.3.1, built 
on 12180ab51819, built at May  7 2024 12:14:31 $)
   F2024-05-08 14:15:26.215 (1715148926215608204 81749)   
meta.THREAD_POOL_META_SERVER3.02003f3d00010001: 
   
   rpc_host_port.cpp:62:from_address(): assertion expression: 
[utils::hostname_from_ip(__bswap_32 (addr.ip()), &hp._host)] invalid host_port 
172.17.0.1
   ```
   **172.17.0.1 is my pegasus-shell IP , which is in a docker.** 
   
   
   I also fonud these coredump in replica servers.
   ```
   Program terminated with signal SIGABRT, Aborted.
   #0  0x00007ffaedff01d7 in raise () from /lib64/libc.so.6
   (gdb) bt
   #0  0x00007ffaedff01d7 in raise () from /lib64/libc.so.6
   #1  0x00007ffaedff18c8 in abort () from /lib64/libc.so.6
   #2  0x00007ffaf240ca1e in dsn_coredump () at 
/home/guoningshen/code/incubator-pegasus/src/runtime/service_api_c.cpp:130
   #3  0x00007ffaef3e8134 in process_fatal_log (log_level=<optimized out>) at 
/home/guoningshen/code/incubator-pegasus/src/utils/simple_logger.cpp:117
   #4  dsn::tools::simple_logger::log (this=0x1a38200, file=<optimized out>, 
function=<optimized out>, line=<optimized out>, log_level=<optimized out>, 
str=<optimized out>)
       at 
/home/guoningshen/code/incubator-pegasus/src/utils/simple_logger.cpp:284
   #5  0x00007ffaf21ec19b in dsn::replication::replica_stub::open_replica 
(this=0x1851800, app=..., id=..., group_check=..., configuration_update=...)
       at 
/home/guoningshen/code/incubator-pegasus/src/replica/replica_stub.cpp:1817
   #6  0x00007ffaf2447be1 in dsn::task::exec_internal (this=0x1f50b40) at 
/home/guoningshen/code/incubator-pegasus/src/runtime/task/task.cpp:173
   #7  0x00007ffaf245f257 in dsn::task_worker::loop (this=0x1717290) at 
/home/guoningshen/code/incubator-pegasus/src/runtime/task/task_worker.cpp:245
   #8  0x00007ffaf245fdc0 in dsn::task_worker::run_internal (this=0x1717290) at 
/home/guoningshen/code/incubator-pegasus/src/runtime/task/task_worker.cpp:225
   #9  0x00007ffaf0ed9a3f in execute_native_thread_routine () from 
/home/work/app/pegasus/c3tst-performance1/replica/package/bin/librocksdb.so.8
   #10 0x00007ffaef66edc5 in start_thread () from /lib64/libpthread.so.0
   #11 0x00007ffaee0b273d in clone () from /lib64/libc.so.6
   (gdb)
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to