Project

General

Profile

Actions

Bug #21208

closed

Option -y, --assumeyes in upgrade run do not answer yes for yum update

Added by Swapnil Abnave over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:

Description

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

Description of problem: We were trying to run upgrade with --assumeyes option.But still while performing yum update it will ask for answer.

*Version-Release number of selected component (if applicable):*Foreman-maintain snap 2.0

*How reproducible:*always

Steps to Reproduce:
1.# foreman-maintain upgrade run -h
Usage:
foreman-maintain upgrade run [OPTIONS]

Options:
--target-version TARGET_VERSION Target version of the upgrade
-y, --assumeyes Automatically answer yes for all questions
-w, --whitelist whitelist Comma-separated list of labels of steps to be ignored
-f, --force Force steps that would be skipped as they were already run
--phase phase run only a specific phase
-h, --help print help

2.# foreman-maintain upgrade run --target-version 6.3 -w "repositories-setup" -y

Actual results:
Ask for answer while yum update

Transaction Summary =========================================================================================================================================
Install 7 Packages (+85 Dependent packages)
Upgrade 172 Packages

Total download size: 105 M
Is this ok [y/d/N]:

Expected results:
It should not ask for yes if -y /--assumeyes option is passed.

Additional info:

Actions #1

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/107 added
Actions #2

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/115 added
Actions #3

Updated by Kavita Gaikwad over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF