| Summary: | Promotion says its complete when in fact its not | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | James Laska <jlaska> |
| Component: | katello-agent | Assignee: | Justin Sherrill <jsherril> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Og Maciel <omaciel> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.0.0 | CC: | bbuckingham, jsherril, jturner, lzap, omaciel |
| Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-22 18:29:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
James Laska
2012-02-29 16:01:49 UTC
As described here - promoting only distributions should not be possible. https://bugzilla.redhat.com/show_bug.cgi?id=798709 I guess we need this BZ: Promoting a distribution without it's repo should not be possible. The real heart of this bugzilla is that when we manually regenerate the package metadata during promotion, we do not block. As a result the promotion completes before the metadata is finished promoting. The same situation occurs with adding a package or errata to a changeset and promoting it. I'll update the title accordingly. code:
def promote_content
SNIP
generate_metadata from_env, to_env
SNIP
end
generate_metadata does not block like the other items in promote content which use PulpTaskStatus::wait_for_tasks to block until the tasks are complete.
Errr actually this isn't really an RFE. The promotion is saying it is complete when its not. IMHO. Understand, will fix this. Taking... changed promotion to block on task returned from metadata generation 93dcbb74f253e7c0d3a72bb4d93e3d6d39bf212a mass move ON_QA after brewing Validated: * candlepin-0.5.24-1.el6.noarch * candlepin-tomcat6-0.5.24-1.el6.noarch * katello-0.1.303-1.el6.noarch * katello-all-0.1.303-1.el6.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.0.4-1.el6.noarch * katello-cli-0.1.102-1.el6.noarch * katello-cli-common-0.1.102-1.el6.noarch * katello-common-0.1.303-1.el6.noarch * katello-configure-0.1.104-1.el6.noarch * katello-glue-candlepin-0.1.303-1.el6.noarch * katello-glue-foreman-0.1.303-1.el6.noarch * katello-glue-pulp-0.1.303-1.el6.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-qpid-client-key-pair-1.0-1.noarch * katello-selinux-0.1.8-1.el6.noarch * pulp-1.0.0-4.el6.noarch * pulp-common-1.0.0-4.el6.noarch * pulp-selinux-server-1.0.0-4.el6.noarch |