This reverts commit 6219f94b3a.
This commit seems to cause keystone auth to hang when using
Keystone w/ Swift.
Fixes LP Bug #1178646.
Change-Id: Ieb94a29b3129847c84a02c8a526611f125f21ea0
This change avoids eventlet's monkey-patching of DNS
resolution. eventlet's doesn't support IPv6, for example.
The way to avoid eventlet's DNS is to set an environment
variable. The trick is the environment variable needs to be set
before eventlet is imported.
A similar change was made in nova, so this is just copying
that code and technique to keystone.
This allows re-enabling the IPv6 tests, too.
Change-Id: I30524a1cebd43580d692fd88ef32be45e62758c5