Skip to content

Commit f17c0ce

Browse files
authored
Merge pull request #29 from zmc/board_serial
testnode: Add dummy board_serial file
2 parents e977939 + bcb76dc commit f17c0ce

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

ceph_devstack/resources/ceph/containers.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,8 @@ class TestNode(Container):
199199
# cephadm tries to access these DMI-related files, and by default they
200200
# have 600 permissions on the host. It appears to be ok if they are
201201
# empty, though.
202-
# The below was bizarrely causing this error message:
203-
# No such file or directory: OCI runtime attempted to invoke a command that was
204-
# not found
205-
# That was causing the container to fail to start up.
206-
# "-v",
207-
# "/dev/null:/sys/class/dmi/id/board_serial",
202+
"-v",
203+
"/dev/null:/sys/class/dmi/id/board_serial",
208204
"-v",
209205
"/dev/null:/sys/class/dmi/id/chassis_serial",
210206
"-v",
@@ -347,7 +343,7 @@ def create_cmd(self):
347343
"-v",
348344
f"{custom_conf}:/tmp/conf.yaml",
349345
"-e",
350-
f"TEUTHOLOGY_CONF=/tmp/conf.yaml",
346+
"TEUTHOLOGY_CONF=/tmp/conf.yaml",
351347
]
352348
teuthology_yaml = os.environ.get("TEUTHOLOGY_YAML")
353349
if teuthology_yaml:

0 commit comments

Comments
 (0)