New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exports fail on zones with failover records #82
Comments
Getting the same error with the latest version of cli53. Anyone else seeing this? Traceback (most recent call last):
File "/usr/local/bin/cli53", line 976, in <module>
main()
File "/usr/local/bin/cli53", line 971, in main
args.func(args)
File "/usr/local/bin/cli53", line 630, in cmd_export
zone.to_file(sys.stdout, relativize=not args.full)
File "/Library/Python/2.7/site-packages/dns/zone.py", line 499, in to_file
relativize=relativize)
File "/Library/Python/2.7/site-packages/dns/node.py", line 53, in to_text
print >> s, rds.to_text(name, **kw)
File "/Library/Python/2.7/site-packages/dns/rdataset.py", line 214, in to_text
rd.to_text(origin=origin, relativize=relativize, **kw))
AttributeError: 'NoneType' object has no attribute 'to_text' thanks! |
Support for failover was reverted recently - 55e099b. Maybe that is why this is failing? |
I'm getting the same thing as of today and ver. 0.4.4 |
I'm also seeing an error trying to export a zone with failover records, as soon as I changed the routing policy to simple it exported just fine.
|
I am running version 0.5.0 and still get this error:
|
Could someone provide a reproduction case - ie the exact parameters of the record that cause the failure? Thanks |
So I just had a look at the record that was causing the issue and it was a geolocation record (with health check). I removed the geolocation record, and now cli53 exports okay... So it wasn't to do with failover, but geolocation. |
ah ok - covered by #98 |
I'll close this issue |
When I try to export a zone (cli53 export zonename.com) with failover records in it, it stops exporting on the record before the failover and bombs out with this error:
Traceback (most recent call last):
File "/usr/local/bin/cli53", line 976, in
main()
File "/usr/local/bin/cli53", line 971, in main
args.func(args)
File "/usr/local/bin/cli53", line 630, in cmd_export
zone.to_file(sys.stdout, relativize=not args.full)
File "/usr/local/lib/python2.7/dist-packages/dns/zone.py", line 499, in to_file
relativize=relativize)
File "/usr/local/lib/python2.7/dist-packages/dns/node.py", line 53, in to_text
print >> s, rds.to_text(name, *_kw)
File "/usr/local/lib/python2.7/dist-packages/dns/rdataset.py", line 214, in to_text
rd.to_text(origin=origin, relativize=relativize, *_kw))
AttributeError: 'NoneType' object has no attribute 'to_text'
I believe I have the most current version of the script (updated today). Is there a fix for this? Am I doing something wrong on my end?
The text was updated successfully, but these errors were encountered: