We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef20848 + 260a45a commit daddc9cCopy full SHA for daddc9c
qa/tasks/qemu.py
@@ -8,6 +8,8 @@
8
import yaml
9
import time
10
11
+from packaging.version import Version
12
+
13
from tasks import rbd
14
from tasks.util.workunit import get_refspec_after_overrides
15
from teuthology import contextutil
@@ -492,7 +494,10 @@ def run_qemu(ctx, config):
492
494
)
493
495
496
nfs_service_name = 'nfs'
- if remote.os.name in ['rhel', 'centos'] and float(remote.os.version) >= 8:
497
+ if (
498
+ remote.os.name in ['rhel', 'centos'] and
499
+ Version(remote.os.version.lower().removesuffix(".stream")) >= Version("8")
500
+ ):
501
nfs_service_name = 'nfs-server'
502
503
# make an nfs mount to use for logging and to
0 commit comments