<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.m-7146120708100426199inbox-gc-cs-link
        {mso-style-name:m_-7146120708100426199inbox-gc-cs-link;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks you all for the tips.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">We were able to create image using blogpost that Yolanda mentioned.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Yolanda Robla Mota [mailto:yroblamo@redhat.com]
<br>
<b>Sent:</b> Wednesday, September 27, 2017 6:40 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions) <openstack-dev@lists.openstack.org><br>
<b>Cc:</b> Moshe Levi <moshele@mellanox.com>; Hasan Qunoo <hasanq@mellanox.com>; Waleed Musa <waleedm@mellanox.com><br>
<b>Subject:</b> Re: [openstack-dev] [TripleO][DIB] how create triplo overcloud image with latest kernel?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">If you need a guideline about how to build TripleO images with DIB, i have that blogpost:
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fteknoarticles.blogspot.com.es%2F2017%2F07%2Fbuild-and-use-security-hardened-images.html&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=eZqPKn0Q%2BP8FJ%2Fe8v7CJXCT4ACNDyiNC980%2BFvbgKss%3D&reserved=0">
http://teknoarticles.blogspot.com.es/2017/07/build-and-use-security-hardened-images.html</a><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">This if for security hardened images, but your replace "overcloud-hardened-images" by "overcloud-images", it will build the default one. You can specify the base image you want to use, as well as enable any
 repo you have, that may take the latest kernel.<o:p></o:p></p>
