Bug 1581855 - [Embedded Ansible] Server Error on EmbeddedAnsible Add Catalog Item page
Summary: [Embedded Ansible] Server Error on EmbeddedAnsible Add Catalog Item page
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.3
Assignee: Greg McCullough
QA Contact: Dave Johnson
URL:
Whiteboard: ansible_embed
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-23 19:26 UTC by Kedar Kulkarni
Modified: 2020-04-14 03:49 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-08 21:39:52 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot (158.30 KB, image/png)
2018-05-23 19:26 UTC, Kedar Kulkarni
no flags Details
Screenshot2 (135.29 KB, image/png)
2018-05-23 19:27 UTC, Kedar Kulkarni
no flags Details

Description Kedar Kulkarni 2018-05-23 19:26:59 UTC
Created attachment 1440717 [details]
Screenshot

Description of problem:
Server error shown in screenshot attached here.

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

How reproducible:
Only appeared very first time I navigated to Add Catalog Item screen

Steps to Reproduce:
1. Enable Embedded Ansible Role
2. Navigate to Services->Catalogs->Add a New Catalog Item 
3. Select Ansible Playbook Catalog Item Type

Actual results:
Screenshot

Expected results:
Should not show error  

Additional info:

Comment 2 Kedar Kulkarni 2018-05-23 19:27:31 UTC
Created attachment 1440718 [details]
Screenshot2

Comment 7 Greg McCullough 2018-06-01 17:37:23 UTC
The logic was added to only add Catalog Item types that have a backing Provider registered with the system.

In this case the there are no Repos or Credential created and that may be leading to the API error shown in the attached screenshots.

Along with validating if any repos or credentials exist we may also need to validate that the EmbeddedAnsible service is running and reachable.  We may need a provider methods to validate this status of the provider.

Need to review more with the providers team.

Comment 9 Greg McCullough 2018-06-08 21:39:52 UTC
This is a temporary error that is resolved once EmbeddedAnsible is running.  As per PM discussion I am changing to Closed - Won't Fix.


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