Bug 1523251 - hammer compute-resource create missing 'quote-id' for ovirt resource
Summary: hammer compute-resource create missing 'quote-id' for ovirt resource
Keywords:
Status: CLOSED DUPLICATE of bug 1501927
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - RHEV
Version: 6.3.0
Hardware: All
OS: All
low
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker
TreeView+ depends on / blocked
 
Reported: 2017-12-07 14:20 UTC by David Sirrine
Modified: 2019-08-12 16:32 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-10 13:58:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
.tar.gz containing all logs and screenshots (7.61 MB, application/x-gzip)
2017-12-07 14:25 UTC, David Sirrine
no flags Details

Description David Sirrine 2017-12-07 14:20:02 UTC
Description of problem:
When creating rhv compute resource via hammer cli, UI throws warnings and does not show all resources available within compute resource until quota id is set manually. 

Version-Release number of selected component (if applicable):
tfm-rubygem-hammer_cli_katello-0.11.3.1-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.12-1.fm1_15.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_admin-0.0.7-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.6-2.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_remote_execution-0.0.6-1.fm1_15.el7sat.noarch
tfm-rubygem-hammer_cli-0.11.0.1-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3.3-2.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_openscap-0.1.5-1.fm1_15.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_discovery-1.0.0-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman-0.11.0.3-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_virt_who_configure-0.0.3-1.el7sat.noarch
tfm-rubygem-hammer_cli_csv-2.3.0-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create compute resource with the following:

hammer compute-resource create \
     --datacenter $rhv_datacenter \
     --locations $sat_location \
     --name rhvm \
     --organizations $sat_org \
     --password $ovirt_password \
     --provider Ovirt \
     --url https://rhvm.example.com/ovirt-engine/api/v3 \
     --user $ovirt_user

2. Browse to Infrastructure -> Compute resources

3. Click on newly created resource name (in this case, rhvm)

Actual results:
Throws warning:

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

Doesn't display Virtual Machines


Expected results:
No warnings and displays all resources as expected. 

Additional info:
See attached logs, screenshots, and foreman-debug

Comment 1 David Sirrine 2017-12-07 14:21:48 UTC
Correction: You have to "Test connection" before you can set the quota id

Comment 2 David Sirrine 2017-12-07 14:25:18 UTC
Created attachment 1364335 [details]
.tar.gz containing all logs and screenshots


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