Bug 1372416

Summary: Depsolving problems in anaconda transaction (brew)
Product: Red Hat Enterprise Linux 7 Reporter: Ryan Barry <rbarry>
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: fdeutsch, ffesti, james.antill, sbueno
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-06 19:23:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
packaging.log none

Description Ryan Barry 2016-09-01 15:52:22 UTC
Created attachment 1196888 [details]
packaging.log

Description of problem:
yum does not depsolve appropriately inside anaconda (as part of a koji/brew image-build)

Examples:
man-db requires coreutils, yet:

13:18:09,167 INFO packaging: man-db-2.6.3-9.el7.x86_64 (538/735)
13:18:09,167 INFO packaging: /var/tmp/rpm-tmp.RHceqy: line 1: /usr/bin/rm: No such file or directory
13:18:09,167 INFO packaging: warning: %post(man-db-2.6.3-9.el7.x86_64) scriptlet failed, exit status 127
13:18:09,168 INFO packaging: coreutils-8.22-15.el7_2.1.x86_64 (539/735)

ovirt-hosted-engine-ha requires vdsm, yet:

13:18:09,225 INFO packaging: ovirt-hosted-engine-ha-2.0.3-1.el7ev.noarch (658/735)
13:18:09,225 INFO packaging: warning: user vdsm does not exist - using root
13:18:09,225 INFO packaging: warning: user vdsm does not exist - using root
13:18:09,225 INFO packaging: warning: user vdsm does not exist - using root
13:18:09,225 INFO packaging: warning: user vdsm does not exist - using root
1.el7ev.noarch) scriptlet failed, exit status 127
13:18:09,226 INFO packaging: vdsm-4.18.11-1.el7ev.x86_64 (659/735)

How reproducible:
100%

Steps to Reproduce:
1. brew image-build with some kickstart
2.
3.

Actual results:
Depsolving happens in the wrong order.

Expected results:
Depsolving works

Additional info:

Comment 2 Ryan Barry 2016-09-06 19:23:19 UTC
The cause of this appears to have been a dependency loop in redhat-relese-virtualization-host. Fixed there.