[Pulp-list] pulp with docker and crane

Salvatore Di Nardo sdinardo at ebi.ac.uk
Fri Jun 12 14:40:29 UTC 2015


Hello guys ..
i'm struggling to find any information on hot to sue pulp as docker 
registry. I followed the pulp-docker installation, but there was no 
mention about crane, so i followed the steps explained here:
https://registry.hub.docker.com/u/pulp/crane/dockerfile/
pity that the moment i do:

|ln -s /usr/share/crane/apache.conf /etc/httpd/conf.d/crane.conf


the whole pulp breaks:

|
||pulp-admin repo list||
||+----------------------------------------------------------------------+||
||                               Repositories||
||+----------------------------------------------------------------------+||
||||
||An error occurred attempting to contact the server. More information can be||
||found in the client log file ~/.pulp/admin.log.||
||||||||
||||
||here what the log says:||
||||
||||||2015-06-12 15:35:44,265 - ERROR - Client-side exception occurred||
||Traceback (most recent call last):||
||   File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", line 478, in run||
||     exit_code = Cli.run(self, args)||
||   File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 974, in run||
||     exit_code = command_or_section.execute(self.prompt, remaining_args)||
||   File "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py", line 224, in execute||
||     return self.method(*arg_list, **clean_kwargs)||
||   File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/cudl.py", line 330, in run||
||     self.display_repositories(**kwargs)||
||   File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/cudl.py", line 358, in display_repositories||
||     repo_list = self.get_repositories(query_params, **kwargs)||
||   File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/cudl.py", line 420, in get_repositories||
||     repo_list = self.context.server.repo.repositories(query_params).response_body||
||   File "/usr/lib/python2.6/site-packages/pulp/bindings/repository.py", line 34, in repositories||
||     return self.server.GET(path, query_parameters)||
||   File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line 92, in GET||
||     return self._request('GET', path, queries)||
||   File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line 142, in _request||
||     response_code, response_body = self.server_wrapper.request(method, url, body)||
||   File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line 332, in request||
||     raise exceptions.ConnectionException(None, str(err), None)||
||ConnectionException: (None, 'unknown protocol', None)||
||||||||
|||||
I tried installing crane trough the official pulp repo and also getting the latest release with git. Same story.
Did anyone had any success and give me some hints?


Thanks in advance,
Salvatore

|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20150612/73001650/attachment.htm>


More information about the Pulp-list mailing list