)]}'
{"specs/kilo/approved/boot-order-for-instance.rst":[{"author":{"_account_id":6772,"name":"Stephen Gordon","email":"sgordon@redhat.com","username":"sgordon"},"change_message_id":"61dc0f36e2d45402781b873def87336aaf43a4e1","unresolved":false,"context_lines":[{"line_number":151,"context_line":"specific attached device."},{"line_number":152,"context_line":"In order to boot from network a different approach  is possible"},{"line_number":153,"context_line":"specifing  Libvirt XML attribute \u003cboot dev\u003d\u0027network\u0027/\u003e in OS section of domain"},{"line_number":154,"context_line":"but the specific device cannot be chosen."},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"Data model impact"},{"line_number":157,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a890539_65630142","line":154,"updated":"2014-11-26 23:28:28.000000000","message":"An alternative for booting from a PXE image is to load it in glance and boot from image. I\u0027m not saying network boot is undesirable but in listing alternatives this seems like an obvious one that many people use today.","commit_id":"c770d59cb8a4436f87b1927730e088615e9c9ec2"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"bbad4855647e58438561c91c529ebea9ad9a0feb","unresolved":false,"context_lines":[{"line_number":188,"context_line":"| **Parameter** | **Style** | **Type**   | **Description**                   |"},{"line_number":189,"context_line":"+---------------+-----------+------------+-----------------------------------+"},{"line_number":190,"context_line":"| boot_index    | plain     | xsd:string | Specify the boot index            |"},{"line_number":191,"context_line":"| (Optional)    |           |            |                                   |"},{"line_number":192,"context_line":"+---------------+-----------+------------+-----------------------------------+"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"**JSON schema definition of the parameter**"}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a890539_29da94e9","line":191,"updated":"2014-11-19 17:47:51.000000000","message":"It doesn\u0027t feel like we have all the information we need in here:\n* Does the boot index start at 0 or 1?\n* Do we share the boot index with the block device mapping API?\n* Do we reject a request that has duplicates in the boot index?\n\nNot sure I like the API. I wonder if a simple \"boot from network\" option would be better, and by definition it always boots from nic0.","commit_id":"c770d59cb8a4436f87b1927730e088615e9c9ec2"},{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"6278e105d303d5ee8a39b233044bb3fe494177e7","unresolved":false,"context_lines":[{"line_number":188,"context_line":"| **Parameter** | **Style** | **Type**   | **Description**                   |"},{"line_number":189,"context_line":"+---------------+-----------+------------+-----------------------------------+"},{"line_number":190,"context_line":"| boot_index    | plain     | xsd:string | Specify the boot index            |"},{"line_number":191,"context_line":"| (Optional)    |           |            |                                   |"},{"line_number":192,"context_line":"+---------------+-----------+------------+-----------------------------------+"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"**JSON schema definition of the parameter**"}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a890539_049e9f56","line":191,"in_reply_to":"5a890539_29da94e9","updated":"2014-11-19 18:03:49.000000000","message":"Boot indexes should start at 0.  The boot index range is shared across all devices configured for a guest ie you ultimately want to be able to express\n\n index \u003d\u003d 0  -\u003e NIC 1\n index \u003d\u003d 1  -\u003e NIC 5\n index \u003d\u003d 2 -\u003e Assigned PCI dev 2\n index \u003d\u003d 3 -\u003e Assigned PCI dev 1\n index \u003d\u003d 4 -\u003e Disk 2\n\nRejecting duplicates would be a nice to have, but not a show stopper if missing.\n\nA harcoded boot from network with first NIC option is really *not* something we want to hardcode. It is not uncommon to have multiple NICs and we shouldn\u0027t be forcing choice of a specific NIC device order to set the bootable device. That woudl require user to re-order the devices as presented to the guest just in order to change which network is used for booting which is madness.","commit_id":"c770d59cb8a4436f87b1927730e088615e9c9ec2"},{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"01756d2bf108a3b9b7ecc669208f472dce463102","unresolved":false,"context_lines":[{"line_number":334,"context_line":"virtualization and not supporting this fine grained boot ordering. The others"},{"line_number":335,"context_line":"will ignore anything except the device with bootindex\u003d1."},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"The feature won\u0027t work with hypervisors not managed via libvirt."},{"line_number":338,"context_line":""},{"line_number":339,"context_line":""},{"line_number":340,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a890539_aaadd19c","line":337,"updated":"2014-11-18 11:16:22.000000000","message":"Other hypervisors could still support this conceptually. At the very least they can use the boot index to determine boot ordering for NIC vs CDROM vs Disk. I wouldn\u0027t be surprised if other hypervisors support the fine grained boot ordering in the future too.","commit_id":"c770d59cb8a4436f87b1927730e088615e9c9ec2"},{"author":{"_account_id":11905,"name":"Angelo Matarazzo","email":"matarazzoangelo@gmail.com","username":"angelo"},"change_message_id":"cfa3c693441bb761413fbe5758805cc1e3247818","unresolved":false,"context_lines":[{"line_number":334,"context_line":"virtualization and not supporting this fine grained boot ordering. The others"},{"line_number":335,"context_line":"will ignore anything except the device with bootindex\u003d1."},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"The feature won\u0027t work with hypervisors not managed via libvirt."},{"line_number":338,"context_line":""},{"line_number":339,"context_line":""},{"line_number":340,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a890539_6e12d959","line":337,"in_reply_to":"5a890539_093a3836","updated":"2014-11-19 21:27:43.000000000","message":"My specification deals with only libvirt. I think that the support to XenServer is a different blueprint/spec and not a work item of this spec.","commit_id":"c770d59cb8a4436f87b1927730e088615e9c9ec2"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"25ce32a206b188da10b862950105829aaab37834","unresolved":false,"context_lines":[{"line_number":334,"context_line":"virtualization and not supporting this fine grained boot ordering. The others"},{"line_number":335,"context_line":"will ignore anything except the device with bootindex\u003d1."},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"The feature won\u0027t work with hypervisors not managed via libvirt."},{"line_number":338,"context_line":""},{"line_number":339,"context_line":""},{"line_number":340,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a890539_9ef1f297","line":337,"in_reply_to":"5a890539_6e12d959","updated":"2014-11-20 00:37:58.000000000","message":"If we\u0027re going to do this, I think it\u0027s important that it is done in such a way that it will work for multiple hypervisors.\n\nJohn, could this boot index scheme work for Xen without being too much of a burdon? Given that we support a hypervisor with more inbuilt support for this (as I understand it) it would be pretty unfortunate to add support to nova in a way that isn\u0027t compatible.\n\nThe work doesn\u0027t necessarily need to be done as part of this, but I think a clear answer from a XenServer person that this scheme is supportable should be a prerequisite.","commit_id":"c770d59cb8a4436f87b1927730e088615e9c9ec2"},{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"2a30c87eba53a0be05cedbfd9be2a1c282371e9d","unresolved":false,"context_lines":[{"line_number":334,"context_line":"virtualization and not supporting this fine grained boot ordering. The others"},{"line_number":335,"context_line":"will ignore anything except the device with bootindex\u003d1."},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"The feature won\u0027t work with hypervisors not managed via libvirt."},{"line_number":338,"context_line":""},{"line_number":339,"context_line":""},{"line_number":340,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a890539_fac4b542","line":337,"in_reply_to":"5a890539_9ef1f297","updated":"2014-11-20 10:44:05.000000000","message":"The boot index scheme can be made to work for any hypervisor, though there would be limitations. For example, you might be limited to only providing one index per type of device. eg you\u0027d be able to express relative priority between a single disk, nic and cdrom using boot indexes, but you\u0027d not be able to express relative priority between multiple disks. I don\u0027t think that\u0027s a big deal as long as we document the expectations \u0026 behaviour in this respect.","commit_id":"c770d59cb8a4436f87b1927730e088615e9c9ec2"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"bbad4855647e58438561c91c529ebea9ad9a0feb","unresolved":false,"context_lines":[{"line_number":334,"context_line":"virtualization and not supporting this fine grained boot ordering. The others"},{"line_number":335,"context_line":"will ignore anything except the device with bootindex\u003d1."},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"The feature won\u0027t work with hypervisors not managed via libvirt."},{"line_number":338,"context_line":""},{"line_number":339,"context_line":""},{"line_number":340,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a890539_093a3836","line":337,"in_reply_to":"5a890539_aaadd19c","updated":"2014-11-19 17:47:51.000000000","message":"XenServer sure does most of this, I guess what you meant to say is you are only implementing this for libvirt?","commit_id":"c770d59cb8a4436f87b1927730e088615e9c9ec2"},{"author":{"_account_id":11002,"name":"Gergely Matefi","email":"gergely.matefi@ericsson.com","username":"gmatefi"},"change_message_id":"8a5ef992b8cd34be11e23b18ac56e7fc943224ac","unresolved":false,"context_lines":[{"line_number":73,"context_line":"supported."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"A further use case deals with a user that wants to select the boot disk out of"},{"line_number":76,"context_line":"several disks which are connected to the vm/instance."},{"line_number":77,"context_line":"The current nova implementation allows that multiple devices of the same type"},{"line_number":78,"context_line":"are sorted according to their targets while preserving the order of buses."},{"line_number":79,"context_line":"It can be tricky to configure in the desired way and the proposed modification"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a961159_7e1b5980","line":76,"updated":"2014-12-17 12:23:15.000000000","message":"In addition to PXE booting, I see another use case for migration of legacy systems delivered on ISO disks into the cloud. Such legacy systems generally rely on some controlled boot sequence. The typical pattern is booting the installation software from the ISO disk at first time and booting the installed system from the hard disk hereafter.\n\nThere are a couple of use cases in the cloud context:\n1) End-user wants to install a legacy system available on ISO disk onto cloud resources\n2) Software developers shipping systems on classic ISO media want to use cloud resources for I\u0026V purposes, and want to simulate the ISO installation workflow in VMs\n\nThe current Nova workflow supports booting from ISO image but will configure the cdrom device as the default boot device, i.e. it is not possible to reboot from HD after installation. This is also a regression issue compared to Havana release and before, where the hard disk was always the default boot device, taking precedence over cdrom if valid MBR was found.\n\nAs a workaround, the ISO can be installed to a Cinder volume first and then a new VM can be booted from the Cinder volume. However, it requires a more complex orchestration, furthermore it won\u0027t work in cloud environments not supporting centralized (Cinder) volumes.\n\nI think this BP could cover this use case as well by allowing boot precedence configuration between cdrom and disk devices.","commit_id":"f59d8e4a66a779ca2a96b1293bcdccee961d85af"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"8dc64fc222b2a93af0e1b65afbc0b270ddd077d3","unresolved":false,"context_lines":[{"line_number":430,"context_line":"Testing"},{"line_number":431,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"Tempest tests will be necessary for this functionality."},{"line_number":434,"context_line":""},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a961159_57cd2665","line":433,"updated":"2014-12-12 13:20:57.000000000","message":"This requires such specific guest / hardware configuration that Tempest tests probably aren\u0027t really viable.\n\nCan you instead explain a few scenarios that you think are important to validate here and we can figure out where the tests should live.","commit_id":"f59d8e4a66a779ca2a96b1293bcdccee961d85af"},{"author":{"_account_id":13071,"name":"Pasquale Porreca","email":"pasquale.porreca@dektech.com.au","username":"pasquale-porreca"},"change_message_id":"f7037e4cf348a39ef1305abdbcaa324d513908c9","unresolved":false,"context_lines":[{"line_number":430,"context_line":"Testing"},{"line_number":431,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"Tempest tests will be necessary for this functionality."},{"line_number":434,"context_line":""},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a961159_5a0f0d37","line":433,"in_reply_to":"3a961159_57cd2665","updated":"2014-12-12 14:22:08.000000000","message":"To have a successful boot via network it is necessary the presence of a DHCP/TFTP server that can answer and I agree this may not be possible to reproduce in a tempest test. \n\nAnyway I don\u0027t think it is necessary to test the pxe boot sequence, I think it could be enough to verify the newly created instance starts a DHCP request on boot.\n\nA good scenario to test could be to create an instance in which a network interface is the first in the boot order sequence and a disk is the second, verify that the instance tries to boot before from network and when the boot fails (since there are no answers to DHCP request), the instance tries and successfully boots from the disk.","commit_id":"f59d8e4a66a779ca2a96b1293bcdccee961d85af"}]}
