| Summary: | promote errata - error thrown, but process goes fine | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Garik Khachikyan <gkhachik> |
| Component: | katello-agent | Assignee: | Ivan Necas <inecas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Garik Khachikyan <gkhachik> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.1 | CC: | inecas, mkoci, mmccune |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-22 18:26:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Should be fixed in commit fd0bd4080c52b10b6edec96d03767e2fa531213c Previous comment is not correct, fixed in commit b28e946796778a36148878da8f9cfd2e96f5dd2f Tagged in katello-0.1.243-1 # VERIFIED Checked against the recent version: scenario in comment#0 goes fine without errors. Errata gets promoted to the next environment. versions: --- katello-0.1.243-1.git.0.a066880.el6.noarch katello-cli-0.1.57-1.git.0.4e2dd9a.el6.noarch pulp-0.0.266-1.el6.noarch candlepin-0.5.20-1.el6.noarch --- getting rid of 6.0.0 version since that doesn't exist |
Description of problem: In recent state of Katello there is thrown an error (no details in: {pulp.log,catalina.out,production.log}) during promoting an errata. --- Changeset [ cs_Dev2 ] promotion failed: undefined method `merge' for #<JSON::Ext::Generator::State:0x7fef87937550> Version-Release number of selected component (if applicable): katello-cli-0.1.54-3.el6.noarch katello-0.1.235-2.el6.noarch pulp-0.0.265-1.el6.noarch candlepin-0.5.18-1.el6.noarch How reproducible: always Steps to Reproduce: Do following from Katello cli shell: --- > org create --name "Zoo Corporation" > client remember --option org --value "Zoo Corporation" > provider create --name Zoo > product create --name Zoo --provider Zoo > repo create --product Zoo --url http://inecas.fedorapeople.org/fakerepos/zoo/ --name zoo-repo > environment create --name Dev --prior Library > changeset create --name cs_Dev1 --environment Dev > changeset update --add_product Zoo --name cs_Dev1 --environment Dev > changeset promote --name cs_Dev1 --environment Dev > repo synchronize --name zoo-repo --product Zoo > errata list --repo zoo-repo --product Zoo > changeset update --from_product Zoo --add_erratum RHEA-2012:0002 --name cs_Dev2 --environment Dev > changeset promote --name cs_Dev2 --environment Dev --- but despite of the error the promotion is done. --- > errata info --repo zoo-repo --product Zoo --environment Dev --id RHEA-2012:0002 Actual results: Exception thrown (however promotion is done) Expected results: no exception, clean output ;) Additional info: