Status: New
Owner: ----

New issue 1124 by [email protected]: ganeti-instance-debootstrap map_disk0 doesn't always map the 1st part
https://code.google.com/p/ganeti/issues/detail?id=1124

The map_disk0 function finds the 1st partition by searching for "-1*$blockdev" in kpartx's output.

Problem is the UUID string of other partitions can also have "-1" in them. This bug only manifests when one uses more than one partition on the disk0.

I tripped on this small bug after adding support for 2 partitions on disk0: root FS + swap.

Please find attached a small fix for this.

Attachments:
        ganeti-instance-debootstrap-better-1st-part-match.patch  732 bytes

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