Description of problem: Current facts collected by virt-who doesn't include virt.guests. As such, subscription-manager facts --update will override virt.guests fact in candlepin posted by virt-who. Version-Release number of selected component (if applicable): subscription-manager-0.96.8-1.el6.x86_64 python-rhsm-0.96.10-1.el6.noarch How reproducible: 100% Steps to Reproduce: 1. Open debug for virt-who and enable daemon env var #/etc/sysconfig/virt-who VIRTWHO_BACKGROUND=1 VIRTWHO_DEBUG=1 2. service virt-who start 3. subscription-manager facts --update 4. run virt-who again Actual results: after step 4, you will virt-who see virt.guests fact have been changed in candlepin. As a result, it will add virt.guests fact and post facts again to candlepin. Expected results: sub-man facts --update should override what virt.guests fact virt-who added Additional info: virt-who will not update facts to candlepin if it sees no changes in virt.guests fact.
>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.