Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
This was an intentional design decision, essentially because you can batch these requests up and send them all to the server, the server has no way to respond with which were there and which weren't, we simply execute the operations you asked for in a batch. If you asked to remove something that didn't exist, we considered this unimportant and decided to just let it be.
Going to close NOTABUG, Rehana if you feel strongly this is incorrect please feel free to re-open.
Description of problem: Observed that we don't show any error message/warning when tried to remove a override which is not present in the repo Version-Release number of selected component (if applicable): subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.9.2-1 subscription-manager: 1.10.13-1.el7 python-rhsm: 1.10.12-1.el7 How reproducible: 3/3 Steps to Reproduce: 1.Register to server 2.execute command to remove an override which is not added [root@hp-ml350egen8-01 product]# subscription-manager repo-override --remove=awesomeos --repo=never-enabled-content Actual results: Observed that the command executed successfully with out throwing any error/warning Expected results: display appropriate warning/error message when tried to remove non-existing override Additional info: rhsm.log [root@hp-ml350egen8-01 product]# subscription-manager repo-override --remove=awesomeos --repo=never-enabled-content 2014-02-06 06:11:26,071 [DEBUG] subscription-manager @plugins.py:519 - loaded plugin modules: [] 2014-02-06 06:11:26,072 [DEBUG] subscription-manager @plugins.py:520 - loaded plugins: {} 2014-02-06 06:11:26,109 [DEBUG] subscription-manager @identity.py:130 - Loading consumer info from identity certificates. 2014-02-06 06:11:26,118 [DEBUG] subscription-manager @profile.py:97 - Loading current RPM profile. 2014-02-06 06:11:26,278 [INFO] subscription-manager @managercli.py:288 - Client Versions: {'python-rhsm': '1.10.12-1.el7', 'subscription-manager': '1.10.13-1.el7'} 2014-02-06 06:11:26,279 [INFO] subscription-manager @connection.py:663 - Using certificate authentication: key = /etc/pki/consumer/key.pem, cert = /etc/pki/consumer/cert.pem, ca = /etc/rhsm/ca/, insecure = False 2014-02-06 06:11:26,279 [INFO] subscription-manager @connection.py:674 - Connection Built: host: 10.70.35.226, port: 8443, handler: /candlepin 2014-02-06 06:11:26,280 [INFO] subscription-manager @connection.py:670 - Using no auth 2014-02-06 06:11:26,280 [INFO] subscription-manager @connection.py:674 - Connection Built: host: 10.70.35.226, port: 8443, handler: /candlepin 2014-02-06 06:11:26,297 [DEBUG] subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem, candlepin-ca.pem 2014-02-06 06:11:26,298 [DEBUG] subscription-manager @connection.py:450 - Making request: GET /candlepin/ 2014-02-06 06:11:30,208 [DEBUG] subscription-manager @connection.py:473 - Response: status=200, requestUuid=10386175-260c-40df-be6a-ac7dbdd64daa 2014-02-06 06:11:30,209 [DEBUG] subscription-manager @connection.py:690 - Server supports the following resources: 2014-02-06 06:11:30,210 [DEBUG] subscription-manager @connection.py:691 - {'': '/', 'guestids': '/consumers/{consumer_uuid}/guestids', 'cdn': '/cdn', 'content_overrides': '/consumers/{consumer_uuid}/content_overrides', 'hypervisors': '/hypervisors', 'serials': '/serials', 'deleted_consumers': '/deleted_consumers', 'consumers': '/consumers', 'migrations': '/migrations', 'content': '/content', 'entitlements': '/entitlements', 'statistics/generate': '/statistics/generate', 'status': '/status', 'jobs': '/jobs', 'users': '/users', 'subscriptions': '/subscriptions', 'rules': '/rules', 'distributor_versions': '/distributor_versions', 'consumertypes': '/consumertypes', 'pools': '/pools', 'atom': '/atom', 'owners': '/owners', 'roles': '/roles', 'admin': '/admin', 'events': '/events', 'products': '/products', 'activation_keys': '/activation_keys', 'crl': '/crl'} 2014-02-06 06:11:30,212 [DEBUG] subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem, candlepin-ca.pem 2014-02-06 06:11:30,212 [DEBUG] subscription-manager @connection.py:450 - Making request: GET /candlepin/status 2014-02-06 06:11:34,682 [DEBUG] subscription-manager @connection.py:473 - Response: status=200, requestUuid=e156e87d-083a-4d7f-9738-ab60f823a4a9 2014-02-06 06:11:34,683 [INFO] subscription-manager @managercli.py:299 - Server Versions: {'candlepin': '0.9.2-1', 'server-type': 'Red Hat Subscription Management'} 2014-02-06 06:11:34,686 [DEBUG] subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem, candlepin-ca.pem 2014-02-06 06:11:34,687 [DEBUG] subscription-manager @connection.py:450 - Making request: GET /candlepin/ 2014-02-06 06:11:38,286 [DEBUG] subscription-manager @connection.py:473 - Response: status=200, requestUuid=ca815761-08fd-4dbc-b10d-80efb500950a 2014-02-06 06:11:38,287 [DEBUG] subscription-manager @connection.py:690 - Server supports the following resources: 2014-02-06 06:11:38,287 [DEBUG] subscription-manager @connection.py:691 - {'': '/', 'guestids': '/consumers/{consumer_uuid}/guestids', 'cdn': '/cdn', 'content_overrides': '/consumers/{consumer_uuid}/content_overrides', 'hypervisors': '/hypervisors', 'serials': '/serials', 'deleted_consumers': '/deleted_consumers', 'consumers': '/consumers', 'migrations': '/migrations', 'content': '/content', 'entitlements': '/entitlements', 'statistics/generate': '/statistics/generate', 'status': '/status', 'jobs': '/jobs', 'users': '/users', 'subscriptions': '/subscriptions', 'rules': '/rules', 'distributor_versions': '/distributor_versions', 'consumertypes': '/consumertypes', 'pools': '/pools', 'atom': '/atom', 'owners': '/owners', 'roles': '/roles', 'admin': '/admin', 'events': '/events', 'products': '/products', 'activation_keys': '/activation_keys', 'crl': '/crl'} 2014-02-06 06:11:38,292 [DEBUG] subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem, candlepin-ca.pem 2014-02-06 06:11:38,293 [DEBUG] subscription-manager @connection.py:450 - Making request: GET /candlepin/consumers/062782e8-8372-4f1a-b441-12c295bd6efc/certificates/serials 2014-02-06 06:11:41,270 [DEBUG] subscription-manager @connection.py:473 - Response: status=200, requestUuid=8eac9aee-fd3e-4f21-9c4d-db67b99faa1d 2014-02-06 06:11:41,271 [INFO] subscription-manager @certlib.py:245 - certs updated: Total updates: 0 Found (local) serial# [8360302611482334452L] Expected (UEP) serial# [8360302611482334452] Added (new) <NONE> Deleted (rogue): <NONE> 2014-02-06 06:11:41,275 [INFO] subscription-manager @cache.py:169 - Checking current system info against cache: /var/lib/rhsm/cache/installed_products.json 2014-02-06 06:11:41,276 [INFO] subscription-manager @cache.py:186 - No changes. 2014-02-06 06:11:41,276 [DEBUG] subscription-manager @certdirectory.py:204 - Installed product IDs: ['100000000000002'] 2014-02-06 06:11:41,278 [DEBUG] subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem, candlepin-ca.pem 2014-02-06 06:11:41,278 [DEBUG] subscription-manager @connection.py:450 - Making request: GET /candlepin/consumers/062782e8-8372-4f1a-b441-12c295bd6efc/compliance 2014-02-06 06:11:44,580 [DEBUG] subscription-manager @connection.py:473 - Response: status=200, requestUuid=4b9d2a65-45b4-43aa-b6d2-6309886f82eb 2014-02-06 06:11:44,583 [DEBUG] subscription-manager @cache.py:290 - Started thread to write cache: /var/lib/rhsm/cache/entitlement_status.json 2014-02-06 06:11:44,584 [DEBUG] subscription-manager @cert_sorter.py:199 - valid entitled products: ['100000000000002'] 2014-02-06 06:11:44,584 [DEBUG] subscription-manager @cert_sorter.py:200 - expired entitled products: [] 2014-02-06 06:11:44,585 [DEBUG] subscription-manager @cert_sorter.py:201 - partially entitled products: [] 2014-02-06 06:11:44,585 [DEBUG] subscription-manager @cert_sorter.py:202 - unentitled products: [] 2014-02-06 06:11:44,586 [DEBUG] subscription-manager @cert_sorter.py:203 - future products: [] 2014-02-06 06:11:44,586 [DEBUG] subscription-manager @cert_sorter.py:204 - partial stacks: [] 2014-02-06 06:11:44,586 [DEBUG] subscription-manager @cert_sorter.py:205 - entitlements valid until: 2015-02-06 00:00:01+00:00 2014-02-06 06:11:44,801 [INFO] rhsmd @rhsmd:193 - rhsmd started 2014-02-06 06:11:44,809 [INFO] rhsmd @rhsmd:148 - D-Bus interface com.redhat.SubscriptionManager.EntitlementStatus.update_status called with status = 0 2014-02-06 06:11:44,915 [INFO] rhsmd @rhsmd:116 - D-Bus signal com.redhat.SubscriptionManager.EntitlementStatus.entitlement_status_changed emitted 2014-02-06 06:11:44,918 [DEBUG] subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem, candlepin-ca.pem 2014-02-06 06:11:44,919 [DEBUG] subscription-manager @connection.py:450 - Making request: DELETE /candlepin/consumers/062782e8-8372-4f1a-b441-12c295bd6efc/content_overrides 2014-02-06 06:11:48,896 [DEBUG] subscription-manager @connection.py:473 - Response: status=200, requestUuid=3256613e-3b28-40fc-9219-8b6d8e934eb0 2014-02-06 06:11:48,897 [DEBUG] subscription-manager @cache.py:290 - Started thread to write cache: /var/lib/rhsm/cache/content_overrides.json 2014-02-06 06:11:48,900 [DEBUG] subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem, candlepin-ca.pem 2014-02-06 06:11:48,901 [DEBUG] subscription-manager @connection.py:450 - Making request: GET /candlepin/consumers/062782e8-8372-4f1a-b441-12c295bd6efc/release 2014-02-06 06:11:52,193 [DEBUG] subscription-manager @connection.py:473 - Response: status=200, requestUuid=d50c277a-fa9b-430a-83f3-ca7a7d3d6fec 2014-02-06 06:11:52,213 [INFO] subscription-manager @repolib.py:187 - repos updated: 3