Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ironic_python_agent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os

import eventlet

os.environ["EVENTLET_NO_GREENDNS"] = "yes"

# NOTE(JayF) Without monkey_patching socket, API requests will hang with TLS
# enabled. Enabling more than just socket for monkey patching causes failures
# in image streaming. In an ideal world, we track down all those errors and
Expand Down