Bug 784009 - ESX hypervisors don't show up in Web UI systems
Summary: ESX hypervisors don't show up in Web UI systems
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-01-23 14:55 UTC by Ivan Necas
Modified: 2019-09-26 13:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:22:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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