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.