Bug 1583243 - RHEV without Quota ID specified -> Traceback + Alert
Summary: RHEV without Quota ID specified -> Traceback + Alert
Keywords:
Status: CLOSED DUPLICATE of bug 1501927
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - RHEV
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 1501927
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-28 14:34 UTC by Lukáš Hellebrandt
Modified: 2018-06-18 11:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-18 11:52:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1583242 0 unspecified CLOSED Hammer doesn't support Quota option for RHEV 2021-02-22 00:41:40 UTC

Internal Links: 1583242

Description Lukáš Hellebrandt 2018-05-28 14:34:35 UTC
Description of problem:
When I create a RHEV Compute Resource without Quota ID (possible using Hammer, see also bug 1583242) and I open this CR in WebUI, I get an alert window saying

"""
DataTables warning: table id=DataTables_Table_5 - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
"""

... and the attached traceback in production.log. Also, the Virtual Machines tab is not populated.

Version-Release number of selected component (if applicable):
Tested on Sat 6.4 snap 4

How reproducible:
Deterministic

Steps to Reproduce:
1. # hammer -u <satuser> -p <satpw> compute-resource create --provider ovirt --use-v4 <true_or_false> --url https://<url>/ovirt-engine/api --user <user> --password <password> --datacenter <datacenter> --name test-rhev
2. In WebUI: Infrastructure -> Compute Resources -> <resource>

Actual results:
Javascript alert() window with the above message and traceback.

Expected results:
Either this should work (and populate data) or (if Quota ID is required), the Satellite should both prevent this CR from being created and say some more user friendly message without traceback when the CR is open.

Comment 1 Brad Buckingham 2018-05-29 17:13:55 UTC
Hi Lukas,  Do you see the same on 6.3?

Comment 2 Lukáš Hellebrandt 2018-06-06 14:15:30 UTC
I haven't tested this on 6.3 yet but it seems to only happen when using RHEV API v3.

Comment 3 Lukáš Hellebrandt 2018-06-14 14:02:17 UTC
The same happens on 6.3.

Comment 4 orabin 2018-06-18 11:32:49 UTC
This is the same error seen in: https://bugzilla.redhat.com/show_bug.cgi?id=1501927.

This bug adds another way to reproduce the error.

Comment 5 orabin 2018-06-18 11:52:31 UTC
After testing with a possible fix for:  https://bugzilla.redhat.com/show_bug.cgi?id=1501927 It looks like the error is only due to the datacenter issue in 1501927.
Closing this as duplicate.

*** This bug has been marked as a duplicate of bug 1501927 ***


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