diff --git a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py index 9ce05343..69cd3a1b 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py @@ -25,13 +25,10 @@ import eventlet.greenpool as greenpool import eventlet.queue as queue import pyghmi.constants as pygconstants import pyghmi.exceptions as pygexc -import pyghmi.ipmi.console as console -import pyghmi.ipmi.command as ipmicommand +console = eventlet.import_patched('pyghmi.ipmi.console') +ipmicommand = eventlet.import_patched('pyghmi.ipmi.command') import socket -console.session.select = eventlet.green.select -console.session.threading = eventlet.green.threading - def exithandler(): console.session.iothread.join()