Bug 738678
Summary: | subscription-manager facts --update will override virt.guests made by virt-who | ||
---|---|---|---|
Product: | [Community] Candlepin | Reporter: | Keqin Hong <khong> |
Component: | candlepin | Assignee: | Michael Stead <mstead> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.5 | CC: | cduryee, mstead, yuzheng |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-10-09 11:36: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: | 682238 |
Description
Keqin Hong
2011-09-15 14:12:19 UTC
>Expected results:
>sub-man facts --update should override what virt.guests fact virt-who added
sorry, should be
sub-man facts --update should NOT override virt.guests fact virt-who added
This should be addressed by the fix for 737935, once virt-who is modified to use the new API. Leaving it as ASSIGNED until virt-who update is done. I'll verify once this happens and move to MODIFIED. Since virt-who no longer updates consumer facts, and instead stores them on the consumer; this bug is no longer an issue. When this bug was submitted, virt-who would send the list of guestId to candlepin, and candlepin would store them in a fact named virt.guests. This logic has changed as of virt-who commit: 8ccfc5ec3006f4fee71e549217a4d335163aded6 Since virt-who is no longer updating facts, no overwrite happens. The new logic is as follows: Once candlepin receives the list of guest IDs from virt-who, it now stores them on the consumer as guestIds in a seperate database table (cp_consumer_guests), and will appear in the consumer's JSON as guestIds. Following the new design, this bug no longer exist. |