Bug 1870928 - [RFE] Appropriate error should be displayed if incorrect target version is provided while running capsule upgrade playbook job
Summary: [RFE] Appropriate error should be displayed if incorrect target version is pr...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible
Version: 6.8.0
Hardware: All
OS: All
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-21 04:18 UTC by Kaushik Sajjan Agarwal
Modified: 2020-09-21 11:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Foreman Issue Tracker 30888 Normal New Proxy-Upgrade playbook - Error message for target version is not user friendly 2020-12-03 14:12:40 UTC

Description Kaushik Sajjan Agarwal 2020-08-21 04:18:00 UTC
Description of problem:

[RFE] Appropriate error should be displayed if incorrect target version is provided while running capsule upgrade playbook job


Version-Release number of selected component (if applicable):

Red Hat Satellite 6.8 Beta


How reproducible:

Always

Steps to Reproduce:
1. Navigate to the following path in Satellite GUI: Monitor >> Jobs >> Click on "Run Job"
2. Fill in the following details and click on "Submit":

---
Job category - Ansible Playbook
Job template - Capsule Upgrade Playbook
Search Query - name = (Your_Capsule_FQDN)
target_version - <Fill in any incorrect version>    // Example: 6.2, 6, abc, 6.z
whitelist_options - "check-non-redhat-repository"   // You can provide any other options
---


Actual results:

The job will fail as the "target_version" specified is incorrect but doesn't clearly states that the target versoin was the issue.

Expected results:

The failed job should state the "target_version" issue clearly.

Additional info:

Comment 3 Ondřej Ezr 2020-09-21 11:29:11 UTC
Created redmine issue https://projects.theforeman.org/issues/30888 from this bug


Note You need to log in before you can comment on or make changes to this bug.