cname_lookup and eventlet 0.20
Bug #1656891 reported by
Romain LE DISEZ
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Behavior: when using eventlet 0.20, if the domain from Host header does not have a CNAME record, the cname_lookup middleware throw an exception, so the user get a 500 error.
With this commit[1] included in eventlet 0.20, eventlet define its own NoAnswer exception (and NXDOMAIN). It seems it is not catched by
except (DNSException, NXDOMAIN, NoAnswer)
in lookup_cname()
But If I change the except to dns.resolver.
[1] https:/
To post a comment you must log in.
Proposal: https:/ /review. openstack. org/#/c/ 435770/