Was this ever resolved? I am facing this exact same issue but I have no idea why. I have a product for Influx Data with 2 repositories for EL 6 and EL 7. However when I subscription-manager refresh on my client hosts, the EL 7 repo gets deleted. It shows up in /var/log/rhsm/rhsm.log as being deleted too and then the number of repos assigned to the server decreases by one.
Deleted
[InfluxDB_InfluxDB_Stable_EL7_X86_64]
2019-09-17 12:01:34,863 [INFO] subscription-manager:53242:MainThread @managercli.py:638 - Refreshed local data
I have confirmed that the server is still subscribed to the product with subscription-manager list --consumed:
Subscription Name: InfluxDB
Provides: InfluxDB
SKU: 15131974172122180121402
Contract:
Account:
Serial: 6593461678746576803
Pool ID: 8a21b4d160464710016051983728395c
Provides Management: No
Active: True
Quantity Used: 1
Service Level:
Service Type:
Status Details: Subscription is current
Subscription Type: Standard
Starts: 12/13/2017
Ends: 12/06/2047
System Type: Physical
However now when I do subscription-manager repos --list, I only have the EL6 repo available instead of both EL6 and EL7:
subscription-manager repos --list | grep Influx
Repo ID: InfluxDB_InfluxDB_Stable_EL6_X86_64
Repo Name: InfluxDB Stable EL6 X86_64
Repo URL: https://capsuleurl/pulp/repos/Default_Organization/environment/CentOS_7_Composite/custom/InfluxDB/InfluxDB_Stable_EL6_X86_64