Use lrzip for upgrade tarball

Bug #1356813 reported by Dmitry Pyzhov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Pyzhov

Bug Description

We can use lrzip in order to pack upgrade tarball, it will reduce it's size by 2Gb:
% lrzip -L2 -U -f fuel-master-upgrade-437-2014-08-14_12-04-35.tar -o fuel-master-upgrade-437-2014-08-14_12-04-35.lrz2
fuel-master-upgrade-437-2014-08-14_12-04-35.tar - Compression Ratio: 1.658. Average Compression Speed: 29.307MB/s.
Total time: 00:02:35.43
% ls -l
-rw-rw-r-- 1 dpyzhov dpyzhov 2836390332 авг. 14 14:17 fuel-master-upgrade-437-2014-08-14_12-04-35.lrz2
-rw-rw-r-- 1 dpyzhov dpyzhov 4702853120 авг. 14 12:28 fuel-master-upgrade-437-2014-08-14_12-04-35.tar

Usage of key -L9 will save extra 100Mb, but needs one minute more, so it is not helpful. -L2 keys seems to be suitable

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Dmitry Pyzhov (lux-place)
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Command line for unpack: lrzip -dq fuel-master-upgrade-437-2014-08-14_12-04-35.tar.lrz -o - | tar vx

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/114201

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-docs (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/115331

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-docs (master)

Change abandoned by Dmitry Pyzhov (<email address hidden>) on branch: master
Review: https://review.openstack.org/115331
Reason: Superseded

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/114201
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=ef7b906832615aaa1b90e4a0e426ea555cc8da8e
Submitter: Jenkins
Branch: master

commit ef7b906832615aaa1b90e4a0e426ea555cc8da8e
Author: Dmitry Pyzhov <email address hidden>
Date: Thu Aug 14 15:12:27 2014 +0400

    Put upgrade tarball in lrzip archive

    New build target: upgrade-lrzip

    Command line for extract:
    lrzuntar fuel-master-upgrade.tar.lrz

    Change-Id: Ie23263cc3bdc27acdee5ba6858f1ee282d414277
    Closes-Bug: #1356813
    Blueprint: upgrade-lrzip

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on fuel-5.1-upgrade-6-2014-09-13_14-34-19.tar.lrz

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.