A machine in a private LAN can't be removed successfully. Currently the machine will be removed successfully from the datacenter, but not as a node in rancher, because the removal of the ip block failed. Due to the fact that the cluster was deployed without a public ip there's no need to remove an ip block.
Expected behavior
Delete the server in a private lan without the try to delete an ionos ip block
Environment
Docker Machine Driver Ionos Cloud version:
7.0.0.rc1
How to Reproduce
Create a Cluster within a private LAN and without DHCP, because the IP will be provided by a DHCP Instance of the Customer
Error and Debug Output
Downloading driver from https://rancher.kogo4ic.de/assets/docker-machine-driver-ionoscloud
2023-08-01T12:11:51.661623340Z Doing /etc/rancher/ssl
2023-08-01T12:11:53.526793167Z docker-machine-driver-ionoscloud
2023-08-01T12:11:53.526816693Z docker-machine-driver-ionoscloud: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
2023-08-01T12:11:53.567500772Z About to remove ionos-rke2-test3-pool1-b88a6391-z6bth
2023-08-01T12:11:53.567524051Z WARNING: This action will delete both local reference and remote instance.
2023-08-01T12:11:53.574318577Z (ionos-rke2-test3-pool1-b88a6391-z6bth) NOTICE: Please check IONOS Cloud Console/CLI to ensure there are no leftover resources.
2023-08-01T12:11:53.574339006Z (ionos-rke2-test3-pool1-b88a6391-z6bth) Starting deleting resources...
2023-08-01T12:12:34.277344409Z (ionos-rke2-test3-pool1-b88a6391-z6bth) NIC Deleted
2023-08-01T12:12:54.671796173Z (ionos-rke2-test3-pool1-b88a6391-z6bth) Volume removed!
2023-08-01T12:13:05.022784334Z (ionos-rke2-test3-pool1-b88a6391-z6bth) Server Deleted
2023-08-01T12:13:05.070066934Z Error removing host "ionos-rke2-test3-pool1-b88a6391-z6bth": 1 error occurred:
2023-08-01T12:13:05.070092092Z * error deleting ipblock: Http method 'DELETE' not allowed. Expected one of [POST,GET,OPTIONS]
Description
A machine in a private LAN can't be removed successfully. Currently the machine will be removed successfully from the datacenter, but not as a node in rancher, because the removal of the ip block failed. Due to the fact that the cluster was deployed without a public ip there's no need to remove an ip block.
Expected behavior
Delete the server in a private lan without the try to delete an ionos ip block
Environment
Docker Machine Driver Ionos Cloud version:
How to Reproduce
Error and Debug Output