Because we are still stuck with 0.14 for the time being. The following
commit:
commit c2cb119adf467a5c23686a3fecfcd1a0e50c784e
Author: Yiqiao Pu <[email protected]>
Date: Fri Jun 14 17:06:14 2013 +0800
virttest: Add basic nfs support class
This is a class used to mount nfs to your local. And it can also
export local
directories for testing.
Signed-off-by: Yiqiao Pu <[email protected]>
Introduces a bug for people running virt-test with their rpm based
autotest setup. I've fixed the issue with:
commit 1a5ab780bcc1fd558b7bf8812345e1ddca9350aa
Author: Lucas Meneghel Rodrigues <[email protected]>
Date: Wed Nov 6 14:19:40 2013 -0200
virttest.nfs: Remove dependency on unreleased autotest module
Use the staging library instead.
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
diff --git a/virttest/nfs.py b/virttest/nfs.py
index aa68b26..0e2e984 100644
--- a/virttest/nfs.py
+++ b/virttest/nfs.py
@@ -6,8 +6,8 @@ import re
import os
import logging
from autotest.client import os_dep
-from autotest.client.shared import utils, service, error
-import utils_misc
+from autotest.client.shared import utils, error
+import utils_misc, staging
def nfs_exported():
@@ -151,7 +151,7 @@ class Nfs(object):
self.nfs_setup = True
os_dep.command("service")
os_dep.command("exportfs")
- self.nfs_service = service.SpecificServiceManager("nfs")
+ self.nfs_service =
staging.service.SpecificServiceManager("nfs")
self.export_dir = (params.get("export_dir")
or self.mount_src.split(":")[-1])
So let's keepin mind that and let's continue to be careful.
Thanks!
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel