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 784009

Summary: ESX hypervisors don't show up in Web UI systems
Product: Red Hat Satellite Reporter: Ivan Necas <inecas>
Component: WebUIAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: cpelland, cwelton, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:22:08 UTC Type: ---
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: 747354    

Description Ivan Necas 2012-01-23 14:55:38 UTC
Description of problem:
When registering hypervisors using virt-who vsphere facility the ESX hypervisors don't show up in UI. They are visible through CLI.

Version-Release number of selected component (if applicable):
katello-0.1.192-1

How reproducible:
always

Steps to Reproduce:
1. Create env
2. register a machine
3. call script from our katello repo from that registered machine

  scripts/system-test/vsphere-virt-who-simulator.py \
  --org ACME_Corporation --env Dev \
  host1:guest-virt-uuid-1,guest-virt-uuid-2 host2:guest-virt-uuid-3

This will simulate having host1 and host2 with 3 guests.
4. show systems using katello-cli:

  katello -u admin -p admin systems list --org ACME_Corporation

you should see host1 and host2 among the systems

5. show systems using UI - host1 and host2 are not showed in the list.
  
Actual results:
ESX hypervisors are not showen in UI systems listing

Expected results:
ESX hypervisors are included in UI systems listing

Additional info:

ESX systems have type Hypervisor (attribute systems#type = "Hypervisor"). Hypervisor model inherits from System using Rails Single Table Inheritance.

Comment 1 Tom McKay 2012-01-24 15:35:14 UTC
commit 5723a6979356721d83bfb504b19faaa009c343b3
Author: Tom McKay <thomasmckay>
Date:   Tue Jan 24 10:31:33 2012 -0500

    784009 - ESX hypervisors don't show up in Web UI systems
    + On Details tab the System Type will be listed as "Hypervisor"
    + Software tab will display "Hypervisors do not have software products"
    + Packages tab will display "Hypervisors do not have packages"
    + Software tab will display "Hypervisors do not have errata"

To test follow the instructions above (or use a real hypervisor), then note that the hypervisor host(s) show up in the list of systems. Visually there are four UI changes when viewing a hypervisor versus a regular system as noted above.

Comment 2 Mike McCune 2012-01-26 19:07:43 UTC
mass ON_QA move

Comment 4 Corey Welton 2012-03-22 02:27:40 UTC
QA Verified - using the mockup script above, i was able to see the hypervisors in the webui (and of course CLI).

Note: in testing this, potential bug #784009 was discovered.

Comment 5 Corey Welton 2012-03-22 02:28:29 UTC
Ugh, rather:


Note: in testing this, potential bug #805752 was discovered.