{"action":"created","issue":{"url":"https://api.github.com/repos/candlepin/candlepin/issues/848","labels_url":"https://api.github.com/repos/candlepin/candlepin/issues/848/labels{/name}","comments_url":"https://api.github.com/repos/candlepin/candlepin/issues/848/comments","events_url":"https://api.github.com/repos/candlepin/candlepin/issues/848/events","html_url":"https://github.com/candlepin/candlepin/pull/848","id":62201050,"number":848,"title":"1201727: Filter entitle_id from reason attributes","user":{"login":"alikins","id":15162,"avatar_url":"https://avatars.githubusercontent.com/u/15162?v=3","gravatar_id":"","url":"https://api.github.com/users/alikins","html_url":"https://github.com/alikins","followers_url":"https://api.github.com/users/alikins/followers","following_url":"https://api.github.com/users/alikins/following{/other_user}","gists_url":"https://api.github.com/users/alikins/gists{/gist_id}","starred_url":"https://api.github.com/users/alikins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alikins/subscriptions","organizations_url":"https://api.github.com/users/alikins/orgs","repos_url":"https://api.github.com/users/alikins/repos","events_url":"https://api.github.com/users/alikins/events{/privacy}","received_events_url":"https://api.github.com/users/alikins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dgoodwin","id":51265,"avatar_url":"https://avatars.githubusercontent.com/u/51265?v=3","gravatar_id":"","url":"https://api.github.com/users/dgoodwin","html_url":"https://github.com/dgoodwin","followers_url":"https://api.github.com/users/dgoodwin/followers","following_url":"https://api.github.com/users/dgoodwin/following{/other_user}","gists_url":"https://api.github.com/users/dgoodwin/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoodwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoodwin/subscriptions","organizations_url":"https://api.github.com/users/dgoodwin/orgs","repos_url":"https://api.github.com/users/dgoodwin/repos","events_url":"https://api.github.com/users/dgoodwin/events{/privacy}","received_events_url":"https://api.github.com/users/dgoodwin/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-03-16T20:29:14Z","updated_at":"2015-03-17T14:00:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/candlepin/candlepin/pulls/848","html_url":"https://github.com/candlepin/candlepin/pull/848","diff_url":"https://github.com/candlepin/candlepin/pull/848.diff","patch_url":"https://github.com/candlepin/candlepin/pull/848.patch"},"body":"For reasons related to unmapped guests, filter out\r\nthe attribute 'entitlement_id' so deployed clients\r\ndon't attempt to match it with local valid entitlement\r\ncerts, since it can reference expired entitlements.\r\n\r\nDo this after returning from the rules so\r\nStatusReasonMapGenerator can create a meaningful\r\nname."},"comment":{"url":"https://api.github.com/repos/candlepin/candlepin/issues/comments/82367423","html_url":"https://github.com/candlepin/candlepin/pull/848#issuecomment-82367423","issue_url":"https://api.github.com/repos/candlepin/candlepin/issues/848","id":82367423,"user":{"login":"alikins","id":15162,"avatar_url":"https://avatars.githubusercontent.com/u/15162?v=3","gravatar_id":"","url":"https://api.github.com/users/alikins","html_url":"https://github.com/alikins","followers_url":"https://api.github.com/users/alikins/followers","following_url":"https://api.github.com/users/alikins/following{/other_user}","gists_url":"https://api.github.com/users/alikins/gists{/gist_id}","starred_url":"https://api.github.com/users/alikins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alikins/subscriptions","organizations_url":"https://api.github.com/users/alikins/orgs","repos_url":"https://api.github.com/users/alikins/repos","events_url":"https://api.github.com/users/alikins/events{/privacy}","received_events_url":"https://api.github.com/users/alikins/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T14:00:25Z","updated_at":"2015-03-17T14:00:25Z","body":"> So this effectively means you can no longer see why you're yellow in the gui. It shows yellow overall for the system, but all installed products and now entitlements appear normal. CLI will still show you, but that entitlement ID was used to mark the ent as yellow.\r\n\r\nNot sure it's workable, but current clients will only fail on reasons with an entitlement_id that references an entitlement not in valid_entitlement_certs. Stacking reasons however should be okay.\r\nIt would be a little odd, but maybe we could present expired unmapped ents as faux 'stacking' reasons?\r\n"}}