[
https://issues.apache.org/jira/browse/CLOUDSTACK-5933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239352#comment-14239352
]
ASF subversion and git services commented on CLOUDSTACK-5933:
-------------------------------------------------------------
Commit aa84b05491007567b81b33443fd9f99f6992e52c in cloudstack's branch
refs/heads/master from [~sateeshc]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=aa84b05 ]
CLOUDSTACK-5933 Problem with VMware snapshot when datastore has a space in its
name
Handling spaces in datastore name while extracting vmdk base name
Signed-off-by: Sateesh Chodapuneedi <[email protected]>
> 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.6.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)