)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"76a35939b556acae43765ad90396eeea21891974","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and manager interface"},{"line_number":10,"context_line":"of ILO to support booting from iSCSI volume for ILO drivers."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ff0f0b1f_59b7033c","line":11,"updated":"2017-05-26 12:31:01.000000000","message":"Please add the bug-id for tracking.","commit_id":"3c1148eb15d24e23d5886e9fcc06bfc620bdf786"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"a3201ba73c312f3945aa13e1c60c1b74d1f4ce67","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and manager interface"},{"line_number":10,"context_line":"of ILO to support booting from iSCSI volume for ILO drivers."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9f0e0f27_6b932951","line":11,"in_reply_to":"ff0f0b1f_59b7033c","updated":"2017-06-09 09:35:39.000000000","message":"Done","commit_id":"3c1148eb15d24e23d5886e9fcc06bfc620bdf786"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Implementation for UEFI iSCSI boot for ILO"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and manager interface"},{"line_number":10,"context_line":"of ILO to support booting from iSCSI volume for ILO drivers."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"df87a7cf_ee4e9436","line":9,"range":{"start_line":9,"start_character":41,"end_line":9,"end_character":48},"updated":"2017-12-09 08:57:17.000000000","message":"s/ manager/ management/","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Implementation for UEFI iSCSI boot for ILO"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and manager interface"},{"line_number":10,"context_line":"of ILO to support booting from iSCSI volume for ILO drivers."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"df87a7cf_57ddc6dd","line":9,"range":{"start_line":9,"start_character":41,"end_line":9,"end_character":48},"in_reply_to":"df87a7cf_ee4e9436","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Implementation for UEFI iSCSI boot for ILO"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and manager interface"},{"line_number":10,"context_line":"of ILO to support booting from iSCSI volume for ILO drivers."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"},{"line_number":13,"context_line":"Related-Bug: #1526861"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"df87a7cf_ae664cc0","line":10,"range":{"start_line":10,"start_character":3,"end_line":10,"end_character":6},"updated":"2017-12-09 08:57:17.000000000","message":"s/ ILO / \u0027ilo\u0027 hardware type /","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Implementation for UEFI iSCSI boot for ILO"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and manager interface"},{"line_number":10,"context_line":"of ILO to support booting from iSCSI volume for ILO drivers."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"},{"line_number":13,"context_line":"Related-Bug: #1526861"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"df87a7cf_6e5cc4ec","line":10,"range":{"start_line":10,"start_character":18,"end_line":10,"end_character":59},"updated":"2017-12-09 08:57:17.000000000","message":"s/ booting from iSCSI volume for ILO drivers. / boot from iSCSI volume in UEFI boot mode./","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Implementation for UEFI iSCSI boot for ILO"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and manager interface"},{"line_number":10,"context_line":"of ILO to support booting from iSCSI volume for ILO drivers."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"},{"line_number":13,"context_line":"Related-Bug: #1526861"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"df87a7cf_d7f23670","line":10,"range":{"start_line":10,"start_character":18,"end_line":10,"end_character":59},"in_reply_to":"df87a7cf_6e5cc4ec","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Implementation for UEFI iSCSI boot for ILO"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and manager interface"},{"line_number":10,"context_line":"of ILO to support booting from iSCSI volume for ILO drivers."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"},{"line_number":13,"context_line":"Related-Bug: #1526861"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"df87a7cf_f79ada11","line":10,"range":{"start_line":10,"start_character":3,"end_line":10,"end_character":6},"in_reply_to":"df87a7cf_ae664cc0","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"634d2a3109c5c2332eef0d6bf43e61ce22d0c4fa","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This change adds new methods in boot and management interface"},{"line_number":10,"context_line":"of \u0027ilo\u0027 hardware type to support boot from iSCSI volume in UEFI"},{"line_number":11,"context_line":"boot mode."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"},{"line_number":14,"context_line":"Related-Bug: #1526861"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"df87a7cf_b048a65c","line":12,"updated":"2017-12-12 23:56:34.000000000","message":"Add the following line since we need to block this patch until proliantutils has the functionality it uses.\nDepends-On: I0a239727b395b4361447aef3bd8a763c96cf574e","commit_id":"bcdb11e191a978179339ac8c5e9af4524e3958e7"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ba7e7a510c0728d2bc22eee7760382967bec4081","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This change adds new methods in boot and management interface"},{"line_number":10,"context_line":"of \u0027ilo\u0027 hardware type to support boot from iSCSI volume in UEFI"},{"line_number":11,"context_line":"boot mode."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"},{"line_number":14,"context_line":"Related-Bug: #1526861"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"df87a7cf_6b2c4399","line":12,"in_reply_to":"df87a7cf_84175252","updated":"2017-12-14 12:36:44.000000000","message":"Done","commit_id":"bcdb11e191a978179339ac8c5e9af4524e3958e7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"91ae86582d983f75d05bf54322efbc791bfb1100","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This change adds new methods in boot and management interface"},{"line_number":10,"context_line":"of \u0027ilo\u0027 hardware type to support boot from iSCSI volume in UEFI"},{"line_number":11,"context_line":"boot mode."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"},{"line_number":14,"context_line":"Related-Bug: #1526861"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"df87a7cf_84175252","line":12,"in_reply_to":"df87a7cf_b048a65c","updated":"2017-12-13 14:02:34.000000000","message":"+1","commit_id":"bcdb11e191a978179339ac8c5e9af4524e3958e7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b7c7f992f9ce4496544872437801b594a58847a6","unresolved":false,"context_lines":[{"line_number":10,"context_line":"of \u0027ilo\u0027 hardware type to support boot from iSCSI volume in UEFI"},{"line_number":11,"context_line":"boot mode."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Depends-On: I871d3e5da579bb8fddeb265267c9c7df76d370c4"},{"line_number":14,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"},{"line_number":15,"context_line":"Related-Bug: #1526861"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"df87a7cf_685bd386","line":13,"updated":"2017-12-14 23:53:39.000000000","message":"Awesome, but I\u0027m a little confused, should this also be dependent upon I0a239727b395b4361447aef3bd8a763c96cf574e ?","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"d64e731e73189903d878f94482114f7b52d93a8d","unresolved":false,"context_lines":[{"line_number":10,"context_line":"of \u0027ilo\u0027 hardware type to support boot from iSCSI volume in UEFI"},{"line_number":11,"context_line":"boot mode."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Depends-On: I871d3e5da579bb8fddeb265267c9c7df76d370c4"},{"line_number":14,"context_line":"Change-Id: I585e0ef90f4397af1f09920c3a1bc47ddbcb1a97"},{"line_number":15,"context_line":"Related-Bug: #1526861"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"7f96bb07_89dba119","line":13,"in_reply_to":"df87a7cf_685bd386","updated":"2018-01-15 10:20:04.000000000","message":"That is related to changing iSCSI initiator, this patch is not dependent on this, though we have also merged this changes in proliantutils.","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2e3f9ffdd097c1d4c83ea475fe0710d9bc11d8fe","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Implementation for UEFI iSCSI boot for ILO"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and management interface"},{"line_number":10,"context_line":"of \u0027ilo\u0027 hardware type to support boot from iSCSI volume in UEFI"},{"line_number":11,"context_line":"boot mode."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"7f96bb07_3d4e84c1","line":9,"range":{"start_line":9,"start_character":29,"end_line":9,"end_character":36},"updated":"2018-01-22 05:53:31.000000000","message":"There are no new methods added to boot interface.","commit_id":"a781d7f986481b946ae67027fead63f2298fddda"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"a6940b5598323df0ac23d92510765f84b005eb3f","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Implementation for UEFI iSCSI boot for ILO"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds new methods in boot and management interface"},{"line_number":10,"context_line":"of \u0027ilo\u0027 hardware type to support boot from iSCSI volume in UEFI"},{"line_number":11,"context_line":"boot mode."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"7f96bb07_6ecf7057","line":9,"range":{"start_line":9,"start_character":29,"end_line":9,"end_character":36},"in_reply_to":"7f96bb07_3d4e84c1","updated":"2018-01-22 08:09:06.000000000","message":"Done","commit_id":"a781d7f986481b946ae67027fead63f2298fddda"}],"ironic/drivers/modules/ilo/boot.py":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3a488556a06c7c4f9436233fd0e531b75a5d9016","unresolved":false,"context_lines":[{"line_number":567,"context_line":""},{"line_number":568,"context_line":""},{"line_number":569,"context_line":"class IloPXEBoot(pxe.PXEBoot):"},{"line_number":570,"context_line":""},{"line_number":571,"context_line":"    @METRICS.timer(\u0027IloPXEBoot.prepare_ramdisk\u0027)"},{"line_number":572,"context_line":"    def prepare_ramdisk(self, task, ramdisk_params):"},{"line_number":573,"context_line":"        \"\"\"Prepares the boot of Ironic ramdisk using PXE."}],"source_content_type":"text/x-python","patch_set":3,"id":"ff346bd7_bebc2206","line":570,"updated":"2017-07-27 12:32:45.000000000","message":"Ironic is looking for a specific tag for validation logic:\nhttp://git.openstack.org/cgit/openstack/ironic/tree/ironic/drivers/modules/pxe.py#n377","commit_id":"6bc1f7d0a304873ad8f76ccd988e0786f4f80647"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3a488556a06c7c4f9436233fd0e531b75a5d9016","unresolved":false,"context_lines":[{"line_number":594,"context_line":"        boot_volume \u003d task.node.driver_internal_info.get(\u0027boot_from_volume\u0027)"},{"line_number":595,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":596,"context_line":""},{"line_number":597,"context_line":"        if(boot_volume and boot_mode \u003d\u003d \u0027UEFI\u0027 and iscsi_boot \u003d\u003d \"true\"):"},{"line_number":598,"context_line":"            if not task.driver.storage.should_write_image(task):"},{"line_number":599,"context_line":"                return"},{"line_number":600,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"ff346bd7_fee74a11","line":597,"range":{"start_line":597,"start_character":8,"end_line":597,"end_character":73},"updated":"2017-07-27 12:32:45.000000000","message":"This should be checked that the node provision_state is set to DEPLOYING.  Otherwise line 599 short circuits cleaning as the task is created once, and prepare_ramdisk can be called again for the cleaning ramdisk, however with out of date volume info still attached to the task whcih can cause should_write_image to short circuit cleaning. boot_volume may also be empty, but the task data might still be out of date.  For consistency, check if your also deploying before just returning.","commit_id":"6bc1f7d0a304873ad8f76ccd988e0786f4f80647"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3a488556a06c7c4f9436233fd0e531b75a5d9016","unresolved":false,"context_lines":[{"line_number":600,"context_line":""},{"line_number":601,"context_line":"        if task.node.provision_state \u003d\u003d states.DEPLOYING:"},{"line_number":602,"context_line":"            prepare_node_for_deploy(task)"},{"line_number":603,"context_line":"        # Image needs to be provisioned on the volume, let ipxe does it"},{"line_number":604,"context_line":"        super(IloPXEBoot, self).prepare_ramdisk(task, ramdisk_params)"},{"line_number":605,"context_line":""},{"line_number":606,"context_line":"    @METRICS.timer(\u0027IloPXEBoot.prepare_instance\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff346bd7_9eea7ed5","line":603,"updated":"2017-07-27 12:32:45.000000000","message":"Please be a little more verbose, perhaps add another comment explaining what is going on on line 596?","commit_id":"6bc1f7d0a304873ad8f76ccd988e0786f4f80647"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3a488556a06c7c4f9436233fd0e531b75a5d9016","unresolved":false,"context_lines":[{"line_number":651,"context_line":""},{"line_number":652,"context_line":"        # Check for boot from volume and boot mode"},{"line_number":653,"context_line":"        capabilities \u003d deploy_utils.parse_instance_info_capabilities(task.node)"},{"line_number":654,"context_line":"        iscsi_boot \u003d capabilities.get(\u0027iscsi_boot\u0027, \u0027true\u0027).lower()"},{"line_number":655,"context_line":"        boot_volume \u003d task.node.driver_internal_info.get(\u0027boot_from_volume\u0027)"},{"line_number":656,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":657,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"ff346bd7_5e90964a","line":654,"range":{"start_line":654,"start_character":52,"end_line":654,"end_character":58},"updated":"2017-07-27 12:32:45.000000000","message":"I suspect it is not a good idea to automatically make an assumption that the node supports iscsi boot.","commit_id":"6bc1f7d0a304873ad8f76ccd988e0786f4f80647"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":489,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":490,"context_line":""},{"line_number":491,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":492,"context_line":"            # It will set iscsi info from node"},{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_1c11cd52","line":492,"range":{"start_line":492,"start_character":26,"end_line":492,"end_character":31},"updated":"2017-12-08 05:28:45.000000000","message":"iSCSI","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":489,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":490,"context_line":""},{"line_number":491,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":492,"context_line":"            # It will set iscsi info from node"},{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_1c3d4d2a","line":492,"range":{"start_line":492,"start_character":26,"end_line":492,"end_character":31},"in_reply_to":"df87a7cf_1c11cd52","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"},{"line_number":496,"context_line":"            msg \u003d \u0027virtual media can not boot volume in bios mode.\u0027"},{"line_number":497,"context_line":"            raise exception.InstanceDeployFailure(msg)"},{"line_number":498,"context_line":"        else:"},{"line_number":499,"context_line":"            # For iscsi_ilo driver, we boot from disk every time if the image"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_a152fa39","line":496,"range":{"start_line":496,"start_character":56,"end_line":496,"end_character":60},"updated":"2017-12-08 05:28:45.000000000","message":"BIOS","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"},{"line_number":496,"context_line":"            msg \u003d \u0027virtual media can not boot volume in bios mode.\u0027"},{"line_number":497,"context_line":"            raise exception.InstanceDeployFailure(msg)"},{"line_number":498,"context_line":"        else:"},{"line_number":499,"context_line":"            # For iscsi_ilo driver, we boot from disk every time if the image"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_814d769b","line":496,"range":{"start_line":496,"start_character":19,"end_line":496,"end_character":26},"updated":"2017-12-08 05:28:45.000000000","message":"Virtual","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"},{"line_number":496,"context_line":"            msg \u003d \u0027virtual media can not boot volume in bios mode.\u0027"},{"line_number":497,"context_line":"            raise exception.InstanceDeployFailure(msg)"},{"line_number":498,"context_line":"        else:"},{"line_number":499,"context_line":"            # For iscsi_ilo driver, we boot from disk every time if the image"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_bc4541b6","line":496,"range":{"start_line":496,"start_character":19,"end_line":496,"end_character":26},"in_reply_to":"df87a7cf_814d769b","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"},{"line_number":496,"context_line":"            msg \u003d \u0027virtual media can not boot volume in bios mode.\u0027"},{"line_number":497,"context_line":"            raise exception.InstanceDeployFailure(msg)"},{"line_number":498,"context_line":"        else:"},{"line_number":499,"context_line":"            # For iscsi_ilo driver, we boot from disk every time if the image"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_dc4285ab","line":496,"range":{"start_line":496,"start_character":56,"end_line":496,"end_character":60},"in_reply_to":"df87a7cf_a152fa39","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":535,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":536,"context_line":""},{"line_number":537,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":538,"context_line":"            # It will clear iscsi info from node"},{"line_number":539,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":540,"context_line":"        else:"},{"line_number":541,"context_line":"            _clean_up_boot_iso_for_instance(task.node)"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_dc16054a","line":538,"range":{"start_line":538,"start_character":28,"end_line":538,"end_character":33},"updated":"2017-12-08 05:28:45.000000000","message":"iSCSI","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":535,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":536,"context_line":""},{"line_number":537,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":538,"context_line":"            # It will clear iscsi info from node"},{"line_number":539,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":540,"context_line":"        else:"},{"line_number":541,"context_line":"            _clean_up_boot_iso_for_instance(task.node)"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_9c1abdc9","line":538,"range":{"start_line":538,"start_character":28,"end_line":538,"end_character":33},"in_reply_to":"df87a7cf_dc16054a","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":637,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":638,"context_line":""},{"line_number":639,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":640,"context_line":"            # It will set iscsi info from node"},{"line_number":641,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":642,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":643,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_7c29f987","line":640,"range":{"start_line":640,"start_character":26,"end_line":640,"end_character":31},"updated":"2017-12-08 05:28:45.000000000","message":"iSCSI","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":637,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":638,"context_line":""},{"line_number":639,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":640,"context_line":"            # It will set iscsi info from node"},{"line_number":641,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":642,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":643,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_fc28a9e2","line":640,"range":{"start_line":640,"start_character":26,"end_line":640,"end_character":31},"in_reply_to":"df87a7cf_7c29f987","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":662,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":663,"context_line":""},{"line_number":664,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":665,"context_line":"            # It will clear iscsi info from node"},{"line_number":666,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":667,"context_line":"        else:"},{"line_number":668,"context_line":"            super(IloPXEBoot, self).clean_up_instance(task)"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_9c2e3d90","line":665,"range":{"start_line":665,"start_character":28,"end_line":665,"end_character":33},"updated":"2017-12-08 05:28:45.000000000","message":"iSCSI","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":662,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":663,"context_line":""},{"line_number":664,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":665,"context_line":"            # It will clear iscsi info from node"},{"line_number":666,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":667,"context_line":"        else:"},{"line_number":668,"context_line":"            super(IloPXEBoot, self).clean_up_instance(task)"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_bc1ea1b8","line":665,"range":{"start_line":665,"start_character":28,"end_line":665,"end_character":33},"in_reply_to":"df87a7cf_9c2e3d90","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":401,"context_line":"        \"\"\""},{"line_number":402,"context_line":""},{"line_number":403,"context_line":"        # Need to populate storage info to check its boot from volume"},{"line_number":404,"context_line":"        deploy_utils.populate_storage_driver_internal_info(task)"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        _validate_driver_info(task)"},{"line_number":407,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_ae0bacd3","line":404,"range":{"start_line":404,"start_character":8,"end_line":404,"end_character":64},"updated":"2017-12-09 08:57:17.000000000","message":"Why do we need to call this here? It should be called when we initiate the provisioning. It would be called by deploy.prepare()\nhttps://github.com/openstack/ironic/blob/master/ironic/drivers/modules/agent.py#L446\nhttps://github.com/openstack/ironic/blob/master/ironic/drivers/modules/iscsi_deploy.py#L521","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":401,"context_line":"        \"\"\""},{"line_number":402,"context_line":""},{"line_number":403,"context_line":"        # Need to populate storage info to check its boot from volume"},{"line_number":404,"context_line":"        deploy_utils.populate_storage_driver_internal_info(task)"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        _validate_driver_info(task)"},{"line_number":407,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_7c5310e3","line":404,"range":{"start_line":404,"start_character":8,"end_line":404,"end_character":64},"in_reply_to":"df87a7cf_49fc593d","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"cfd0037d4f4490c765a030840f06b06cb7dd0bb0","unresolved":false,"context_lines":[{"line_number":401,"context_line":"        \"\"\""},{"line_number":402,"context_line":""},{"line_number":403,"context_line":"        # Need to populate storage info to check its boot from volume"},{"line_number":404,"context_line":"        deploy_utils.populate_storage_driver_internal_info(task)"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        _validate_driver_info(task)"},{"line_number":407,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_49fc593d","line":404,"range":{"start_line":404,"start_character":8,"end_line":404,"end_character":64},"in_reply_to":"df87a7cf_ae0bacd3","updated":"2017-12-09 15:01:10.000000000","message":"++ I\u0027ve been wondering the exact same question. I think the driver should only return validate results as of when it is called with the current data state, not create/update fields as part of validate. Validation should be based upon the current state of the information available and in the workflow.\n\nhttps://github.com/openstack/ironic/blob/master/ironic/drivers/modules/pxe.py#L436\n\nThe above link is the boot interface where it asks the storage interface if it looks like we\u0027re being asked to use BFV. What could be done is along the same lines, what could be added in addition to that is validation that if that is the case, that we have sufficient information in volume_connectors to match iscsi enabled ports up.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":401,"context_line":"        \"\"\""},{"line_number":402,"context_line":""},{"line_number":403,"context_line":"        # Need to populate storage info to check its boot from volume"},{"line_number":404,"context_line":"        deploy_utils.populate_storage_driver_internal_info(task)"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        _validate_driver_info(task)"},{"line_number":407,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_bc4d183f","line":404,"range":{"start_line":404,"start_character":8,"end_line":404,"end_character":64},"in_reply_to":"df87a7cf_ae0bacd3","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        _validate_driver_info(task)"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"        if not deploy_utils.is_iscsi_boot(task):"},{"line_number":409,"context_line":"            # Validate for instance_info"},{"line_number":410,"context_line":"            _validate_instance_image_info(task)"},{"line_number":411,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_2e3d5c2a","line":408,"range":{"start_line":408,"start_character":8,"end_line":408,"end_character":47},"updated":"2017-12-09 08:57:17.000000000","message":"May be instead we can return if no image writting is needed\nif not task.driver.storage.should_write_image(task):\n    return","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"cfd0037d4f4490c765a030840f06b06cb7dd0bb0","unresolved":false,"context_lines":[{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        _validate_driver_info(task)"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"        if not deploy_utils.is_iscsi_boot(task):"},{"line_number":409,"context_line":"            # Validate for instance_info"},{"line_number":410,"context_line":"            _validate_instance_image_info(task)"},{"line_number":411,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_c9b6298b","line":408,"range":{"start_line":408,"start_character":8,"end_line":408,"end_character":47},"in_reply_to":"df87a7cf_2e3d5c2a","updated":"2017-12-09 15:01:10.000000000","message":"++ Additional validation can still be done since this is a hardware interface that will have further constraints, such as the port being actually able to be used for BFV. Ideally what we want from validate is if it looks like we\u0027re being asked to  BFV, then we should do what we can to ensure we have sufficent information that we might be able to boot from the remote volume.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        _validate_driver_info(task)"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"        if not deploy_utils.is_iscsi_boot(task):"},{"line_number":409,"context_line":"            # Validate for instance_info"},{"line_number":410,"context_line":"            _validate_instance_image_info(task)"},{"line_number":411,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_9c4e1436","line":408,"range":{"start_line":408,"start_character":8,"end_line":408,"end_character":47},"in_reply_to":"df87a7cf_2e3d5c2a","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        _validate_driver_info(task)"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"        if not deploy_utils.is_iscsi_boot(task):"},{"line_number":409,"context_line":"            # Validate for instance_info"},{"line_number":410,"context_line":"            _validate_instance_image_info(task)"},{"line_number":411,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_5c664cc3","line":408,"range":{"start_line":408,"start_character":8,"end_line":408,"end_character":47},"in_reply_to":"df87a7cf_c9b6298b","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":473,"context_line":"        relevant information from the node\u0027s instance_info."},{"line_number":474,"context_line":"        It does the following depending on boot_option for deploy:"},{"line_number":475,"context_line":""},{"line_number":476,"context_line":"        - If the boot_option requested for this deploy is \u0027local\u0027 or image"},{"line_number":477,"context_line":"          is a whole disk image, then it sets the node to boot from disk."},{"line_number":478,"context_line":"        - Otherwise it finds/creates the boot ISO to boot the instance"},{"line_number":479,"context_line":"          image, attaches the boot ISO to the bare metal and then sets"},{"line_number":480,"context_line":"          the node to boot from CDROM."},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"        :param task: a task from TaskManager."},{"line_number":483,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_ee4214ab","line":480,"range":{"start_line":476,"start_character":7,"end_line":480,"end_character":38},"updated":"2017-12-09 08:57:17.000000000","message":"This documentation also needs to be updated.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":473,"context_line":"        relevant information from the node\u0027s instance_info."},{"line_number":474,"context_line":"        It does the following depending on boot_option for deploy:"},{"line_number":475,"context_line":""},{"line_number":476,"context_line":"        - If the boot_option requested for this deploy is \u0027local\u0027 or image"},{"line_number":477,"context_line":"          is a whole disk image, then it sets the node to boot from disk."},{"line_number":478,"context_line":"        - Otherwise it finds/creates the boot ISO to boot the instance"},{"line_number":479,"context_line":"          image, attaches the boot ISO to the bare metal and then sets"},{"line_number":480,"context_line":"          the node to boot from CDROM."},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"        :param task: a task from TaskManager."},{"line_number":483,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_7cc8f072","line":480,"range":{"start_line":476,"start_character":7,"end_line":480,"end_character":38},"in_reply_to":"df87a7cf_ee4214ab","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":489,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":490,"context_line":""},{"line_number":491,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":492,"context_line":"            # It will set iSCSI info from node"},{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_ce1e30ba","line":492,"range":{"start_line":492,"start_character":32,"end_line":492,"end_character":46},"updated":"2017-12-09 08:57:17.000000000","message":"s/ info from node / onto iLO /","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":489,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":490,"context_line":""},{"line_number":491,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":492,"context_line":"            # It will set iSCSI info from node"},{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_3ca4a8b9","line":492,"range":{"start_line":492,"start_character":32,"end_line":492,"end_character":46},"in_reply_to":"df87a7cf_ce1e30ba","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":491,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":492,"context_line":"            # It will set iSCSI info from node"},{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"},{"line_number":496,"context_line":"            msg \u003d \u0027Virtual media can not boot volume in BIOS mode.\u0027"},{"line_number":497,"context_line":"            raise exception.InstanceDeployFailure(msg)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_ae7f2cde","line":494,"range":{"start_line":494,"start_character":12,"end_line":494,"end_character":44},"updated":"2017-12-09 08:57:17.000000000","message":"I think this should call manager_utils.node_set_boot_device(...)","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":491,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":492,"context_line":"            # It will set iSCSI info from node"},{"line_number":493,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":494,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":495,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"},{"line_number":496,"context_line":"            msg \u003d \u0027Virtual media can not boot volume in BIOS mode.\u0027"},{"line_number":497,"context_line":"            raise exception.InstanceDeployFailure(msg)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_dc925c57","line":494,"range":{"start_line":494,"start_character":12,"end_line":494,"end_character":44},"in_reply_to":"df87a7cf_ae7f2cde","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":620,"context_line":"    def prepare_instance(self, task):"},{"line_number":621,"context_line":"        \"\"\"Prepares the boot of instance."},{"line_number":622,"context_line":""},{"line_number":623,"context_line":"        This method prepares the boot of the instance after reading"},{"line_number":624,"context_line":"        relevant information from the node\u0027s instance_info. In case of netboot,"},{"line_number":625,"context_line":"        it updates the dhcp entries and switches the PXE config. In case of"},{"line_number":626,"context_line":"        localboot, it cleans up the PXE config."},{"line_number":627,"context_line":""},{"line_number":628,"context_line":"        :param task: a task from TaskManager."},{"line_number":629,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_ce4cf0c9","line":626,"range":{"start_line":623,"start_character":8,"end_line":626,"end_character":47},"updated":"2017-12-09 08:57:17.000000000","message":"This needs to be updated.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":620,"context_line":"    def prepare_instance(self, task):"},{"line_number":621,"context_line":"        \"\"\"Prepares the boot of instance."},{"line_number":622,"context_line":""},{"line_number":623,"context_line":"        This method prepares the boot of the instance after reading"},{"line_number":624,"context_line":"        relevant information from the node\u0027s instance_info. In case of netboot,"},{"line_number":625,"context_line":"        it updates the dhcp entries and switches the PXE config. In case of"},{"line_number":626,"context_line":"        localboot, it cleans up the PXE config."},{"line_number":627,"context_line":""},{"line_number":628,"context_line":"        :param task: a task from TaskManager."},{"line_number":629,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_5c908c4a","line":626,"range":{"start_line":623,"start_character":8,"end_line":626,"end_character":47},"in_reply_to":"df87a7cf_ce4cf0c9","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":640,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":641,"context_line":"            # It will set iSCSI info from node"},{"line_number":642,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":643,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":644,"context_line":"        else:"},{"line_number":645,"context_line":"            super(IloPXEBoot, self).prepare_instance(task)"},{"line_number":646,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_ae688c1c","line":643,"range":{"start_line":643,"start_character":12,"end_line":643,"end_character":44},"updated":"2017-12-09 08:57:17.000000000","message":"I think this should call manager_utils.node_set_boot_device(...)","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":640,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":641,"context_line":"            # It will set iSCSI info from node"},{"line_number":642,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":643,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":644,"context_line":"        else:"},{"line_number":645,"context_line":"            super(IloPXEBoot, self).prepare_instance(task)"},{"line_number":646,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_fc82c0ff","line":643,"range":{"start_line":643,"start_character":12,"end_line":643,"end_character":44},"in_reply_to":"df87a7cf_ae688c1c","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"eb03d107d13d4d08d6ad5372f8c7fe0202eb59af","unresolved":false,"context_lines":[{"line_number":641,"context_line":"            # It will set iSCSI info from node"},{"line_number":642,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":643,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":644,"context_line":"        else:"},{"line_number":645,"context_line":"            super(IloPXEBoot, self).prepare_instance(task)"},{"line_number":646,"context_line":""},{"line_number":647,"context_line":"    @METRICS.timer(\u0027IloPXEBoot.clean_up_instance\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_0e57385a","line":644,"range":{"start_line":644,"start_character":8,"end_line":644,"end_character":13},"updated":"2017-12-09 08:57:17.000000000","message":"Better to add a comment indicating the volume boot in BIOS boot mode is handled using implementation available in PXE.boot interface.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":641,"context_line":"            # It will set iSCSI info from node"},{"line_number":642,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":643,"context_line":"            deploy_utils.try_set_boot_device(task, boot_devices.ISCSIBOOT)"},{"line_number":644,"context_line":"        else:"},{"line_number":645,"context_line":"            super(IloPXEBoot, self).prepare_instance(task)"},{"line_number":646,"context_line":""},{"line_number":647,"context_line":"    @METRICS.timer(\u0027IloPXEBoot.clean_up_instance\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_dc7b3c25","line":644,"range":{"start_line":644,"start_character":8,"end_line":644,"end_character":13},"in_reply_to":"df87a7cf_0e57385a","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0877ec3290597979f443cb9afc61e8875bfe9adc","unresolved":false,"context_lines":[{"line_number":657,"context_line":"        :raises: IloOperationError, if some operation on iLO failed."},{"line_number":658,"context_line":"        \"\"\""},{"line_number":659,"context_line":""},{"line_number":660,"context_line":"        manager_utils.node_power_action(task, states.POWER_OFF)"},{"line_number":661,"context_line":"        disable_secure_boot_if_supported(task)"},{"line_number":662,"context_line":""},{"line_number":663,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_8737b34d","line":660,"range":{"start_line":660,"start_character":8,"end_line":660,"end_character":63},"updated":"2017-12-08 23:10:20.000000000","message":"I just noticed that we power off in tear_down as well, which means we may be calling or trying to assert twice for ilo controllers.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":657,"context_line":"        :raises: IloOperationError, if some operation on iLO failed."},{"line_number":658,"context_line":"        \"\"\""},{"line_number":659,"context_line":""},{"line_number":660,"context_line":"        manager_utils.node_power_action(task, states.POWER_OFF)"},{"line_number":661,"context_line":"        disable_secure_boot_if_supported(task)"},{"line_number":662,"context_line":""},{"line_number":663,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_3c2ee8fa","line":660,"range":{"start_line":660,"start_character":8,"end_line":660,"end_character":63},"in_reply_to":"df87a7cf_8737b34d","updated":"2017-12-11 09:16:25.000000000","message":"there is no tear_down implementation in IloPXE, so it is fine I guess.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0877ec3290597979f443cb9afc61e8875bfe9adc","unresolved":false,"context_lines":[{"line_number":663,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":664,"context_line":""},{"line_number":665,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":666,"context_line":"            # It will clear iSCSI info from node"},{"line_number":667,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":668,"context_line":"        else:"},{"line_number":669,"context_line":"            super(IloPXEBoot, self).clean_up_instance(task)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_670b8f7c","line":666,"updated":"2017-12-08 23:10:20.000000000","message":"May be worth noting only explicitly supported with UEFI in case someone goes digging through the code trying to see if it will work.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":663,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":664,"context_line":""},{"line_number":665,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":666,"context_line":"            # It will clear iSCSI info from node"},{"line_number":667,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":668,"context_line":"        else:"},{"line_number":669,"context_line":"            super(IloPXEBoot, self).clean_up_instance(task)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_dcf7bc8a","line":666,"in_reply_to":"df87a7cf_670b8f7c","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0877ec3290597979f443cb9afc61e8875bfe9adc","unresolved":false,"context_lines":[{"line_number":660,"context_line":"        manager_utils.node_power_action(task, states.POWER_OFF)"},{"line_number":661,"context_line":"        disable_secure_boot_if_supported(task)"},{"line_number":662,"context_line":""},{"line_number":663,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":664,"context_line":""},{"line_number":665,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":666,"context_line":"            # It will clear iSCSI info from node"},{"line_number":667,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":668,"context_line":"        else:"},{"line_number":669,"context_line":"            super(IloPXEBoot, self).clean_up_instance(task)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_a715179e","line":669,"range":{"start_line":663,"start_character":1,"end_line":669,"end_character":59},"updated":"2017-12-08 23:10:20.000000000","message":"I believe the intent of clean_up was to cleanup the conductor and dhcp. I guess this is okay since there is not a tear_down implementation.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":660,"context_line":"        manager_utils.node_power_action(task, states.POWER_OFF)"},{"line_number":661,"context_line":"        disable_secure_boot_if_supported(task)"},{"line_number":662,"context_line":""},{"line_number":663,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":664,"context_line":""},{"line_number":665,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":666,"context_line":"            # It will clear iSCSI info from node"},{"line_number":667,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":668,"context_line":"        else:"},{"line_number":669,"context_line":"            super(IloPXEBoot, self).clean_up_instance(task)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_bcfc3870","line":669,"range":{"start_line":663,"start_character":1,"end_line":669,"end_character":59},"in_reply_to":"df87a7cf_a715179e","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"91ae86582d983f75d05bf54322efbc791bfb1100","unresolved":false,"context_lines":[{"line_number":491,"context_line":""},{"line_number":492,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":493,"context_line":""},{"line_number":494,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":495,"context_line":"            # It will set iSCSI info onto iLO"},{"line_number":496,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":497,"context_line":"            manager_utils.node_set_boot_device(task, boot_devices.ISCSIBOOT,"},{"line_number":498,"context_line":"                                               persistent\u003dTrue)"},{"line_number":499,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"},{"line_number":500,"context_line":"            msg \u003d \u0027Virtual media can not boot volume in BIOS boot mode.\u0027"},{"line_number":501,"context_line":"            raise exception.InstanceDeployFailure(msg)"},{"line_number":502,"context_line":"        else:"},{"line_number":503,"context_line":"            # For iscsi_ilo driver, we boot from disk every time if the image"},{"line_number":504,"context_line":"            # deployed is a whole disk image."}],"source_content_type":"text/x-python","patch_set":7,"id":"df87a7cf_245e8645","line":501,"range":{"start_line":494,"start_character":8,"end_line":501,"end_character":54},"updated":"2017-12-13 14:02:34.000000000","message":"May be we can simplify this :\nif deploy_utils.is_iscsi_boot(task):\n    if boot_mode \u003d\u003d \u0027uefi\u0027:\n         ...\n    else:\n        ...\nelse:\n   ...","commit_id":"bcdb11e191a978179339ac8c5e9af4524e3958e7"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ba7e7a510c0728d2bc22eee7760382967bec4081","unresolved":false,"context_lines":[{"line_number":491,"context_line":""},{"line_number":492,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":493,"context_line":""},{"line_number":494,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":495,"context_line":"            # It will set iSCSI info onto iLO"},{"line_number":496,"context_line":"            task.driver.management.set_iscsi_boot_target(task)"},{"line_number":497,"context_line":"            manager_utils.node_set_boot_device(task, boot_devices.ISCSIBOOT,"},{"line_number":498,"context_line":"                                               persistent\u003dTrue)"},{"line_number":499,"context_line":"        elif deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027bios\u0027:"},{"line_number":500,"context_line":"            msg \u003d \u0027Virtual media can not boot volume in BIOS boot mode.\u0027"},{"line_number":501,"context_line":"            raise exception.InstanceDeployFailure(msg)"},{"line_number":502,"context_line":"        else:"},{"line_number":503,"context_line":"            # For iscsi_ilo driver, we boot from disk every time if the image"},{"line_number":504,"context_line":"            # deployed is a whole disk image."}],"source_content_type":"text/x-python","patch_set":7,"id":"df87a7cf_8b8428b3","line":501,"range":{"start_line":494,"start_character":8,"end_line":501,"end_character":54},"in_reply_to":"df87a7cf_245e8645","updated":"2017-12-14 12:36:44.000000000","message":"Done","commit_id":"bcdb11e191a978179339ac8c5e9af4524e3958e7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"634d2a3109c5c2332eef0d6bf43e61ce22d0c4fa","unresolved":false,"context_lines":[{"line_number":677,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":678,"context_line":"        else:"},{"line_number":679,"context_line":"            # Volume boot in BIOS boot mode is handled using"},{"line_number":680,"context_line":"            # PXE boot interface"},{"line_number":681,"context_line":"            super(IloPXEBoot, self).clean_up_instance(task)"}],"source_content_type":"text/x-python","patch_set":7,"id":"df87a7cf_95f31474","line":680,"updated":"2017-12-12 23:56:34.000000000","message":"\\o/","commit_id":"bcdb11e191a978179339ac8c5e9af4524e3958e7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"ae4877f0d82fb32cdafd169d6337b8359ec377d0","unresolved":false,"context_lines":[{"line_number":526,"context_line":"    def clean_up_instance(self, task):"},{"line_number":527,"context_line":"        \"\"\"Cleans up the boot of instance."},{"line_number":528,"context_line":""},{"line_number":529,"context_line":"        This method cleans up the environment that was setup for booting"},{"line_number":530,"context_line":"        the instance. It ejects virtual media"},{"line_number":531,"context_line":""},{"line_number":532,"context_line":"        :param task: a task from TaskManager."},{"line_number":533,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f96bb07_a9a77d4f","line":530,"range":{"start_line":529,"start_character":8,"end_line":530,"end_character":45},"updated":"2018-01-15 10:32:32.000000000","message":"Doc string needs to be updated for iscsi boot","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"86c1c865ff624df038669a99d2981b498d5dbb04","unresolved":false,"context_lines":[{"line_number":526,"context_line":"    def clean_up_instance(self, task):"},{"line_number":527,"context_line":"        \"\"\"Cleans up the boot of instance."},{"line_number":528,"context_line":""},{"line_number":529,"context_line":"        This method cleans up the environment that was setup for booting"},{"line_number":530,"context_line":"        the instance. It ejects virtual media"},{"line_number":531,"context_line":""},{"line_number":532,"context_line":"        :param task: a task from TaskManager."},{"line_number":533,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f96bb07_147fa867","line":530,"range":{"start_line":529,"start_character":8,"end_line":530,"end_character":45},"in_reply_to":"7f96bb07_a9a77d4f","updated":"2018-01-15 11:10:13.000000000","message":"Done","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"ae4877f0d82fb32cdafd169d6337b8359ec377d0","unresolved":false,"context_lines":[{"line_number":659,"context_line":"    def clean_up_instance(self, task):"},{"line_number":660,"context_line":"        \"\"\"Cleans up the boot of instance."},{"line_number":661,"context_line":""},{"line_number":662,"context_line":"        This method cleans up the PXE environment that was setup for booting"},{"line_number":663,"context_line":"        the instance. It unlinks the instance kernel/ramdisk in the node\u0027s"},{"line_number":664,"context_line":"        directory in tftproot and removes it\u0027s PXE config."},{"line_number":665,"context_line":""},{"line_number":666,"context_line":"        :param task: a task from TaskManager."},{"line_number":667,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f96bb07_69c2d5eb","line":664,"range":{"start_line":662,"start_character":8,"end_line":664,"end_character":58},"updated":"2018-01-15 10:32:32.000000000","message":"Doc string needs to be updated for iscsi boot.","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"86c1c865ff624df038669a99d2981b498d5dbb04","unresolved":false,"context_lines":[{"line_number":659,"context_line":"    def clean_up_instance(self, task):"},{"line_number":660,"context_line":"        \"\"\"Cleans up the boot of instance."},{"line_number":661,"context_line":""},{"line_number":662,"context_line":"        This method cleans up the PXE environment that was setup for booting"},{"line_number":663,"context_line":"        the instance. It unlinks the instance kernel/ramdisk in the node\u0027s"},{"line_number":664,"context_line":"        directory in tftproot and removes it\u0027s PXE config."},{"line_number":665,"context_line":""},{"line_number":666,"context_line":"        :param task: a task from TaskManager."},{"line_number":667,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f96bb07_f4d8fc7f","line":664,"range":{"start_line":662,"start_character":8,"end_line":664,"end_character":58},"in_reply_to":"7f96bb07_69c2d5eb","updated":"2018-01-15 11:10:13.000000000","message":"Done","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":384,"context_line":"class IloVirtualMediaBoot(base.BootInterface):"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":"    def __init__(self):"},{"line_number":387,"context_line":"        self.capabilities \u003d [\u0027iscsi_volume_boot\u0027]"},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"    def get_properties(self):"},{"line_number":390,"context_line":"        return COMMON_PROPERTIES"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_954acfa9","line":387,"updated":"2018-01-23 20:08:29.000000000","message":"nit: this doesn\u0027t need to be in __init__","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":384,"context_line":"class IloVirtualMediaBoot(base.BootInterface):"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":"    def __init__(self):"},{"line_number":387,"context_line":"        self.capabilities \u003d [\u0027iscsi_volume_boot\u0027]"},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"    def get_properties(self):"},{"line_number":390,"context_line":"        return COMMON_PROPERTIES"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_42c31258","line":387,"in_reply_to":"7f96bb07_954acfa9","updated":"2018-01-24 10:59:25.000000000","message":"Done","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":630,"context_line":"        This method prepares the boot of the instance after reading"},{"line_number":631,"context_line":"        relevant information from the node\u0027s instance_info. In case of netboot,"},{"line_number":632,"context_line":"        it updates the dhcp entries and switches the PXE config. In case of"},{"line_number":633,"context_line":"        localboot, it cleans up the PXE config. In case of \u0027boot from volume\u0027,"},{"line_number":634,"context_line":"        it updates the iSCSI info onto iLO and sets the node to boot from"},{"line_number":635,"context_line":"        \u0027UefiTarget\u0027 boot device."},{"line_number":636,"context_line":""},{"line_number":637,"context_line":"        :param task: a task from TaskManager."},{"line_number":638,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_958defd4","line":635,"range":{"start_line":633,"start_character":47,"end_line":635,"end_character":33},"updated":"2018-01-23 20:08:29.000000000","message":"nit: This might be better as a separate paragraph","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":630,"context_line":"        This method prepares the boot of the instance after reading"},{"line_number":631,"context_line":"        relevant information from the node\u0027s instance_info. In case of netboot,"},{"line_number":632,"context_line":"        it updates the dhcp entries and switches the PXE config. In case of"},{"line_number":633,"context_line":"        localboot, it cleans up the PXE config. In case of \u0027boot from volume\u0027,"},{"line_number":634,"context_line":"        it updates the iSCSI info onto iLO and sets the node to boot from"},{"line_number":635,"context_line":"        \u0027UefiTarget\u0027 boot device."},{"line_number":636,"context_line":""},{"line_number":637,"context_line":"        :param task: a task from TaskManager."},{"line_number":638,"context_line":"        :returns: None"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_12bfa7d0","line":635,"range":{"start_line":633,"start_character":47,"end_line":635,"end_character":33},"in_reply_to":"7f96bb07_958defd4","updated":"2018-01-24 10:59:25.000000000","message":"Done","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":675,"context_line":""},{"line_number":676,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":677,"context_line":""},{"line_number":678,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":679,"context_line":"            # It will clear iSCSI info from iLO in case of booting from"},{"line_number":680,"context_line":"            # volume in UEFI boot mode"},{"line_number":681,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_95a64f53","line":678,"updated":"2018-01-23 20:08:29.000000000","message":"We likely need a unit test that ensures that this still works with instance_info reset to {}","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3a10a41a742659f72ebd624ec74e2e3a405eb3d0","unresolved":false,"context_lines":[{"line_number":675,"context_line":""},{"line_number":676,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":677,"context_line":""},{"line_number":678,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":679,"context_line":"            # It will clear iSCSI info from iLO in case of booting from"},{"line_number":680,"context_line":"            # volume in UEFI boot mode"},{"line_number":681,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f93b717_60048cc7","line":678,"in_reply_to":"7f96bb07_82cd9a86","updated":"2018-01-24 22:22:43.000000000","message":"perfect as long as it is eventually cleaned up","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"16173f7131e0f1d6e150e940f254a1085923986f","unresolved":false,"context_lines":[{"line_number":675,"context_line":""},{"line_number":676,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":677,"context_line":""},{"line_number":678,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":679,"context_line":"            # It will clear iSCSI info from iLO in case of booting from"},{"line_number":680,"context_line":"            # volume in UEFI boot mode"},{"line_number":681,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_a27f76dd","line":678,"in_reply_to":"7f96bb07_82cd9a86","updated":"2018-01-24 11:02:10.000000000","message":"s/Now/Instead of/","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":675,"context_line":""},{"line_number":676,"context_line":"        boot_mode \u003d deploy_utils.get_boot_mode_for_deploy(task.node)"},{"line_number":677,"context_line":""},{"line_number":678,"context_line":"        if deploy_utils.is_iscsi_boot(task) and boot_mode \u003d\u003d \u0027uefi\u0027:"},{"line_number":679,"context_line":"            # It will clear iSCSI info from iLO in case of booting from"},{"line_number":680,"context_line":"            # volume in UEFI boot mode"},{"line_number":681,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_82cd9a86","line":678,"in_reply_to":"7f96bb07_95a64f53","updated":"2018-01-24 10:59:25.000000000","message":"I found its not able to get boot_mode here, so i updated the code little bit. Now using instance_info, i am using driver_internal_info.","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3a10a41a742659f72ebd624ec74e2e3a405eb3d0","unresolved":false,"context_lines":[{"line_number":687,"context_line":"            task.node.driver_internal_info.get(\u0027uefi_iscsi_boot\u0027)):"},{"line_number":688,"context_line":"            # It will clear iSCSI info from iLO in case of booting from"},{"line_number":689,"context_line":"            # volume in UEFI boot mode"},{"line_number":690,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":691,"context_line":"        else:"},{"line_number":692,"context_line":"            # Volume boot in BIOS boot mode is handled using"},{"line_number":693,"context_line":"            # PXE boot interface"}],"source_content_type":"text/x-python","patch_set":18,"id":"5f93b717_80d75824","line":690,"updated":"2018-01-24 22:22:43.000000000","message":"We need to go ahead and nuke the driver_internal_info uefi_iscsi_boot parameter before exiting here.","commit_id":"ddf5d529719b3d96afafcab825349637fa2ce12f"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"046dbbee8372b858b47df02e71559439ce04000d","unresolved":false,"context_lines":[{"line_number":687,"context_line":"            task.node.driver_internal_info.get(\u0027uefi_iscsi_boot\u0027)):"},{"line_number":688,"context_line":"            # It will clear iSCSI info from iLO in case of booting from"},{"line_number":689,"context_line":"            # volume in UEFI boot mode"},{"line_number":690,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":691,"context_line":"        else:"},{"line_number":692,"context_line":"            # Volume boot in BIOS boot mode is handled using"},{"line_number":693,"context_line":"            # PXE boot interface"}],"source_content_type":"text/x-python","patch_set":18,"id":"5f93b717_5a212b9f","line":690,"in_reply_to":"5f93b717_80d75824","updated":"2018-01-25 05:51:16.000000000","message":"Done","commit_id":"ddf5d529719b3d96afafcab825349637fa2ce12f"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"00c9207a4538aa24c9bc7c5091a874c1ab54fb02","unresolved":false,"context_lines":[{"line_number":687,"context_line":"            task.node.driver_internal_info.get(\u0027uefi_iscsi_boot\u0027)):"},{"line_number":688,"context_line":"            # It will clear iSCSI info from iLO in case of booting from"},{"line_number":689,"context_line":"            # volume in UEFI boot mode"},{"line_number":690,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":691,"context_line":"        else:"},{"line_number":692,"context_line":"            # Volume boot in BIOS boot mode is handled using"},{"line_number":693,"context_line":"            # PXE boot interface"}],"source_content_type":"text/x-python","patch_set":18,"id":"5f93b717_1a03ac44","line":690,"in_reply_to":"5f93b717_80d75824","updated":"2018-01-24 22:26:32.000000000","message":"pondering, we should also prepend the parameter to convey context into what driver that is using it.","commit_id":"ddf5d529719b3d96afafcab825349637fa2ce12f"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":550,"context_line":"            # It will clear iSCSI info from iLO"},{"line_number":551,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":552,"context_line":"            driver_internal_info.pop(\u0027ilo_uefi_iscsi_boot\u0027, None)"},{"line_number":553,"context_line":"            task.node.driver_internal_info \u003d driver_internal_info"},{"line_number":554,"context_line":"            task.node.save()"},{"line_number":555,"context_line":"        else:"},{"line_number":556,"context_line":"            _clean_up_boot_iso_for_instance(task.node)"},{"line_number":557,"context_line":"            driver_internal_info \u003d task.node.driver_internal_info"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_a3ba83db","line":554,"range":{"start_line":553,"start_character":12,"end_line":554,"end_character":28},"updated":"2018-01-25 11:29:16.000000000","message":"These pair of statements L553-L554 and L560-L561 are common and can be moved outside if/else block.","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7d223d70f3b5aa0b05f72bcada296a02ca99fa8","unresolved":false,"context_lines":[{"line_number":550,"context_line":"            # It will clear iSCSI info from iLO"},{"line_number":551,"context_line":"            task.driver.management.clear_iscsi_boot_target(task)"},{"line_number":552,"context_line":"            driver_internal_info.pop(\u0027ilo_uefi_iscsi_boot\u0027, None)"},{"line_number":553,"context_line":"            task.node.driver_internal_info \u003d driver_internal_info"},{"line_number":554,"context_line":"            task.node.save()"},{"line_number":555,"context_line":"        else:"},{"line_number":556,"context_line":"            _clean_up_boot_iso_for_instance(task.node)"},{"line_number":557,"context_line":"            driver_internal_info \u003d task.node.driver_internal_info"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_8a975391","line":554,"range":{"start_line":553,"start_character":12,"end_line":554,"end_character":28},"in_reply_to":"5f93b717_a3ba83db","updated":"2018-01-25 13:49:15.000000000","message":"Gah, I almost changed this up like that last night, just was finally rolling out of brain cells for the day.","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":554,"context_line":"            task.node.save()"},{"line_number":555,"context_line":"        else:"},{"line_number":556,"context_line":"            _clean_up_boot_iso_for_instance(task.node)"},{"line_number":557,"context_line":"            driver_internal_info \u003d task.node.driver_internal_info"},{"line_number":558,"context_line":"            driver_internal_info.pop(\u0027boot_iso_created_in_web_server\u0027, None)"},{"line_number":559,"context_line":"            driver_internal_info.pop(\u0027root_uuid_or_disk_id\u0027, None)"},{"line_number":560,"context_line":"            task.node.driver_internal_info \u003d driver_internal_info"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_d413cfb7","line":557,"range":{"start_line":557,"start_character":12,"end_line":557,"end_character":65},"updated":"2018-01-25 11:29:16.000000000","message":"This is not required. Its duplication of L546","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7d223d70f3b5aa0b05f72bcada296a02ca99fa8","unresolved":false,"context_lines":[{"line_number":554,"context_line":"            task.node.save()"},{"line_number":555,"context_line":"        else:"},{"line_number":556,"context_line":"            _clean_up_boot_iso_for_instance(task.node)"},{"line_number":557,"context_line":"            driver_internal_info \u003d task.node.driver_internal_info"},{"line_number":558,"context_line":"            driver_internal_info.pop(\u0027boot_iso_created_in_web_server\u0027, None)"},{"line_number":559,"context_line":"            driver_internal_info.pop(\u0027root_uuid_or_disk_id\u0027, None)"},{"line_number":560,"context_line":"            task.node.driver_internal_info \u003d driver_internal_info"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_6a60c7cf","line":557,"range":{"start_line":557,"start_character":12,"end_line":557,"end_character":65},"in_reply_to":"5f93b717_d413cfb7","updated":"2018-01-25 13:49:15.000000000","message":"++","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"}],"ironic/drivers/modules/ilo/management.py":[{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"def _get_mac_for_iscsi_boot(task):"},{"line_number":101,"context_line":"    \"\"\"Getting mac of node for booting iscsi volume."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: mac address."}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_01616605","line":101,"range":{"start_line":101,"start_character":15,"end_line":101,"end_character":18},"updated":"2017-12-08 05:28:45.000000000","message":"MAC","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"def _get_mac_for_iscsi_boot(task):"},{"line_number":101,"context_line":"    \"\"\"Getting mac of node for booting iscsi volume."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: mac address."}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_9c7f1ddf","line":101,"range":{"start_line":101,"start_character":15,"end_line":101,"end_character":18},"in_reply_to":"df87a7cf_01616605","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":101,"context_line":"    \"\"\"Getting mac of node for booting iscsi volume."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: mac address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_215eea43","line":104,"range":{"start_line":104,"start_character":13,"end_line":104,"end_character":16},"updated":"2017-12-08 05:28:45.000000000","message":"MAC","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":101,"context_line":"    \"\"\"Getting mac of node for booting iscsi volume."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: mac address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_5c8515ce","line":104,"range":{"start_line":104,"start_character":13,"end_line":104,"end_character":16},"in_reply_to":"df87a7cf_215eea43","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":213,"context_line":"                ilo_object.set_one_time_boot(boot_device)"},{"line_number":214,"context_line":"            else:"},{"line_number":215,"context_line":"                if boot_device \u003d\u003d \u0027ISCSI\u0027:"},{"line_number":216,"context_line":"                    # Needed for boot from iscsi volume"},{"line_number":217,"context_line":"                    mac \u003d _get_mac_for_iscsi_boot(task)"},{"line_number":218,"context_line":"                    ilo_object.update_persistent_boot([boot_device], mac)"},{"line_number":219,"context_line":"                else:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_fc3c29c9","line":216,"range":{"start_line":216,"start_character":43,"end_line":216,"end_character":48},"updated":"2017-12-08 05:28:45.000000000","message":"iSCSI","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":213,"context_line":"                ilo_object.set_one_time_boot(boot_device)"},{"line_number":214,"context_line":"            else:"},{"line_number":215,"context_line":"                if boot_device \u003d\u003d \u0027ISCSI\u0027:"},{"line_number":216,"context_line":"                    # Needed for boot from iscsi volume"},{"line_number":217,"context_line":"                    mac \u003d _get_mac_for_iscsi_boot(task)"},{"line_number":218,"context_line":"                    ilo_object.update_persistent_boot([boot_device], mac)"},{"line_number":219,"context_line":"                else:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_1c6b0d1e","line":216,"range":{"start_line":216,"start_character":43,"end_line":216,"end_character":48},"in_reply_to":"df87a7cf_fc3c29c9","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"ef811c2f0d0c70d946adf48c70ebcf2b06980dcb","unresolved":false,"context_lines":[{"line_number":565,"context_line":""},{"line_number":566,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"},{"line_number":567,"context_line":"    def clear_iscsi_boot_target(self, task):"},{"line_number":568,"context_line":"        \"\"\"Unset iscsi details of the system in uefi boot mode."},{"line_number":569,"context_line":""},{"line_number":570,"context_line":"        :param task: a task from TaskManager."},{"line_number":571,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_5c2435af","line":568,"range":{"start_line":568,"start_character":17,"end_line":568,"end_character":22},"updated":"2017-12-08 05:28:45.000000000","message":"iSCSI","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"9ed20aefb0942f711dc462405504aaf5909017f1","unresolved":false,"context_lines":[{"line_number":565,"context_line":""},{"line_number":566,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"},{"line_number":567,"context_line":"    def clear_iscsi_boot_target(self, task):"},{"line_number":568,"context_line":"        \"\"\"Unset iscsi details of the system in uefi boot mode."},{"line_number":569,"context_line":""},{"line_number":570,"context_line":"        :param task: a task from TaskManager."},{"line_number":571,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":5,"id":"df87a7cf_dc4925b7","line":568,"range":{"start_line":568,"start_character":17,"end_line":568,"end_character":22},"in_reply_to":"df87a7cf_5c2435af","updated":"2017-12-08 06:02:31.000000000","message":"Done","commit_id":"e1a52d8fdb80bb4f09015d792f85b5223e6d4ba5"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0877ec3290597979f443cb9afc61e8875bfe9adc","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_c7693bf9","line":106,"range":{"start_line":106,"start_character":4,"end_line":106,"end_character":27},"updated":"2017-12-08 23:10:20.000000000","message":"If your going to loop through ports, you\u0027ll need to consider port_groups.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_57d2a629","line":106,"range":{"start_line":106,"start_character":4,"end_line":106,"end_character":27},"in_reply_to":"df87a7cf_2969d5f7","updated":"2017-12-11 09:16:25.000000000","message":"I agree it will have problem with port groups, so I will remove this. As iLO set target as per nic basis, I will set target for all nics via ProLiant calls only, no need to handle in Ironic.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"634d2a3109c5c2332eef0d6bf43e61ce22d0c4fa","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_b57e58ad","line":106,"range":{"start_line":106,"start_character":4,"end_line":106,"end_character":27},"in_reply_to":"df87a7cf_57d2a629","updated":"2017-12-12 23:56:34.000000000","message":"Wouldn\u0027t setting it on all the nics possibly mean an elongated boot cycle if the firmware is trying to enumerate through multiple interfaces until it reaches one with an IP address?","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b7c7f992f9ce4496544872437801b594a58847a6","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_93a76c0c","line":106,"range":{"start_line":106,"start_character":4,"end_line":106,"end_character":27},"in_reply_to":"df87a7cf_7f34fdde","updated":"2017-12-14 23:53:39.000000000","message":"In that case, the documentation will likely need to explicitly state that using \"portfast\" is required in switch configuration, because spanning-tree should otherwise block the port for longer than that hold-down timer would be.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"d64e731e73189903d878f94482114f7b52d93a8d","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"7f96bb07_c9a3e99d","line":106,"range":{"start_line":106,"start_character":4,"end_line":106,"end_character":27},"in_reply_to":"df87a7cf_93a76c0c","updated":"2018-01-15 10:20:04.000000000","message":"I will mention this in documentation","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ba7e7a510c0728d2bc22eee7760382967bec4081","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_7f34fdde","line":106,"range":{"start_line":106,"start_character":4,"end_line":106,"end_character":27},"in_reply_to":"df87a7cf_b57e58ad","updated":"2017-12-14 12:36:44.000000000","message":"The iSCSI connections will established in iLO in POST phase only and the iLO BMC has timeout attribute for iSCSI boot which is by default 1 sec, and user can configure it, so the POST delay would be few seconds only.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_77cd6a83","line":106,"range":{"start_line":106,"start_character":4,"end_line":106,"end_character":27},"in_reply_to":"df87a7cf_c7693bf9","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"cfd0037d4f4490c765a030840f06b06cb7dd0bb0","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    :param node: a TaskManager instance containing the node to act on."},{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_2969d5f7","line":106,"range":{"start_line":106,"start_character":4,"end_line":106,"end_character":27},"in_reply_to":"df87a7cf_c7693bf9","updated":"2017-12-09 15:01:10.000000000","message":"I\u0027ve been thinking about this further, and realize this is even more problematic than I even originally thought.\n\nIt appears to be under the assumption that the ports will match the BMC knowledgeable and manageable ports that can be used as iscsi initiators, but the question then becomes, what if an operator adds additional network cards into the baremetal node to meet an operational need? At which point, we could possibly bind the vif to a portgroup which would cause this code to fail.\n\nYou may want to refer to https://specs.openstack.org/openstack/ironic-specs/specs/approved/volume-connection-information.html","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0877ec3290597979f443cb9afc61e8875bfe9adc","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_a7f1976d","line":107,"range":{"start_line":107,"start_character":11,"end_line":107,"end_character":37},"updated":"2017-12-08 23:10:20.000000000","message":"Ironic has deprecated the use of port.extra moving forward. We now store vif information in port.internal_info","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    :return: MAC address."},{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_17c89e71","line":107,"range":{"start_line":107,"start_character":11,"end_line":107,"end_character":37},"in_reply_to":"df87a7cf_a7f1976d","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0877ec3290597979f443cb9afc61e8875bfe9adc","unresolved":false,"context_lines":[{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"class IloManagement(base.ManagementInterface):"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_67594f8c","line":108,"updated":"2017-12-08 23:10:20.000000000","message":"So will this only work with a single port that has a VIF?\n\nWhat about instead referencing the volume connector, since that is how the data model is intended to work, to allow operators to define the interfaces they wish to be utilized. Naturally, they do need to have an IP address associated with them as well. Hopefully we\u0027ll get that functionality for free in the future with a pending nova patch.\n\nIdeally, the code should be using the defined connector(s) since those are what are populated into cinder from nova, and by the cinder storage interface when power is cycled on the node. Doing otherwise, might be problematic.\n\nI guess the point may also be that there should be a vif present, and that could be a good pre-flight \"I have a volume, do I have a vif check that the driver could perform upon validate() being called.\" But that being said, volume connectors should be treated as the source of truth for enabled/approved interfaces so operators could potentially split network/storage traffic if sufficiently architected.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":105,"context_line":"    \"\"\""},{"line_number":106,"context_line":"    for port in task.ports:"},{"line_number":107,"context_line":"        if port.extra[\u0027vif_port_id\u0027]:"},{"line_number":108,"context_line":"            return port.address.replace(\":\", \"\")"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"class IloManagement(base.ManagementInterface):"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_37c36259","line":108,"in_reply_to":"df87a7cf_67594f8c","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0877ec3290597979f443cb9afc61e8875bfe9adc","unresolved":false,"context_lines":[{"line_number":536,"context_line":"    def set_iscsi_boot_target(self, task):"},{"line_number":537,"context_line":"        \"\"\"Set iSCSI details of the system in UEFI boot mode."},{"line_number":538,"context_line":""},{"line_number":539,"context_line":"        The initiator system is set with the target details like"},{"line_number":540,"context_line":"        IQN, LUN, IP, Port etc."},{"line_number":541,"context_line":"        :param task: a task from TaskManager."},{"line_number":542,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_a732f70e","line":539,"range":{"start_line":539,"start_character":22,"end_line":539,"end_character":28},"updated":"2017-12-08 23:10:20.000000000","message":"nit: s/system//","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":536,"context_line":"    def set_iscsi_boot_target(self, task):"},{"line_number":537,"context_line":"        \"\"\"Set iSCSI details of the system in UEFI boot mode."},{"line_number":538,"context_line":""},{"line_number":539,"context_line":"        The initiator system is set with the target details like"},{"line_number":540,"context_line":"        IQN, LUN, IP, Port etc."},{"line_number":541,"context_line":"        :param task: a task from TaskManager."},{"line_number":542,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_f7e2dad4","line":539,"range":{"start_line":539,"start_character":22,"end_line":539,"end_character":28},"in_reply_to":"df87a7cf_a732f70e","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0877ec3290597979f443cb9afc61e8875bfe9adc","unresolved":false,"context_lines":[{"line_number":553,"context_line":"        lun \u003d properties[\u0027target_lun\u0027]"},{"line_number":554,"context_line":"        host, port \u003d portal.split(\u0027:\u0027)"},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"        mac \u003d _get_mac_for_iscsi_boot(task)"},{"line_number":557,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":558,"context_line":""},{"line_number":559,"context_line":"        if username is None:"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_2726e7cf","line":556,"updated":"2017-12-08 23:10:20.000000000","message":"I don\u0027t quite understand why you need a mac address.\n\nUse of a single mac address makes me think that it becomes pinned to a single network interface, which I think is okay, but should likely be documented.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":553,"context_line":"        lun \u003d properties[\u0027target_lun\u0027]"},{"line_number":554,"context_line":"        host, port \u003d portal.split(\u0027:\u0027)"},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"        mac \u003d _get_mac_for_iscsi_boot(task)"},{"line_number":557,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":558,"context_line":""},{"line_number":559,"context_line":"        if username is None:"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_77ceca5a","line":556,"in_reply_to":"df87a7cf_2726e7cf","updated":"2017-12-11 09:16:25.000000000","message":"I removed it, thanks","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0877ec3290597979f443cb9afc61e8875bfe9adc","unresolved":false,"context_lines":[{"line_number":561,"context_line":"        else:"},{"line_number":562,"context_line":"            auth \u003d \u0027CHAP\u0027"},{"line_number":563,"context_line":"            ilo_object.set_iscsi_boot_info(mac, iqn, lun, host, port, auth,"},{"line_number":564,"context_line":"                                           username, password)"},{"line_number":565,"context_line":""},{"line_number":566,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"},{"line_number":567,"context_line":"    def clear_iscsi_boot_target(self, task):"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_c7c4dbf7","line":564,"updated":"2017-12-08 23:10:20.000000000","message":"Unrelated to the current the feature of booting, but is there any way to attach multiple volumes via the BMC?","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":561,"context_line":"        else:"},{"line_number":562,"context_line":"            auth \u003d \u0027CHAP\u0027"},{"line_number":563,"context_line":"            ilo_object.set_iscsi_boot_info(mac, iqn, lun, host, port, auth,"},{"line_number":564,"context_line":"                                           username, password)"},{"line_number":565,"context_line":""},{"line_number":566,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"},{"line_number":567,"context_line":"    def clear_iscsi_boot_target(self, task):"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_f70bba8a","line":564,"in_reply_to":"df87a7cf_c7c4dbf7","updated":"2017-12-11 09:16:25.000000000","message":"We can attach multiple volumes, but it based on per nic basis. How many nic you have, you can attach in that way.","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"634d2a3109c5c2332eef0d6bf43e61ce22d0c4fa","unresolved":false,"context_lines":[{"line_number":561,"context_line":"        else:"},{"line_number":562,"context_line":"            auth \u003d \u0027CHAP\u0027"},{"line_number":563,"context_line":"            ilo_object.set_iscsi_boot_info(mac, iqn, lun, host, port, auth,"},{"line_number":564,"context_line":"                                           username, password)"},{"line_number":565,"context_line":""},{"line_number":566,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"},{"line_number":567,"context_line":"    def clear_iscsi_boot_target(self, task):"}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_d58d1cd4","line":564,"in_reply_to":"df87a7cf_f70bba8a","updated":"2017-12-12 23:56:34.000000000","message":"Thanks for the information!","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"634d2a3109c5c2332eef0d6bf43e61ce22d0c4fa","unresolved":false,"context_lines":[{"line_number":540,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"        if username is None:"},{"line_number":543,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port)"},{"line_number":544,"context_line":"        else:"},{"line_number":545,"context_line":"            auth \u003d \u0027CHAP\u0027"},{"line_number":546,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port, auth,"}],"source_content_type":"text/x-python","patch_set":7,"id":"df87a7cf_d0176a45","line":543,"updated":"2017-12-12 23:56:34.000000000","message":"I just checked https://review.openstack.org/#/c/514590/3 and I see mac is still the first positional argument.  As such, the other patch likely needs to be revised first.","commit_id":"bcdb11e191a978179339ac8c5e9af4524e3958e7"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ba7e7a510c0728d2bc22eee7760382967bec4081","unresolved":false,"context_lines":[{"line_number":540,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"        if username is None:"},{"line_number":543,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port)"},{"line_number":544,"context_line":"        else:"},{"line_number":545,"context_line":"            auth \u003d \u0027CHAP\u0027"},{"line_number":546,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port, auth,"}],"source_content_type":"text/x-python","patch_set":7,"id":"df87a7cf_eb0e1331","line":543,"in_reply_to":"df87a7cf_d0176a45","updated":"2017-12-14 12:36:44.000000000","message":"That is for setting initiator, recently I raised new changes for this https://review.openstack.org/#/c/527908/ and I now added this in the dependent patch list.","commit_id":"bcdb11e191a978179339ac8c5e9af4524e3958e7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"634d2a3109c5c2332eef0d6bf43e61ce22d0c4fa","unresolved":false,"context_lines":[{"line_number":543,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port)"},{"line_number":544,"context_line":"        else:"},{"line_number":545,"context_line":"            auth \u003d \u0027CHAP\u0027"},{"line_number":546,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port, auth,"},{"line_number":547,"context_line":"                                           username, password)"},{"line_number":548,"context_line":""},{"line_number":549,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"df87a7cf_b033c6f6","line":546,"updated":"2017-12-12 23:56:34.000000000","message":"ditto","commit_id":"bcdb11e191a978179339ac8c5e9af4524e3958e7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"ae4877f0d82fb32cdafd169d6337b8359ec377d0","unresolved":false,"context_lines":[{"line_number":543,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port)"},{"line_number":544,"context_line":"        else:"},{"line_number":545,"context_line":"            auth \u003d \u0027CHAP\u0027"},{"line_number":546,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port, auth,"},{"line_number":547,"context_line":"                                           username, password)"},{"line_number":548,"context_line":""},{"line_number":549,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"},{"line_number":550,"context_line":"    def clear_iscsi_boot_target(self, task):"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f96bb07_093c71e0","line":547,"range":{"start_line":546,"start_character":12,"end_line":547,"end_character":62},"updated":"2018-01-15 10:32:32.000000000","message":"Need to handle exception from Proliantutils.","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"86c1c865ff624df038669a99d2981b498d5dbb04","unresolved":false,"context_lines":[{"line_number":543,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port)"},{"line_number":544,"context_line":"        else:"},{"line_number":545,"context_line":"            auth \u003d \u0027CHAP\u0027"},{"line_number":546,"context_line":"            ilo_object.set_iscsi_boot_info(iqn, lun, host, port, auth,"},{"line_number":547,"context_line":"                                           username, password)"},{"line_number":548,"context_line":""},{"line_number":549,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"},{"line_number":550,"context_line":"    def clear_iscsi_boot_target(self, task):"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f96bb07_34ebc4b0","line":547,"range":{"start_line":546,"start_character":12,"end_line":547,"end_character":62},"in_reply_to":"7f96bb07_093c71e0","updated":"2018-01-15 11:10:13.000000000","message":"Done","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"ae4877f0d82fb32cdafd169d6337b8359ec377d0","unresolved":false,"context_lines":[{"line_number":553,"context_line":"        :param task: a task from TaskManager."},{"line_number":554,"context_line":"        \"\"\""},{"line_number":555,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":556,"context_line":"        ilo_object.unset_iscsi_boot_info()"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f96bb07_e92025b3","line":556,"range":{"start_line":556,"start_character":8,"end_line":556,"end_character":42},"updated":"2018-01-15 10:32:32.000000000","message":"ditto","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"86c1c865ff624df038669a99d2981b498d5dbb04","unresolved":false,"context_lines":[{"line_number":553,"context_line":"        :param task: a task from TaskManager."},{"line_number":554,"context_line":"        \"\"\""},{"line_number":555,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":556,"context_line":"        ilo_object.unset_iscsi_boot_info()"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f96bb07_d4d140fd","line":556,"range":{"start_line":556,"start_character":8,"end_line":556,"end_character":42},"in_reply_to":"7f96bb07_e92025b3","updated":"2018-01-15 11:10:13.000000000","message":"Done","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2e3f9ffdd097c1d4c83ea475fe0710d9bc11d8fe","unresolved":false,"context_lines":[{"line_number":545,"context_line":"                auth \u003d \u0027CHAP\u0027"},{"line_number":546,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port, auth,"},{"line_number":547,"context_line":"                                          username, password)"},{"line_number":548,"context_line":"        except Exception as e:"},{"line_number":549,"context_line":"            LOG.exception(\u0027iLO is not able to set iSCSI target information \u0027"},{"line_number":550,"context_line":"                          \u0027for node %(node)s. Error: %(error)s\u0027,"},{"line_number":551,"context_line":"                          {\u0027node\u0027: node.uuid, \u0027error\u0027: e})"}],"source_content_type":"text/x-python","patch_set":11,"id":"7f96bb07_5da7d050","line":548,"range":{"start_line":548,"start_character":8,"end_line":548,"end_character":29},"updated":"2018-01-22 05:53:31.000000000","message":"I think we should be catching proliantutils exceptions. I think this can raise IloError and IloCommandNotSupportedInBiosError","commit_id":"a781d7f986481b946ae67027fead63f2298fddda"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"a6940b5598323df0ac23d92510765f84b005eb3f","unresolved":false,"context_lines":[{"line_number":545,"context_line":"                auth \u003d \u0027CHAP\u0027"},{"line_number":546,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port, auth,"},{"line_number":547,"context_line":"                                          username, password)"},{"line_number":548,"context_line":"        except Exception as e:"},{"line_number":549,"context_line":"            LOG.exception(\u0027iLO is not able to set iSCSI target information \u0027"},{"line_number":550,"context_line":"                          \u0027for node %(node)s. Error: %(error)s\u0027,"},{"line_number":551,"context_line":"                          {\u0027node\u0027: node.uuid, \u0027error\u0027: e})"}],"source_content_type":"text/x-python","patch_set":11,"id":"7f96bb07_0ee10cd1","line":548,"range":{"start_line":548,"start_character":8,"end_line":548,"end_character":29},"in_reply_to":"7f96bb07_5da7d050","updated":"2018-01-22 08:09:06.000000000","message":"Done","commit_id":"a781d7f986481b946ae67027fead63f2298fddda"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2e3f9ffdd097c1d4c83ea475fe0710d9bc11d8fe","unresolved":false,"context_lines":[{"line_number":559,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":560,"context_line":"        try:"},{"line_number":561,"context_line":"            ilo_object.unset_iscsi_info()"},{"line_number":562,"context_line":"        except Exception as e:"},{"line_number":563,"context_line":"            LOG.exception(\u0027iLO is not able to clear iSCSI target information \u0027"},{"line_number":564,"context_line":"                          \u0027for node %(node)s. Error: %(error)s\u0027,"},{"line_number":565,"context_line":"                          {\u0027node\u0027: task.node.uuid, \u0027error\u0027: e})"}],"source_content_type":"text/x-python","patch_set":11,"id":"7f96bb07_1d670828","line":562,"range":{"start_line":562,"start_character":8,"end_line":562,"end_character":29},"updated":"2018-01-22 05:53:31.000000000","message":"ditto","commit_id":"a781d7f986481b946ae67027fead63f2298fddda"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"a6940b5598323df0ac23d92510765f84b005eb3f","unresolved":false,"context_lines":[{"line_number":559,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":560,"context_line":"        try:"},{"line_number":561,"context_line":"            ilo_object.unset_iscsi_info()"},{"line_number":562,"context_line":"        except Exception as e:"},{"line_number":563,"context_line":"            LOG.exception(\u0027iLO is not able to clear iSCSI target information \u0027"},{"line_number":564,"context_line":"                          \u0027for node %(node)s. Error: %(error)s\u0027,"},{"line_number":565,"context_line":"                          {\u0027node\u0027: task.node.uuid, \u0027error\u0027: e})"}],"source_content_type":"text/x-python","patch_set":11,"id":"7f96bb07_aee578de","line":562,"range":{"start_line":562,"start_character":8,"end_line":562,"end_character":29},"in_reply_to":"7f96bb07_1d670828","updated":"2018-01-22 08:09:06.000000000","message":"Done","commit_id":"a781d7f986481b946ae67027fead63f2298fddda"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":534,"context_line":"        properties \u003d volume.properties"},{"line_number":535,"context_line":"        username \u003d properties.get(\u0027auth_username\u0027, None)"},{"line_number":536,"context_line":"        password \u003d properties.get(\u0027auth_password\u0027, None)"},{"line_number":537,"context_line":"        portal \u003d properties[\u0027target_portal\u0027]"},{"line_number":538,"context_line":"        iqn \u003d properties[\u0027target_iqn\u0027]"},{"line_number":539,"context_line":"        lun \u003d properties[\u0027target_lun\u0027]"},{"line_number":540,"context_line":"        host, port \u003d portal.split(\u0027:\u0027)"},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":543,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_75daa317","line":540,"range":{"start_line":537,"start_character":0,"end_line":540,"end_character":38},"updated":"2018-01-23 20:08:29.000000000","message":"Might be good to guard these and throw ValueError if there is an issue, but please do that as a follow-up.","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":534,"context_line":"        properties \u003d volume.properties"},{"line_number":535,"context_line":"        username \u003d properties.get(\u0027auth_username\u0027, None)"},{"line_number":536,"context_line":"        password \u003d properties.get(\u0027auth_password\u0027, None)"},{"line_number":537,"context_line":"        portal \u003d properties[\u0027target_portal\u0027]"},{"line_number":538,"context_line":"        iqn \u003d properties[\u0027target_iqn\u0027]"},{"line_number":539,"context_line":"        lun \u003d properties[\u0027target_lun\u0027]"},{"line_number":540,"context_line":"        host, port \u003d portal.split(\u0027:\u0027)"},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":543,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_1287a763","line":540,"range":{"start_line":537,"start_character":0,"end_line":540,"end_character":38},"in_reply_to":"7f96bb07_75daa317","updated":"2018-01-24 10:59:25.000000000","message":"Ok","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":544,"context_line":"            if username is None:"},{"line_number":545,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port)"},{"line_number":546,"context_line":"            else:"},{"line_number":547,"context_line":"                auth \u003d \u0027CHAP\u0027"},{"line_number":548,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port, auth,"},{"line_number":549,"context_line":"                                          username, password)"},{"line_number":550,"context_line":"        except ilo_error.IloCommandNotSupportedInBiosError as ilo_exception:"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_b53eeb26","line":547,"range":{"start_line":547,"start_character":17,"end_line":547,"end_character":29},"updated":"2018-01-23 20:08:29.000000000","message":"afaik, this is realistically the only option, so I\u0027m fine if this is hard coded on lie 548, since it doesn\u0027t make sense to set a variable in this case.","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":544,"context_line":"            if username is None:"},{"line_number":545,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port)"},{"line_number":546,"context_line":"            else:"},{"line_number":547,"context_line":"                auth \u003d \u0027CHAP\u0027"},{"line_number":548,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port, auth,"},{"line_number":549,"context_line":"                                          username, password)"},{"line_number":550,"context_line":"        except ilo_error.IloCommandNotSupportedInBiosError as ilo_exception:"}],"source_content_type":"text/x-python","patch_set":16,"id":"7f96bb07_d2ce1fb3","line":547,"range":{"start_line":547,"start_character":17,"end_line":547,"end_character":29},"in_reply_to":"7f96bb07_b53eeb26","updated":"2018-01-24 10:59:25.000000000","message":"Done","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"a057b5f92d98b1c98a258d27773163e531d80a02","unresolved":false,"context_lines":[{"line_number":546,"context_line":"            else:"},{"line_number":547,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port, \u0027CHAP\u0027,"},{"line_number":548,"context_line":"                                          username, password)"},{"line_number":549,"context_line":"        except ilo_error.IloCommandNotSupportedInBiosError as ilo_exception:"},{"line_number":550,"context_line":"            LOG.exception(\u0027iLO is failed to set iSCSI information for node \u0027"},{"line_number":551,"context_line":"                          \u0027%(node)s as iSCSI boot is not supported in the \u0027"},{"line_number":552,"context_line":"                          \u0027BIOS boot mode. Error: %(error)s\u0027,"},{"line_number":553,"context_line":"                          {\u0027node\u0027: node.uuid, \u0027error\u0027: ilo_exception})"},{"line_number":554,"context_line":"        except ilo_error.IloError as ilo_exception:"},{"line_number":555,"context_line":"            LOG.exception(\u0027iLO is not able to set iSCSI target information \u0027"},{"line_number":556,"context_line":"                          \u0027for node %(node)s. Error: %(error)s\u0027,"},{"line_number":557,"context_line":"                          {\u0027node\u0027: node.uuid, \u0027error\u0027: ilo_exception})"},{"line_number":558,"context_line":""},{"line_number":559,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"},{"line_number":560,"context_line":"    def clear_iscsi_boot_target(self, task):"}],"source_content_type":"text/x-python","patch_set":20,"id":"5f93b717_ce64a1bc","line":557,"range":{"start_line":549,"start_character":8,"end_line":557,"end_character":70},"updated":"2018-01-25 02:11:13.000000000","message":"You need to re-raise ilo exceptions as Ironic exceptions.\noperation \u003d(_(\"Setting of target IQN %(target_iqn)s for node %(node)s\") % {\u0027target_iqn\u0027: properties[\u0027target_iqn\u0027], \u0027node\u0027: node.uuid})   \nexcept ilo_error.IloCommandNotSupportedInBiosError as ilo_exception:\n    raise exception.IloOperationNotSupported(\n            operation\u003doperation, error\u003dilo_exception)\nexcept ilo_error.IloError as ilo_exception:\n    raise exception.IloError(\n            operation\u003doperation, error\u003dilo_exception)","commit_id":"dbbcfac36d51b088551bcd6a5a1c234798f8dcb6"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"046dbbee8372b858b47df02e71559439ce04000d","unresolved":false,"context_lines":[{"line_number":546,"context_line":"            else:"},{"line_number":547,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port, \u0027CHAP\u0027,"},{"line_number":548,"context_line":"                                          username, password)"},{"line_number":549,"context_line":"        except ilo_error.IloCommandNotSupportedInBiosError as ilo_exception:"},{"line_number":550,"context_line":"            LOG.exception(\u0027iLO is failed to set iSCSI information for node \u0027"},{"line_number":551,"context_line":"                          \u0027%(node)s as iSCSI boot is not supported in the \u0027"},{"line_number":552,"context_line":"                          \u0027BIOS boot mode. Error: %(error)s\u0027,"},{"line_number":553,"context_line":"                          {\u0027node\u0027: node.uuid, \u0027error\u0027: ilo_exception})"},{"line_number":554,"context_line":"        except ilo_error.IloError as ilo_exception:"},{"line_number":555,"context_line":"            LOG.exception(\u0027iLO is not able to set iSCSI target information \u0027"},{"line_number":556,"context_line":"                          \u0027for node %(node)s. Error: %(error)s\u0027,"},{"line_number":557,"context_line":"                          {\u0027node\u0027: node.uuid, \u0027error\u0027: ilo_exception})"},{"line_number":558,"context_line":""},{"line_number":559,"context_line":"    @METRICS.timer(\u0027IloManagement.clear_iscsi_boot_target\u0027)"},{"line_number":560,"context_line":"    def clear_iscsi_boot_target(self, task):"}],"source_content_type":"text/x-python","patch_set":20,"id":"5f93b717_e5c41843","line":557,"range":{"start_line":549,"start_character":8,"end_line":557,"end_character":70},"in_reply_to":"5f93b717_ce64a1bc","updated":"2018-01-25 05:51:16.000000000","message":"Done","commit_id":"dbbcfac36d51b088551bcd6a5a1c234798f8dcb6"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"a057b5f92d98b1c98a258d27773163e531d80a02","unresolved":false,"context_lines":[{"line_number":567,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":568,"context_line":"        try:"},{"line_number":569,"context_line":"            ilo_object.unset_iscsi_info()"},{"line_number":570,"context_line":"        except ilo_error.IloCommandNotSupportedInBiosError as ilo_exception:"},{"line_number":571,"context_line":"            LOG.exception(\u0027iLO is failed to clear iSCSI information for node \u0027"},{"line_number":572,"context_line":"                          \u0027%(node)s as iSCSI boot is not supported in the \u0027"},{"line_number":573,"context_line":"                          \u0027BIOS boot mode. Error: %(error)s\u0027,"},{"line_number":574,"context_line":"                          {\u0027node\u0027: task.node.uuid, \u0027error\u0027: ilo_exception})"},{"line_number":575,"context_line":"        except ilo_error.IloError as ilo_exception:"},{"line_number":576,"context_line":"            LOG.exception(\u0027iLO is not able to clear iSCSI target information \u0027"},{"line_number":577,"context_line":"                          \u0027for node %(node)s. Error: %(error)s\u0027,"},{"line_number":578,"context_line":"                          {\u0027node\u0027: task.node.uuid, \u0027error\u0027: ilo_exception})"}],"source_content_type":"text/x-python","patch_set":20,"id":"5f93b717_2e73c582","line":578,"range":{"start_line":570,"start_character":8,"end_line":578,"end_character":75},"updated":"2018-01-25 02:11:13.000000000","message":"ditto","commit_id":"dbbcfac36d51b088551bcd6a5a1c234798f8dcb6"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"046dbbee8372b858b47df02e71559439ce04000d","unresolved":false,"context_lines":[{"line_number":567,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":568,"context_line":"        try:"},{"line_number":569,"context_line":"            ilo_object.unset_iscsi_info()"},{"line_number":570,"context_line":"        except ilo_error.IloCommandNotSupportedInBiosError as ilo_exception:"},{"line_number":571,"context_line":"            LOG.exception(\u0027iLO is failed to clear iSCSI information for node \u0027"},{"line_number":572,"context_line":"                          \u0027%(node)s as iSCSI boot is not supported in the \u0027"},{"line_number":573,"context_line":"                          \u0027BIOS boot mode. Error: %(error)s\u0027,"},{"line_number":574,"context_line":"                          {\u0027node\u0027: task.node.uuid, \u0027error\u0027: ilo_exception})"},{"line_number":575,"context_line":"        except ilo_error.IloError as ilo_exception:"},{"line_number":576,"context_line":"            LOG.exception(\u0027iLO is not able to clear iSCSI target information \u0027"},{"line_number":577,"context_line":"                          \u0027for node %(node)s. Error: %(error)s\u0027,"},{"line_number":578,"context_line":"                          {\u0027node\u0027: task.node.uuid, \u0027error\u0027: ilo_exception})"}],"source_content_type":"text/x-python","patch_set":20,"id":"5f93b717_a5dcd018","line":578,"range":{"start_line":570,"start_character":8,"end_line":578,"end_character":75},"in_reply_to":"5f93b717_2e73c582","updated":"2018-01-25 05:51:16.000000000","message":"Done","commit_id":"dbbcfac36d51b088551bcd6a5a1c234798f8dcb6"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":532,"context_line":"        volume \u003d volume_target.VolumeTarget.get_by_uuid(task.context,"},{"line_number":533,"context_line":"                                                        boot_volume)"},{"line_number":534,"context_line":"        properties \u003d volume.properties"},{"line_number":535,"context_line":"        username \u003d properties.get(\u0027auth_username\u0027, None)"},{"line_number":536,"context_line":"        password \u003d properties.get(\u0027auth_password\u0027, None)"},{"line_number":537,"context_line":"        portal \u003d properties[\u0027target_portal\u0027]"},{"line_number":538,"context_line":"        iqn \u003d properties[\u0027target_iqn\u0027]"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_b745e519","line":535,"range":{"start_line":535,"start_character":49,"end_line":535,"end_character":55},"updated":"2018-01-25 11:29:16.000000000","message":"nit: s/\u0027, None\u0027//\nNone is the default return value.","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":533,"context_line":"                                                        boot_volume)"},{"line_number":534,"context_line":"        properties \u003d volume.properties"},{"line_number":535,"context_line":"        username \u003d properties.get(\u0027auth_username\u0027, None)"},{"line_number":536,"context_line":"        password \u003d properties.get(\u0027auth_password\u0027, None)"},{"line_number":537,"context_line":"        portal \u003d properties[\u0027target_portal\u0027]"},{"line_number":538,"context_line":"        iqn \u003d properties[\u0027target_iqn\u0027]"},{"line_number":539,"context_line":"        lun \u003d properties[\u0027target_lun\u0027]"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_3751d5d9","line":536,"range":{"start_line":536,"start_character":49,"end_line":536,"end_character":55},"updated":"2018-01-25 11:29:16.000000000","message":"nit: s/\u0027, None\u0027//\nNone is the default return value.","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":541,"context_line":""},{"line_number":542,"context_line":"        ilo_object \u003d ilo_common.get_ilo_object(task.node)"},{"line_number":543,"context_line":"        try:"},{"line_number":544,"context_line":"            if username is None:"},{"line_number":545,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port)"},{"line_number":546,"context_line":"            else:"},{"line_number":547,"context_line":"                ilo_object.set_iscsi_info(iqn, lun, host, port, \u0027CHAP\u0027,"},{"line_number":548,"context_line":"                                          username, password)"},{"line_number":549,"context_line":"        except ilo_error.IloCommandNotSupportedInBiosError as ilo_exception:"},{"line_number":550,"context_line":"            operation \u003d (_(\"Setting of target IQN %(target_iqn)s for node \""},{"line_number":551,"context_line":"                           \"%(node)s\")"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_379b1573","line":548,"range":{"start_line":544,"start_character":12,"end_line":548,"end_character":61},"updated":"2018-01-25 11:29:16.000000000","message":"May be this can be:\nauth_method \u003d \u0027CHAP\u0027 if username is not None else None\nilo_object.set_iscsi_info(iqn, lun, host, port\u003dport,\n                          auth_method\u003dauth_method ,\n                          username\u003dusername,\n                          password\u003dpassword)","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"}],"ironic/tests/unit/drivers/modules/ilo/test_boot.py":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"4e850360bf76283f4a650d5f97b9f95db162ba26","unresolved":false,"context_lines":[{"line_number":1093,"context_line":"            get_boot_mode_mock.return_value \u003d \u0027bios\u0027"},{"line_number":1094,"context_line":"            self.assertRaisesRegex(exception.InstanceDeployFailure,"},{"line_number":1095,"context_line":"                                   \"virtual media can not boot volume \""},{"line_number":1096,"context_line":"                                   \"in bios mode.\","},{"line_number":1097,"context_line":"                                   task.driver.boot.prepare_instance, task)"},{"line_number":1098,"context_line":"            cleanup_vmedia_boot_mock.assert_called_once_with(task)"},{"line_number":1099,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_4a59be32","line":1096,"updated":"2017-12-08 12:45:48.000000000","message":"This is not case insensitive.\n\n    2017-12-08 10:09:01.567460 | ubuntu-xenial |     b\u0027AssertionError: \"virtual media can not boot volume in bios mode.\" does not match \"Virtual media can not boot volume in BIOS mode.\"\u0027\n2017-12-08 10:09:01.567480 | ubuntu-xenial |     b\u0027\u0027","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"ee8f79e9268b902a16c0a22f7015c6dafa9bb223","unresolved":false,"context_lines":[{"line_number":1093,"context_line":"            get_boot_mode_mock.return_value \u003d \u0027bios\u0027"},{"line_number":1094,"context_line":"            self.assertRaisesRegex(exception.InstanceDeployFailure,"},{"line_number":1095,"context_line":"                                   \"virtual media can not boot volume \""},{"line_number":1096,"context_line":"                                   \"in bios mode.\","},{"line_number":1097,"context_line":"                                   task.driver.boot.prepare_instance, task)"},{"line_number":1098,"context_line":"            cleanup_vmedia_boot_mock.assert_called_once_with(task)"},{"line_number":1099,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df87a7cf_572aa6da","line":1096,"in_reply_to":"df87a7cf_4a59be32","updated":"2017-12-11 09:16:25.000000000","message":"Done","commit_id":"02e1ec8d40df5b1d35826a7b6006fb891c77b408"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":709,"context_line":"            task.node.driver_info[\u0027ilo_deploy_iso\u0027] \u003d \u0027deploy-iso\u0027"},{"line_number":710,"context_line":"            storage_mock.return_value \u003d False"},{"line_number":711,"context_line":"            task.driver.boot.validate(task)"},{"line_number":712,"context_line":"            mock_val_driver_info.assert_called_once_with(task)"},{"line_number":713,"context_line":""},{"line_number":714,"context_line":"    @mock.patch.object(ilo_boot, \u0027prepare_node_for_deploy\u0027,"},{"line_number":715,"context_line":"                       spec_set\u003dTrue, autospec\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_1e186e1b","line":712,"range":{"start_line":712,"start_character":12,"end_line":712,"end_character":62},"updated":"2018-01-25 11:29:16.000000000","message":"mock _validate_instance_image_info to ensure that it is not called.","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":929,"context_line":"            is_iscsi_boot_mock, cleanup_iso_mock, cleanup_vmedia_mock):"},{"line_number":930,"context_line":"        with task_manager.acquire(self.context, self.node.uuid,"},{"line_number":931,"context_line":"                                  shared\u003dFalse) as task:"},{"line_number":932,"context_line":"            is_iscsi_boot_mock.return_value \u003d True"},{"line_number":933,"context_line":"            task.driver.boot.clean_up_instance(task)"},{"line_number":934,"context_line":"            cleanup_iso_mock.assert_called_once_with(task.node)"},{"line_number":935,"context_line":"            cleanup_vmedia_mock.assert_called_once_with(task)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_fed90222","line":932,"range":{"start_line":932,"start_character":12,"end_line":932,"end_character":50},"updated":"2018-01-25 11:29:16.000000000","message":"This should be False. In case of bios boot mode, iscsi_boot should not be true. Provisioning would have failed in prepare_instance() if iscsi boot request was made with boot mode bios.","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7d223d70f3b5aa0b05f72bcada296a02ca99fa8","unresolved":false,"context_lines":[{"line_number":929,"context_line":"            is_iscsi_boot_mock, cleanup_iso_mock, cleanup_vmedia_mock):"},{"line_number":930,"context_line":"        with task_manager.acquire(self.context, self.node.uuid,"},{"line_number":931,"context_line":"                                  shared\u003dFalse) as task:"},{"line_number":932,"context_line":"            is_iscsi_boot_mock.return_value \u003d True"},{"line_number":933,"context_line":"            task.driver.boot.clean_up_instance(task)"},{"line_number":934,"context_line":"            cleanup_iso_mock.assert_called_once_with(task.node)"},{"line_number":935,"context_line":"            cleanup_vmedia_mock.assert_called_once_with(task)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_ead05753","line":932,"range":{"start_line":932,"start_character":12,"end_line":932,"end_character":50},"in_reply_to":"5f93b717_fed90222","updated":"2018-01-25 13:49:15.000000000","message":"It almost looks like the test is kind of pointless as-is. :(","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":975,"context_line":"                                                         boot_devices.DISK,"},{"line_number":976,"context_line":"                                                         persistent\u003dTrue)"},{"line_number":977,"context_line":"            update_boot_mode_mock.assert_called_once_with(task)"},{"line_number":978,"context_line":"            update_secure_boot_mode_mock.assert_called_once_with(task, True)"},{"line_number":979,"context_line":""},{"line_number":980,"context_line":"    def test_prepare_instance_whole_disk_image_local(self):"},{"line_number":981,"context_line":"        self.node.instance_info \u003d {\u0027capabilities\u0027: \u0027{\"boot_option\": \"local\"}\u0027}"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_5ed7d6c0","line":978,"range":{"start_line":978,"start_character":12,"end_line":978,"end_character":76},"updated":"2018-01-25 11:29:16.000000000","message":"Also validate that the \u0027ilo_uefi_iscsi_boot\u0027 is not set in the node.driver_internal_info","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":1011,"context_line":"            configure_vmedia_mock.assert_called_once_with("},{"line_number":1012,"context_line":"                mock.ANY, task, \"12312642-09d3-467f-8e09-12385826a123\")"},{"line_number":1013,"context_line":"            update_boot_mode_mock.assert_called_once_with(task)"},{"line_number":1014,"context_line":"            update_secure_boot_mode_mock.assert_called_once_with(task, True)"},{"line_number":1015,"context_line":""},{"line_number":1016,"context_line":"    @mock.patch.object(ilo_common, \u0027cleanup_vmedia_boot\u0027, spec_set\u003dTrue,"},{"line_number":1017,"context_line":"                       autospec\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_3e03ea44","line":1014,"range":{"start_line":1014,"start_character":12,"end_line":1014,"end_character":76},"updated":"2018-01-25 11:29:16.000000000","message":"Also validate that the \u0027ilo_uefi_iscsi_boot\u0027 is not set in the node.driver_internal_info","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":1042,"context_line":"            set_boot_device_mock.assert_called_once_with("},{"line_number":1043,"context_line":"                task, boot_devices.ISCSIBOOT, persistent\u003dTrue)"},{"line_number":1044,"context_line":"            update_boot_mode_mock.assert_called_once_with(task)"},{"line_number":1045,"context_line":"            update_secure_boot_mode_mock.assert_called_once_with(task, True)"},{"line_number":1046,"context_line":""},{"line_number":1047,"context_line":"    @mock.patch.object(ilo_common, \u0027cleanup_vmedia_boot\u0027, spec_set\u003dTrue,"},{"line_number":1048,"context_line":"                       autospec\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_7e5bb286","line":1045,"range":{"start_line":1045,"start_character":12,"end_line":1045,"end_character":76},"updated":"2018-01-25 11:29:16.000000000","message":"Also validate that the driver_internal_info has \u0027ilo_uefi_iscsi_boot\u0027 set to True","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":1061,"context_line":"                                   \"Virtual media can not boot volume \""},{"line_number":1062,"context_line":"                                   \"in BIOS boot mode.\","},{"line_number":1063,"context_line":"                                   task.driver.boot.prepare_instance, task)"},{"line_number":1064,"context_line":"            cleanup_vmedia_boot_mock.assert_called_once_with(task)"},{"line_number":1065,"context_line":""},{"line_number":1066,"context_line":""},{"line_number":1067,"context_line":"class IloPXEBootTestCase(db_base.DbTestCase):"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_fe9102f3","line":1064,"range":{"start_line":1064,"start_character":0,"end_line":1064,"end_character":66},"updated":"2018-01-25 11:29:16.000000000","message":"Also validate that the \u0027ilo_uefi_iscsi_boot\u0027 is not set in the node.driver_internal_info","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":1166,"context_line":"            get_boot_mode_mock.return_value \u003d \u0027uefi\u0027"},{"line_number":1167,"context_line":"            update_boot_mode_mock.assert_called_once_with(task)"},{"line_number":1168,"context_line":"            update_secure_boot_mode_mock.assert_called_once_with(task, True)"},{"line_number":1169,"context_line":"            pxe_prepare_instance_mock.assert_called_once_with(mock.ANY, task)"},{"line_number":1170,"context_line":""},{"line_number":1171,"context_line":"    @mock.patch.object(deploy_utils, \u0027is_iscsi_boot\u0027,"},{"line_number":1172,"context_line":"                       spec_set\u003dTrue, autospec\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_1e562e2b","line":1169,"range":{"start_line":1169,"start_character":12,"end_line":1169,"end_character":77},"updated":"2018-01-25 11:29:16.000000000","message":"Also validate that the \u0027ilo_uefi_iscsi_boot\u0027 is not set in the node.driver_internal_info","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":1190,"context_line":"            get_boot_mode_mock.return_value \u003d \u0027bios\u0027"},{"line_number":1191,"context_line":"            update_boot_mode_mock.assert_called_once_with(task)"},{"line_number":1192,"context_line":"            update_secure_boot_mode_mock.assert_called_once_with(task, True)"},{"line_number":1193,"context_line":"            pxe_prepare_instance_mock.assert_called_once_with(mock.ANY, task)"},{"line_number":1194,"context_line":""},{"line_number":1195,"context_line":"    @mock.patch.object(deploy_utils, \u0027is_iscsi_boot\u0027,"},{"line_number":1196,"context_line":"                       spec_set\u003dTrue, autospec\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_be305a09","line":1193,"range":{"start_line":1193,"start_character":12,"end_line":1193,"end_character":77},"updated":"2018-01-25 11:29:16.000000000","message":"Also validate that the \u0027ilo_uefi_iscsi_boot\u0027 is not set in the node.driver_internal_info","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":1219,"context_line":"                task, boot_devices.ISCSIBOOT, persistent\u003dTrue)"},{"line_number":1220,"context_line":"            update_boot_mode_mock.assert_called_once_with(task)"},{"line_number":1221,"context_line":"            update_secure_boot_mode_mock.assert_called_once_with(task, True)"},{"line_number":1222,"context_line":"        self.assertIsNone(self.node.driver_internal_info.get("},{"line_number":1223,"context_line":"                          \u0027ilo_uefi_iscsi_boot\u0027))"},{"line_number":1224,"context_line":""},{"line_number":1225,"context_line":"    @mock.patch.object(deploy_utils, \u0027is_iscsi_boot\u0027,"},{"line_number":1226,"context_line":"                       spec_set\u003dTrue, autospec\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_b9fe3403","line":1223,"range":{"start_line":1222,"start_character":8,"end_line":1223,"end_character":49},"updated":"2018-01-25 11:29:16.000000000","message":"\u0027ilo_uefi_iscsi_boot\u0027 should be set to True in case of iscsi boot in UEFI boot mode, isn\u0027t it?","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":1230,"context_line":"                       autospec\u003dTrue)"},{"line_number":1231,"context_line":"    @mock.patch.object(manager_utils, \u0027node_power_action\u0027, spec_set\u003dTrue,"},{"line_number":1232,"context_line":"                       autospec\u003dTrue)"},{"line_number":1233,"context_line":"    def test_clean_up_instance_boot_from_volume(self, node_power_mock,"},{"line_number":1234,"context_line":"                                                update_secure_boot_mode_mock,"},{"line_number":1235,"context_line":"                                                clear_iscsi_boot_target_mock,"},{"line_number":1236,"context_line":"                                                is_iscsi_boot_mock):"}],"source_content_type":"text/x-python","patch_set":22,"id":"5f93b717_1932c8f2","line":1233,"range":{"start_line":1233,"start_character":8,"end_line":1233,"end_character":47},"updated":"2018-01-25 11:29:16.000000000","message":"Better to move this testcase @L1146 with other clean_up_instance testcases.","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"}],"releasenotes/notes/ilo-boot-from-iscsi-volume-41e8d510979c5037.yaml":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3a488556a06c7c4f9436233fd0e531b75a5d9016","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Enhanced boot interface \u0027IloPXEBoot\u0027 to support uefi boot from cinder"},{"line_number":4,"context_line":"    volume. "}],"source_content_type":"text/x-yaml","patch_set":3,"id":"ff346bd7_7e9c7abf","line":3,"range":{"start_line":3,"start_character":29,"end_line":3,"end_character":39},"updated":"2017-07-27 12:32:45.000000000","message":"As long as PXE is also used to boot the agent for cleaning, I guess this kind of makes sense...","commit_id":"6bc1f7d0a304873ad8f76ccd988e0786f4f80647"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3a488556a06c7c4f9436233fd0e531b75a5d9016","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Enhanced boot interface \u0027IloPXEBoot\u0027 to support uefi boot from cinder"},{"line_number":4,"context_line":"    volume. "}],"source_content_type":"text/x-yaml","patch_set":3,"id":"ff346bd7_5e7c1682","line":3,"range":{"start_line":3,"start_character":52,"end_line":3,"end_character":56},"updated":"2017-07-27 12:32:45.000000000","message":"what about bios boot?","commit_id":"6bc1f7d0a304873ad8f76ccd988e0786f4f80647"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3a488556a06c7c4f9436233fd0e531b75a5d9016","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Enhanced boot interface \u0027IloPXEBoot\u0027 to support uefi boot from cinder"},{"line_number":4,"context_line":"    volume. "}],"source_content_type":"text/x-yaml","patch_set":3,"id":"ff346bd7_7e77daa1","line":4,"range":{"start_line":4,"start_character":11,"end_line":4,"end_character":12},"updated":"2017-07-27 12:32:45.000000000","message":"Whitespace","commit_id":"6bc1f7d0a304873ad8f76ccd988e0786f4f80647"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c2faf54217cbb35bf68069167add1ce99f04d847","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"df87a7cf_d33974a3","line":5,"updated":"2017-12-15 00:32:59.000000000","message":"As part of the upgrade section, this should also note the new required version of proliantutils.","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"d64e731e73189903d878f94482114f7b52d93a8d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"7f96bb07_e93ca5c0","line":5,"in_reply_to":"df87a7cf_d33974a3","updated":"2018-01-15 10:20:04.000000000","message":"Done","commit_id":"9818cd278ca7f563833477455cf84fc4d27a6daa"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Enhanced boot interface \u0027IloPXEBoot\u0027 and \u0027IloVirtualMediaBoot\u0027 to support"},{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_f53a33e5","line":3,"range":{"start_line":3,"start_character":29,"end_line":3,"end_character":39},"updated":"2018-01-23 20:08:29.000000000","message":"This should be ``ilo-pxe``, not the class name since the readers are not developers.","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Enhanced boot interface \u0027IloPXEBoot\u0027 and \u0027IloVirtualMediaBoot\u0027 to support"},{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_95296f9c","line":3,"range":{"start_line":3,"start_character":46,"end_line":3,"end_character":65},"updated":"2018-01-23 20:08:29.000000000","message":"this should be``ilo-virtual-media`` since the audience is not a software developer, but a hardware operator that will have a list of boot interfaces.","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Enhanced boot interface \u0027IloPXEBoot\u0027 and \u0027IloVirtualMediaBoot\u0027 to support"},{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_9245f717","line":3,"range":{"start_line":3,"start_character":46,"end_line":3,"end_character":65},"in_reply_to":"7f96bb07_95296f9c","updated":"2018-01-24 10:59:25.000000000","message":"Done","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Enhanced boot interface \u0027IloPXEBoot\u0027 and \u0027IloVirtualMediaBoot\u0027 to support"},{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_325423ca","line":3,"range":{"start_line":3,"start_character":29,"end_line":3,"end_character":39},"in_reply_to":"7f96bb07_f53a33e5","updated":"2018-01-24 10:59:25.000000000","message":"Done","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"},{"line_number":7,"context_line":"    of proliantutils has changed for this. The \u0027proliantutils\u0027 needs to be"},{"line_number":8,"context_line":"    upgraded to new version \u00272.5.0\u0027 to use this firmware based booting from"},{"line_number":9,"context_line":"    iSCSI volume feature."}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_5002150b","line":7,"range":{"start_line":7,"start_character":62,"end_line":7,"end_character":63},"updated":"2018-01-23 20:08:29.000000000","message":"Please indicate that it is the proliantutils library","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"},{"line_number":7,"context_line":"    of proliantutils has changed for this. The \u0027proliantutils\u0027 needs to be"},{"line_number":8,"context_line":"    upgraded to new version \u00272.5.0\u0027 to use this firmware based booting from"},{"line_number":9,"context_line":"    iSCSI volume feature."}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_9502cf0a","line":7,"range":{"start_line":7,"start_character":36,"end_line":7,"end_character":41},"updated":"2018-01-23 20:08:29.000000000","message":"Please state what this is referring to, as the feature and upgrade text could be rendered into entirely different sections.","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"},{"line_number":7,"context_line":"    of proliantutils has changed for this. The \u0027proliantutils\u0027 needs to be"},{"line_number":8,"context_line":"    upgraded to new version \u00272.5.0\u0027 to use this firmware based booting from"},{"line_number":9,"context_line":"    iSCSI volume feature."}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_120807d7","line":7,"range":{"start_line":7,"start_character":62,"end_line":7,"end_character":63},"in_reply_to":"7f96bb07_5002150b","updated":"2018-01-24 10:59:25.000000000","message":"Done","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"},{"line_number":7,"context_line":"    of proliantutils has changed for this. The \u0027proliantutils\u0027 needs to be"},{"line_number":8,"context_line":"    upgraded to new version \u00272.5.0\u0027 to use this firmware based booting from"},{"line_number":9,"context_line":"    iSCSI volume feature."}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_b20ef3e2","line":7,"range":{"start_line":7,"start_character":36,"end_line":7,"end_character":41},"in_reply_to":"7f96bb07_9502cf0a","updated":"2018-01-24 10:59:25.000000000","message":"Done","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6f5cc71d2a299e1b1f49985ffbc9db8b889b195b","unresolved":false,"context_lines":[{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"},{"line_number":7,"context_line":"    of proliantutils has changed for this. The \u0027proliantutils\u0027 needs to be"},{"line_number":8,"context_line":"    upgraded to new version \u00272.5.0\u0027 to use this firmware based booting from"},{"line_number":9,"context_line":"    iSCSI volume feature."}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_d03625e8","line":9,"range":{"start_line":8,"start_character":36,"end_line":9,"end_character":25},"updated":"2018-01-23 20:08:29.000000000","message":"If you state what you are referring to upfront in the upgrade section on line 6 or 7, then this only needs to be \"to leverage this feature.\"","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"c3e62867589ef0483e048284d8764e7a56a7f4e0","unresolved":false,"context_lines":[{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_boot_info`` interfaces"},{"line_number":7,"context_line":"    of proliantutils has changed for this. The \u0027proliantutils\u0027 needs to be"},{"line_number":8,"context_line":"    upgraded to new version \u00272.5.0\u0027 to use this firmware based booting from"},{"line_number":9,"context_line":"    iSCSI volume feature."}],"source_content_type":"text/x-yaml","patch_set":16,"id":"7f96bb07_72f86bc3","line":9,"range":{"start_line":8,"start_character":36,"end_line":9,"end_character":25},"in_reply_to":"7f96bb07_d03625e8","updated":"2018-01-24 10:59:25.000000000","message":"Done","commit_id":"095e5d137510f936052a62c27cbeb19da4be05b9"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9886d7e542f2d89d998f51429ccd8a6380054047","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Enhanced boot interface \u0027ilo-pxe\u0027 and \u0027ilo-virtual-media\u0027 to support"},{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_info`` interfaces"},{"line_number":7,"context_line":"    of \u0027proliantutils\u0027 library has been enhanced to support booting from"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"5f93b717_b9d1545a","line":4,"range":{"start_line":4,"start_character":32,"end_line":4,"end_character":44},"updated":"2018-01-25 11:29:16.000000000","message":"s/ \u0027iSCSI volume\u0027 / \u0027iSCSI volume in UEFI boot mode\u0027/","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7d223d70f3b5aa0b05f72bcada296a02ca99fa8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Enhanced boot interface \u0027ilo-pxe\u0027 and \u0027ilo-virtual-media\u0027 to support"},{"line_number":4,"context_line":"    firmware based booting from iSCSI volume."},{"line_number":5,"context_line":"upgrade:"},{"line_number":6,"context_line":"  - The ``update_persistent_boot`` and ``[un]set_iscsi_info`` interfaces"},{"line_number":7,"context_line":"    of \u0027proliantutils\u0027 library has been enhanced to support booting from"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"5f93b717_6abc4705","line":4,"range":{"start_line":4,"start_character":32,"end_line":4,"end_character":44},"in_reply_to":"5f93b717_b9d1545a","updated":"2018-01-25 13:49:15.000000000","message":"++++","commit_id":"87636372559fa6d83bb51eaaae075ac5e5575c17"}]}
