Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1069879

Summary: spacwalk-clone-by-date prints the same message for every channel.
Product: Red Hat Satellite 5 Reporter: Dimitar Yordanov <dyordano>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Og Maciel <omaciel>
Severity: low Docs Contact:
Priority: low    
Version: 560CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-13 09:54:37 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: 1127641    
Attachments:
Description Flags
Patch none

Description Dimitar Yordanov 2014-02-25 20:37:48 UTC
Description of problem:
Spacewalk-clone-by-date tool will print the message "Using update_date" or
"Using issue_date"  for every channel that is to be cloned.

Version-Release number of selected component (if applicable):
spacewalk-utils-2.0.2-12

How reproducible:
100%

Steps to Reproduce:
1. Create the following custom channels:
     cust_chann_parent
       cust_chann_child_1
       cust_chann_chold_2
2.spacewalk-clone-by-date -l cust_chann_parent parent_clone -l cust_chann_child_1 child_1_clone -l cust_chann_child_2 child_2_clone  --username user --password password

Actual results:
Using issue_date
Using issue_date
Using issue_date

Expected results:
Using issue_date


Additional info:

Comment 1 Dimitar Yordanov 2014-02-25 20:40:56 UTC
Created attachment 867636 [details]
Patch

Comment 2 Stephen Herr 2014-02-25 21:38:55 UTC
Patch accepted, thanks!

Committing to Spacewalk master:
25d8b41ec31b89b2372cd7d43f8bef41b0313dbc

Comment 3 psmatana 2014-11-22 14:47:25 UTC
Verified.

spacewalk-utils-2.3.2-9.el6sat.rpm

1. Create channel
Channels -> Manage Software Channels -> Create Channel
	cust_chann_parent
And create child channel from cust_chann_parent.
		cust_chann_child_1
		cust_chann_child_2

Step 2. $ spacewalk-clone-by-date -l cust_chann_parent parent_clone -l cust_chann_child_1 child_1_clone -l cust_chann_child_2 child_2_clone --username XXX --password XXX | grep 'Using issue_date'

Step 2. returns only one "Using issue_date" which is right.

Reproduced.

spacewalk-utils-2.0.2-13.el6sat.rpm

Step 2. $ spacewalk-clone-by-date -l cust_chann_parent parent_clone -l cust_chann_child_1 child_1_clone -l cust_chann_child_2 child_2_clone --username XXX --password XXX | grep     'Using issue_date'

Step 2. returns three time "Using issue_date" which is bad.

Comment 5 Clifford Perry 2015-01-13 09:54:37 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff