Replies: 3 comments
-
SLOW TRANSACTION can be indicative of poor database performance. Which storage backend are you using? |
Beta Was this translation helpful? Give feedback.
-
Hi, The storage back-end is Ceph on a multi-node Proxmox cluster. Running iostat, we don't see anything untoward within the VM itself -
Is there anything else you'd like to see the output of? I'm not entirely sure when this issue started to be fair, it may have been around since 15.x, however it's only that we've started trying to add new resources that the lack of progress on adding a resource has become apparent. |
Beta Was this translation helpful? Give feedback.
-
Downgrading back to 15.4.19 resolved my issue. |
Beta Was this translation helpful? Give feedback.
-
Expected behavior:
When registering a new resource (Ubuntu or Debian in my case), after running the install-node.sh on the node concerned, one expects the Next button on the Teleport server to un-grey to complete the registration.
Current behavior:
The Next button never appears so I can't complete the registration of new resources.
Bug details:
Teleport version - 16.2.1
Recreation steps
Register a new device (Debian or Ubuntu).
On teleport, eventually, the following is displayed -
WARN [SQLITE] "SLOW TRANSACTION: 1.289639611s, goroutine 6053 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/gravitational/teleport/lib/backend/lite.(*Backend).inTransaction.func1()\n\tgithub.com/gravitational/teleport/lib/backend/lite/lite.go:946 +0x47\ngithub.com/gravitational/teleport/lib/backend/lite.(*Backend).inTransaction(0xc00173c160, {0x55b1446b4a58, 0xc004c28cc0}, 0xc003a1d108)\n\tgithub.com/gravitational/teleport/lib/backend/lite/lite.go:997 +0x1f5\ngithub.com/gravitational/teleport/lib/backend/lite.(*Backend).Put(0xc00173c160, {0x55b1446b4a58, 0xc004c28cc0}, {{0xc004235c50, 0x2f, 0x30}, {0xc002b3e140, 0x136, 0x136}, {0x2db81ebd, ...}, ...})\n\tgithub.com/gravitational/teleport/lib/backend/lite/lite.go:510 +0x125\ngithub.com/gravitational/teleport/lib/backend.(*Sanitizer).Put(0xc000d0ed30, {0x55b1446b4a58, 0xc004c28cc0}, {{0xc004235c50, 0x2f, 0x30}, {0xc002b3e140, 0x136, 0x136}, {0x2db81ebd, ...}, ...})\n\tgithub.com/gravitational/teleport/lib/backend/sanitize.go:98 +0x126\ngithub.com/gravitational/teleport/lib/backend.(*Reporter).Put(0xc0015c6640, {0x55b1446b4a90, 0xc00128b1d0}, {{0xc004235c50, 0x2f, 0x30}, {0xc002b3e140, 0x136, 0x136}, {0x2db81ebd, ...}, ...})\n\tgithub.com/gravitational/teleport/lib/backend/report.go:202 +0x509\ngithub.com/gravitational/teleport/lib/services/local.(*PresenceService).UpsertInstance(0xc00173a2c0, {0x55b1446b4a90, 0xc00128b1d0}, {0x55b14471e518, 0xc005411520})\n\tgithub.com/gravitational/teleport/lib/services/local/inventory.go:113 +0x4c6\ngithub.com/gravitational/teleport/lib/inventory.(*Controller).heartbeatInstanceState.func2()\n\tgithub.com/gravitational/teleport/lib/inventory/controller.go:452 +0x43\ngithub.com/gravitational/teleport/lib/inventory.(*Controller).heartbeatInstanceState.func1(0xc005411520?)\n\tgithub.com/gravitational/teleport/lib/inventory/controller.go:438 +0x7d\ngithub.com/gravitational/teleport/lib/inventory.(*Controller).heartbeatInstanceState(0xc00173c210, 0xc003140800, {0xc004b0b908?, 0x0?, 0x55b149e068a0?})\n\tgithub.com/gravitational/teleport/lib/inventory/controller.go:451 +0x3b4\ngithub.com/gravitational/teleport/lib/inventory.(*Controller).handleControlStream(0xc00173c210, 0xc003140800)\n\tgithub.com/gravitational/teleport/lib/inventory/controller.go:394 +0x771\ncreated by github.com/gravitational/teleport/lib/inventory.(*Controller).RegisterControlStream in goroutine 6049\n\tgithub.com/gravitational/teleport/lib/inventory/controller.go:273 +0x306\n." lite/lite.go:946
On the newly registered node -
The node also has a good connection on port 22 to the Teleport proxy/auth server -
The install log on the resource is as follows -
On the Teleport server -
Eventually, the SLOW TRANSACTION will appear.
Beta Was this translation helpful? Give feedback.
All reactions