Thanks you all for the tips.
We were able to create image using blogpost that Yolanda mentioned.

From: Yolanda Robla Mota [mailto:[email protected]]
Sent: Wednesday, September 27, 2017 6:40 PM
To: OpenStack Development Mailing List (not for usage questions) 
<[email protected]>
Cc: Moshe Levi <[email protected]>; Hasan Qunoo <[email protected]>; 
Waleed Musa <[email protected]>
Subject: Re: [openstack-dev] [TripleO][DIB] how create triplo overcloud image 
with latest kernel?

If you need a guideline about how to build TripleO images with DIB, i have that 
blogpost: 
http://teknoarticles.blogspot.com.es/2017/07/build-and-use-security-hardened-images.html<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>
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.
Hope it helps!

On Wed, Sep 27, 2017 at 5:21 PM, Brad P. Crochet 
<[email protected]<mailto:[email protected]>> wrote:

On Tue, Sep 26, 2017 at 2:58 PM Ben Nemec 
<[email protected]<mailto:[email protected]>> wrote:


On 09/26/2017 05:43 AM, Moshe Levi wrote:
> Hi all,
>
> As part of the OVS Hardware Offload [1] [2],  we need to create new
> Centos/Redhat 7 image  with latest kernel/ovs/iproute.
>
> We tried to use virsh-customize to install the packages and we were able
> to update iproute and ovs, but for the kernel there is no space.
>
> We also tried with virsh-customize to uninstall the old kenrel but we no
> luck.
>
> Is other ways to replace kernel  package in existing image?

Do you have to use an existing image?  The easiest way to do this would
be to create a DIB element that installs what you want and just include
that in the image build in the first place.  I don't think that would be
too difficult to do now that we're keeping the image definitions in
simple YAML files.

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.

>
> [1] - 
> https://review.openstack.org/#/c/504911/<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>
> <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>
>
>
> [2] - 
> https://review.openstack.org/#/c/502313/<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>
> <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>
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: 
> [email protected]?subject:unsubscribe<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>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<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>
>

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: 
[email protected]?subject:unsubscribe<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>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<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>
--
Brad P. Crochet, RHCA, RHCE, RHCVA, RHCDS
Principal Software Engineer
(c) 704.236.9385<tel:(704)%20236-9385>


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: 
[email protected]?subject:unsubscribe<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>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<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>



--

Yolanda Robla Mota

Principal Software Engineer, RHCE

Red Hat

<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>

C/Avellana 213

Urb Portugal

[email protected]<mailto:[email protected]>    M: 
+34605641639<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>
[https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png]<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>
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to