Created attachment 1106539 [details] Differences in the same get subscription call to DEV environment with Pre-CP2.0 and CP2.0. Description of problem: Since Candlepin 2.0, Subscription's branding array is empty, though it should exist. Version-Release number of selected component (if applicable): Candlepin 2.0 How reproducible: Always. Steps to Reproduce: 1. Find a subscription which *should* have a branding array. Not all subscriptions do. However, any subscription for MCT2867 (among others) should have a branding array in the entry. In CP2.0 DEV, we'll use subscriptionId=3781065 (from owner 7791251, pool 8a8798305159a12f01517cb1d9437276): curl -vku $CP_USER:$CP_PASS -X GET http://candlepin06.web.dev.int.devlab.redhat.com:8080/candlepin/subscriptions/3781065 2. Look at the branding array Actual results: "branding": [] Expected results: "branding": [{ "productId": "69", "name": "Red Hat Satellite", "type": "OS", "created": "2015-12-07T13:46:49.000+0000", "updated": "2015-12-07T13:46:49.000+0000" }] Additional Notes: The attachment shows this difference. It is a diff of the same call made in the same environment; One was made using a Pre-CP2.0 version, the other using a CP2.0 version.
This bug is similar to BZ1292283. Each bug represents a problematic difference in what the GET subscription call returns between pre-CP2.0 and CP2.0.
You are correct this is very similar to BZ1292283. In CP 2.0 we need to fix this by recreating branding from master pool that corresponds to the subscription
Marking as closed per Candlepin procedures as a fix has been merged or it has been determined to not be an issue.