Bug 1483973

Summary: Services order request failure is not reflected in the Self Service UI
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: UI - ServiceAssignee: Chris Hale <chhale>
Status: CLOSED ERRATA QA Contact: Jan Zmeskal <jzmeskal>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: dclarizi, istein, jhardy, jzmeskal, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-01 13:15:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
self_service_UI_Orders.png
none
Administration_UI_service_requests.png
none
Unsuccessful order correctly reflected in SSUI none

Description Ilanit Stein 2017-08-22 12:07:22 UTC
Description of problem:
It seems the Orders in the SSUI are always seen as:
Approved, Request State: Finished.
and not reflecting Service requests failures.

For example, 
in case of Ordering a service VM provision, on RHV provider that was added with ca_certificate.
On CFME UI, Request fail (bug 1483303), however on Self service UI, the failure is not reflected.
 
Version-Release number of selected component (if applicable):
CFME-5.8.1.5/RHV-4.1.5

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Chris Hale 2017-08-25 16:15:04 UTC
Can you provide screenshots of what shows up in CFME UI and also what you see in the SUI.

Comment 3 Ilanit Stein 2017-09-07 15:37:36 UTC
Created attachment 1323268 [details]
self_service_UI_Orders.png

Comment 4 Ilanit Stein 2017-09-07 15:38:08 UTC
Created attachment 1323269 [details]
Administration_UI_service_requests.png

Comment 5 Ilanit Stein 2017-09-07 15:40:45 UTC
As can be seen in the 2 screenshots attached in Adminisration UI some of the service requests failed, but in the self service UI, those same service requests status failed is not reflected, and seem as if those service requests finished OK.

Comment 6 Chris Hale 2017-09-07 17:30:54 UTC
Thank you for the screenshots.  Do you have this on an appliance I can log into and look at?

Comment 7 Chris Hale 2017-09-08 18:44:08 UTC
 I was able to figure out what was going on without a ss.

Comment 8 Chris Kacerguis 2017-09-08 21:04:47 UTC
A Pivotal Tracker story has been created for this Bug: https://www.pivotaltracker.com/story/show/150935614

Comment 9 Chris Kacerguis 2017-09-11 14:36:25 UTC
Chris Hale added a comment in Pivotal Tracker:   
   
Commit by Chris Hale
https://github.com/ManageIQ/manageiq-ui-service/commit/e1c39151999afb4dda3f58da5d435a7ad9aae9a2

[Fixes #150935614] Added more detail when a order request fails

Comment 10 Chris Kacerguis 2017-09-11 14:36:29 UTC
Chris Kacerguis added a comment in Pivotal Tracker:   
   
Commit by Allen Wight
https://github.com/ManageIQ/manageiq-ui-service/commit/21626b870ceb6c54ed4ce2b14534d91d12de9ec0

Merge pull request #921 from chalettu/order-status

[Fixes #150935614] Added more detail when a order request fails

Comment 11 Satoe Imaishi 2017-09-12 13:07:45 UTC
PR: https://github.com/ManageIQ/manageiq-ui-service/pull/921

Comment 12 Jan Zmeskal 2017-12-22 09:29:11 UTC
Verified on:
CFME 5.9.0.14
RHV 4.1.7.6

Verification steps:
1. Create a catalog item for VM provision that will be successful and order it from CFME. Wait for it to complete.
2. Go to SSUI -> My Orders.
3. That order should have Request State: Finished.
4. Create a catalog item for VM provision that will fail. (One possible way is just take the previous catalog item and in RHV remove that template that is used by the catalog item.) Order it and wait for it to fail.
5. Go to SSUI -> My Orders.
6. That order should have Request State: Error.

Comment 13 Jan Zmeskal 2017-12-22 09:29:59 UTC
Created attachment 1371217 [details]
Unsuccessful order correctly reflected in SSUI

Comment 16 errata-xmlrpc 2018-03-01 13:15:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0380