Bug 889795 - engine: we use gzip -9 to zip files in engine instead of xz (vdsm already uses xz)
Summary: engine: we use gzip -9 to zip files in engine instead of xz (vdsm already us...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.2.0
Assignee: Greg Padgett
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
Depends On:
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2012-12-23 15:34 UTC by Dafna Ron
Modified: 2022-07-09 06:14 UTC (History)
11 users (show)

Fixed In Version: sf-7
Doc Type: Enhancement
Doc Text:
Engine logs are now compressed using xz instead of gzip -9, which reduces compressed logs by 20-30% and matches the VDSM implementation.
Clone Of:
Environment:
Last Closed: 2013-06-10 21:30:34 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47232 0 None None None 2022-07-09 06:14:04 UTC
Red Hat Product Errata RHSA-2013:0888 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-11 00:55:41 UTC
oVirt gerrit 11508 0 None None None Never

Description Dafna Ron 2012-12-23 15:34:18 UTC
Description of problem:

can we change ovirtlogrot.sh to use xz instead of gzip -9?
vdsm already uses xz so aside from the fact that xz compression is better, it will be nice if engine uses it too. 

Version-Release number of selected component (if applicable):

si25.1

How reproducible:

100%

Steps to Reproduce:
1. cd /var/log/ovirt-engine
2. ls -ltr
3.
  
Actual results:

use gz to zip files

Expected results:

it would be nice to use xz

Additional info: 

as you can see in /usr/share/ovirt-engine/scripts/ovirtlogrot.sh
we are using gzip -9

Comment 1 Yaniv Kaul 2012-12-23 16:46:38 UTC
It'll reduce the compressed logs by 20-30%, which should be helpful for support log collection as well.

Comment 2 Doron Fediuck 2013-01-03 15:51:15 UTC
Need to check if it means we need to require xz in the spec file.

Comment 5 Greg Padgett 2013-02-08 17:33:42 UTC
Merged change id: I2487d1a2505a43aa525b8d0d7af3557ce357d685

Comment 7 Cheryn Tan 2013-04-03 06:53:30 UTC
This bug is currently attached to errata RHEA-2013:14491. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.

* Consequence: What happens when the bug presents.

* Fix: What was done to fix the bug.

* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes

Thanks in advance.

Comment 8 errata-xmlrpc 2013-06-10 21:30:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0888.html


Note You need to log in before you can comment on or make changes to this bug.