From 42445986e7f5e4a07aed1f35ed20048752d4c559 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 3 Feb 2025 11:08:18 -0800 Subject: [PATCH] Fix launch node string quoting This is what I get for not testing it before pushing. I've made this minor edit in place in the venv contents on bridge and launching grafana02 appears to have worked. This should be the only fixup needed. Change-Id: Ief32094fb0b216dac99879a285a7dbd0fd005b49 --- launch/src/opendev_launch/launch_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch/src/opendev_launch/launch_node.py b/launch/src/opendev_launch/launch_node.py index a1c034363a..3260e73cb6 100755 --- a/launch/src/opendev_launch/launch_node.py +++ b/launch/src/opendev_launch/launch_node.py @@ -136,7 +136,7 @@ def bootstrap_server(server, key, name, volume_device, keep, raise Exception("CPU does not support x86-64-v2 (sse4_2)") cpucount = 0 - for line in cpuinfo.split(\n): + for line in cpuinfo.split('\n'): if line.startswith('processor\t:'): cpucount = cpucount + 1 if cpucount < 2: