Project

Profile

Help

Issue #2289

closed

Getting Error on pulp installation and configuration

Added by krishnavk1989 over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.10.0
Platform Release:
OS:
CentOS 7
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Hi,

I am getting below error while configuring pulp server, please help me to resolve the issue.

[root@pulpSrv1 ~]# pulp-admin login -u krishnav
Traceback (most recent call last):
File "/usr/bin/pulp-admin", line 9, in <module>
load_entry_point('pulp-client-admin==2.10', 'console_scripts', 'pulp-admin')()
File "/usr/lib/python2.7/site-packages/pulp/client/admin/__init__.py", line 9, in main
exit_code = launcher.main(read_config(), exception_handler_class=AdminExceptionHandler)
File "/usr/lib/python2.7/site-packages/pulp/client/admin/config.py", line 90, in read_config
config.update(Config(*paths))
File "/usr/lib/python2.7/site-packages/pulp/common/config.py", line 191, in init
self.open(input, filter)
File "/usr/lib/python2.7/site-packages/pulp/common/config.py", line 217, in open
self.read(fp, filter)
File "/usr/lib/python2.7/site-packages/pulp/common/config.py", line 236, in read
cfg = INIConfig(fp)
File "/usr/lib/python2.7/site-packages/iniparse/ini.py", line 471, in init
self._readfp(fp)
File "/usr/lib/python2.7/site-packages/iniparse/ini.py", line 565, in _readfp
raise MissingSectionHeaderError(fname, linecount, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /etc/pulp/admin/admin.conf, line: 9
'verify_ssl = False\n'


Files

admin.conf (2.54 KB) admin.conf krishnavk1989, 10/04/2016 06:25 PM
Actions #1

Updated by amacdona@redhat.com over 7 years ago

Can you please post your /etc/pulp/admin/admin.conf file? From the error, it looks like your file is not well formed.

It should generally look like this: https://raw.githubusercontent.com/pulp/pulp/6ffc3cfe0bd0896defcb6acd74a2903b572b5bbb/client_admin/etc/pulp/admin/admin.conf

Actions #2

Updated by amacdona@redhat.com over 7 years ago

  • Severity changed from 4. Urgent to 2. Medium
Actions #3

Updated by krishnavk1989 over 7 years ago

Hi

I have attached the admin.conf file, please find the same.

Actions #4

Updated by amacdona@redhat.com over 7 years ago

  • Status changed from NEW to CLOSED - NOTABUG

Line 10 is causing the problem because it is outside of a section. That area is documentation for the settings below [server].

Actions #5

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF