Merge "Add OC with queens and ocata"
diff --git a/tcp_tests/managers/k8smanager.py b/tcp_tests/managers/k8smanager.py
index 3ae1a1b..2aea092 100644
--- a/tcp_tests/managers/k8smanager.py
+++ b/tcp_tests/managers/k8smanager.py
@@ -300,6 +300,15 @@
             timeout_msg="Timeout for CNCF reached."
         )
 
+    def determine_conformance_node(self, target):
+        masters_fqdn = self._salt.get_pillar(
+            tgt='I@kubernetes:master', pillar='linux:network:fqdn')
+        node_names = [v for pillar in masters_fqdn for
+                      k, v in pillar.items()]
+        return [node_name for node_name
+                in node_names
+                if node_name.startswith(target)][0]
+
     def start_conformance_inside_pod(self, cnf_type='k8s', timeout=60 * 60):
         """
         Create conformance pod and wait for results
@@ -323,8 +332,8 @@
 
         pod = cnf_pod.read()
         target = "{}.".format(pod.spec.node_name)
-        self.conformance_node = self.__underlay.get_target_node_names(
-            target)[0]
+
+        self.conformance_node = self.determine_conformance_node(target)
 
         def cnf_status():
             pod = cnf_pod.read()
diff --git a/tcp_tests/tests/system/test_k8s_actions.py b/tcp_tests/tests/system/test_k8s_actions.py
index 6467a8a..d12fffc 100644
--- a/tcp_tests/tests/system/test_k8s_actions.py
+++ b/tcp_tests/tests/system/test_k8s_actions.py
@@ -122,7 +122,7 @@
         assert sample.is_service_available()
 
         show_step(6)
-        k8s_deployed.run_conformance(log_out="k8s_conformance.log")
+        k8s_deployed.start_conformance_inside_pod()
 
         show_step(7)
         chain_versions = config.k8s.k8s_update_chain.split(" ")
@@ -134,8 +134,7 @@
             assert sample.is_service_available()
 
             LOG.info("Running conformance on {} version".format(version))
-            log_name = "k8s_conformance_{}.log".format(version)
-            k8s_deployed.run_conformance(log_out=log_name, raise_on_err=False)
+            k8s_deployed.start_conformance_inside_pod()
 
         assert sample.is_service_available()
 
@@ -186,7 +185,7 @@
             assert sample.is_service_available(external=True)
 
         show_step(6)
-        k8s_deployed.run_conformance()
+        k8s_deployed.start_conformance_inside_pod()
 
         show_step(7)
         for sample in samples:
@@ -305,7 +304,7 @@
         check_pods_availability()
 
         show_step(12)
-        k8s_deployed.run_conformance()
+        k8s_deployed.start_conformance_inside_pod()
 
         show_step(13)
         check_pods_availability()