Bug 1076864

Summary: [RFE] Make possible setting params for spacewalk-repo-sync from WebUI and API.
Product: Red Hat Satellite 5 Reporter: Dimitar Yordanov <dyordano>
Component: WebUIAssignee: Stephen Herr <sherr>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Studeník <pstudeni>
Severity: low Docs Contact:
Priority: medium    
Version: 560CC: cperry, mkorbel, pstudeni
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-16 09:13:52 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: 1128175    

Description Dimitar Yordanov 2014-03-15 23:26:13 UTC
Description of problem:

   Satellite tool spacewalk-repo-sync has parameters "no-errata", "sync-kickstart" and "fail" that can be used currently only if the tool is executed directly from shell.
   It will be great if those parameters can be set when the synchronization process is started from WebUI or API as well.

Comment 1 Jan Dobes 2014-04-03 16:08:00 UTC
patch in spacewalk master:
  75cbf45a7748868e593588c825bb41c1ee431485

Comment 2 Pavel Studeník 2014-10-09 15:37:23 UTC
Verified with spacewalk-java-2.3.8-28.el6sat.noarch

Comment 4 Martin Korbel 2015-01-15 13:16:04 UTC
Re-verified on Satellite-5.7.0-RHEL6-re20150105.1 (spacewalk-java-2.3.8-96.el6sat)
Using steps described in comment 0.

WebUI log:
Sync started: Thu Jan 15 08:11:13 2015
['/usr/bin/spacewalk-repo-sync', '--channel', 'fedora-21', '--type', 'yum', ' --no-errata --sync-kickstart --fail']