Updates:
        Owner: [email protected]

Comment #8 on issue 1198 by [email protected]: gnt-backup does not attach ext-based snapshot
https://code.google.com/p/ganeti/issues/detail?id=1198

Of course this is the commit to blame! When I first looked at it I missed this part:

-      real_disk = _OpenRealBD(disk)
-      env["EXPORT_DEVICE"] = real_disk.dev_path
+      disk_path_var = "DISK_%d_PATH" % disk_index

This part instead of using the snapshot disk it uses the instance disk which is
totally wrong! Thanks a lot for digging into it.

As far the one-liner fix is concerned it is placed outside the if block and runs for all disk templates. Thus the snapshot disk will inherit the params of the
origin disk. I will prepare a proper patch for this. Thanks again.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to