Build 2711 : contrail-discovery failed to come up due to the error "mim time to allow client to cache service information"
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
New
|
Undecided
|
Deepinder Setia |
Bug Description
On my setup, contrail-discovery failed to come up and throwing the following error in the logs:
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
main()
File "/usr/lib/
args = parse_args(
File "/usr/lib/
config.
File "/usr/lib/
self._read(fp, filename)
File "/usr/lib/
raise e
ParsingError: File contains parsing errors: /etc/contrail/
[line 14]: 'mim time to allow client to cache service information (seconds)\n'
<class 'ConfigParser.
Python 2.7.6: /usr/bin/python
Wed Feb 10 12:11:42 2016
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/bin/
6
7 if __name__ == '__main__':
8 sys.exit(
9 load_entry_
10 )
load_entry_point = <function load_entry_point>
/usr/lib/
1398 cgitb.enable(
1399
1400 main()
1401 # end server_main
1402
global main = <function main>
/usr/lib/
0')
1390 if not args_str:
1391 args_str = ' '.join(
1392 args = parse_args(
1393 run_discovery_
1394 # end main
args undefined
global parse_args = <function parse_args>
args_str = '--conf_file /etc/contrail/
/usr/lib/
er_id 0')
1264 if args.conf_file:
1265 config = ConfigParser.
1266 config.
1267 defaults.
1268 for section in config.sections():
config = <ConfigParser.
config.read = <bound method SafeConfigParse
args = Namespace(
args.conf_file = ['/etc/
/usr/lib/
303 except IOError:
304 continue
305 self._read(fp, filename)
306 fp.close()
307 read_ok.
self = <ConfigParser.
self._read = <bound method SafeConfigParse
fp = <open file '/etc/contrail/
filename = '/etc/contrail/
/usr/lib/
fpname=
544 # if any parsing errors occurred, raise an exception
545 if e:
546 raise e
547
548 # join the multi-line values collected while reading
e = File contains parsing errors: /etc/contrail/
<class 'ConfigParser.
[line 14]: 'mim time to allow client to cache service information (seconds)\n'
_Error__message = r"File contains parsing errors: /etc/contrail/
__class__ = <class 'ConfigParser.
__delattr__ = <method-wrapper '__delattr__' of ParsingError object>
__dict__ = {'_Error__message': r"File contains parsing errors: /etc/contrail/
'mim time to allow client to cache service information (seconds)\n'")], 'filename': '/etc/contrail/
__doc__ = 'Raised when a configuration file does not follow legal syntax.'
__format__ = <built-in method __format__ of ParsingError object>
546 raise e
547
548 # join the multi-line values collected while reading
e = File contains parsing errors: /etc/contrail/
<class 'ConfigParser.
[line 14]: 'mim time to allow client to cache service information (seconds)\n'
_Error__message = r"File contains parsing errors: /etc/contrail/
__class__ = <class 'ConfigParser.
__delattr__ = <method-wrapper '__delattr__' of ParsingError object>
__dict__ = {'_Error__message': r"File contains parsing errors: /etc/contrail/
'mim time to allow client to cache service information (seconds)\n'")], 'filename': '/etc/contrail/
__doc__ = 'Raised when a configuration file does not follow legal syntax.'
__format__ = <built-in method __format__ of ParsingError object>
__getattrib
__getitem__ = <method-wrapper '__getitem__' of ParsingError object>
__getslice__ = <method-wrapper '__getslice__' of ParsingError object>
__hash__ = <method-wrapper '__hash__' of ParsingError object>
__init__ = <bound method ParsingError.
__module__ = 'ConfigParser'
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of ParsingError object>
__reduce_ex__ = <built-in method __reduce_ex__ of ParsingError object>
__repr__ = <bound method ParsingError.
__setattr__ = <method-wrapper '__setattr__' of ParsingError object>
__setstate__ = <built-in method __setstate__ of ParsingError object>
__sizeof__ = <built-in method __sizeof__ of ParsingError object>
__str__ = <bound method ParsingError.
__subclassh
__unicode__ = <built-in method __unicode__ of ParsingError object>
__weakref__ = None
_get_message = <bound method ParsingError.
_set_message = <bound method ParsingError.
append = <bound method ParsingError.append of File contai...client to cache service information (seconds)\n'>
args = ('/etc/
errors = [(14, r"'mim time to allow client to cache service information (seconds)\n'")]
filename = '/etc/contrail/
message = r"File contains parsing errors: /etc/contrail/
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
main()
File "/usr/lib/
args = parse_args(
File "/usr/lib/
config.
File "/usr/lib/
self._read(fp, filename)
File "/usr/lib/
raise e
ParsingError: File contains parsing errors: /etc/contrail/
[line 14]: 'mim time to allow client to cache service information (seconds)\n'
root@nodeh1:
root@nodeh1:
== Contrail Control ==
supervisor-control: active
contrail-control active
contrail-
contrail-dns active
contrail-named active
== Contrail Analytics ==
supervisor-
contrail-alarm-gen active
contrail-
contrail-
contrail-collector active
contrail-
contrail-
contrail-topology active
== Contrail Config ==
supervisor-config: active
contrail-api:0 active
contrail-
contrail-
contrail-
contrail-schema backup
contrail-
ifmap active
== Contrail Database ==
contrail-database: active
supervisor-
contrail-
kafka active
== Contrail Support Services ==
supervisor-
rabbitmq-server active
root@nodeh1:
Copying the logs @mayamruga:
user name : Bhushana
password : bhu@123
Changed in juniperopenstack: | |
assignee: | Nipa (nipak) → Deepinder Setia (dsetia) |