Bug 1860804
| Summary: | Inconsistent input format for foreman-maintain packages install/update command. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jameer Pathan <jpathan> |
| Component: | Satellite Maintain | Assignee: | Kavita <kgaikwad> |
| Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.8.0 | CC: | apatel, gtalreja, kgaikwad, pcreech |
| Target Milestone: | 6.8.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-foreman_maintain-0.6.10 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-10-27 12:38:24 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: | |||
Created redmine issue https://projects.theforeman.org/issues/30589 from this bug Upstream bug assigned to kgaikwad Upstream bug assigned to kgaikwad Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30589 has been resolved. Hello, Can we get a 0.6.z upstream release of foreman_maintain with this fix in it? Thanks, Patrick Verified
Verified with:
- Satellite 6.8.0 snap 15
- rubygem-foreman_maintain-0.6.10-1.el7sat.noarch
Observation:
- foreman-maintain packages install/update command use space separated packages list.
foreman-maintain packages update/install [OPTIONS] pkg1 pkg2 pkg3
- all other command options need to be provided before packages list. In following format:
foreman-maintain packages update/install [OPTIONS] [PACKAGES] ...
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 (Satellite 6.8 Satellite Maintenance Release), 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/RHBA-2020:4365 |
Description of problem: Inconsistent input format for foreman-maintain packages install/update command. Version-Release number of selected component (if applicable): - Satellite 6.8.0 snap 9 - rubygem-foreman_maintain-0.6.8-1.el7sat.noarch How reproducible: Always Steps to Reproduce: # foreman-maintain packages install rubygem-foreman_maintain,zsh Running install packages in unlocked session ================================================================================ Install packages: Loaded plugins: foreman-protector, product-id, search-disabled-repos, subscription-manager Sat6-CI_Red_Hat_Satellite_6_7_Composes_Satellite_6_7_RHEL7 | 2.5 kB 00:00:00 Sat6-CI_Red_Hat_Satellite_6_7_Composes_Satellite_Tools_6_7_RHEL7 | 2.1 kB 00:00:00 Sat6-CI_Red_Hat_Satellite_6_8_Composes_Satellite_6_8_RHEL7 | 2.5 kB 00:00:00 Sat6-CI_Red_Hat_Satellite_6_8_Composes_Satellite_Tools_6_8_RHEL7 | 2.1 kB 00:00:00 WARNING: Excluding 12664 packages due to foreman-protector. Use foreman-maintain packages install/update <package> to safely install packages without restrictions. Use foreman-maintain upgrade run for full upgrade. No package rubygem-foreman_maintain,zsh available. Error: Nothing to do [WARNING] Failed executing yum install rubygem-foreman_maintain,zsh, exit status 1 -------------------------------------------------------------------------------- Scenario [install packages in unlocked session] failed. The following steps ended up in warning state: [packages-install] The steps in warning state itself might not mean there is an error, but it should be reviewed to ensure the behavior is expected [root@dhcp-3-115 foreman_maintain]# foreman-maintain packages update rubygem-foreman_maintain,zsh ERROR: install or update 'rubygem-foreman_maintain' package individually. [root@dhcp-3-115 foreman_maintain]# foreman-maintain packages update rubygem-foreman_maintain zsh ERROR: too many arguments See: 'foreman-maintain packages update --help' [root@dhcp-3-115 foreman_maintain]# foreman-maintain packages install rubygem-foreman_maintain zsh ERROR: install or update 'rubygem-foreman_maintain' package individually. # foreman-maintain packages update rubygem-foreman_maintain, zsh ERROR: too many arguments See: 'foreman-maintain packages update --help' # foreman-maintain packages install rubygem-foreman_maintain, zsh ERROR: install or update 'rubygem-foreman_maintain' package individually. Actual results: foreman-maintain packages install and update command treats same package list input differently. Expected results: Consistent/same package input format for foreman-maintain packages install/update command. Additional info: