Skip to content

Instantly share code, notes, and snippets.

View squat's full-sized avatar

Lucas Servén Marín squat

View GitHub Profile
@squat
squat / gist:f7159c4591bd1e5d04b2957109718b2b
Created January 12, 2024 18:59
Terraform Debug Output for ConfigMapList Failure
2024-01-12T19:58:59.685+0100 [INFO] Terraform version: 1.5.7
2024-01-12T19:58:59.686+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.26.0
2024-01-12T19:58:59.686+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.2
2024-01-12T19:58:59.686+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.0
2024-01-12T19:58:59.686+0100 [DEBUG] using github.com/zclconf/go-cty v1.12.2
2024-01-12T19:58:59.686+0100 [INFO] Go runtime version: go1.20.7
2024-01-12T19:58:59.686+0100 [INFO] CLI args: []string{"/var/lib/tfenv/versions/1.5.7/terraform", "plan", "-no-color"}
2024-01-12T19:58:59.686+0100 [DEBUG] Attempting to open CLI config file: /home/squat/.terraformrc
2024-01-12T19:58:59.686+0100 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2024-01-12T19:58:59.686+0100 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins

Keybase proof

I hereby claim:

  • I am squat on github.
  • I am squat (https://keybase.io/squat) on keybase.
  • I have a public key whose fingerprint is F246 425A 7650 6F37 0552 BA8D DEA9 C405 09D9 65F5

To claim this, I am signing this object:

@squat
squat / azure-vxlan.md
Last active April 23, 2021 04:27
Debugging VXLAN issues on Azure

Azure VXLAN Issues

Introduction

Between June 24-25, the nodes in Tectonic clusters running on Azure automatically updated the OS from Container Linux 1353.8.0 to 1409.2.0. After this upgrade, the nodes began to experience increased latency and failure rate in requests. Interestingly, we found that the size of the HTTP request played a role in determining the success of requests to services running on the Kubernetes cluster. We found that setting the client's interface's MTU to 1370 made all requests succeed; incrementing the MTU to 1371 caused the failure of large HTTP requests to resurface. Additionally, enabling TCP MTU probing on the clients ensured all requests would succeed, albeit with increased latency. In order to identify the minimum set of circumstances needed to reproduce the issue, I ran several tests involving different network topologies.

@squat
squat / kernel_4.10.patch
Created April 11, 2017 21:00
nvidia patch for 4.10 kernel
From ca8b106738521823707f3567cedb41ca158792a3 Mon Sep 17 00:00:00 2001
From: Alberto Milone <alberto.milone@canonical.com>
Date: Wed, 15 Feb 2017 10:53:42 +0100
Subject: [PATCH 1/1] Add support for Linux 4.10
---
common/inc/nv-mm.h | 9 ++++--
nvidia-drm/nvidia-drm-fence.c | 72 +++++++++++++++++++++++++++++++++++++++++++
nvidia-drm/nvidia-drm-gem.h | 6 ++++
nvidia-drm/nvidia-drm-priv.h | 7 +++++