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 1093124 - errors on import manifest should complete dynflow task and display information to user
Summary: errors on import manifest should complete dynflow task and display informatio...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Kedar Bidarkar
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1101712 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-30 16:42 UTC by Bryan Kearney
Modified: 2019-09-26 14:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:06:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 4748 0 None None None 2016-04-22 16:43:25 UTC

Description Bryan Kearney 2014-04-30 16:42:32 UTC
% hammer -v subscription upload --organization-id megacorp --file test/data/megacorp.zip
....this will work first time....
% hammer -v subscription upload --organization-id megacorp --file test/data/megacorp.zip
ERROR 2014-03-20 11:15:13 Exception ForemanTasks::Lock::LockConflict
Manifest upload failed:
  ForemanTasks::Lock::LockConflict

In this case, an error importing the manifest happened ("manifest already imported") and this should be a non-error information message to user.

Other cases (such as trying to import that manifest into an org other than megacorp) will generate real error message which should be displayed to user and dynflow task completed anyway (with rollback if necessary).

Comment 1 Bryan Kearney 2014-04-30 16:42:34 UTC
Created from redmine issue http://projects.theforeman.org/issues/4748

Comment 2 Bryan Kearney 2014-04-30 16:42:39 UTC
Upstream bug assigned to inecas

Comment 4 Ivan Necas 2014-06-04 07:47:12 UTC
*** Bug 1101712 has been marked as a duplicate of this bug. ***

Comment 5 Bryan Kearney 2014-06-10 10:58:50 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/4748 has been closed

Comment 6 Ivan Necas 2014-06-10 11:31:44 UTC
Note for release nanny: depends on dynflow-0.7.0 and foreman-tasks-0.6.0

Comment 7 Ivan Necas 2014-06-10 11:34:15 UTC
The katello fix was merged here https://github.com/Katello/katello/pull/4206

Comment 10 Kedar Bidarkar 2014-06-13 10:32:19 UTC
verified with sat6-snap9-c2




[root@xxx ~]# hammer -v subscription upload --organization megacorp --file /root/manifest_latest2014.zip
[....................................................................................................................................................................................] [100%]
Task 52a353fa-5d7d-46c1-8c1e-96703aabec55: warning
Import is the same as existing data



Installed Packages

    candlepin-0.9.19-1.el6_5.noarch
    candlepin-scl-1-5.el6_4.noarch
    candlepin-scl-quartz-2.1.5-5.el6_4.noarch
    candlepin-scl-rhino-1.7R3-1.el6_4.noarch
    candlepin-scl-runtime-1-5.el6_4.noarch
    candlepin-selinux-0.9.19-1.el6_5.noarch
    candlepin-tomcat6-0.9.19-1.el6_5.noarch
    createrepo-0.9.9-21.2.pulp.el6sat.noarch
    dhcp201-170.englab.pnq.redhat.com-qpid-broker-1.0-1.noarch
    dhcp201-170.englab.pnq.redhat.com-qpid-client-cert-1.0-1.noarch
    elasticsearch-0.90.10-4.el6sat.noarch
    katello-1.5.0-26.el6sat.noarch
    katello-ca-1.0-1.noarch
    katello-certs-tools-1.5.5-1.el6sat.noarch
    katello-installer-0.0.48-1.el6sat.noarch
    m2crypto-0.21.1.pulp-10.el6sat.x86_64
    mod_wsgi-3.4-1.pulp.el6sat.x86_64
    pulp-katello-0.3-3.el6sat.noarch
    pulp-nodes-common-2.4.0-0.20.beta.el6sat.noarch
    pulp-nodes-parent-2.4.0-0.20.beta.el6sat.noarch
    pulp-puppet-plugins-2.4.0-0.20.beta.el6sat.noarch
    pulp-puppet-tools-2.4.0-0.20.beta.el6sat.noarch
    pulp-rpm-plugins-2.4.0-0.20.beta.el6sat.noarch
    pulp-selinux-2.4.0-0.20.beta.el6sat.noarch
    pulp-server-2.4.0-0.20.beta.el6sat.noarch
    python-gofer-qpid-1.2.1-1.el6sat.noarch
    python-isodate-0.5.0-1.pulp.el6sat.noarch
    python-kombu-3.0.15-10.pulp.el6sat.noarch
    python-pulp-bindings-2.4.0-0.20.beta.el6sat.noarch
    python-pulp-common-2.4.0-0.20.beta.el6sat.noarch
    python-pulp-puppet-common-2.4.0-0.20.beta.el6sat.noarch
    python-pulp-rpm-common-2.4.0-0.20.beta.el6sat.noarch
    python-qpid-0.22-14.el6sat.noarch
    python-qpid-qmf-0.22-33.el6.x86_64
    qpid-cpp-client-0.22-42.el6.x86_64
    qpid-cpp-server-0.22-42.el6.x86_64
    qpid-cpp-server-linearstore-0.22-42.el6.x86_64
    qpid-java-client-0.22-6.el6.noarch
    qpid-java-common-0.22-6.el6.noarch
    qpid-proton-c-0.7-1.el6.x86_64
    qpid-qmf-0.22-33.el6.x86_64
    qpid-tools-0.22-12.el6.noarch
    ruby193-rubygem-katello-1.5.0-58.el6sat.noarch
    rubygem-hammer_cli_katello-0.0.4-6.el6sat.noarch

Comment 11 Kedar Bidarkar 2014-06-13 13:24:49 UTC
~]# hammer -v subscription upload --organization ACME_Corporation --file /root/manifest_latest2014.zip
[....................................................................................................................................................................................] [100%]
Task ff69f262-93b9-4a35-b7f2-3f961acdedfc: warning
This subscription management application has already been imported by another owner.

Comment 12 Bryan Kearney 2014-07-02 14:06:33 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.


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