Bug 651828 - [RFE] Beaker should care about packaging conflicts
Summary: [RFE] Beaker should care about packaging conflicts
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact:
URL:
Whiteboard: Misc
Depends On: 577796
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-10 11:56 UTC by David Kutálek
Modified: 2020-11-19 22:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-19 22:24:08 UTC
Embargoed:


Attachments (Terms of Use)

Description David Kutálek 2010-11-10 11:56:57 UTC
Description of problem:

Tests require packages and it may happen different tests require conflicting packages. Eg, test1 reqs php and test2 reqs php53. Where php-common package conflicts php53-common package.

When this happens, Beaker (Anaconda) installs both packages and the system is in inconsistent state. But user is not aware!

Beaker should not accept such conflicting tests together or at least warn user about conflicts.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Marian Csontos 2010-11-10 12:25:07 UTC
Proposed solution is a workaround only. The real problem is Bug 577796.

And this looks like duplicate of Bug 472740 anyway.

*** This bug has been marked as a duplicate of bug 472740 ***

Comment 2 David Kutálek 2010-11-10 13:22:53 UTC
I do not intend to run tests for conflicting packages in one run. Switching from one conflicting package to its conflicting alternative can be non-trivial task and I don't want Beaker to do it automagically.

Therefore, requested enhancement is just a mean how to prevent such runs (or at least give warning).

Therefore I wouldn't say it is dup of 472740, where -requires is discussed.

Perhaps, warning can be produced easily by scanning /var/log/anaconda.yum.log for conflict warnings?

Comment 3 David Kutálek 2010-11-18 12:46:54 UTC
Here is one example job:

https://beaker.engineering.redhat.com/jobs/31487

Its kickstart contains php and php-zip. But php-zip is only provided by php53-common, where php53-common conflicts with php-common. So, this was package conflict during install time.

It was aborted on i386 in install time because Anaconda fails on conflicts.

But it was not aborted on s390x, where were those two conflicting packages installed one over other.

Other jobs proved that only i386 was (always) failing, while other archs did not tell about conflicts. I don't know why.

I was not aware of the conflict and found it just because behaviour of i386 arch. What I would be happy to see is at least what happened with i386, for all archs. Just do not miss that conflict happened.

Comment 4 Nick Coghlan 2012-10-17 04:39:40 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 5 Nick Coghlan 2012-11-07 05:56:23 UTC
Reverting to NEW to more accurately reflect current status.


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