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 952106 - Nightly : Importing manifests gives ambigious return exit code even after the failure
Summary: Nightly : Importing manifests gives ambigious return exit code even after the...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: Nightly
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On: 952104
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-15 08:21 UTC by Tazim Kolhar
Modified: 2014-04-24 17:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 952104
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tazim Kolhar 2013-04-15 08:21:12 UTC
+++ This bug was initially created as a clone of Bug #952104 +++

Description of problem:
Importing the manifests gives ambigious return exit code
even after failure

Version-Release number of selected component (if applicable):

# rpm -qa | grep katello
ruby193-rubygem-foreman-katello-engine-0.0.4-3.el6.noarch
katello-configure-1.3.6-1.git.1223.a283dbf.el6.noarch
katello-common-1.3.14-1.git.1213.1570290.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-agent-1.3.1-1.git.1724.e6e8050.el6.noarch
ruby193-rubygem-katello_api-0.0.2-2.el6.noarch
katello-all-1.3.14-1.git.1213.1570290.el6.noarch
katello-cli-common-1.3.5-1.git.250.1570290.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-glue-elasticsearch-1.3.14-1.git.1213.1570290.el6.noarch
katello-repos-1.3.2-1.git.2025.9dfcc69.el6.noarch
katello-certs-tools-1.3.0-1.git.2926.e6e8050.el6.noarch
katello-glue-foreman-1.3.14-1.git.1213.1570290.el6.noarch
katello-glue-pulp-1.3.14-1.git.1213.1570290.el6.noarch
katello-selinux-1.3.1-1.git.1882.e6e8050.el6.noarch
katello-1.3.14-1.git.1213.1570290.el6.noarch
katello-cli-1.3.5-1.git.250.1570290.el6.noarch
katello-glue-candlepin-1.3.14-1.git.1213.1570290.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch


How reproducible:
# yum install -y katello-all
# katello-configure --user-pass=PASSWORD

Steps to Reproduce:
1.katello -u admin -p **** provider import_manifest --name "Red Hat" --org testorg --file "/tmp/manifest6M.zip"
Provider [ Red Hat ] failed to import manifest: This subscription management application has already been imported by another owner.


2.echo $?
  0

  
Actual results:

The return exit code should does not match for the failure
Expected results:

The return exit code should match for the failure
Additional info:

Comment 1 Mike McCune 2013-04-15 21:22:46 UTC
lowering to medium, this isn't *that* severe

Comment 2 Tom McKay 2013-04-30 18:15:25 UTC
Branch: refs/heads/master
  Home:   https://github.com/Katello/katello-cli
  Commit: e8cb98e237c72f5b61f6a2929adb2687c4798cea
      https://github.com/Katello/katello-cli/commit/e8cb98e237c72f5b61f6a2929adb2687c4798cea
  Author: Tom McKay <thomasmckay>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

Comment 3 Tom McKay 2013-04-30 18:18:42 UTC
Branch: refs/heads/master
  Home:   https://github.com/Katello/katello
  Commit: 1ad9a356429f256a7212be9514d8d2433ddc72dd
      https://github.com/Katello/katello/commit/1ad9a356429f256a7212be9514d8d2433ddc72dd
  Author: Tom McKay <thomasmckay>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

Comment 6 Kedar Bidarkar 2013-10-23 13:04:29 UTC
[root@xxxxx ~]# katello -u admin -p admin provider import_manifest --name "Red Hat" --org testorg --file "/root/manifest_prod_postmdp.zip" 
Provider [ Red Hat ] failed to import manifest: R
[root@xxxx ~]# echo $?
65


verified with Satellite-6.0.2-RHEL-6-20131021.0/

Comment 7 Bryan Kearney 2014-04-24 17:11:21 UTC
This was verified and delivered with MDP2. Closing it out.

Comment 8 Bryan Kearney 2014-04-24 17:12:16 UTC
This was delivered and verified with MDP2. Closing the bug.


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