Bug #1204
VMware datastore should handle falt vmdks
Status: | Closed | Start date: | 04/03/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Jaime Melis | % Done: | 0% | |
Category: | Drivers - Auth | |||
Target version: | Release 3.6 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 3.4 |
Description
From Carlo Bongiovanni c.bongiovanni@liberologico.com
---
By looking into the scripts I found that opennebula tries to find the
descriptor (the .vmdk renamed to disk.0), by looking at all the files
with vmdk ending, and omitting the ones that have the "-s00n" in the
name. I had to change that part so that it could omit also files
having "-flat" in the name.
--
if [ ! -f $DST/disk.vmdk ]; then
BASE_DISK_FILE=`ls $DST | grep -v '.*-s[0-9]*\.vmdk'`
exec_and_log "mv -f $DST/$BASE_DISK_FILE $DST/disk.vmdk" \
"Error renaming disk file $BASE_DISK_FILE to disk.vmdk"
Associated revisions
Bug #1204: VMware datastore should handle falt vmdks
Bug #1204: VMware datastore should handle falt vmdks
(cherry picked from commit 6cdc30df70fe1ecac5b29463d64408af156ec691)
History
#1 Updated by Ruben S. Montero about 9 years ago
- Target version set to Release 3.6
#2 Updated by Ruben S. Montero about 9 years ago
- Assignee set to Tino Vázquez
#3 Updated by Jaime Melis about 9 years ago
- Status changed from New to Assigned
- Assignee changed from Tino Vázquez to Jaime Melis
#4 Updated by Ruben S. Montero about 9 years ago
- Category set to Drivers - Auth
- Status changed from Assigned to Closed
- Resolution set to fixed