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 1671318

Summary: [RFE] The CV exported tar should have minor version of Content View.
Product: Red Hat Satellite Reporter: vijsingh
Component: Inter Satellite SyncAssignee: Chris Roberts <chrobert>
Status: CLOSED ERRATA QA Contact: vijsingh
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: bkearney, chrobert, ehelms, jturel, zhunting
Target Milestone: 6.6.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: https://projects.theforeman.org/issues/26326
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-22 12:47:06 UTC Type: Bug
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: 1644596    

Description vijsingh 2019-01-31 11:21:16 UTC
Description of problem:

Currently, the exported tar is written with the name in format export-cvname-cvvid.tar, 
but the exported tar should have minor version of Content View too:

export-<cv_name>-<cvv MinorMajor>.tar

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

Satellite 6.5.0 Snap 13.0

How reproducible:
Always

Steps to Reproduce:
1. Export content view version to some directory
2. Look at the tar name in the exported directory.

Actual results:

The exported tar does not have minor version of Content View in name:

 i.e. export-cvname-cvvid.tar

Expected results:

The exported tar should have minor version of Content View in name:
Expected: export-<cv_name>-<cvv MinorMajor>.tar

Comment 6 vijsingh 2019-06-04 07:34:33 UTC
ON_QA Verified

@Satellite 6.6.0 snap 5.0

Steps/Observation:

~~~~~~~~
[root@qe-sat6-bm1 ~]# hammer content-view version list
---|-------------------------------|---------|-----------------------
ID | NAME                          | VERSION | LIFECYCLE ENVIRONMENTS
---|-------------------------------|---------|-----------------------
3  | DevCV 2.0                     | 2.0     | Library               
2  | DevCV 1.0                     | 1.0     |                       
1  | Default Organization View 1.0 | 1.0     | Library               
---|-------------------------------|---------|-----------------------

[root@qe-sat6-bm1 ~]# hammer content-view version export --export-dir /tmp --id 2

[root@qe-sat6-bm1 ~]# hammer content-view version export --export-dir /tmp --id 3

[root@qe-sat6-bm1 ~]# ls -ltr /tmp|grep export
-rw-r--r--. 1 root    root    174080 Jun  4 03:15 export-DevCV-1.0.tar
-rw-r--r--. 1 root    root    174080 Jun  4 03:16 export-DevCV-2.0.tar
[root@qe-sat6-bm1 ~]#
~~~~~~~~

 - The exported tar does have minor version of Content View in it name:

Comment 8 errata-xmlrpc 2019-10-22 12:47:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3172