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 754278 - Exporting of templates should not work for the locker
Summary: Exporting of templates should not work for the locker
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Tomas Strachota
QA Contact: Jitendra Yejare
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-11-15 23:01 UTC by Bryan Kearney
Modified: 2019-09-25 21:27 UTC (History)
2 users (show)

Fixed In Version: katello-0.1.111-1.git.14.3e2fbdf
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:06:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bryan Kearney 2011-11-15 23:01:07 UTC
This should only be supported from a real environment.

Comment 1 Tomas Strachota 2011-11-22 10:43:49 UTC
Fixed in commit

commit 7fef87ea1a2ebe618aacd5b3bc8d3132c2000340
Author: Tomas Strachota <tstrachota>
Date:   Mon Nov 21 11:07:54 2011 +0100

    template export - system test for exporting from non-locker env

Comment 2 Sachin Ghai 2011-11-24 07:20:53 UTC
Verified with following katello builds:

[root@dhcp201-152 ~]# rpm -qa | grep katello
katello-cli-common-0.1.13-1.git.31.0d131f9.fc15.noarch
katello-glue-foreman-0.1.112-1.git.5.4e00e02.fc15.x86_64
katello-glue-pulp-0.1.112-1.git.5.4e00e02.fc15.x86_64
katello-configure-0.1.16-1.git.20.8d693e7.fc15.noarch
katello-common-0.1.112-1.git.5.4e00e02.fc15.noarch
katello-0.1.112-1.git.5.4e00e02.fc15.x86_64
katello-all-0.1.112-1.git.5.4e00e02.fc15.x86_64
katello-glue-candlepin-0.1.112-1.git.5.4e00e02.fc15.x86_64
katello-cli-0.1.13-1.git.31.0d131f9.fc15.noarch
katello-repos-0.1.3-1.git.0.db2bd1d.fc15.noarch
[root@dhcp201-152 ~]# 


Now template exporting is working only from real env, not from Locker.

katello> template export --name mytemp --org ACME_Corporation --file=/root/mytemp --env Locker
Exporting template, please wait... Cannot export templates form the Locker environment., 

katello> template export --name mytemp --org ACME_Corporation --file=/home/mytemp --env test
Template was exported successfully to file /home/mytemp


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