Project

General

Profile

Bug #30545

UI dialog for Capsule Upgrade Playbook job doesn't state whitelist_options is required

Added by Adam Ruzicka over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

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

Description of problem:
Running Capsule Upgrade Playbook job without specifying whitelist_options fails with:
ERROR: option '--whitelist': value not specified"

UI does not mark whitelist_options as required

Version-Release number of selected component (if applicable):
Satellite 6.8 snap 10

How reproducible:
always

Steps to Reproduce:
1. Have a Satellite and a Capsule registered to it
2. Monitor > Jobs > Run Job >
3. Fill the fileds
Job category : Ansible Playbook
Job template : Capsule Upgrade Playbook
Search Query : name ~ <caps-fqdn>
target_version : 6.8
leave whitelist_options blank

Actual results:
ERROR: option '--whitelist': value not specified"

Expected results:
Either the playbook should succeed without whitelist_options specified, or job invocation dialog should mark the option as required. Also some explanation of the parameter would be nice

Additional info:


Related issues

Has duplicate Ansible - Feature #29616: Fix Capsule upgrade playbook templateDuplicate

Associated revisions

Revision 05ebdca9 (diff)
Added by Adam Ruzicka over 2 years ago

Fixes #30545 - Pass whitelist options only if provided by the user

History

#1 Updated by The Foreman Bot over 2 years ago

  • Assignee set to Adam Ruzicka
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_ansible/pull/355 added

#2 Updated by Adam Ruzicka over 2 years ago

  • Status changed from Ready For Testing to Closed

#3 Updated by Adam Ruzicka about 2 years ago

  • Subject changed from UI dialog for Capsule Upgrade Playbook job doesn't state whitelist_options is required to UI dialog for Capsule Upgrade Playbook job doesn't state whitelist_options is required
  • Fixed in Releases foreman_ansible-5.1.2 added

#4 Updated by Tomer Brisker about 2 years ago

  • Has duplicate Feature #29616: Fix Capsule upgrade playbook template added

Also available in: Atom PDF