[openstack-dev] [TripleO][DIB] how create triplo overcloud image with latest kernel?

Jan Gutter jan.gutter at netronome.com
Tue Sep 26 13:28:03 UTC 2017


I've used the following trick in the past to enlarge the images:

    qemu-img resize ${OVERCLOUD_IMG} +3G
    LIBGUESTFS_BACKEND=direct virt-customize -m 2048 -a
${OVERCLOUD_IMG} --run-command 'xfs_growfs /dev/sda'

Please also double-check the filesystem, some overcloud images use
ext4, for example. After modifying the image, I then run virt-sparsify
to shrink them a bit.

On Tue, Sep 26, 2017 at 12:43 PM, Moshe Levi <moshele at mellanox.com> 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?
>
>
>
>
>
>
>
> [1] - https://review.openstack.org/#/c/504911/
>
> [2] - https://review.openstack.org/#/c/502313/
>
>
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Jan Gutter
Embedded Networking Software Engineer

Netronome | First Floor Suite 1, Block A, Southdowns Ridge Office Park,
Cnr Nellmapius and John Vorster St, Irene, Pretoria, 0157
Phone: +27 (12) 665-4427 | Skype: jangutter |  www.netronome.com



More information about the OpenStack-dev mailing list