Bug 989235 - yum fixups
Summary: yum fixups
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Moran Goldboim
QA Contact: Tareq Alayan
URL:
Whiteboard: integration
Depends On:
Blocks: 989534
TreeView+ depends on / blocked
 
Reported: 2013-07-28 15:24 UTC by Alon Bar-Lev
Modified: 2015-09-22 13:09 UTC (History)
7 users (show)

Fixed In Version: is9
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 989534 (view as bug list)
Environment:
Last Closed: 2014-01-21 22:18:44 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 16805 0 None None None Never
oVirt gerrit 17108 0 None None None Never
oVirt gerrit 17326 0 None None None Never

Description Alon Bar-Lev 2013-07-28 15:24:27 UTC
This is per 3.2.z, fixups we found in yum api to support better upgrade.

Comment 1 Alon Bar-Lev 2013-07-28 15:25:07 UTC
commit ee663bd7fc99e30dab42b6360172cabcdf4e5aa0
Author: Alon Bar-Lev <alonbl>
Date:   Sun Jul 14 16:04:13 2013 +0300

    packaging: setup: sync miniyum with otopi
    
    1. add destructor to clean up yum base
    2. force clenaup state before rollback
    3. better method to query transaction
    4. more logging
    
    Change-Id: Ib963d8d66e9544bae3b37e8b2d85bdb2195b6c42
    Signed-off-by: Alon Bar-Lev <alonbl>

Comment 2 Alon Bar-Lev 2013-07-28 15:26:50 UTC
commit e85551d2630f1e3403ad99c68d83188b49c770df
Author: Alon Bar-Lev <alonbl>
Date:   Fri Jul 19 16:53:14 2013 +0300

    packaging: setup: ignore sack cache populate errors
    
    for some reason yum when going to cache only mode tries to download
    online repositories, and if fails cause the entire transaction to fail.
    
    more over, when going online, it also tries to download online
    resources, and if fails cause the entire transaction to fail.
    
    any network issue during this stage will create an undesired failure. so
    just ignore these errors and hope for the best, as this sequence is only
    used when transaction is rollbacked.
    
    Change-Id: I6f6cba0071da862addcb438d47ac9401f746ee87
    Signed-off-by: Alon Bar-Lev <alonbl>

Comment 3 Alon Bar-Lev 2013-07-28 15:27:53 UTC
commit 160ab4edb5b176e626fca4dd3e748e3397b01db0
Author: Alon Bar-Lev <alonbl>
Date:   Fri Jul 26 02:19:10 2013 +0300

    packagers: yum: do not use yum state strings
    
    the yum.i18n produces non standard string encoding, encoded using ansi
    codec but has unicode string, while the locale environment is set to
    unicode, and python does enforce proper unicode in string.format().
    
    the solution is to provide our own translation table for transaction
    status, as no [simple] way was found to convert the non standard format
    into unicode.
    
    Change-Id: If230a17799263e705f194f180af04bf2904a5d90
    Reported-By: Jakub Bittner <j.bittner>
    Signed-off-by: Alon Bar-Lev <alonbl>

Comment 5 Tareq Alayan 2013-08-12 06:58:24 UTC
is9 - ok

Comment 6 Itamar Heim 2014-01-21 22:18:44 UTC
Closing - RHEV 3.3 Released

Comment 7 Itamar Heim 2014-01-21 22:25:03 UTC
Closing - RHEV 3.3 Released


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