)]}'
{"specs/approved/secure-baremetal-deploy-in-uefi.rst":[{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"90ae975a8ff20d80160667c85a2b851912524899","unresolved":false,"context_lines":[{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Ironic performs the barematal provisioning using BIOS or UEFI boot mode. It"},{"line_number":22,"context_line":"does not support provisioning in UEFI secure boot environment. Ironic does"},{"line_number":23,"context_line":"support bringing up the instance in UEFI secure boot mode."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"For end-to-end secure deploy, Ironic should support signed deploy ramdisk. It"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_bc143e44","line":22,"updated":"2015-10-20 00:12:01.000000000","message":"nit: these three sentences could be worded more clearly, eg, \n\n  Ironic can use either BIOS or UEFI mode when booting servers,\n  both for the provisioning (IPA) environment and for the tenant instance.\n  However, UEFI secure boot mode is only supported for the tenant instance.\n\n  This work proposes to add UEFI secure boot mode support for the provisioning\n  (IPA) environment as well.","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"09c8cc74eb0bbb9781bf068451aebef524488e79","unresolved":false,"context_lines":[{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Ironic performs the barematal provisioning using BIOS or UEFI boot mode. It"},{"line_number":22,"context_line":"does not support provisioning in UEFI secure boot environment. Ironic does"},{"line_number":23,"context_line":"support bringing up the instance in UEFI secure boot mode."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"For end-to-end secure deploy, Ironic should support signed deploy ramdisk. It"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_62b03844","line":22,"in_reply_to":"3a29b11f_bc143e44","updated":"2015-10-22 11:00:10.000000000","message":"Done","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"90ae975a8ff20d80160667c85a2b851912524899","unresolved":false,"context_lines":[{"line_number":26,"context_line":"should bring up the deploy ramdisk in UEFI secure boot environment and complete"},{"line_number":27,"context_line":"the provisioning. The provisioned instance should then run under UEFI secure"},{"line_number":28,"context_line":"boot environment."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_dc0fba2c","line":29,"updated":"2015-10-20 00:12:01.000000000","message":"Does this change apply to any drivers besides iLO? It\u0027s worth calling that out here, I think.","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"09c8cc74eb0bbb9781bf068451aebef524488e79","unresolved":false,"context_lines":[{"line_number":26,"context_line":"should bring up the deploy ramdisk in UEFI secure boot environment and complete"},{"line_number":27,"context_line":"the provisioning. The provisioned instance should then run under UEFI secure"},{"line_number":28,"context_line":"boot environment."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_a25890fb","line":29,"in_reply_to":"3a29b11f_dc0fba2c","updated":"2015-10-22 11:00:10.000000000","message":"Done","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"90ae975a8ff20d80160667c85a2b851912524899","unresolved":false,"context_lines":[{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Operator can request UEFI secure boot instance by setting the capability"},{"line_number":34,"context_line":"``secure_boot\u003dTrue`` in the flavor. When such a request is received Ironic"},{"line_number":35,"context_line":"should check new configuration variable ``force_deploy_in_secure_boot``."},{"line_number":36,"context_line":"If this variable is set to ``True``, driver should change the boot mode of the"},{"line_number":37,"context_line":"baremetal to UEFI secure boot and initiate provisioning."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_7c1ea664","line":34,"updated":"2015-10-20 00:12:01.000000000","message":"Flavor is a Nova construct; how exactly is this passed to ironic?\n\n(I know the answer, but for the sake of clarity, please indicate it here in terms of ironic\u0027s API)","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"09c8cc74eb0bbb9781bf068451aebef524488e79","unresolved":false,"context_lines":[{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Operator can request UEFI secure boot instance by setting the capability"},{"line_number":34,"context_line":"``secure_boot\u003dTrue`` in the flavor. When such a request is received Ironic"},{"line_number":35,"context_line":"should check new configuration variable ``force_deploy_in_secure_boot``."},{"line_number":36,"context_line":"If this variable is set to ``True``, driver should change the boot mode of the"},{"line_number":37,"context_line":"baremetal to UEFI secure boot and initiate provisioning."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_a29f3002","line":34,"in_reply_to":"3a29b11f_7c1ea664","updated":"2015-10-22 11:00:10.000000000","message":"Done","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"90ae975a8ff20d80160667c85a2b851912524899","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Operator can request UEFI secure boot instance by setting the capability"},{"line_number":34,"context_line":"``secure_boot\u003dTrue`` in the flavor. When such a request is received Ironic"},{"line_number":35,"context_line":"should check new configuration variable ``force_deploy_in_secure_boot``."},{"line_number":36,"context_line":"If this variable is set to ``True``, driver should change the boot mode of the"},{"line_number":37,"context_line":"baremetal to UEFI secure boot and initiate provisioning."},{"line_number":38,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_9c19427c","line":35,"updated":"2015-10-20 00:12:01.000000000","message":"Using a CONF option here will require this to be enabled across the\nentire Ironic cluster -- at least for that driver.\n\nIs that the intent?\n\nAlso, I\u0027d recommend a slight change to the option name - it\u0027s easy to read \"in_secure_boot\" as \"insecure_boot\", which means the opposite :)\n\nperhaps \"require_secure_deploy_if_secure_boot\" or \"secure_boot_and_deploy\"\n\nOr perhaps just \"secure_deploy_mode\" is more clear?","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"09c8cc74eb0bbb9781bf068451aebef524488e79","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Operator can request UEFI secure boot instance by setting the capability"},{"line_number":34,"context_line":"``secure_boot\u003dTrue`` in the flavor. When such a request is received Ironic"},{"line_number":35,"context_line":"should check new configuration variable ``force_deploy_in_secure_boot``."},{"line_number":36,"context_line":"If this variable is set to ``True``, driver should change the boot mode of the"},{"line_number":37,"context_line":"baremetal to UEFI secure boot and initiate provisioning."},{"line_number":38,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_676771e9","line":35,"in_reply_to":"3a29b11f_9c19427c","updated":"2015-10-22 11:00:10.000000000","message":"Yes. Other option is to add property into deploy image. But then it would put dependency on glance and solution will not work in standalone Ironic.\n\nWill change the config variable name to \"secure_deploy_mode\".","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"90ae975a8ff20d80160667c85a2b851912524899","unresolved":false,"context_lines":[{"line_number":37,"context_line":"baremetal to UEFI secure boot and initiate provisioning."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"This newly introduced config variable would be checked only when the deploy"},{"line_number":40,"context_line":"request is with the capability ``secure_boot\u003dTrue``."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Default value of configuration variable ``force_deploy_in_secure_boot`` would"},{"line_number":43,"context_line":"be ``False``."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_3c27ceb7","line":40,"updated":"2015-10-20 00:12:01.000000000","message":"Hmm... I don\u0027t like this.\n\nIf the option is set to True but the request does *not* specify this capability,\nwhat is the behavior going to be? That seems like it will confuse operators.\n\nI suggest that, if this option is set to True, requests to boot in a non-secure mode are rejected.","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"09c8cc74eb0bbb9781bf068451aebef524488e79","unresolved":false,"context_lines":[{"line_number":37,"context_line":"baremetal to UEFI secure boot and initiate provisioning."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"This newly introduced config variable would be checked only when the deploy"},{"line_number":40,"context_line":"request is with the capability ``secure_boot\u003dTrue``."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Default value of configuration variable ``force_deploy_in_secure_boot`` would"},{"line_number":43,"context_line":"be ``False``."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_68b01944","line":40,"in_reply_to":"3a29b11f_3c27ceb7","updated":"2015-10-22 11:00:10.000000000","message":"If we reject the non-secure boot mode requests than operator cannot provision the nodes for plain UEFI as well.  We can allow deploy request with \"boot_mode\":\"uefi\" and provision it using UEFI boot mode.\n\nHowever, we should reject the deploy request in BIOS boot mode when \n\"boot_mode\":\"bios\". \nChanging the boot mode to BIOS will impact subsequent deploy in secure_deploy_mode. One cannot change the boot mode to UEFI and enable secure boot with a single reboot.\n\nWhat do you think?","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"90ae975a8ff20d80160667c85a2b851912524899","unresolved":false,"context_lines":[{"line_number":91,"context_line":"Driver API impact"},{"line_number":92,"context_line":"-----------------"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"None"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Nova driver impact"},{"line_number":97,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_5c2aca7f","line":94,"updated":"2015-10-20 00:12:01.000000000","message":"will you introduce a new error message to indicate that a deploy failed because the deploy ramdisk wasn\u0027t signed // couldn\u0027t be started in secure-boot-mode?","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"09c8cc74eb0bbb9781bf068451aebef524488e79","unresolved":false,"context_lines":[{"line_number":91,"context_line":"Driver API impact"},{"line_number":92,"context_line":"-----------------"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"None"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Nova driver impact"},{"line_number":97,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_67253107","line":94,"in_reply_to":"3a29b11f_5c2aca7f","updated":"2015-10-22 11:00:10.000000000","message":"It is not possible to validate if the deploy ramdisk is signed or not, but would throw the deploy failue exception if the instance requested boot mode is BIOS.","commit_id":"c1875f02a54d5f4ed04b4f1ee5d4dc4b26a146df"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"17a826da92efb35f58f721ad28f814f0015d7eb5","unresolved":false,"context_lines":[{"line_number":42,"context_line":"calls API ``PUT /v1/nodes/(node_ident)/states/provision``::"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"   nova flavor-key secure_deploy set capabilities:secure_boot\u003d\"true\""},{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode``.  If this variable is set to ``True``, driver should"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_f602046f","line":45,"updated":"2015-11-24 16:56:49.000000000","message":"Up to here, nothing is new, right? The \u0027secure_boot\u0027 capability /workflow you describe already exists [1].\n\n[1] http://docs.openstack.org/developer/ironic/drivers/ilo.html#uefi-secure-boot-support","commit_id":"7389af016e112477be9d72fe7a23c5ce01ae6224"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"72931c95635f72b388571a4ccc6b2cab096402bf","unresolved":false,"context_lines":[{"line_number":42,"context_line":"calls API ``PUT /v1/nodes/(node_ident)/states/provision``::"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"   nova flavor-key secure_deploy set capabilities:secure_boot\u003d\"true\""},{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode``.  If this variable is set to ``True``, driver should"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_ad8d0a7d","line":45,"in_reply_to":"9a8ffd7b_f602046f","updated":"2015-11-24 17:21:15.000000000","message":"Yes. No change in how request is made.\nOnly upon receiving request, if the new conf variable is enabled bare metal would boot in UEFI secure boot mode and continue with the deploy process.","commit_id":"7389af016e112477be9d72fe7a23c5ce01ae6224"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"17a826da92efb35f58f721ad28f814f0015d7eb5","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode``.  If this variable is set to ``True``, driver should"},{"line_number":49,"context_line":"change the boot mode of the baremetal to UEFI secure boot and initiate"},{"line_number":50,"context_line":"provisioning."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_fb10adaa","line":48,"updated":"2015-11-24 16:56:49.000000000","message":"Which group will this config be in? [default], [deploy] or [ilo] or ?","commit_id":"7389af016e112477be9d72fe7a23c5ce01ae6224"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"72931c95635f72b388571a4ccc6b2cab096402bf","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode``.  If this variable is set to ``True``, driver should"},{"line_number":49,"context_line":"change the boot mode of the baremetal to UEFI secure boot and initiate"},{"line_number":50,"context_line":"provisioning."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_ade42a3b","line":48,"in_reply_to":"9a8ffd7b_fb10adaa","updated":"2015-11-24 17:21:15.000000000","message":"It would be under \u0027ilo\u0027. Will update the spec.","commit_id":"7389af016e112477be9d72fe7a23c5ce01ae6224"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"17a826da92efb35f58f721ad28f814f0015d7eb5","unresolved":false,"context_lines":[{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode``.  If this variable is set to ``True``, driver should"},{"line_number":49,"context_line":"change the boot mode of the baremetal to UEFI secure boot and initiate"},{"line_number":50,"context_line":"provisioning."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"This newly introduced config variable would be checked only when the deploy"},{"line_number":53,"context_line":"request is with the capability ``secure_boot\u003dTrue``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_367e4ce5","line":50,"updated":"2015-11-24 16:56:49.000000000","message":"I\u0027m confused here. How is the user going to distinguish what they were getting before when they set the \u0027secure_boot\u0027 capability, vs what will happen with this change? They didn\u0027t do anything different from the API part.","commit_id":"7389af016e112477be9d72fe7a23c5ce01ae6224"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"72931c95635f72b388571a4ccc6b2cab096402bf","unresolved":false,"context_lines":[{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode``.  If this variable is set to ``True``, driver should"},{"line_number":49,"context_line":"change the boot mode of the baremetal to UEFI secure boot and initiate"},{"line_number":50,"context_line":"provisioning."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"This newly introduced config variable would be checked only when the deploy"},{"line_number":53,"context_line":"request is with the capability ``secure_boot\u003dTrue``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_4d881e23","line":50,"in_reply_to":"9a8ffd7b_367e4ce5","updated":"2015-11-24 17:21:15.000000000","message":"The end-user would not know. This feature is more for the cloud operator who wants to use UEFI secure boot all throughout when deploy request if for an UEFI secure boot instance.","commit_id":"7389af016e112477be9d72fe7a23c5ce01ae6224"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c449719c07806a7781bf038d68ca2747b3702bf8","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode`` under ``[ilo]`` group. If this variable is set to"},{"line_number":49,"context_line":"``True``, driver should change the boot mode of the baremetal to UEFI secure"},{"line_number":50,"context_line":"boot and initiate provisioning."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a8ffd7b_c6927f9f","line":48,"updated":"2015-11-25 13:20:19.000000000","message":"are you proposing a generic procedure or ilo-specific one? it sounded pretty generic until you mentioned ilo here","commit_id":"13640efa7d74d3970ca08263fa75ed3434ea5d72"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"afda82006e18fac929734104149c61faccb5ea06","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode`` under ``[ilo]`` group. If this variable is set to"},{"line_number":49,"context_line":"``True``, driver should change the boot mode of the baremetal to UEFI secure"},{"line_number":50,"context_line":"boot and initiate provisioning."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a8ffd7b_98912255","line":48,"in_reply_to":"9a8ffd7b_93e82a7e","updated":"2015-11-25 16:48:58.000000000","message":"Sure. Done.","commit_id":"13640efa7d74d3970ca08263fa75ed3434ea5d72"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fc3ae44ee897884b04774e535099957a143b800c","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode`` under ``[ilo]`` group. If this variable is set to"},{"line_number":49,"context_line":"``True``, driver should change the boot mode of the baremetal to UEFI secure"},{"line_number":50,"context_line":"boot and initiate provisioning."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a8ffd7b_93e82a7e","line":48,"in_reply_to":"9a8ffd7b_9502570a","updated":"2015-11-25 15:54:45.000000000","message":"if you define a generic interfaces, they might eventually support it. So I suggest moving this option under [agent]","commit_id":"13640efa7d74d3970ca08263fa75ed3434ea5d72"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"fee67b51dd0fd9d4da6fd3cb0f349e3dbc00493e","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode`` under ``[ilo]`` group. If this variable is set to"},{"line_number":49,"context_line":"``True``, driver should change the boot mode of the baremetal to UEFI secure"},{"line_number":50,"context_line":"boot and initiate provisioning."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a8ffd7b_9502570a","line":48,"in_reply_to":"9a8ffd7b_c6927f9f","updated":"2015-11-25 14:36:51.000000000","message":"It could have been generic, but no other driver supports uefi secure boot .","commit_id":"13640efa7d74d3970ca08263fa75ed3434ea5d72"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"44210cd4cdd26b2ec8673de71b72c68489126939","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Baremetal provisioning using UEFI secure boot"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa69d971_10459344","line":7,"range":{"start_line":7,"start_character":45,"end_line":7,"end_character":50},"updated":"2016-01-06 16:39:49.000000000","message":"excess \u003d\u003d\u003d\u003d\u003d","commit_id":"31a5fdd48f8c3bea81e0552312c7f17d28929e39"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"11279520796bb24b89969b76b89b98145e799c05","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Baremetal provisioning using UEFI secure boot"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa69d971_0129aa89","line":7,"range":{"start_line":7,"start_character":45,"end_line":7,"end_character":50},"in_reply_to":"fa69d971_10459344","updated":"2016-01-07 05:27:46.000000000","message":"Done","commit_id":"31a5fdd48f8c3bea81e0552312c7f17d28929e39"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"44210cd4cdd26b2ec8673de71b72c68489126939","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode`` under ``[agent]`` group. If this variable is set to"},{"line_number":49,"context_line":"``True``, driver should change the boot mode of the baremetal to UEFI secure"},{"line_number":50,"context_line":"boot and initiate provisioning."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa69d971_90bd03da","line":48,"range":{"start_line":48,"start_character":29,"end_line":48,"end_character":40},"updated":"2016-01-06 16:39:49.000000000","message":"I know this has come up before, but I\u0027m honestly not sure that agent is the best place to put this setting, since the intent is to support the behavior with even the PXE drivers.","commit_id":"31a5fdd48f8c3bea81e0552312c7f17d28929e39"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"11279520796bb24b89969b76b89b98145e799c05","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   nova boot --flavor secure_deploy --image test-image instance-1"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"When request is received Ironic should check new configuration variable"},{"line_number":48,"context_line":"``secure_deploy_mode`` under ``[agent]`` group. If this variable is set to"},{"line_number":49,"context_line":"``True``, driver should change the boot mode of the baremetal to UEFI secure"},{"line_number":50,"context_line":"boot and initiate provisioning."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa69d971_21538e18","line":48,"range":{"start_line":48,"start_character":29,"end_line":48,"end_character":40},"in_reply_to":"fa69d971_90bd03da","updated":"2016-01-07 05:27:46.000000000","message":"I agree. Have proposed it under \u0027deploy\u0027 group. I could not find any other appropriate group. What do you think\u003e","commit_id":"31a5fdd48f8c3bea81e0552312c7f17d28929e39"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9f5364ce377696c0b79dc10baa1d04bee3c160aa","unresolved":false,"context_lines":[{"line_number":53,"context_line":"request is with the capability ``secure_boot\u003dTrue``."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Default value of configuration variable ``secure_deploy_mode`` under"},{"line_number":56,"context_line":"``[deploy]`` group would be ``False``."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"The operator needs to use signed deploy kernel (signed deploy iso in case of"},{"line_number":59,"context_line":"virtual media based drivers) when configuration variable"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_011717a4","line":56,"updated":"2016-04-04 16:13:53.000000000","message":"what\u0027s the reason to add such option? looks like an overcomplication.","commit_id":"bab4fec8dd70b713e15dd284ed0fef443b7281d7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"bd8886cf4fda8a8fe74a263aaa22eb4b4ccc2c1b","unresolved":false,"context_lines":[{"line_number":53,"context_line":"request is with the capability ``secure_boot\u003dTrue``."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Default value of configuration variable ``secure_deploy_mode`` under"},{"line_number":56,"context_line":"``[deploy]`` group would be ``False``."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"The operator needs to use signed deploy kernel (signed deploy iso in case of"},{"line_number":59,"context_line":"virtual media based drivers) when configuration variable"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_f4c72843","line":56,"in_reply_to":"9a061dce_011717a4","updated":"2016-04-05 04:03:56.000000000","message":"Since this is a deployment option it cannot be part of capabilities. We already have \u0027secure_boot\u0027 as a capability that is used for bringing up the instance in secure boot mode.","commit_id":"bab4fec8dd70b713e15dd284ed0fef443b7281d7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"31ba0efc85581d1c8dc02da817be668e6c333e21","unresolved":false,"context_lines":[{"line_number":53,"context_line":"request is with the capability ``secure_boot\u003dTrue``."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Default value of configuration variable ``secure_deploy_mode`` under"},{"line_number":56,"context_line":"``[deploy]`` group would be ``False``."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"The operator needs to use signed deploy kernel (signed deploy iso in case of"},{"line_number":59,"context_line":"virtual media based drivers) when configuration variable"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_59aac371","line":56,"in_reply_to":"9a061dce_87c79b11","updated":"2016-04-15 10:13:56.000000000","message":"Secure boot can be enabled and disabled. \n\nTo enable secure boot-\u003e Node needs to be in UEFI boot mode. \u0027Turn on secure boot\u0027 and reset the server. Server will boot in UEFI secure boot mode\nTo disable secure boot-\u003e \u0027turn Off secure boot\u0027 and reset the server. Server will boot in UEFI boot mode.\n\nIf we turn this feature is not configurable, then the nodes associated with this conductor cannot be used for deploying in BIOS boot mode. They can either be deployed in UEFI or UEFI secure boot mode. This is the reason to make it configurable.","commit_id":"bab4fec8dd70b713e15dd284ed0fef443b7281d7"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e40310907c72230bb6a95512122481edc56ee483","unresolved":false,"context_lines":[{"line_number":53,"context_line":"request is with the capability ``secure_boot\u003dTrue``."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Default value of configuration variable ``secure_deploy_mode`` under"},{"line_number":56,"context_line":"``[deploy]`` group would be ``False``."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"The operator needs to use signed deploy kernel (signed deploy iso in case of"},{"line_number":59,"context_line":"virtual media based drivers) when configuration variable"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_87c79b11","line":56,"in_reply_to":"9a061dce_f4c72843","updated":"2016-04-05 07:53:55.000000000","message":"I get it, but that does not explain \"why\". I\u0027m not fond configuration options to enable/disable features. We did it only twice (IIRC) and for serious reasons. Do we have an option to disable secure_boot, for example?","commit_id":"bab4fec8dd70b713e15dd284ed0fef443b7281d7"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9f5364ce377696c0b79dc10baa1d04bee3c160aa","unresolved":false,"context_lines":[{"line_number":153,"context_line":"  deploy iso image needs to be used for virtual media based deploy."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Deployers needs to update new configuration variable"},{"line_number":156,"context_line":"  ``secure_deploy_mode`` to enable the feature."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Developer impact"},{"line_number":159,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_610c1395","line":156,"updated":"2016-04-04 16:13:53.000000000","message":"I\u0027m not sure why we need this.","commit_id":"bab4fec8dd70b713e15dd284ed0fef443b7281d7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"bd8886cf4fda8a8fe74a263aaa22eb4b4ccc2c1b","unresolved":false,"context_lines":[{"line_number":153,"context_line":"  deploy iso image needs to be used for virtual media based deploy."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Deployers needs to update new configuration variable"},{"line_number":156,"context_line":"  ``secure_deploy_mode`` to enable the feature."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Developer impact"},{"line_number":159,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_94dd0c17","line":156,"in_reply_to":"9a061dce_610c1395","updated":"2016-04-05 04:03:56.000000000","message":"Same as above.","commit_id":"bab4fec8dd70b713e15dd284ed0fef443b7281d7"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"4699b652dc022eb4fa2d340dbe8787b67c8bc056","unresolved":false,"context_lines":[{"line_number":31,"context_line":"boot environment."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"This change can be applied to any driver that supports UEFI secure boot."},{"line_number":34,"context_line":"Currently only iLO Ironic drivers support UEFI secure boot mode."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Proposed change"},{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9abb7d3a_10d7d44b","line":34,"updated":"2016-05-31 23:42:17.000000000","message":"What is the plan for testing this? We don\u0027t have DIB images in the gate at all today. Will iLo 3rd party CI run a job with this enabled?\n\nPlease address testing this in the spec work items. Thanks!","commit_id":"b10b388d8c0dbaab9d16776137f3f2bc6ccb3e86"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f9a9c5f16cc1b58b0bafc2275255bbe16bc486da","unresolved":false,"context_lines":[{"line_number":31,"context_line":"boot environment."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"This change can be applied to any driver that supports UEFI secure boot."},{"line_number":34,"context_line":"Currently only iLO Ironic drivers support UEFI secure boot mode."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Proposed change"},{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9abb7d3a_5c9df308","line":34,"in_reply_to":"9abb7d3a_10d7d44b","updated":"2016-06-01 03:39:01.000000000","message":"Yes. It would be tested with iLO 3rd party CI. Have updated this in \u0027Testing\u0027 section","commit_id":"b10b388d8c0dbaab9d16776137f3f2bc6ccb3e86"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e61ec464951edddea984a8e8fb6e0f2c19a7fe1d","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Proposed change"},{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Add new boolean Nova capability ``secure_deploy``. If this capability being"},{"line_number":40,"context_line":"set to ``true`` then driver should change the boot mode of the baremetal to"},{"line_number":41,"context_line":"UEFI secure boot and initiate provisioning. Upon provisioning instance would"},{"line_number":42,"context_line":"also be booted in UEFI secure boot mode."}],"source_content_type":"text/x-rst","patch_set":8,"id":"bab6814e_6af6f48f","line":39,"updated":"2016-05-23 14:00:49.000000000","message":"nit: If ... is set","commit_id":"b10b388d8c0dbaab9d16776137f3f2bc6ccb3e86"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f9a9c5f16cc1b58b0bafc2275255bbe16bc486da","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Proposed change"},{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Add new boolean Nova capability ``secure_deploy``. If this capability being"},{"line_number":40,"context_line":"set to ``true`` then driver should change the boot mode of the baremetal to"},{"line_number":41,"context_line":"UEFI secure boot and initiate provisioning. Upon provisioning instance would"},{"line_number":42,"context_line":"also be booted in UEFI secure boot mode."}],"source_content_type":"text/x-rst","patch_set":8,"id":"9abb7d3a_fcc2e7e7","line":39,"in_reply_to":"bab6814e_6af6f48f","updated":"2016-06-01 03:39:01.000000000","message":"Done","commit_id":"b10b388d8c0dbaab9d16776137f3f2bc6ccb3e86"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"530c28ab98ab66627f3519d2cccb4442be6adb49","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Add new boolean Nova capability ``secure_deploy``. If this capability is set"},{"line_number":40,"context_line":"to ``true`` then driver should change the boot mode of the baremetal to UEFI"},{"line_number":41,"context_line":"secure boot and initiate provisioning. Upon provisioning instance would also"},{"line_number":42,"context_line":"be booted in UEFI secure boot mode."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Operator can request provisioning in UEFI secure boot by setting the capability"}],"source_content_type":"text/x-rst","patch_set":9,"id":"dada55a8_8504717e","line":41,"updated":"2016-07-25 17:55:08.000000000","message":"Hm, why does nova dictate if we use secure boot for the deploy ramdisk? Isn\u0027t this related only to ironic?\n\nOr does secure_deploy also mean the user image is booted with secure_boot?","commit_id":"ee33cb9b04c95d4ad1d130ea6de917c17daf6e35"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e5c0b1674ea8364b80e11b7fb061d8a20aff9f81","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Add new boolean Nova capability ``secure_deploy``. If this capability is set"},{"line_number":40,"context_line":"to ``true`` then driver should change the boot mode of the baremetal to UEFI"},{"line_number":41,"context_line":"secure boot and initiate provisioning. Upon provisioning instance would also"},{"line_number":42,"context_line":"be booted in UEFI secure boot mode."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Operator can request provisioning in UEFI secure boot by setting the capability"}],"source_content_type":"text/x-rst","patch_set":9,"id":"dada55a8_edc25d52","line":41,"in_reply_to":"dada55a8_8504717e","updated":"2016-07-26 04:38:17.000000000","message":"Yes, secure_deploy requires both deploy ramdisk and user image to be signed. Provisioning happens in UEFI secure boot mode and user image boots in secure boot mode.","commit_id":"ee33cb9b04c95d4ad1d130ea6de917c17daf6e35"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"0253e36742c19a32b53dd5df6dc316a5064fa83c","unresolved":false,"context_lines":[{"line_number":39,"context_line":"Add new boolean Nova capability ``secure_deploy``. If this capability is set"},{"line_number":40,"context_line":"to ``true`` then driver should change the boot mode of the baremetal to UEFI"},{"line_number":41,"context_line":"secure boot and initiate provisioning. Upon provisioning instance would also"},{"line_number":42,"context_line":"be booted in UEFI secure boot mode."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Operator can request provisioning in UEFI secure boot by setting the capability"},{"line_number":45,"context_line":"``secure_deploy\u003dtrue`` in the Nova flavor. Nova Ironic virt driver passes the"}],"source_content_type":"text/x-rst","patch_set":9,"id":"dada55a8_809bbfc8","line":42,"updated":"2016-07-25 18:07:15.000000000","message":"instance support for UEFI secure boot mode is already implemented, and is determined by two things today, as I understand it.\n\n- Ironic node.properties[\u0027capabilities\u0027][\u0027secure_boot\u0027] \u003d True\n- Nova flavor[\u0027extra_specs\u0027][\u0027capabilities:secure_boot\u0027] \u003d True\n\nThis proposal adds another key to the Nova flavor, namely \"secure_deploy\". \n\nIs there a use case for doing either one (secure deploy or secure boot) but not both?\n\nIf so, please outline that use case here.\n\nIf not, then why not merely add this capability to Ironic, without exposing any changes to Nova?","commit_id":"ee33cb9b04c95d4ad1d130ea6de917c17daf6e35"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"e5c0b1674ea8364b80e11b7fb061d8a20aff9f81","unresolved":false,"context_lines":[{"line_number":39,"context_line":"Add new boolean Nova capability ``secure_deploy``. If this capability is set"},{"line_number":40,"context_line":"to ``true`` then driver should change the boot mode of the baremetal to UEFI"},{"line_number":41,"context_line":"secure boot and initiate provisioning. Upon provisioning instance would also"},{"line_number":42,"context_line":"be booted in UEFI secure boot mode."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Operator can request provisioning in UEFI secure boot by setting the capability"},{"line_number":45,"context_line":"``secure_deploy\u003dtrue`` in the Nova flavor. Nova Ironic virt driver passes the"}],"source_content_type":"text/x-rst","patch_set":9,"id":"dada55a8_0d1ed1ba","line":42,"in_reply_to":"dada55a8_809bbfc8","updated":"2016-07-26 04:38:17.000000000","message":"It is possible to enhance capability secure_boot to support deploy in uefi-secure-boot mode. But this would cause a backward compatibility issue in two ways:-\n1. So far, user could have used unsigned deploy image to provision node in secure boot mode. Only instance image was required to be signed.\n\n2. For the node to provision in uefi-secure-boot mode, node always needs to be at least in \u0027uefi\u0027 boot mode. Node cannot be set into secure boot if it is in bios boot mode. \nThe change from bios boot mode to uefi-secure-boot mode needs 2 reboots. viz. bios-to-uefi and then uefi to uefi-secure-boot mode. We cannot have 2 node restarts during provisioning.\nIn current implementation of uefi-secure-boot using \u0027secure_boot\u0027 capability, we disable secure boot during tear_down() when node is powered off. \nWhen node powers up for the provisioning, it boots into \u0027uefi\u0027 boot mode. When instance image boots up, it can change boot mode to \u0027bios\u0027 or enable uefi-secure-boot as required by flavor during continue_deploy(). \nThis gives ability to the drivers to re-provision a node in any boot mode when \u0027secure_boot\u0027 capability is used.\n\nWhen proposed  \u0027secure_deploy\u0027 capability is used, node can never be booted into \u0027bios\u0027 boot mode. This will cause limitation to the users who want to use node for provisioning with bios or uefi or uefi-secure-boot modes.\n\nThe proposed secure_deploy capability should be used when user want to use node only for uefi-secure-deploy.","commit_id":"ee33cb9b04c95d4ad1d130ea6de917c17daf6e35"}]}
