Hide Forgot
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/hide-greenthreads. Description: Currently there are places in nova which expose and use the greenthread code directly for various reasons. It would be nice to move to a more abstracted model where the greenthread implementation is only exposed in 'utils.py' and everything else uses modules/code there instead of using greenthread directly. This seems to be the case for other usage of greenthread (due to code like FixedIntervalLoopingCall and such) so it seems like we can work on cleaning up other usage of greenthread directly in a similar manner. This will aid the transition off of greenthreads if it ever becomes needed by having a single point where all greenthread usage is occurring, instead of having it scattered all over, which makes changes hard, and verification of correctness hard as well when X different usages exist in Y different places in nova instead of just X usages with 1 primary location. Specification URL (additional information): None