Bug 740254
Summary: | Stack trace calculating dependencies in changeset | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Mike McCune <mmccune> |
Component: | WebUI | Assignee: | Tomas Strachota <tstrachota> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Garik Khachikyan <gkhachik> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.0.0 | CC: | gkhachik, mkoci, tstrachota |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | katello-0.1.235-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-22 17:57:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 747354 |
Description
Mike McCune
2011-09-21 13:14:01 UTC
There's been many changes in dependency calculation since this bug was filed. Dep. calculation works without any runtime exception in katello 0.1.171-1. # REOPEN I'm afraid but I need to reopen this issue for further investigations: My scenario is: Let's assume we have built *some* katello packages: --- katello-0.1.230-1.el6.noarch.rpm katello-agent-0.14-1.git.0.8442e11.el6.noarch.rpm katello-all-0.1.230-1.el6.noarch.rpm katello-cli-0.1.54-1.git.0.2670189.el6.noarch.rpm katello-cli-common-0.1.54-1.git.0.2670189.el6.noarch.rpm katello-common-0.1.230-1.git.0.7ea815b.el6.noarch.rpm katello-configure-0.1.63-1.git.0.02f9bbe.el6.noarch.rpm katello-glue-candlepin-0.1.230-1.git.0.7ea815b.el6.noarch.rpm katello-glue-foreman-0.1.230-1.git.0.7ea815b.el6.noarch.rpm katello-glue-pulp-0.1.230-1.git.0.7ea815b.el6.noarch.rpm katello-selinux-0.1.4-1.el6.noarch.rpm --- Steps to do: 0. use org: ACME_Corporation 1. create env 2. prepare provider/product/repo having file://</your/repodata/$(pwd)/here> 3. move some packages to another directory (let's say: katello, katello-all, katello-selinux) 4. createrepo ./ there 5. sync repo 6. prepare changeset and promote the content first time there 7. move back that 3 packages, recreate the repo again 8. re-sync repo 9. prepare another changest 10. add there *only* katello-0.1.230-1.el6.noarch 11. try to promote (and follow the /var/log/pulp/pulp.log) For me it took about 10 min. and there were still processing a dependencies listing/calculation Not sure if, let's say some of packages requires httpd, we need then go further and look for dependencies of httpd there ? So to sumup - adding a simple package without some dependencies brings to some really long (maybe infinite?) loop there. versions of reproducer: --- pulp-0.0.265-1.el6.noarch candlepin-0.5.17-1.el6.noarch katello-0.1.230-1.git.0.7ea815b.el6.noarch katello-cli-0.1.54-1.git.0.2670189.el6.noarch Filtering already calculated dependencies was not working correctly and therefore circular dependencies were causing infinite loops. Fixed in katello-0.1.235-1 # VERIFIED Really fixed now :) I see added katello-selinux also while was adding katello package to the changeset only. thanks Tomas for the fix. checked against: --- katello-0.1.235-1.git.0.737ec3f.el6.noarch katello-cli-0.1.54-1.git.0.2670189.el6.noarch pulp-0.0.265-1.el6.noarch candlepin-0.5.17-1.el6.noarch One note: there is a bug I've just opened which prevents syncing local repo-s until setenforce 0 is not set. see: bz https://bugzilla.redhat.com/show_bug.cgi?id=789945 |