Project

Profile

Help

Issue #506

closed

pulp-admin node repo enable says "Cannot read configuration file: /etc/pulp/server.conf"

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

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

Description

Recently I was doing some testing with EL6, and when I ran the following command:

pulp-admin node repo enable --repo-id zoo

I received this exception: RuntimeError: Cannot read configuration file: /etc/pulp/server.conf

I am running as user 'cloud-user' when I run the command, that user does not have permissions to read that file. See the permissions below:

rw-r----. 1 root apache 10466 Aug 26 17:32 /etc/pulp/server.conf

I shouldn't need super user privileges to run pulp-admin. This is a fresh install on a new VM, and I followed the install docs to the letter.

+ This bug was cloned from Bugzilla Bug #1135589 +

Also available in: Atom PDF