Bug 1015641 - Hypervisors update API call relies on environment label but not organization
Summary: Hypervisors update API call relies on environment label but not organization
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Dustin Tsang
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: sam20-tracker
TreeView+ depends on / blocked
 
Reported: 2013-10-04 16:38 UTC by Eric Helms
Modified: 2017-02-23 21:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-21 15:00:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Helms 2013-10-04 16:38:00 UTC
The hypervisor update call used by consumers and virt-who uses only the environment label to determine the proper environment for the system(s). If the user has more than one organization, and 'Library' is specified as the environment, the environment used in the call could be from any of the organizations. This implies that there is no guarantee that a virt-who call will properly update the data in Katello.

Comment 2 Dustin Tsang 2014-08-21 15:00:03 UTC
Unable to reproduce.

setup: 
* in katello: 4 organizations and 1 content-host
* on content host with 3 guests

Katello::System.find(14).guestIds reports 3 guests as expected


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