[ https://issues.apache.org/jira/browse/CLOUDSTACK-5933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14196771#comment-14196771 ]
edison su commented on CLOUDSTACK-5933: --------------------------------------- HI Sateesh, it's vmware related, so assign it to you. > Problem with VMware snapshot when datastore has a space in its name > ------------------------------------------------------------------- > > Key: CLOUDSTACK-5933 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5933 > 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 > Assignee: Sateesh Chodapuneedi > Fix For: 4.5.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.3.4#6332)