Use PUT /rhsm/consumers/:id to update facts in candlepin. This will allow hypervisors to set their socket count correctly for subscription usage.
Created from redmine issue http://projects.theforeman.org/issues/17453
Upstream bug assigned to tomckay
Updating component based on upstream
Upstream bug component is Uncategorized
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17453 has been resolved.
Verified in Satellite 6.2.7 Snap 1 Successfully submitted a PUT request to /rhsm/consumers, updating the number of cores per cpu socket to 12. See attached screenshot for verification. Additionally, see below for the updated fact seen for this consumer. { "id": "8a9084ef58ea58620158ec413ba67b36", "uuid": "fe00d96d-9eb4-4896-b6a7-4c4cb23e7b24", "name": "abcdefg", "username": "foreman_admin", "entitlementStatus": "invalid", "serviceLevel": "", "releaseVer": { "releaseVer": null }, "idCert": { "key": "", "cert": "", "id": "8a9084ef58ea58620158ec413c847b39", "serial": { "id": 4965830198058643801, "revoked": false, "collected": false, "expiration": "2032-12-11T05:00:47.925+0000", "serial": 4965830198058643801, "created": "2016-12-11T05:00:47.925+0000", "updated": "2016-12-11T05:00:47.925+0000" }, "created": "2016-12-11T05:00:48.132+0000", "updated": "2016-12-11T05:00:48.132+0000" }, "type": { "id": "1000", "label": "system", "manifest": false }, "owner": { "id": "8a9084ef58abf2880158abf2fbb10001", "key": "Default_Organization", "displayName": "Default Organization", "href": "/owners/Default_Organization" }, "environment": { "owner": { "id": "8a9084ef58abf2880158abf2fbb10001", "key": "Default_Organization", "displayName": "Default Organization", "href": "/owners/Default_Organization" }, "name": "Library/6_tools", "description": null, "id": "1-55", "environmentContent": [ { "id": "8a9084ef58d480e40158e3fd98c35487", "contentId": "168", "enabled": null, "created": "2016-12-09T14:29:57.571+0000", "updated": "2016-12-09T14:29:57.571+0000" }, { "id": "8a9084ef58d480e40158e3fd98c45489", "contentId": "1673", "enabled": null, "created": "2016-12-09T14:29:57.572+0000", "updated": "2016-12-09T14:29:57.572+0000" }, { "id": "8a9084ef58d480e40158e0703a990337", "contentId": "1480534994421", "enabled": null, "created": "2016-12-08T21:56:41.241+0000", "updated": "2016-12-08T21:56:41.241+0000" }, { "id": "8a9084ef58d480e40158e3fd98c45488", "contentId": "3026", "enabled": null, "created": "2016-12-09T14:29:57.572+0000", "updated": "2016-12-09T14:29:57.572+0000" }, { "id": "8a9084ef58d480e40158e3fd98c05485", "contentId": "2396", "enabled": null, "created": "2016-12-09T14:29:57.568+0000", "updated": "2016-12-09T14:29:57.568+0000" }, { "id": "8a9084ef58d480e40158e0703a980336", "contentId": "1480534939157", "enabled": null, "created": "2016-12-08T21:56:41.240+0000", "updated": "2016-12-08T21:56:41.240+0000" }, { "id": "8a9084ef58d480e40158e0703a920335", "contentId": "1480534955957", "enabled": null, "created": "2016-12-08T21:56:41.234+0000", "updated": "2016-12-08T21:56:41.234+0000" }, { "id": "8a9084ef58d480e40158e3fd98c25486", "contentId": "166", "enabled": null, "created": "2016-12-09T14:29:57.570+0000", "updated": "2016-12-09T14:29:57.570+0000" } ], "created": "2016-12-08T21:56:21.322+0000", "updated": "2016-12-08T21:56:21.322+0000" }, "entitlementCount": 0, "facts": { "_timestamp": "2017-01-16T16:49:48-05:00", "cpu.core(s)_per_socket": "12" }, "lastCheckin": null, "installedProducts": [ { "id": "8a9084ef58ea58620158ec413ba67b37", "productId": "69", "productName": "Red Hat Enterprise Linux Server", "version": "6.8", "arch": "x86_64", "status": "red", "startDate": null, "endDate": null, "created": "2016-12-11T05:00:47.910+0000", "updated": "2016-12-11T05:00:47.910+0000" } ], "canActivate": false, "guestIds": [], "capabilities": [], "hypervisorId": null, "contentTags": [], "autoheal": true, "dev": false, "href": "/consumers/fe00d96d-9eb4-4896-b6a7-4c4cb23e7b24", "created": "2016-12-11T05:00:47.910+0000", "updated": "2017-01-16T21:49:50.679+0000" }
Created attachment 1241429 [details] verification screenshot
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0197