Install docker.io before run tempest in OpenStack manager
Change-Id: Iec4492022f32c03fb06b510c4840f46d5954f4d5
diff --git a/tcp_tests/managers/openstack_manager.py b/tcp_tests/managers/openstack_manager.py
index bac459a..51a46c8 100644
--- a/tcp_tests/managers/openstack_manager.py
+++ b/tcp_tests/managers/openstack_manager.py
@@ -101,6 +101,10 @@
target_name = [node_name for node_name
in self.__underlay.node_names() if target in node_name]
+ cmd = ("apt-get -y install docker.io")
+ with self.__underlay.remote(node_name=target_name[0]) as node_remote:
+ result = node_remote.execute(cmd, verbose=True)
+
if pattern:
cmd = ("docker run --rm --net=host "
"-e TEMPEST_CONF={0} "