Bug 790408 - promote errata - error thrown, but process goes fine
Summary: promote errata - error thrown, but process goes fine
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-14 12:57 UTC by Garik Khachikyan
Modified: 2019-09-25 21:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:26:57 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Garik Khachikyan 2012-02-14 12:57:46 UTC
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:

Comment 1 Ivan Necas 2012-02-21 16:31:53 UTC
Should be fixed in commit fd0bd4080c52b10b6edec96d03767e2fa531213c

Comment 2 Ivan Necas 2012-02-21 16:32:54 UTC
Previous comment is not correct, fixed in commit b28e946796778a36148878da8f9cfd2e96f5dd2f

Comment 4 Ivan Necas 2012-02-22 08:19:43 UTC
Tagged in katello-0.1.243-1

Comment 5 Garik Khachikyan 2012-02-22 10:20:51 UTC
# 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
---

Comment 7 Mike McCune 2013-08-16 18:11:40 UTC
getting rid of 6.0.0 version since that doesn't exist


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