[Pulp-list] My Failed PULP setup aka SSL Errors

Gavin Jones gavinj84 at gmail.com
Tue Oct 28 04:32:40 UTC 2014


Hi Randy,
          Thanks for your reply but this did not solve the problem.

I replaced these variables as you explained : $releasever $basearch

Please see below:

[root at pulp01 /]# pulp-admin -uadmin -padmin rpm repo create --repo-id
rhel-7-server \
> --feed https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os
\
> --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem \
> --feed-key=/etc/pki/entitlement/6666666666666666-key.pem \
> --feed-cert=/etc/pki/entitlement/6666666666666666.pem \
> --display-name "rhel-7-server" --description "RHEL 7 YUM Files"

Successfully created repository [rhel-7-server]

[root at pulp01 /]# pulp-admin rpm repo sync run --repo-id=rhel-7-server
+----------------------------------------------------------------------+
                Synchronizing Repository [rhel-7-server]
+----------------------------------------------------------------------+

An error occurred attempting to contact the server. More information can be
found in the client log file ~/.pulp/admin.log.

cat ~/.pulp/admin.log

2014-10-28 15:25:38,573 - ERROR - Client-side exception occurred
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pulp/client/extensions/core.py",
line 478, in run
    exit_code = Cli.run(self, args)
  File "/usr/lib/python2.7/site-packages/okaara/cli.py", line 974, in run
    exit_code = command_or_section.execute(self.prompt, remaining_args)
  File
"/usr/lib/python2.7/site-packages/pulp/client/extensions/extensions.py",
line 224, in execute
    return self.method(*arg_list, **clean_kwargs)
  File
"/usr/lib/python2.7/site-packages/pulp/client/commands/repo/sync_publish.py",
line 124, in run
    existing_sync_tasks = _get_repo_tasks(self.context, repo_id, 'sync')
  File
"/usr/lib/python2.7/site-packages/pulp/client/commands/repo/sync_publish.py",
line 312, in _get_repo_tasks
    return context.server.tasks_search.search(**repo_search_criteria)
  File "/usr/lib/python2.7/site-packages/pulp/bindings/tasks.py", line 138,
in search
    tasks = super(TaskSearchAPI, self).search(**kwargs)
  File "/usr/lib/python2.7/site-packages/pulp/bindings/search.py", line
106, in search
    response = self.server.POST(self.PATH, {'criteria':kwargs})
  File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 99,
in POST
    return self._request('POST', path, body=body,
ensure_encoding=ensure_encoding)
  File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line
143, in _request
    response_code, response_body = self.server_wrapper.request(method, url,
body)
  File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line
333, in request
    raise exceptions.ConnectionException(None, str(err), None)
ConnectionException: (None, 'tlsv1 alert unknown ca', None)

Any more ideas?

Thanks

On Tue, Oct 28, 2014 at 1:50 AM, Randy Barlow <rbarlow at redhat.com> wrote:

> On 10/26/2014 09:09 PM, Gavin Jones wrote:
> > --feed
> >
> https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/os
> \
>
> This is the problem - you have to fill out these variables because Pulp
> doesn't know which release or arch you want. For example, you could use
> 7Server and x86_64.
>
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20141028/938b1eef/attachment.htm>


More information about the Pulp-list mailing list