Bug 1934545
Summary: | pulp3: Content View publish with filters and depsolve=true generates assert failures | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED DUPLICATE | QA Contact: | Lai <ltran> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.9.0 | CC: | dalley, ggainey, jjeffers, jsherril, myarboro, rchan, ryandeussing, smallamp, ttereshc |
Target Milestone: | 6.10.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
Cause: Not all dependencies can be resolved
Solution: Ensure all necessary repositories are included, so all dependencies can be resolved
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-09-13 17:42:22 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
Pavel Moravec
2021-03-03 13:02:49 UTC
What version of libsolv and python-libsolv are installed? (In reply to Daniel Alley from comment #1) > What version of libsolv and python-libsolv are installed? Just libsolv-0.7.12-2.el7pc.x86_64 from rhel-server-7-satellite-6-beta-rpms, no python-libsolv. Will send credentials to my reproducer in a private update. I've been investigating this, and the most obvious problem is that the original scenarios described invoke what is effectively "undefined behavior" (in a logical sense, not a literal "C" sense). Nearly every package in the Appstream repo contains some kind of dependency on packages in BaseOS (think: libc, /bin/bash, /bin/python). SAT solvers such as libsolv, used by Pulp and DNF, simply cannot handle this situation gracefully unless *all* possible dependencies are available to the solver. This means that depsolving-enabled copies involving AppStream need to include BaseOS as part of the copy repo set. And likewise, RHEL 7 Optional extends the base RHEL 7 repositories, and so copying packages from RHEL 7 Optional with depsolving enabled needs to include the RHEL 7 repositories as part of the copy repo set. If this isn't done, then it is highly likely that even if the copy succeeds, the results will be incorrect. In this case, it appears that it does not succeed. In my experimentation, in both cases, large quantities (pages worth) of logs are printed about the inability to properly resolve all dependencies. I think the action items here are: * Improve the UI such that users are warned about, or prevented from making, dependency-incomplete copies such as this. * Attempt to make Pulp's behavior in such scenarios more consistent and better documented. Make the error messages cleaner and more helpful. Agreed on stand-up to propose for 6.10. The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at High. Updating the external tracker on this bug. Closing as a dup, this is one symptom of an underlying issue to be resolved. *** This bug has been marked as a duplicate of bug 2003764 *** The Pulp upstream bug status is at CLOSED - DUPLICATE. Updating the external tracker on this bug. The Pulp upstream bug status is at CLOSED - DUPLICATE. Updating the external tracker on this bug. The Pulp upstream bug priority is at High. Updating the external tracker on this bug. |