Mike Tutkowski created CLOUDSTACK-5935: ------------------------------------------
Summary: Problem with VMware snapshot when datastore has a space in its name Key: CLOUDSTACK-5935 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5935 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: VMware Affects Versions: 4.3.0 Environment: Management Server on Ubuntu 12.04.1 ESXi 5.1 Reporter: Mike Tutkowski Fix For: 4.3.0 I have two hosts in my VMware cluster. I elected to have vSphere Client use its default names for the datastore of each host's local storage. These names are the following: "datastore1" and "datastore1 (1)" Note the presence of a space in the second datastore name. This space causes our creation of a VM snapshot to return to the management server an incorrect path field. For example, let's say the path in the DB of our root disk is abcxyz before the VM snapshot. After the VM snapshot, it should be abcxyz-000001; however, it is still abcxyz. The problem is in this method in VmwareStorageManagerImpl: extractSnapshotBaseFileName That method is treating the space character as a delimiter. -- This message was sent by Atlassian JIRA (v6.1.5#6160)