Hide Forgot
Description of problem: Users cannot register systems to katello when using 0.260 in the backend. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. install and appropriately configure katello with pulp 0.260 as the selected version of pulp in the backend 2. attempt to register a system via system-manager: 3. subscription-manager register --username=admin --password=admin --org=ACME_Corporation --env=dev --force Actual results: * This shows up in /var/log/pulp/pulp.log 2012-01-23 14:34:30,788 6868:140465619855104: pulp.server.webservices.controllers.decorators:ERROR: decorators:52 Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator value = method(self, *args, **kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/consumers.py", line 103, in POST capabilities=consumer_data['capabilities'], KeyError: 'capabilities' * Nothing ever shows up as a registered system Expected results: * No errors thrown * Systems can be registered. Additional info:
The "capabilities" parameter was intended to be added as optional but wasn't implemented that way (an oversight). While correcting this, I also made the "key_value_pairs" optional as documented in the API guide.
build: 0.261
This appears to be fixed; I am using 0.263 currently, and I can register; it worked in 0.261 too, iirc.
moving to verified as per Corey'd comment.
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.