RedHat-EMEA-SSA-Team / hetzner-ocp4

Installing OCP 4 on single bare metal server.
Apache License 2.0
183 stars 114 forks source link

Add Hetzner DNS service - https://dns.hetzner.com/ #97

Closed rbo closed 3 years ago

rbo commented 4 years ago

Hetzner launched DNS service, which might be useful to use and support it.

rbo commented 4 years ago

Closed - please reopen of somebody really need it.

rbo commented 3 years ago

Reopen because of PR #169

rbo commented 3 years ago

PR #169 merged into feature/PR169

Clean feature from @dominikhahn at branch feature/hetzner-dns

rbo commented 3 years ago

@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.

rbo commented 3 years ago

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
rbo commented 3 years ago
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 :-(

rbo commented 3 years ago

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!

rbo commented 3 years ago

@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

rbo commented 3 years ago

Let's run the some final tests...

rbo commented 3 years ago

looks good, merged into devel branch.