Bug 2233061 - Designate DNS – Secondary zone is failed to be created and gets into the ERROR status
Summary: Designate DNS – Secondary zone is failed to be created and gets into the ERRO...
Keywords:
Status: CLOSED DUPLICATE of bug 2075187
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-designate
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nate Johnston
QA Contact: Bruna Bonguardo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-21 09:43 UTC by jiehuang
Modified: 2023-08-22 14:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-22 14:55:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2075187 0 unspecified CLOSED zone transfer issues due to bug trying to compare nonetype with float 2023-09-22 09:41:29 UTC
Red Hat Issue Tracker OSP-27582 0 None None None 2023-08-22 14:58:53 UTC

Description jiehuang 2023-08-21 09:43:57 UTC
Description of problem:
Failed to create a zone after finished the created

Version-Release number of selected component (if applicable):
16.2
root@ovn-db-01 ~]# rpm -qa |grep dns
python3-dns-1.15.0-10.el8.noarch
puppet-dns-6.2.1-2.20220110214338.2ae1cd7.el8ost.noarch

How reproducible:
deploy and create a zone

Steps to Reproduce:
1.
2.
3.

Actual results:
     2023-08-21 04:34:03.302 14 INFO designate.dnsutils [designate-manage - - - - -] Doing AXFR for example.com. from {'zone_id': '366c4b4c-6c3e-441b-9b2f-b142284441f3', 'host': '1.2.3.4', 'port': 5354, 'id': '3bc411db-6f7f-4334-a226-        4f559425d752', 'created_at': datetime.datetime(2023, 8, 21, 4, 34, 3), 'updated_at': None, 'version': 1}
         72 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils [designate-manage - - - - -] Problem doing AXFR example.com. from {'zone_id': '366c4b4c-6c3e-441b-9b2f-b142284441f3', 'host': '1.2.3.4', 'port': 5354, 'id': '3bc411db-6f7f-4334-        a226-4f559425d752', 'created_at': datetime.datetime(2023, 8, 21, 4, 34, 3), 'updated_at': None, 'version': 1}. Trying next server.: TypeError: '>' not supported between instances of 'float' and 'NoneType'
         73 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils Traceback (most recent call last):
         74 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils   File "/usr/lib/python3.6/site-packages/designate/dnsutils.py", line 359, in do_axfr
         75 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils     raw_zone = dns.zone.from_xfr(xfr, relativize=False)
         76 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils   File "/usr/lib/python3.6/site-packages/dns/zone.py", line 1066, in from_xfr
         77 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils     for r in xfr:
         78 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils   File "/usr/lib/python3.6/site-packages/dns/query.py", line 470, in xfr
         79 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils     if mexpiration is None or mexpiration > expiration:
         80 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils TypeError: '>' not supported between instances of 'float' and 'NoneType'
         81 2023-08-21 04:34:03.304 14 ERROR designate.dnsutils
         82 2023-08-21 04:34:03.306 14 WARNING designate.mdns.xfr [designate-manage - - - - -] XFR failed for example.com.. No servers in [{'zone_id': '366c4b4c-6c3e-441b-9b2f-b142284441f3', 'host': '1.2.3.4', 'port': 5354, 'id': '3bc411db-6        f7f-4334-a226-4f559425d752', 'created_at': datetime.datetime(2023, 8, 21, 4, 34, 3), 'updated_at': None, 'version': 1}] was reached.: designate.exceptions.XFRFailure: XFR failed for example.com.. No servers in [{'zone_id': '366c4b4c-        6c3e-441b-9b2f-b142284441f3', 'host': '1.2.3.4', 'port': 5354, 'id': '3bc411db-6f7f-4334-a226-4f559425d752', 'created_at': datetime.datetime(2023, 8, 21, 4, 34, 3), 'updated_at': None, 'version': 1}] was reached.
         83 2023-08-21 04:34:03.854 15 INFO designate.service [req-f37a1ba5-f0dd-45ea-9c90-ccf75b59357b - - - - -] TCP Timeout from: 1.2.3.4:34346


Expected results:
create successed

Additional info:
I found the upstream disscussion here, it seems we hits it.
https://bugs.launchpad.net/designate/+bug/1941988
https://bugs.launchpad.net/designate/+bug/1941988/comments/0


Note You need to log in before you can comment on or make changes to this bug.