Bug 1072416

Summary: [RFE] schedulePackageRemove also for extra packages
Product: Red Hat Satellite 5 Reporter: Lukas Pramuk <lpramuk>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 560CC: cperry, tkasparek
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: 2014-10-06 14:08:46 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: 260381    

Description Lukas Pramuk 2014-03-04 14:36:28 UTC
Description of problem:
Currently there is no way to schedule removal of an etra package from a system.
You can only schedule a package removal based upon package_id (system.schedulePackageRemove). However, for an extra package you can't have package_id. So we need new API call named scheduleExtraPackageRemove or schedulePackageRemovebyNevra that would accept Nevra parameters instead of package_id.


Steps to Reproduce:
1. call system.comparePackages / system.comparePackageProfile to obtain diff list 
2. call to system.schedulePackageRemovebyNevra

Actual results:
there is no such call


Expected results:
possibility to remove extra packages from a system also via API call