Bug 865000

Summary: [BUG] disabling of all repos but beaker ones can cause dependency issues
Product: [Retired] Beaker Reporter: Bill Peck <bpeck>
Component: beahAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: Qixiang Wan <qwan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: asaha, dcallagh, mishin, nikolai.kondrashov, qwan, rglasz, rmancy
Target Milestone: 0.10.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Misc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-22 06:44:24 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:
Embargoed:

Description Bill Peck 2012-10-10 15:19:10 UTC
Description of problem:
Fedora17 installs with updates enabled, but after install beah installs tasks with all repos but beaker ones disabled.  This causes problems for any packages that were installed from the updates repo since any sub-packages that may be required by tests can't be installed.

I suggest we remove the --disablerepo=* --enablerepo=beaker-* from the beah task installer.

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

Additional info:

Example Error messages from this bug:

Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package tmp-CoreOS-sssd-RHEL6.4-389DSSetup.noarch 0:1.2-0 will be installed
--> Processing Dependency: openldap-clients for package: tmp-CoreOS-sssd-RHEL6.4-389DSSetup-1.2-0.noarch
--> Running transaction check
---> Package openldap-clients.x86_64 0:2.4.30-2.fc17 will be installed
--> Processing Dependency: openldap(x86-64) = 2.4.30-2.fc17 for package: openldap-clients-2.4.30-2.fc17.x86_64
--> Finished Dependency Resolution
Error: Package: openldap-clients-2.4.30-2.fc17.x86_64 (beaker-Fedora)
           Requires: openldap(x86-64) = 2.4.30-2.fc17
           Installed: openldap-2.4.32-3.fc17.x86_64 (@myupdates)
               openldap(x86-64) = 2.4.32-3.fc17
           Available: openldap-2.4.30-2.fc17.x86_64 (beaker-Fedora)
               openldap(x86-64) = 2.4.30-2.fc17

 You could try using --skip-broken to work around the problem

Comment 1 Dan Callaghan 2012-10-24 06:15:06 UTC
On Gerrit: http://gerrit.beaker-project.org/1435

Comment 3 Qixiang Wan 2012-11-09 06:28:44 UTC
Verified with new build. The '--disablerepo=* --enablerepo=beaker-*' has been removed from yum command line and didn't cause any issue with task rpm installation.

[root@guest3 ~]# grep '_install_test()' -A3 /mnt/testarea/tmpQsKCDA.sh 
_install_test() {
    beahsh extend_watchdog 20m
    yum -y install "$TESTRPMNAME"
}

Comment 4 Raymond Mancy 2012-11-22 06:44:24 UTC
This has now been released