rpc server won't stop if could not connect to amqp server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Confirmed
|
Medium
|
Unassigned |
Bug Description
We start an multi-process rpc server using RPCServer,and connect to a AMQP server such as rabbitmq. If the AMQP server is down when starting rpc server, the log will print AMQP server reconnecting information, now stop the rpc server, only the parent process exit, the child processes are still alive, and the logs still printing.
I debugged the program, and found that the program block at the 'stop' method of MessageHandling
My opinion is that the stop action of rpc server should not rely on the AMQP server's status.
description: | updated |
description: | updated |
Changed in oslo.messaging: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
description: | updated |