</div>
<p class="MsoNormal">Hope it helps!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Wed, Sep 27, 2017 at 5:21 PM, Brad P. Crochet <<a href="mailto:brad@redhat.com" target="_blank">brad@redhat.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Sep 26, 2017 at 2:58 PM Ben Nemec <<a href="mailto:openstack@nemebean.com" target="_blank">openstack@nemebean.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
On 09/26/2017 05:43 AM, Moshe Levi wrote:<br>
> Hi all,<br>
><br>
> As part of the OVS Hardware Offload [1] [2],  we need to create new<br>
> Centos/Redhat 7 image  with latest kernel/ovs/iproute.<br>
><br>
> We tried to use virsh-customize to install the packages and we were able<br>
> to update iproute and ovs, but for the kernel there is no space.<br>
><br>
> We also tried with virsh-customize to uninstall the old kenrel but we no<br>
> luck.<br>
><br>
> Is other ways to replace kernel  package in existing image?<br>
<br>
Do you have to use an existing image?  The easiest way to do this would<br>
be to create a DIB element that installs what you want and just include<br>
that in the image build in the first place.  I don't think that would be<br>
too difficult to do now that we're keeping the image definitions in<br>
simple YAML files.<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If it is just packages, a DIB element wouldn't even be necessary. You could define a new yaml that just adds the packages that you want, and add that to the CLI when you build the images.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">><br>
> [1] - <a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.openstack.org%2F%23%2Fc%2F504911%2F&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=X8eJ6XL2v6%2BUepvqpcmlRVSWKobPQV6kjawZShL%2BCD4%3D&reserved=0" target="_blank">
https://review.openstack.org/#/c/504911/</a><br>
> <<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.openstack.org%2F%23%2Fc%2F504911%2F&data=02%7C01%7Cmoshele%40mellanox.com%7Cc801dab0778b428e226508d504c97ecf%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636420185839119329&sdata=6oEmh0LJacV3WPGGp3wW%2BhL3nPDxRh%2BzNPY67X09Blc%3D&reserved=0" target="_blank">https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.openstack.org%2F%23%2Fc%2F504911%2F&data=02%7C01%7Cmoshele%40mellanox.com%7Cc801dab0778b428e226508d504c97ecf%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636420185839119329&sdata=6oEmh0LJacV3WPGGp3wW%2BhL3nPDxRh%2BzNPY67X09Blc%3D&reserved=0</a>><br>
><br>
><br>
> [2] - <a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.openstack.org%2F%23%2Fc%2F502313%2F&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=SEF6cyDF8IBlroFbbO8BPMYNOJe7n35azGVKfmYUIaM%3D&reserved=0" target="_blank">
https://review.openstack.org/#/c/502313/</a><br>
> <<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.openstack.org%2F%23%2Fc%2F502313%2F&data=02%7C01%7Cmoshele%40mellanox.com%7Cc801dab0778b428e226508d504c97ecf%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636420185839119329&sdata=EsydZ9EsUjkYcF92Gys569SJEvQ%2B%2Fu6uV8WAQJ0YMfc%3D&reserved=0" target="_blank">https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.openstack.org%2F%23%2Fc%2F502313%2F&data=02%7C01%7Cmoshele%40mellanox.com%7Cc801dab0778b428e226508d504c97ecf%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636420185839119329&sdata=EsydZ9EsUjkYcF92Gys569SJEvQ%2B%2Fu6uV8WAQJ0YMfc%3D&reserved=0</a>><br>
><br>
><br>
><br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2FOpenStack-dev-request%40lists.openstack.org%3Fsubject%3Aunsubscribe&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=MEMmNdpo5geSrCeMa6LxPP%2BYc8qxM%2Bh1SQ3nOWF2T3Y%3D&reserved=0" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openstack.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopenstack-dev&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=x5kGvCTcWxS2VdwjhbHo54Euu2Ahjhm2FpVBonlZi%2FM%3D&reserved=0" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2FOpenStack-dev-request%40lists.openstack.org%3Fsubject%3Aunsubscribe&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=MEMmNdpo5geSrCeMa6LxPP%2BYc8qxM%2Bh1SQ3nOWF2T3Y%3D&reserved=0" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openstack.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopenstack-dev&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=x5kGvCTcWxS2VdwjhbHo54Euu2Ahjhm2FpVBonlZi%2FM%3D&reserved=0" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</blockquote>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">-- <o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#888888">Brad P. Crochet, RHCA, RHCE, RHCVA, RHCDS<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">Principal Software Engineer<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">(c) <span class="m-7146120708100426199inbox-gc-cs-link">
<a href="tel:(704)%20236-9385" target="_blank">704.236.9385</a></span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><o:p> </o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2FOpenStack-dev-request%40lists.openstack.org%3Fsubject%3Aunsubscribe&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=MEMmNdpo5geSrCeMa6LxPP%2BYc8qxM%2Bh1SQ3nOWF2T3Y%3D&reserved=0" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openstack.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopenstack-dev&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=x5kGvCTcWxS2VdwjhbHo54Euu2Ahjhm2FpVBonlZi%2FM%3D&reserved=0" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p style="margin:0cm;margin-bottom:.0001pt"><b><span style="font-size:10.5pt;text-transform:uppercase">Yolanda Robla Mota<o:p></o:p></span></b></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;text-transform:uppercase">Principal Software Engineer<span style="color:#CCCCCC">,
</span><span style="color:#AAAAAA">RHCE</span><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;color:#999999"><a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=Bk%2FDbx40FBoF73xa1NXnedfryvQhgK1kyfW1HU5gttw%3D&reserved=0" target="_blank"><span style="font-family:"Arial",sans-serif;color:#0088CE;text-decoration:none">Red
 Hat <br>
<br>
</span></a><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;color:#999999">C/Avellana 213<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;color:#999999">Urb Portugal<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;color:#999999"><a href="mailto:yroblamo@redhat.com" target="_blank"><span style="font-family:"Arial",sans-serif;color:#0088CE;text-decoration:none">yroblamo@redhat.com</span></a>    M:
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fredhatemailsignature-marketing.itos.redhat.com%2F&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=x4ppgBUeihU%2BzB2RrT8tA07qO8Zmic3ZyIuM96PmEPQ%3D&reserved=0" target="_blank">
<span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#0088CE;text-decoration:none">+34605641639</span></a>    
<o:p></o:p></span></p>
<p class="MsoNormal"><a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fred.ht%2Fsig&data=02%7C01%7Cmoshele%40mellanox.com%7C6f913bbb62a14993fdaf08d505be10a0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636421236235553988&sdata=DF%2F0qmBwwELg2jL3S0oFXRpFfj1LgDsaOIcL8yb5KVE%3D&reserved=0" target="_blank"><span style="text-decoration:none"><img border="0" width="90" id="_x0000_i1025" src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png"></span></a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>