fix reading openstack templates
Change-Id: I36a39e6801edf43ff8a1e4d4ac6f0022bd4f57a6
Reviewed-on: https://review.gerrithub.io/362759
Reviewed-by: Victor Ryzhenkin <vryzhenkin@mirantis.com>
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/fixtures/openstack_fixtures.py b/tcp_tests/fixtures/openstack_fixtures.py
index daf55a3..f69c247 100644
--- a/tcp_tests/fixtures/openstack_fixtures.py
+++ b/tcp_tests/fixtures/openstack_fixtures.py
@@ -118,7 +118,7 @@
# Create Salt cluster
if not config.openstack.openstack_installed:
steps_path = config.openstack_deploy.openstack_steps_path
- commands = utils.read_template(steps_path)
+ commands = underlay.read_template(steps_path)
openstack_actions.install(commands)
hardware.create_snapshot(ext.SNAPSHOT.openstack_deployed)