Our upgrade tarball is almost 5Gb in size. We can compress it with lrzip. It will save about 2Gb of space and network traffic for users.
Create a separate build target with uncompressed Fuel images inside of a compressed archive file called fuel-upgrade.tar.lrz. Start using LRZ archives instead of TAR for upgrade tarballs everywhere.
Command line for upgrade will be changed. Size of tarball will be decreased. Tarball unpack time will be increased.
New command line for unpack of upgrade tarball: lrzuntar fuel-upgrade.tar.lrz.
It takes about 15 minutes on a VirtualBox environment to unpack the LRZ archive. It does not have a noticable impact on build time.
The upgrade process will be faster because there is no need to unpack fuel-images.tar.lrz file
There will be no changes in existing build scenarios. Developer can build compressed tarball with ‘make upgrade-lrzip’ command. In order to build tarball, iso and img, use ‘make iso img upgrade-lrzip’ command. ‘make all’ command includes uncompressed upgrade tarball, so ‘make all upgrade-lrzip’ will create both compressed and uncompressed tarballs, what is not needed in common case.
Our system tests need update in order to work with compressed tarballs. Existing test scenarios are not affected.
Automated test for upgrade with compressed tarball is needed.
Acceptance criteria: * User can upgrade Fuel Master using compressed tarball.
Upgrade guide must be updated with new command line for unpacking of tarball.
Discussion in openstack-dev: https://email@example.com/msg32837.html