From 30eb8786965d93f7f505cd65ed2384f341fd6958 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Wed, 2 Aug 2023 09:35:01 -0700 Subject: [PATCH] Use vfat for timestamp This shouldn't really be any different than what we're doing today, but vfat in general is a much simpler filesystem. Since we have issues with ext4, potentially discard, or something else timing out occasionally, this may alleviate that. Change-Id: I735716499b6d31f3f3052a06bb905510d0cbea65 --- tempest/common/utils/linux/remote_client.py | 2 +- tempest/scenario/manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tempest/common/utils/linux/remote_client.py b/tempest/common/utils/linux/remote_client.py index 4fdf6a4b8e..0d9343087a 100644 --- a/tempest/common/utils/linux/remote_client.py +++ b/tempest/common/utils/linux/remote_client.py @@ -183,7 +183,7 @@ class RemoteClient(remote_client.RemoteClient): self.exec_command('sudo umount %s' % mount_path) def make_fs(self, dev_name, fs='ext4'): - cmd_mkfs = 'sudo mke2fs -t %s /dev/%s' % (fs, dev_name) + cmd_mkfs = 'sudo mkfs -t %s /dev/%s' % (fs, dev_name) try: self.exec_command(cmd_mkfs) except tempest.lib.exceptions.SSHExecCommandFailed: diff --git a/tempest/scenario/manager.py b/tempest/scenario/manager.py index 4d35bbb0d9..1469bcfe5b 100644 --- a/tempest/scenario/manager.py +++ b/tempest/scenario/manager.py @@ -1129,7 +1129,7 @@ class ScenarioTest(tempest.test.BaseTestCase): def create_timestamp(self, ip_address, dev_name=None, mount_path='/mnt', private_key=None, server=None, username=None, - fs='ext4'): + fs='vfat'): """Creates timestamp This wrapper utility does ssh, creates timestamp and returns the