)]}'
{"specs/rocky/implemented/libvirt-pxe-ipmi-support.rst":[{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"e191adb83dbbbbda498639b7f3ac8552ac58d8db","unresolved":false,"context_lines":[{"line_number":14,"context_line":"Problem description"},{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"When Virtual machine(instance) which run on the OpenStack are used to"},{"line_number":18,"context_line":"deploy the cloud environment such as OPNFV, IPMI and PXE should"},{"line_number":19,"context_line":"operate well like as a physical server."},{"line_number":20,"context_line":"However, in the current OpenStack environment, NOVA manages the lifecycle"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3f79a3b5_acd8be7f","line":17,"range":{"start_line":17,"start_character":44,"end_line":17,"end_character":48},"updated":"2018-10-24 16:11:24.000000000","message":"nit: drop the \"the\"","commit_id":"086c942cda101cad8200521b1209b9b66108baed"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"e191adb83dbbbbda498639b7f3ac8552ac58d8db","unresolved":false,"context_lines":[{"line_number":21,"context_line":"of the VM, so IPMI operation based on KVM does not work normally."},{"line_number":22,"context_line":"To support this, NOVA should support IPMI and PXE."},{"line_number":23,"context_line":"Therefore, this proposal intends to add a function for normal control of"},{"line_number":24,"context_line":"IPMI and PXE in NOVA."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Use Cases"},{"line_number":27,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3f79a3b5_4cea4a0e","line":24,"range":{"start_line":24,"start_character":16,"end_line":24,"end_character":20},"updated":"2018-10-24 16:11:24.000000000","message":"nit: Nova","commit_id":"086c942cda101cad8200521b1209b9b66108baed"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"e191adb83dbbbbda498639b7f3ac8552ac58d8db","unresolved":false,"context_lines":[{"line_number":31,"context_line":"it integrate with another open source."},{"line_number":32,"context_line":"To do this, many user test the environment with real physica server."},{"line_number":33,"context_line":"However, sometimes, it spend alot of time to resetup the environment."},{"line_number":34,"context_line":"Therefore, we proposes a vBarametal for depolyment of open source."},{"line_number":35,"context_line":"It will porvides more useful environment for user who want to test open source."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3f79a3b5_2cceeeb6","line":34,"range":{"start_line":34,"start_character":25,"end_line":34,"end_character":35},"updated":"2018-10-24 16:11:24.000000000","message":"nit: I guess it\u0027s named vBaremetal\" ?","commit_id":"086c942cda101cad8200521b1209b9b66108baed"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"e191adb83dbbbbda498639b7f3ac8552ac58d8db","unresolved":false,"context_lines":[{"line_number":33,"context_line":"However, sometimes, it spend alot of time to resetup the environment."},{"line_number":34,"context_line":"Therefore, we proposes a vBarametal for depolyment of open source."},{"line_number":35,"context_line":"It will porvides more useful environment for user who want to test open source."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Proposed change"},{"line_number":38,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3f79a3b5_acc19e83","line":36,"updated":"2018-10-24 16:11:24.000000000","message":"all of the above is understandable but you don\u0027t really provide some usecase about why PXE boot for a IPMI-managed instance is important","commit_id":"086c942cda101cad8200521b1209b9b66108baed"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"a5ef53ae47f805a9a0e39e6876bd9abf34bae2db","unresolved":false,"context_lines":[{"line_number":38,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"To make a boot option for IPMI and PXE to Openstack instance,"},{"line_number":41,"context_line":"we defined \u0027hw:boot\u0027(nova metadata key) into the libvirt driver."},{"line_number":42,"context_line":"When user starts openstack instance if user use a this option,"},{"line_number":43,"context_line":"user can use a pxe and IPMI mode."},{"line_number":44,"context_line":"Until now, there is a no solution to support pxe and IPMI."}],"source_content_type":"text/x-rst","patch_set":3,"id":"5f7c97a3_5d91b452","line":41,"range":{"start_line":41,"start_character":0,"end_line":41,"end_character":64},"updated":"2018-07-03 19:24:14.000000000","message":"I\u0027ve proposed this in the past, but have always gotten pushback that instance metadata is supposed to be for user-defined data only and should not influence how Nova operates.  I\u0027ve been carrying a patch for this in OVB: https://github.com/cybertron/openstack-virtual-baremetal/blob/master/patches/nova/nova-pxe-boot-pike.patch\n\nYou can find the discussion on my previous spec here: https://review.openstack.org/#/c/435052/  The rescue image functionality does sound promising, but unfortunately I have not had a chance to follow up on it.  Applying the Nova patch or just using the ipxe image has been sufficient for my use cases so I haven\u0027t been able to prioritize it highly enough to make progress.  Maybe you could look into it further?","commit_id":"086c942cda101cad8200521b1209b9b66108baed"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"e191adb83dbbbbda498639b7f3ac8552ac58d8db","unresolved":false,"context_lines":[{"line_number":38,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"To make a boot option for IPMI and PXE to Openstack instance,"},{"line_number":41,"context_line":"we defined \u0027hw:boot\u0027(nova metadata key) into the libvirt driver."},{"line_number":42,"context_line":"When user starts openstack instance if user use a this option,"},{"line_number":43,"context_line":"user can use a pxe and IPMI mode."},{"line_number":44,"context_line":"Until now, there is a no solution to support pxe and IPMI."}],"source_content_type":"text/x-rst","patch_set":3,"id":"3f79a3b5_2c010eb6","line":41,"range":{"start_line":41,"start_character":0,"end_line":41,"end_character":64},"in_reply_to":"3f79a3b5_d9cdcfba","updated":"2018-10-24 16:11:24.000000000","message":"what if the user wants to boot an instance from the image on local storage ?","commit_id":"086c942cda101cad8200521b1209b9b66108baed"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"9bc69729d14e8766d8e4fb17caa4e067c02a9e91","unresolved":false,"context_lines":[{"line_number":38,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"To make a boot option for IPMI and PXE to Openstack instance,"},{"line_number":41,"context_line":"we defined \u0027hw:boot\u0027(nova metadata key) into the libvirt driver."},{"line_number":42,"context_line":"When user starts openstack instance if user use a this option,"},{"line_number":43,"context_line":"user can use a pxe and IPMI mode."},{"line_number":44,"context_line":"Until now, there is a no solution to support pxe and IPMI."}],"source_content_type":"text/x-rst","patch_set":3,"id":"3f79a3b5_d9cdcfba","line":41,"range":{"start_line":41,"start_character":0,"end_line":41,"end_character":64},"in_reply_to":"5f7c97a3_5d91b452","updated":"2018-10-23 19:56:28.000000000","message":"\u003e I\u0027ve proposed this in the past, but have always gotten pushback that instance metadata is supposed to be for user-defined data only and should not influence how Nova operates.\n\nUser-defined metadata is not the best place for this, no. However, an alternative could be using the block_device_mapping_v2 parameter, something like this request:\n\n{\n    \u0027server\u0027: {\n        \u0027name\u0027: \u0027my-pxe-booted-server\u0027,\n        \u0027flavorRef\u0027: \u0027v1-standard-8\u0027,\n        \u0027imageRef\u0027: \u0027ea850527-4f6b-4121-9b15-1bbcfd555cef\u0027,\n        \u0027networks\u0027: \u0027auto\u0027,\n        \u0027block_device_mapping_v2\u0027: [{\n            \u0027source_type\u0027: \u0027image\u0027,\n            \u0027destination_type\u0027: \u0027local\u0027,\n            \u0027device_type\u0027: \u0027network\u0027,\n            \u0027boot_index\u0027: 0,\n            \u0027uuid\u0027: \u0027ea850527-4f6b-4121-9b15-1bbcfd555cef\u0027,\n        }],\n    }\n}\n\nMore details are here:\n\nhttps://docs.openstack.org/nova/latest/user/block-device-mapping.html\n\nThe one new thing here would be \u0027device_type\u0027 of \u0027network\u0027 which could be used to indicate to the virt driver that it should pxe boot off the network using the specified image. That seems relatively similar to Ben\u0027s patch though:\n\nhttps://github.com/cybertron/openstack-virtual-baremetal/blob/master/patches/nova/nova-pxe-boot-pike.patch\n\nBut would be modeled in a more standard way using the nova BDM syntax.\n\nAnyway, just an idea.","commit_id":"086c942cda101cad8200521b1209b9b66108baed"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"e191adb83dbbbbda498639b7f3ac8552ac58d8db","unresolved":false,"context_lines":[{"line_number":49,"context_line":"------------"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Alternatively, user can use an image for pxe boot. However, this solution"},{"line_number":52,"context_line":"only works on the initiation boot stage."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Data model impact"},{"line_number":55,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3f79a3b5_6cfaa6bb","line":52,"updated":"2018-10-24 16:11:24.000000000","message":"but you could add some image metadata that nova could read, no ?","commit_id":"086c942cda101cad8200521b1209b9b66108baed"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"a5ef53ae47f805a9a0e39e6876bd9abf34bae2db","unresolved":false,"context_lines":[{"line_number":115,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"This patch also related to below patches."},{"line_number":118,"context_line":"https://review.openstack.org/#/c/570737/"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Testing"},{"line_number":121,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5f7c97a3_bd0ec8e1","line":118,"updated":"2018-07-03 19:24:14.000000000","message":"I\u0027ll just point out that I\u0027ve already written a vbmc for OpenStack instances: https://github.com/cybertron/openstack-virtual-baremetal/blob/master/openstack_virtual_baremetal/openstackbmc.py\n\nIt sounds like it probably functions in a similar fashion to this.  That project also provides a full framework for deploying virtual baremetal environments on OpenStack, so it might be of general interest to you.  We use it extensively in TripleO for baremetal-style testing and development.  It does depend on either a PXE boot image or a small patch to Nova to provide this PXE functionality though.","commit_id":"086c942cda101cad8200521b1209b9b66108baed"}]}
