khuedoan / homelab

Fully automated homelab from empty disk to running services with a single command.
https://homelab.khuedoan.com
GNU General Public License v3.0
7.9k stars 705 forks source link

cloudflare terraform deprecation and cloudflared failing #154

Closed donydonald1 closed 2 months ago

donydonald1 commented 2 months ago

Terraform Cloudflare Deprecation │ Warning: Deprecated attribute │ │ on modules/cloudflare/main.tf line 53, in resource "cloudflare_api_token" "external_dns": │ 53: data.cloudflare_api_token_permission_groups.all.permissions["Zone Read"], │ │ The attribute "permissions" is deprecated. Refer to the provider documentation for details. │ │ (and 7 more similar warnings elsewhere) Cloudflare Failure NAME READY STATUS RESTARTS AGE cloudflared-58cf8bc7b-2xgz7 0/1 CrashLoopBackOff 6 (17s ago) 5m27s cloudflared-58cf8bc7b-kj4nl 0/1 CrashLoopBackOff 6 (96s ago) 5m27s cloudflared-58cf8bc7b-n58qb 0/1 CrashLoopBackOff 6 (76s ago) 5m27s

Cloudflare Logs 2024-04-15T08:28:46Z INF Initial protocol quic 2024-04-15T08:28:47Z INF Starting metrics server on [::]:2000/metrics 2024/04/15 08:28:47 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details. 2024-04-15T08:28:47Z ERR Failed to serve quic connection error="Unauthorized: Failed to get tunnel" connIndex=0 2024-04-15T08:28:47Z ERR Register tunnel error from server side error="Unauthorized: Failed to get tunnel" connIndex=0 2024-04-15T08:28:47Z WRN Your version 2022.6.3 is outdated. We recommend upgrading it to 2024.4.0 2024-04-15T08:28:47Z INF Retrying connection in up to 2s seconds connIndex=0 2024-04-15T08:28:47Z ERR Failed to serve quic connection error="Unauthorized: Failed to get tunnel" connIndex=0 2024-04-15T08:28:47Z ERR Register tunnel error from server side error="Unauthorized: Failed to get tunnel" connIndex=0 2024-04-15T08:28:47Z INF Retrying connection in up to 4s seconds connIndex=0 2024-04-15T08:28:48Z ERR Failed to serve quic connection error="Unauthorized: Failed to get tunnel" connIndex=0 2024-04-15T08:28:48Z ERR Register tunnel error from server side error="Unauthorized: Failed to get tunnel" connIndex=0 2024-04-15T08:28:48Z INF Retrying connection in up to 8s seconds connIndex=0 2024-04-15T08:28:51Z ERR Failed to serve quic connection error="Unauthorized: Failed to get tunnel" connIndex=0 2024-04-15T08:28:51Z ERR Register tunnel error from server side error="Unauthorized: Failed to get tunnel" connIndex=0 2024-04-15T08:28:51Z INF Retrying connection in up to 16s seconds connIndex=0 2024-04-15T08:29:05Z INF Initiating graceful shutdown due to signal terminated ... 2024-04-15T08:29:05Z INF Tunnel server stopped 2024-04-15T08:29:05Z INF Metrics server stopped

khuedoan commented 2 months ago

Thank you for reporting the issues, fixed with https://github.com/khuedoan/homelab/commit/295914cfaed034229ba681629e8e6829549a8325, https://github.com/khuedoan/homelab/commit/20b4f109767ab5db5404c727f7a5236065d1c592 and https://github.com/khuedoan/homelab/commit/22312e1606c682411dc6593c32ccd3fadbcba7f0