Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 743816

Summary: Changeset promition fails on RHEL6.1
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: katello-agentAssignee: Shannon Hughes <shughes>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: pkilambi, sghai, shughes
Target Milestone: Unspecified   
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 17:59:40 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 Lukas Zapletal 2011-10-06 07:41:22 UTC
Our changeset promote system test fails on RHEL6.1. It is green on Fedoras.

Steps to repro

1. Run system tests on RHEL6.1
2. See the error:

changeset promote --org=org_9ae2a6 --environment=env_9ae2a6 --name=changeset_2_9ae2a6
Promoting the changeset, please wait... [/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D[|][3D[/][3D[-][3D[\][3D[|][3D[/][3D   [3D[40D                                        [40DChangeset [ changeset_2_9ae2a6 ] promotion failed: Pulp::Package: 500 Internal Server Error "Traceback (most recent call last):\n  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py\", line 48, in report_error\n    return method(self, *args, **kwargs)\n  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py\", line 127, in _auth_decorator\n    value = method(self, *args, **kwargs)\n  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/services.py\", line 72, in POST\n    return self.ok(papi.package_dependency(data['pkgnames'], data['repoids'], recursive=recursive))\n  File \"/usr/lib/python2.6/site-packages/pulp/server/api/package.py\", line 241, in package_dependency\n    dsolve = DepSolver(repos, pkgnames)\n  File \"/usr/lib/python2.6/site-packages/pulp/server/api/depsolver.py\", line 37, in __init__\n    self.setup()\n  File \"/usr/lib/python2.6/site-packages/pulp/server/api/depsolver.py\", line 48, in setup\n    self._repostore.add(self.yrepo)\n  File \"/usr/lib/python2.6/site-packages/yum/repos.py\", line 113, in add\n    repoobj._override_sigchecks = self.ayum._override_sigchecks\nAttributeError: DepSolver instance has no attribute '_override_sigchecks'\n" (POST /pulp/api/services/dependencies/)

Comment 2 Pradeep Kilambi 2011-10-06 13:12:00 UTC
This issue has been addressed in rhel 6.2. newer version of yum is here:

https://brewweb.devel.redhat.com/buildinfo?buildID=180050

We're working to see if we can get this into 6.1 as well. But for now use this new version of yum.

Comment 3 Shannon Hughes 2011-10-06 14:55:00 UTC
adding to katello repo as temporary fix until new yum hits z stream

Comment 4 Shannon Hughes 2011-10-06 15:54:43 UTC
new dep added in katello-0.1.88-1

61643fdf51ab6eef36769bc6a63d2aec8726f740

Comment 5 Sachin Ghai 2011-12-26 09:33:04 UTC
Verified with following katello build:
[root@dhcp201-197 home]# rpm -qa | grep katello
katello-glue-pulp-0.1.155-1.el6.noarch
katello-configure-0.1.48-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-cli-common-0.1.31-1.el6.noarch
katello-glue-foreman-0.1.155-1.el6.noarch
katello-common-0.1.155-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-0.1.155-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-repos-0.1.4-1.el6.noarch
katello-cli-0.1.31-1.el6.noarch
katello-glue-candlepin-0.1.155-1.el6.noarch
katello-all-0.1.155-1.el6.noarch
katello-certs-tools-1.0.1-1.el6.noarch



Installed yum version;
====================
[root@dhcp201-197 f15_x86_64]# rpm -qa | grep yum
yum-utils-1.1.30-6.el6.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-rhn-plugin-0.9.1-26.el6.noarch
yum-3.2.29-17.el6.noarch
[root@dhcp201-197 f15_x86_64]# 


[root@dhcp201-197 f15_x86_64]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.1 (Santiago)
[root@dhcp201-197 f15_x86_64]# 



Changeset promotion is working fine. I promoted a f15 product from 'Locker' to 'test' env.

Create changeset:
==================
katello> changeset create --org ACME_Corporation --name promo_f15 --env test
Successfully created changeset [ promo_f15 ] for environment [ test ]

katello> changeset update --org ACME_Corporation --name=promo_f15 --env test --add_product f15
Successfully updated changeset [ promo_f15 ]

Promote changeset:
===================
katello> changeset promote --org ACME_Corporation --name promo_f15 --env test
Changeset [ promo_f15 ] promoted           


After promotion, contents in 'test' env:
=========================================

[root@dhcp201-197 ~]# cd /var/lib/pulp/repos/ACME_Corporation/test/custom/f15/f15_x86_64/
[root@dhcp201-197 f15_x86_64]# ls
aajohan-comfortaa-fonts-1.004-2.fc15.noarch.rpm                         libmodplug-0.8.8.2-1.fc15.x86_64.rpm
aalib-libs-1.4.0-0.19.rc5.fc15.x86_64.rpm                               libmount-2.19.1-1.fc15.x86_64.rpm
abattis-cantarell-fonts-0.0.6-1.fc15.noarch.rpm                         libmp4v2-1.5.0.1-11.fc15.x86_64.rpm
abrt-2.0.2-5.fc15.x86_64.rpm                                            libmpc-0.8.3-0.3.svn855.fc15.x86_64.rpm
abrt-addon-ccpp-2.0.2-5.fc15.x86_64.rpm                                 libmpcdec-1.2.6-7.fc15.x86_64.rpm
abrt-addon-kerneloops-2.0.2-5.fc15.x86_64.rpm                           libmsn-4.1-2.fc15.x86_64.rpm
abrt-addon-python-2.0.2-5.fc15.x86_64.rpm                               libmthca-1.0.5-9.fc15.x86_64.rpm

<truncated>