<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 3 Jun 2019 at 06:57, Kumari, Madhuri <<a href="mailto:madhuri.kumari@intel.com">madhuri.kumari@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-3400423878768734270WordSection1">
<p class="MsoNormal">Hi Ironic, Nova Developers,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I am currently working on implementing Intel Speed Select(ISS) feature[1] in Ironic and I have a use case where I want to change ISS configuration in BIOS after a node is provisioned.<u></u><u></u></p>
<p class="MsoNormal">Such use case of changing the configuration post deployment is common and not specific to ISS. A real-life example for such a required post-deploy configuration change is the change of BIOS settings to disable hyper-threading in order to
 address a security vulnerability.<u></u><u></u></p>
<p class="MsoNormal">Currently there is no way of changing any BIOS configuration after a node is provisioned in Ironic. One solution for it is to allow manual deploy steps in Ironic[2](not implemented yet) which can be trigged by changing traits in Nova.<u></u><u></u></p>
<p class="MsoNormal">For this purpose, we would need to change a trait of the server’s flavor in Nova. This trait is mapped to a deploy step in Ironic which does some operation(change BIOS config and reboot in this use case).<u></u><u></u></p>
<p class="MsoNormal">In Nova, the only API to change trait in flavor is resize whereas resize does migration and a reboot as well.<u></u><u></u></p>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:2pt;margin-left:0in;line-height:normal">
In short, I am  looking for a Nova API that only changes the traits, and trigger the ironic deploy steps but no reboot and migration. Please suggest.<u></u><u></u></p>
<p class="MsoNormal"> </p></div></div></blockquote><div> </div><div><span class="gmail_default" style="font-family:verdana,sans-serif">Hi, it is possible to modify a flavor (openstack flavor set <flavor> --property <key>=<value>). However, changes to a flavor are not reflected in instances that were previously created from that flavor. Internally, nova stores an 'embedded flavor' in the instance state.</span> <span class="gmail_default" style="font-family:verdana,sans-serif">I'm not aware of any API that would allow modifying the embedded flavor, nor any process that would synchronise those changes to ironic.</span></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-3400423878768734270WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">Thanks in advance.<u></u><u></u></p>
<p class="MsoNormal"><b> </b><u></u><u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Madhuri<u></u><u></u></p>
<p class="MsoNormal">[1] <a href="https://specs.openstack.org/openstack/ironic-specs/specs/not-implemented/support-intel-speed-select.html" target="_blank">
https://specs.openstack.org/openstack/ironic-specs/specs/not-implemented/support-intel-speed-select.html</a><u></u><u></u></p>
<p class="MsoNormal">[2] <a href="https://storyboard.openstack.org/#!/story/2005129" target="_blank">
https://storyboard.openstack.org/#!/story/2005129</a><u></u><u></u></p>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:2pt;margin-left:0in;line-height:normal">
<span style="font-size:10pt;font-family:"Segoe UI",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:2pt;margin-left:0in;line-height:normal">
<span style="font-size:10pt;font-family:"Segoe UI",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:2pt;margin-left:0in;line-height:normal">
<span style="font-size:10pt;font-family:"Segoe UI",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:2pt;margin-left:0in;line-height:normal">
<span style="font-size:10pt;font-family:"Segoe UI",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

</blockquote></div></div>