move getting share locations to later
This commit is contained in:
@@ -63,7 +63,6 @@ write_files:
|
||||
share = self.manila_client.shares.create(
|
||||
share_type='cephfsnfstype', name='cephnfsshare1',
|
||||
share_proto="nfs", size=1)
|
||||
mount_path = share.export_locations[0]
|
||||
|
||||
# Spawn Servers
|
||||
instance_1 = guest.launch_instance(
|
||||
@@ -91,6 +90,8 @@ write_files:
|
||||
status = stdout.channel.recv_exit_status()
|
||||
self.assertEqual(status, 0)
|
||||
|
||||
mount_path = share.export_locations[0]
|
||||
|
||||
openstack_utils.ssh_command(
|
||||
'sudo mount -t nfs -o nfsvers=4.1,proto=tcp {} /mnt/ceph && '
|
||||
'echo "test" | sudo tee /mnt/ceph/test'.format(
|
||||
|
||||
Reference in New Issue
Block a user