Are you maybe defining proxy settings globally somehow? I remember from my short foray into Satellite 6 that there is the capability to set global proxy parameters in the YUM importer configuration at least - unsure about ISO importing.
- Kodiak On Wed, Feb 10, 2016 at 8:49 AM, Richard Grainger <grain...@gmail.com> wrote: > Ah yes, that helped, thanks: > > pulp-admin -vv iso repo create --repo-id vagrant > 2016-02-10 13:45:19,723 - DEBUG - sending POST request to > /pulp/api/v2/repositories/ > 2016-02-10 13:45:20,108 - INFO - POST request to > /pulp/api/v2/repositories/ with parameters {"display_name": null, > "description": null, "distributors": [{"distributor_id": > "iso_distributor", "distributor_type_id": "iso_distributor", > "distributor_config": {}, "auto_publish": true}], "notes": > {"_repo-type": "iso-repo"}, "importer_type_id": "iso_importer", > "importer_config": {}, "id": "vagrant"} > 2016-02-10 13:45:20,108 - INFO - Response status : 400 > > 2016-02-10 13:45:20,108 - INFO - Response body : > { > "exception": null, > "args": [], > "_href": "/pulp/api/v2/repositories/", > "traceback": null, > "error_message": "A validation error occurred.", > "http_request_method": "POST", > "http_status": 400, > "error": { > "code": "PLP1000", > "data": { > "validation_errors": "The configuration parameter <feed> is > required when any of the following other parameters are defined: > max_speed, max_downloads, proxy_password, proxy_port, proxy_host, > proxy_username, remove_missing, ssl_ca_cert, ssl_client_cert, > ssl_client_key, validate." > }, > "description": "A validation error occurred.", > "sub_errors": [] > } > } > > 2016-02-10 13:45:20,109 - ERROR - Exception occurred: > href: /pulp/api/v2/repositories/ > method: POST > status: 400 > error: A validation error occurred. > traceback: None > data: {u'args': [], u'error': {u'code': u'PLP1000', > u'data': {u'validation_errors': u'The configuration parameter <feed> > is required when any of the following other parameters are defined: > max_speed, max_downloads, proxy_password, proxy_port, proxy_host, > proxy_username, remove_missing, ssl_ca_cert, ssl_client_cert, > ssl_client_key, validate.'}, u'description': u'A validation error > occurred.', u'sub_errors': []}} > > A validation error occurred. > > Looks like a possible bug. "The configuration parameter <feed> is > required when any of the following other parameters are defined...", > but as you can see I'm not defining any of those parameters.... > > R. > > On Wed, Feb 10, 2016 at 12:46 PM, Kodiak Firesmith <kfiresm...@gmail.com> > wrote: > > You can also look for clues using the "-vv" switch on pulp-admin; I can > > verify off-hand that the command is syntactically correct at least. > > - Kodiak Firesmith > > > > On Wed, Feb 10, 2016 at 6:31 AM, Richard Grainger <grain...@gmail.com> > > wrote: > >> > >> Hi > >> > >> I'm running Pulp 2.7.1 on EL7 and have have no problems creating and > >> managing RPM repos. I just tried to create an ISO repo and got an > >> exception: > >> > >> Command: > >> pulp-admin iso repo create --repo-id vagrant > >> > >> Error in logs: > >> > >> Feb 10 11:14:06 pulp.server.managers.repo.cud:ERROR: (2080-67584) > >> Traceback (most recent call last): > >> Feb 10 11:14:06 pulp.server.managers.repo.cud:ERROR: (2080-67584) > >> File > "/usr/lib/python2.7/site-packages/pulp/server/managers/repo/cud.py", > >> line 142, in create_and_configure_repo > >> Feb 10 11:14:06 pulp.server.managers.repo.cud:ERROR: (2080-67584) > >> importer_repo_plugin_config) > >> Feb 10 11:14:06 pulp.server.managers.repo.cud:ERROR: (2080-67584) > >> File > >> > "/usr/lib/python2.7/site-packages/pulp/server/managers/repo/importer.py", > >> line 96, in set_importer > >> Feb 10 11:14:06 pulp.server.managers.repo.cud:ERROR: (2080-67584) > >> RepoImporterManager.validate_importer_config(repo_id, > >> importer_type_id, repo_plugin_config) > >> Feb 10 11:14:06 pulp.server.managers.repo.cud:ERROR: (2080-67584) > >> File > >> > "/usr/lib/python2.7/site-packages/pulp/server/managers/repo/importer.py", > >> line 182, in validate_importer_config > >> Feb 10 11:14:06 pulp.server.managers.repo.cud:ERROR: (2080-67584) > >> raise PulpCodedValidationException(validation_errors=message) > >> Feb 10 11:14:06 pulp.server.managers.repo.cud:ERROR: (2080-67584) > >> PulpCodedValidationException: A validation error occurred. > >> Feb 10 11:14:07 pulp.server.webservices.middleware.exception:INFO: A > >> validation error occurred. > >> > >> Any ideas? > >> > >> _______________________________________________ > >> Pulp-list mailing list > >> Pulp-list@redhat.com > >> https://www.redhat.com/mailman/listinfo/pulp-list > > > > >
_______________________________________________ Pulp-list mailing list Pulp-list@redhat.com https://www.redhat.com/mailman/listinfo/pulp-list