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.