Hi, I could maybe see that if Pulp and Crane were both configured on the same 
port. Sadly the Docker API requires control of the context root on the server. 
It looks like after crane was set up it is blocking the pulp server from 
running. If you specify a different port in the Crane apache conf "<VirtualHost 
*:5000>" for example, it may clear it up. 

Regards,

-Barnaby

----- Original Message -----
From: "Salvatore Di Nardo" <[email protected]>
To: [email protected]
Sent: Friday, June 12, 2015 10:40:29 AM
Subject: [Pulp-list] pulp with docker and crane

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 insta!
 lling 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 

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to