Project

Profile

Help

Issue #2053

Deleted /var/lib/pulp/sn.dat by mistake and pulp-admin fails to login

Added by Anonymous over 4 years ago. Updated over 1 year ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.5
Platform Release:
OS:
RHEL 7
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

My mistake i deleted the file sn.dat and now my pulp-admin commands are not working.

Is there a way to recover for this? I tried the following without success:

1. Restart Services
2. Reboot VM

An internal error occurred on the Pulp server:

RequestException: POST request
on /pulp/api/v2/actions/login/ failed with 500 - [Errno 13] Permission denied:
'/var/lib/pulp/sn.dat'

History

#1 Updated by jcline@redhat.com over 4 years ago

  • Status changed from NEW to CLOSED - NOTABUG

Hi,

That file is used for the client certificate serial numbers issued by Pulp. You should be able to recover by touching the file and making sure the proper permissions are set. I believe you want it to be at least mode 600, owned by apache, and with the SELinux context of ``system_u:object_r:httpd_var_lib_t:s0``.

If you run into trouble, feel free to drop by in #pulp on Freenode!

#2 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF