Description of problem: When specifying multiple parameters with rhn-satellite-activate it only executes the last parameter When doing something like the following only the last parameter --manifest-info gets executed: # rhn-satellite-activate --manifest-refresh --manifest-reconcile-request --manifest-info ~~~ Name: manifest-name UUID: 2eadb746-ddfgdgdfhf-dgfhghfgh-fhgfhghgh Owner ID: 3908890 Satellite version: 5.8 Created: 2018-05-07T08:36:34.789+0000 API URL: https://subscription.rhn.redhat.com/subscription/consumers/ ~~~ When doing something like below only --manifest-reconcile-request gets executed: # rhn-satellite-activate --manifest-refresh --manifest-reconcile-request ~~~ 11:55:26 Requesting manifest regeneration... 11:55:27 Manifest regeneration requested. ~~~ Version-Release number of selected component (if applicable): # rpm -qa |grep satellite satellite-schema-5.8.0.40-1.el6sat.noarch satellite-repo-5.8.0.2-2.el6sat.noarch satellite-branding-5.8.0.8-1.el6sat.noarch satellite-doc-indexes-5.8.0-1.el6sat.noarch How reproducible: 100% Steps to Reproduce: 1. # rhn-satellite-activate --manifest-refresh --manifest-reconcile-request 2. # rhn-satellite-activate --manifest-refresh --manifest-reconcile-request --manifest-info 3. Actual results: Only last parameter gets executed Expected results: All parameters to be executed or throw an error message Additional info:
Combining multiple --manifest-* parameters in single run is not supported according to the current code. It could be fixed by either: 1. doing the execution chain reasonably: manifest-reconcile-request -> manifest-refresh -> manifest-info 2. complaining about invalid parameter combination
I would vote for option 2