From d97b6a77c4e105aeb3dac1e3ab01f8fa47eaf2fe Mon Sep 17 00:00:00 2001 From: Chris MacNaughton Date: Fri, 8 Nov 2019 08:59:40 +0800 Subject: [PATCH] fix ssh command --- zaza/openstack/charm_tests/manila_ganesha/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zaza/openstack/charm_tests/manila_ganesha/tests.py b/zaza/openstack/charm_tests/manila_ganesha/tests.py index 9b9287f..9745f4b 100644 --- a/zaza/openstack/charm_tests/manila_ganesha/tests.py +++ b/zaza/openstack/charm_tests/manila_ganesha/tests.py @@ -93,6 +93,7 @@ write_files: mount_path = share.export_locations[0] openstack_utils.ssh_command( + username, fip_1, 'instance-1', 'sudo mount -t nfs -o nfsvers=4.1,proto=tcp {} /mnt/ceph && ' 'echo "test" | sudo tee /mnt/ceph/test'.format( mount_path), @@ -100,6 +101,7 @@ write_files: # Read that file on instance_2 openstack_utils.ssh_command( + username, fip_2, 'instance-2', 'sudo /bin/mount -t nfs -o nfsvers=4.1,proto=tcp {} /mnt/ceph' .format(mount_path), password=password, privkey=privkey, verify=verify_setup)