Project

Profile

Help

Issue #389

closed

If the server's SSL certificate is changed after pulp-admin has authenticated, pulp-admin breaks ungracefully

Added by rbarlow about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

If a server's SSL certificate is changed after pulp-admin has authenticated to the server, the next time pulp-admin is used it will break in an unfriendly manner. It should instead inform the user that there were SSL issues, and suggest they try authenticating again to get a new certificate.

$ pulp-admin rpm repo list
--------------------------------------------------------------------
RPM Repositories
--------------------------------------------------------------------

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

$ tail -n 25 ~/.pulp/admin.log
2013-12-17 15:05:06,181 - ERROR - Client-side exception occurred
Traceback (most recent call last):
File "/home/rbarlow/devel/pulp/client_lib/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 "/home/rbarlow/devel/pulp/client_lib/pulp/client/extensions/extensions.py", line 224, in execute
return self.method(arg_list, **clean_kwargs)
File "/home/rbarlow/devel/pulp/client_lib/pulp/client/commands/repo/cudl.py", line 235, in run
self.display_repositories(
*kwargs)
File "/home/rbarlow/devel/pulp/client_lib/pulp/client/commands/repo/cudl.py", line 263, in display_repositories
repo_list = self.get_repositories(query_params, **kwargs)
File "/home/rbarlow/devel/pulp_rpm/pulp_rpm/src/pulp_rpm/extension/admin/repo_list.py", line 35, in get_repositories
all_repos = self._all_repos(query_params, **kwargs)
File "/home/rbarlow/devel/pulp_rpm/pulp_rpm/src/pulp_rpm/extension/admin/repo_list.py", line 83, in _all_repos
self.all_repos_cache = self.context.server.repo.repositories(query_params).response_body
File "/home/rbarlow/devel/pulp/bindings/pulp/bindings/repository.py", line 34, in repositories
return self.server.GET (path, query_parameters)
File "/home/rbarlow/devel/pulp/bindings/pulp/bindings/server.py", line 96, in GET
return self._request('GET', path, queries)
File "/home/rbarlow/devel/pulp/bindings/pulp/bindings/server.py", line 146, in _request
response_code, response_body = self.server_wrapper.request(method, url, body)
File "/home/rbarlow/devel/pulp/bindings/pulp/bindings/server.py", line 304, in request
raise exceptions.ConnectionException(None, str(err), None)
ConnectionException: (None, 'sslv3 alert handshake failure', None)

+ This bug was cloned from Bugzilla Bug #1044114 +

Actions #1

Updated by bmbouter about 9 years ago

  • Severity changed from Low to 1. Low
Actions #2

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #3

Updated by bmbouter about 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #4

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF