[Config]: Few config services fail to come up as exception not handled correctly
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Released
|
Medium
|
Yuvaraja Mariappan | |||
R4.0 |
Fix Released
|
Medium
|
Yuvaraja Mariappan | |||
R4.1 |
Fix Released
|
Medium
|
Yuvaraja Mariappan | |||
R5.0 |
Fix Released
|
Medium
|
Yuvaraja Mariappan | |||
Trunk |
Fix Released
|
Medium
|
Yuvaraja Mariappan |
Bug Description
R5.0-101
Due to some error, few config services try to raise an exception which is not defined.
This need to be handled properly.
But few other config services have also failed due to following error:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
main()
File "/usr/lib/
run_
File "/usr/lib/
self.
File "/usr/lib/
func(*args, **kwargs)
File "/usr/lib/
except (RuntimeError, ResourceExhaust
NameError: global name 'ResourceExhaus
== Contrail config ==
api: active
zookeeper: active
svc-monitor: inactive
nodemgr: initializing
device-manager: inactive
cassandra: active
rabbitmq: active
schema: inactive
Hi Pulkit,
I have raised the review(https:/ /review. opencontrail. org/#/c/ 43903/) for the bug https:/ /bugs.launchpad .net/juniperope nstack/ +bug/1777277.
With respect to the svc_monitor issue, I don’t see https:/ /github. com/Juniper/ contrail- controller/ blob/R5. 0/src/config/ svc-monitor/ svc_monitor/ svc_monitor. py code ionError from cfgm_common.(day one issue)
importing ResourceExhaust
This issue was masked till now as the code never hit line 897. Now due to the AttributeError: 'str' object has no attribute 'basename'
When instantiating VncApi at lint 887, this issue is exposed.
Please raise a separate bug for svc_monitor and work with sachin vaidya/Yuvaraj
Thanks,
Ignatious