Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1523251

Summary: hammer compute-resource create missing 'quote-id' for ovirt resource
Product: Red Hat Satellite Reporter: David Sirrine <dsirrine>
Component: Compute Resources - RHEVAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: low    
Version: 6.3.0CC: akarsale, dhlavacd, inecas, kgaikwad, mshira, orabin, rabajaj, tstrachota
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-10 13:58:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1115190    
Attachments:
Description Flags
.tar.gz containing all logs and screenshots none

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