Bug #1204

VMware datastore should handle falt vmdks

Added by Tino Vázquez almost 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:04/03/2012
Priority:NormalDue 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

---
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

Revision 6cdc30df
Added by Jaime Melis over 7 years ago

Bug #1204: VMware datastore should handle falt vmdks

Revision da710126
Added by Jaime Melis about 7 years ago

Bug #1204: VMware datastore should handle falt vmdks
(cherry picked from commit 6cdc30df70fe1ecac5b29463d64408af156ec691)

History

#1 Updated by Ruben S. Montero almost 8 years ago

  • Target version set to Release 3.6

#2 Updated by Ruben S. Montero almost 8 years ago

  • Assignee set to Tino Vázquez

#3 Updated by Jaime Melis over 7 years ago

  • Status changed from New to Assigned
  • Assignee changed from Tino Vázquez to Jaime Melis

#4 Updated by Ruben S. Montero over 7 years ago

  • Category set to Drivers - Auth
  • Status changed from Assigned to Closed
  • Resolution set to fixed

Also available in: Atom PDF