Comment #7 on issue 1198 by darius.s...@rkt-online.com: gnt-backup does not attach ext-based snapshot
https://code.google.com/p/ganeti/issues/detail?id=1198

Hello Dimitris,

I did bisecting.
Indeed the first bad (relevant) commit is 712ea2f2e68690cdda4f7be0ecb9808343b8b05c as you stated on 31st Dec. Cloning current "stable-2.15" and reverting this single commit makes it work.

Your patch from 29th Dec...

         disk_params = constants.DISK_LD_DEFAULTS[dev_type].copy()
+        disk_params.update(disk.params)

...is placed inside...

else:
         dev_type = constants.DT_PLAIN

But I'm using EXT here.
Shouldn't it be placed above that else inside...

        if disk.dev_type == constants.DT_EXT:
          dev_type = constants.DT_EXT

...and some additional code handling snapshots like for PLAIN?


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