Project

General

Profile

Actions

Bug #28097

closed

"foreman-maintain packages update" fails to update all packages

Added by Martin Bacovsky over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1759588

Description of problem:
"foreman-maintain packages update" fails to update all packages with:

ERROR: parameter 'PACKAGES ...': no value provided

It should work similar way as "yum update" works. No parameter means all packages.

Yet worse, there is explicit all packages for yum as "\*"
But for foreman-maintain it needs to be escaped twice "\\*"

Not obvious nor documented.

Version-Release number of selected component (if applicable):
@Satellite 6.6.0 Snap22
rubygem-foreman_maintain-0.4.9-1.el7sat.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. # foreman-maintain packages update
ERROR: parameter 'PACKAGES ...': no value provided

See: 'foreman-maintain packages update --help'

Actual results:
"foreman-maintain packages update" dourly expects a parameter

Expected results:
"foreman-maintain packages update" treats no parameter the same way as "yum update" does

Additional info:
Undocumented workaround is
  1. foreman-maintain packages update \\*
Actions #1

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/286 added
Actions #2

Updated by Martin Bacovsky over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF