Skip to content
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

Can no longer delete records #128

Open
dougmeredith opened this issue Feb 4, 2025 · 2 comments
Open

Can no longer delete records #128

dougmeredith opened this issue Feb 4, 2025 · 2 comments

Comments

@dougmeredith
Copy link

I have no idea what has happened. I've been using octoDNS to manage Cloudflare DNS for a year or so, but all of a sudden I can no longer delete records. Creation and update still works fine. I have not changed the token that I'm using.

2025-02-04T16:41:47  [132582029607040] INFO  CloudflareProvider[dest] apply: making 8 changes to skyridge.com.
2025-02-04T16:41:47  [132582029607040] DEBUG CloudflareProvider[dest] _apply: zone=skyridge.com., len(changes)=8
Traceback (most recent call last):
  File "/app-temp/octodns/venv/bin/octodns-sync", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/app-temp/octodns/venv/lib/python3.12/site-packages/octodns/cmds/sync.py", line 62, in main
    manager.sync(
  File "/app-temp/octodns/venv/lib/python3.12/site-packages/octodns/manager.py", line 856, in sync
    total_changes += target.apply(plan)
                     ^^^^^^^^^^^^^^^^^^
  File "/app-temp/octodns/venv/lib/python3.12/site-packages/octodns/provider/base.py", line 298, in apply
    self._apply(plan)
  File "/app-temp/octodns/venv/lib/python3.12/site-packages/octodns_cloudflare/__init__.py", line 1129, in _apply
    getattr(self, f'_apply_{class_name}')(change)
  File "/app-temp/octodns/venv/lib/python3.12/site-packages/octodns_cloudflare/__init__.py", line 1099, in _apply_Delete
    f'/zones/{record["zone_id"]}/dns_records/'
              ~~~~~~^^^^^^^^^^^
KeyError: 'zone_id'

If this was someone else doing this, I'd say it was his fault, but I really can't see how I've caused this. lol Any insight would be most appreciated.

@ross
Copy link
Contributor

ross commented Feb 4, 2025

See #120. Would love to know what's causing this/what CF has changed. Definitely seems like some sort of regression on their end.

/cc Duplicate of #118

@dougmeredith
Copy link
Author

I'm glad to know that it's not just me. I guess I'll cross my fingers and just hope that it starts working again tomorrow. I can't go back to managing DNS through a web interface. I just can't! lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants