diff --git a/scripts/helpers/move-vms-to-ds.py b/scripts/helpers/update-disk-image-ds-on-vms.py similarity index 93% rename from scripts/helpers/move-vms-to-ds.py rename to scripts/helpers/update-disk-image-ds-on-vms.py index 766910b..da512f7 100644 --- a/scripts/helpers/move-vms-to-ds.py +++ b/scripts/helpers/update-disk-image-ds-on-vms.py @@ -19,7 +19,7 @@ def list_of_int_arg(string): # Define parser # ---------------------------- parser = argparse.ArgumentParser( - description='Move VM disk(s) from one datastore to another only in OpenNebula database') + description='Update VM disk(s) datastore in VM TEMPLATE') parser.add_argument('-vi', '--vmId', help='VM id or comma separated list of VM ids', type=list_of_int_arg, required=True) diff --git a/tm/3par/mv b/tm/3par/mv index 2e7fb7b..0d551d6 100644 --- a/tm/3par/mv +++ b/tm/3par/mv @@ -371,7 +371,7 @@ if [ $LCM_STATE -ne 30 ] && [ "$IP" != "$PREV_IP" ] && [ "$TYPE" != "CDROM" ] && exit 0 fi - error_message "Persistent disk must be pre-synced on remote storage! Use prepare-vm-for-migrate.py helper script first." + error_message "Persistent disk must be pre-synced on remote storage! Use migrate-vm-to-remote-ds.py helper script." exit 1 fi