tickets #37099

mirrorbrain@pontifex2 - asn_get_routeviewsConfigParser.NoSectionError: No section: 'general'

Added by pjessen about 1 year ago. Updated 2 months ago.

Status:In ProgressStart date:12/06/2018
Priority:NormalDue date:01/06/2019
Assignee:pjessen% Done:

0%

Category:mirrors
Target version:-
Duration: 254

Description

Downloading http://mirrorbrain.org/routeviews/oix-full-snapshot-latest.dat.bz2
Traceback (most recent call last):
File "/usr/bin/asn_import", line 23, in
config = mb.conf.Config(instance = mirrorbrain_instance)
File "/usr/lib64/python2.7/site-packages/mb/conf.py", line 47, in init
self.general = dict(cp.items('general'))
File "/usr/lib64/python2.7/ConfigParser.py", line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'general'

Seems to have started some time around 22 March.

History

#1 Updated by pjessen about 1 year ago

  • Private changed from Yes to No

#2 Updated by pjessen about 1 year ago

  • Status changed from New to In Progress
  • Assignee set to pjessen

The problem is that userid "mirrorbrain" is not permitted to read /etc/mirrorbrain.conf and therefore cannot parse the contents.


pontifex2 (download.o.o):~ # l /etc/mirrorbrain.conf
-rw-r-----+ 1 root stage 2490 Jan 12 17:52 /etc/mirrorbrain.conf

I guess adding 'mirrorbrain' to group 'stage' will suffice. Currently 'mirrorbrain' has group 'vnstat', some network traffic monitor ??

#3 Updated by pjessen about 1 year ago

  • Due date set to 02/07/2018

#4 Updated by pjessen about 1 year ago

Next problem:

Downloading http://mirrorbrain.org/routeviews/oix-full-snapshot-latest.dat.bz2
Traceback (most recent call last):
File "/usr/bin/asn_import", line 23, in
config = mb.conf.Config(instance = mirrorbrain_instance)
File "/usr/lib64/python2.7/site-packages/mb/conf.py", line 58, in init
% self.instance)
KeyError: "Config error: 'main' is not listed in instances"

#5 Updated by pjessen 12 months ago

  • Due date changed from 02/07/2018 to 03/08/2018

#6 Updated by pjessen 7 months ago

/etc/mirrorbrain.conf has a list of instances:

[general]
instances = mirrordb1, mirrordb2, postgresql

mirrordb1 and mirrordb2 look the same to me. It seems a reasonable guess that the correct instance name to use is 'mirrordb1'.

#7 Updated by pjessen 2 months ago

  • Due date changed from 03/08/2018 to 01/06/2019

Also available in: Atom PDF