Bug 1015641

Summary: Hypervisors update API call relies on environment label but not organization
Product: Red Hat Satellite Reporter: Eric Helms <ehelms>
Component: Content ManagementAssignee: Dustin Tsang <dtsang>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bkearney, 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: 2014-08-21 15:00:03 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: 971511    

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