Client is raising a RuntimeError exception during shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.rootwrap |
Fix Released
|
Undecided
|
Rodolfo Alonso |
Bug Description
When the Client is stopped, "Client._shutdown" method is called. This method will call the RootwrapManager "shutdown" method, implemented in multiprocessing
This class will try to stop the root daemon sending a "shutdown" command, using the same socket client. If, by any circumstance, the socket is in use by other thread, the following error will be thrown: http://
I suggest to add an active retry/wait loop in this method to ensure that:
- The daemon is correctly stopped; the daemon should receive the command to send the SIGINT signal and stop the process.
- The client should not raise an exception but finish properly.
Changed in oslo.rootwrap: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
Fix proposed to branch: master /review. opendev. org/727800
Review: https:/