[ironic] [tripleo] IPA images without RPM and YUM/DNF?
(adding TripleO because of potential effect) Hi all, I'm working on making ironic-python-agent images smaller than they currently are. The proposed patches already reduce the default image (as built by IPA-builder) size from around 420 MiB to around 380 MiB. My next idea is to get rid of RPM and YUM databases (in case of a CentOS/RHEL image). They amount for nearly 100 MiB of the uncompressed image: $ du -sh var/lib/rpm 91M var/lib/rpm $ du -sh var/lib/yum 6.6M var/lib/yum How important for anyone is the ability to install/inspect packages inside a ramdisk? Dmitry
Hi, Operator may run "rpm --rebuilddb" in case he needs some packages installed. Alternatively, he may build a new image with rpm/yum databases. вт, 15 окт. 2019 г. в 11:15, Dmitry Tantsur <dtantsur@redhat.com>:
(adding TripleO because of potential effect)
Hi all,
I'm working on making ironic-python-agent images smaller than they currently are. The proposed patches already reduce the default image (as built by IPA-builder) size from around 420 MiB to around 380 MiB.
My next idea is to get rid of RPM and YUM databases (in case of a CentOS/RHEL image). They amount for nearly 100 MiB of the uncompressed image: $ du -sh var/lib/rpm 91M var/lib/rpm $ du -sh var/lib/yum 6.6M var/lib/yum
How important for anyone is the ability to install/inspect packages inside a ramdisk?
Dmitry
-- Sergii Golovatiuk Senior Software Developer Red Hat <https://www.redhat.com/> <https://www.redhat.com/>
On 10/15/19 4:13 AM, Dmitry Tantsur wrote:
(adding TripleO because of potential effect)
Hi all,
I'm working on making ironic-python-agent images smaller than they currently are. The proposed patches already reduce the default image (as built by IPA-builder) size from around 420 MiB to around 380 MiB.
My next idea is to get rid of RPM and YUM databases (in case of a CentOS/RHEL image). They amount for nearly 100 MiB of the uncompressed image: $ du -sh var/lib/rpm 91M var/lib/rpm $ du -sh var/lib/yum 6.6M var/lib/yum
How important for anyone is the ability to install/inspect packages inside a ramdisk?
Back when we were building the ramdisks with DIB I'm pretty sure we were wiping the RPM db too, so unless something has changed since then I would expect this to be fine.
Dmitry
participants (3)
-
Ben Nemec
-
Dmitry Tantsur
-
Sergii Golovatiuk