Closed rbo closed 3 years ago
Closed - please reopen of somebody really need it.
Reopen because of PR #169
PR #169 merged into feature/PR169
Clean feature from @dominikhahn at branch feature/hetzner-dns
@dominikhahn, unfortunately the tasks in ansible/roles/public_dns/tasks/create-hetzner.yml
are not idempotent. If you rerun the playbooks it creates all DNS entries again.
Delete DNS Records for letsencrypt failed too:
TASK [letsencrypt : Delete DNS record at Hetzner] ***********************************************************************************************************Thursday 18 March 2021 11:34:05 +0100 (0:00:00.063) 0:02:52.176 ******** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: http.client.InvalidURL: URL can't contain control characters. "/api/v1/records/{'results': [{'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False
TASK [public_dns : Include DNS provider] ********************************************************************************************************************
Thursday 18 March 2021 14:46:01 +0100 (0:00:01.095) 0:00:01.124 ********
fatal: [localhost]: FAILED! => {"reason": "Could not find or access '/root/hetzner-ocp4/ansible/destroy-hetzner.yml' on the Ansible Controller."}
Destroy a cluster fails, because of missing destroy-hetzner :-(
Delete DNS Records for letsencrypt failed too:
TASK [letsencrypt : Delete DNS record at Hetzner] ***********************************************************************************************************Thursday 18 March 2021 11:34:05 +0100 (0:00:00.063) 0:02:52.176 ******** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: http.client.InvalidURL: URL can't contain control characters. "/api/v1/records/{'results': [{'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False
Fixed!
@dominikhahn, unfortunately the tasks in
ansible/roles/public_dns/tasks/create-hetzner.yml
are not idempotent. If you rerun the playbooks it creates all DNS entries again.
Fixed
Let's run the some final tests...
looks good, merged into devel branch.
Hetzner launched DNS service, which might be useful to use and support it.