test_evnetlet_no_dnspython fails to import glance.cmd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The following test is failing during ubuntu package builds for mitaka b3:
=======
FAIL: glance.
glance.
-------
_StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR
self.
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
testtools.
The mismatch error results when the import of glance.cmd fails and an ImportError is raised. If I comment out the following line, then the import of glance.cmd is successful but I'm not sure why:
os.environ[
description: | updated |
Changed in glance: | |
status: | New → Incomplete |
Changed in glance: | |
status: | New → Invalid |
HI Corey,
I tried this on a ubuntu and it worked just fine. May I ask for the following info on this:
1. Does the system use IPv6 ?
2. Which environment does this fail on python27 or python 34 or both?
3. Do you have dnspython installed ?
The commit bd2a8422d3e8c97 5d023982c038a59 ca0257c6dd is adding these tests is addressing issue for systems that have dnspython installed and have IPv6.