ironic/releasenotes/notes/fix-prepare-instance-for-agent-interface-56753bdf04dd581f.yaml
Shivanand Tendulker 4fa1075b95 Fix `agent deploy interface to call boot.prepare_instance`
``agent`` deploy interface do not call ``boot.prepare_instance``
if image being provisioned is whole disk image. This commit fixes
that issue.
It also updates ``validate`` method of neutron network interface
module to validate if it can support boot options requested for
instance image.

Change-Id: Ibd49d65f4512f2fa417794b66f4007d82f02e2ac
Story: 1713916
Task: 9259
Story: 1750958
Task: 9288
2018-04-18 02:49:37 -04:00

21 lines
1.0 KiB
YAML

---
fixes:
- |
Fixes ``direct`` deploy interface to invoke ``boot.prepare_instance``
irrespective of image type being provisioned. It was calling
``boot.prepare_instance`` only if the image being provisioned is a
partition image. See bugs `1713916
<https://storyboard.openstack.org/#!/story/1713916>`_ and `1750958
<https://storyboard.openstack.org/#!/story/1750958>`_ for details.
upgrade:
- |
With the deploy ramdisk based on Ironic Python Agent version 3.1.0
and beyond, the drivers using ``direct`` deploy interface performs
``netboot`` or ``local`` boot for whole disk image based on value
of boot option setting. When you upgrade Ironic Python Agent in your
deploy ramdisk, ensure that boot option is set appropriately for the
node. The boot option can be set using configuration
``[deploy]/default_boot_option`` or as a ``boot_option`` capability
in node's ``properties['capabilities']``. Also please note that this
functionality requires ``hexdump`` command in the ramdisk.