)]}'
{"ironic_lib/disk_utils.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"dfd0e0cb0f29a4c3642f6302437357edc935a683","unresolved":false,"context_lines":[{"line_number":142,"context_line":"    :param boot_mode: Can be \"bios\" or \"uefi\". \"bios\" by default."},{"line_number":143,"context_line":"    :param node_uuid: Node\u0027s uuid. Used for logging."},{"line_number":144,"context_line":"    :param disk_label: The disk label to be used when creating the"},{"line_number":145,"context_line":"        partition table. Valid values are: \"msdos\", \"uefi\" or None; If None"},{"line_number":146,"context_line":"        Ironic will figure it out according to the boot_mode parameter."},{"line_number":147,"context_line":"    :returns: A dictionary containing the partition type as Key and partition"},{"line_number":148,"context_line":"        path as Value for the partitions created by this method."}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_e61673f0","line":145,"range":{"start_line":145,"start_character":53,"end_line":145,"end_character":57},"updated":"2016-02-25 09:56:38.000000000","message":"it should be \"gpt\" here.","commit_id":"c63d0fbe87cc02f0a41f7b79bcfdc9de1fa3b560"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"9f0038dd11a66548a73c42b3d7d0404cc5ea853c","unresolved":false,"context_lines":[{"line_number":142,"context_line":"    :param boot_mode: Can be \"bios\" or \"uefi\". \"bios\" by default."},{"line_number":143,"context_line":"    :param node_uuid: Node\u0027s uuid. Used for logging."},{"line_number":144,"context_line":"    :param disk_label: The disk label to be used when creating the"},{"line_number":145,"context_line":"        partition table. Valid values are: \"msdos\", \"uefi\" or None; If None"},{"line_number":146,"context_line":"        Ironic will figure it out according to the boot_mode parameter."},{"line_number":147,"context_line":"    :returns: A dictionary containing the partition type as Key and partition"},{"line_number":148,"context_line":"        path as Value for the partitions created by this method."}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_ae627d14","line":145,"range":{"start_line":145,"start_character":53,"end_line":145,"end_character":57},"in_reply_to":"bae84128_e61673f0","updated":"2016-02-25 11:41:41.000000000","message":"Oh ++\n\nI will update the patch fixing this","commit_id":"c63d0fbe87cc02f0a41f7b79bcfdc9de1fa3b560"},{"author":{"_account_id":12640,"name":"Arun S A G","email":"sagarun@gmail.com","username":"sagarun"},"change_message_id":"4dc1a127afcf6ecd8d3e639de502679812d27d73","unresolved":false,"context_lines":[{"line_number":157,"context_line":"    if disk_label is None:"},{"line_number":158,"context_line":"        disk_label \u003d \u0027gpt\u0027 if boot_mode \u003d\u003d \u0027uefi\u0027 else \u0027msdos\u0027"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    dp \u003d disk_partitioner.DiskPartitioner(dev, disk_label\u003ddisk_label)"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    # For uefi localboot, switch partition table to gpt and create the efi"},{"line_number":163,"context_line":"    # system partition as the first partition."}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_082f8f88","line":160,"updated":"2016-02-23 20:19:12.000000000","message":"What if the boot_mode is \u0027uefi\u0027 and disk_label is set to \u0027msdos\u0027? Shouldn\u0027t we handle that case?","commit_id":"c63d0fbe87cc02f0a41f7b79bcfdc9de1fa3b560"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"c2e1d21d25028c984c6c6fa3e423ec5444c93abf","unresolved":false,"context_lines":[{"line_number":157,"context_line":"    if disk_label is None:"},{"line_number":158,"context_line":"        disk_label \u003d \u0027gpt\u0027 if boot_mode \u003d\u003d \u0027uefi\u0027 else \u0027msdos\u0027"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    dp \u003d disk_partitioner.DiskPartitioner(dev, disk_label\u003ddisk_label)"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    # For uefi localboot, switch partition table to gpt and create the efi"},{"line_number":163,"context_line":"    # system partition as the first partition."}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_d43a51e6","line":160,"in_reply_to":"bae84128_082f8f88","updated":"2016-02-24 03:34:04.000000000","message":"Is this an incompatible combination? If so, yeah we should probably handle it.","commit_id":"c63d0fbe87cc02f0a41f7b79bcfdc9de1fa3b560"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"cd47aec1a9d12bd7ff58d6efc80bfa6b06964ef1","unresolved":false,"context_lines":[{"line_number":157,"context_line":"    if disk_label is None:"},{"line_number":158,"context_line":"        disk_label \u003d \u0027gpt\u0027 if boot_mode \u003d\u003d \u0027uefi\u0027 else \u0027msdos\u0027"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    dp \u003d disk_partitioner.DiskPartitioner(dev, disk_label\u003ddisk_label)"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    # For uefi localboot, switch partition table to gpt and create the efi"},{"line_number":163,"context_line":"    # system partition as the first partition."}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_eb7b28bc","line":160,"in_reply_to":"bae84128_d43a51e6","updated":"2016-02-24 10:03:28.000000000","message":"Hi @Aron,\n\nAFAIK, UEFI can handle MBR partitions just fine (tho I\u0027ve never tested it) [0][1]. Some OSs (Windows) may have problems with that, but I don\u0027t think we should concern about it because our support for Windows images is only via full disk images, so Ironic won\u0027t be partitioning the disk in that situation.\n\n[0] http://superuser.com/questions/739153/uefi-with-mbr-partition-table?answertab\u003dvotes#tab-top\n\n[1] http://www.uefi.org/sites/default/files/resources/UEFI%202_5.pdf#G9.1345547","commit_id":"c63d0fbe87cc02f0a41f7b79bcfdc9de1fa3b560"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"dfd0e0cb0f29a4c3642f6302437357edc935a683","unresolved":false,"context_lines":[{"line_number":421,"context_line":"    :param boot_mode: Can be \"bios\" or \"uefi\". \"bios\" by default."},{"line_number":422,"context_line":"    :param tempdir: A temporary directory"},{"line_number":423,"context_line":"    :param disk_label: The disk label to be used when creating the"},{"line_number":424,"context_line":"        partition table. Valid values are: \"msdos\", \"uefi\" or None; If None"},{"line_number":425,"context_line":"        Ironic will figure it out according to the boot_mode parameter."},{"line_number":426,"context_line":"    :returns: a dictionary containing the following keys:"},{"line_number":427,"context_line":"        \u0027root uuid\u0027: UUID of root partition"}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_e654b322","line":424,"range":{"start_line":424,"start_character":53,"end_line":424,"end_character":57},"updated":"2016-02-25 09:56:38.000000000","message":"it should be \"gpt\" here.","commit_id":"c63d0fbe87cc02f0a41f7b79bcfdc9de1fa3b560"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"9f0038dd11a66548a73c42b3d7d0404cc5ea853c","unresolved":false,"context_lines":[{"line_number":421,"context_line":"    :param boot_mode: Can be \"bios\" or \"uefi\". \"bios\" by default."},{"line_number":422,"context_line":"    :param tempdir: A temporary directory"},{"line_number":423,"context_line":"    :param disk_label: The disk label to be used when creating the"},{"line_number":424,"context_line":"        partition table. Valid values are: \"msdos\", \"uefi\" or None; If None"},{"line_number":425,"context_line":"        Ironic will figure it out according to the boot_mode parameter."},{"line_number":426,"context_line":"    :returns: a dictionary containing the following keys:"},{"line_number":427,"context_line":"        \u0027root uuid\u0027: UUID of root partition"}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_ae49dd90","line":424,"range":{"start_line":424,"start_character":53,"end_line":424,"end_character":57},"in_reply_to":"bae84128_e654b322","updated":"2016-02-25 11:41:41.000000000","message":"Done","commit_id":"c63d0fbe87cc02f0a41f7b79bcfdc9de1fa3b560"}]}
