Schema crashes while logging RefsExistError during RI delete

Bug #1650802 reported by Senthilnathan Murugappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Ignatious Johnson Christopher
Trunk
Fix Committed
High
Ignatious Johnson Christopher

Bug Description

Schema continuously crashes while logging RefsExistError during RI delete
The logging changes made as part of https://github.com/Juniper/contrail-controller/commit/24f5cca4a3c48124906aaa11cbeb2ed9972bcefc werent made in few places

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/contrail-schema", line 9, in <module>
    load_entry_point('schema-transformer==0.1dev', 'console_scripts', 'contrail-schema')()
  File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 602, in server_main
    main()
  File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 596, in main
    args)
  File "/usr/lib/python2.7/dist-packages/cfgm_common/zkclient.py", line 346, in master_election
    self._election.run(func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/kazoo/recipe/election.py", line 53, in run
    func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 576, in run_schema_transformer
    transformer = SchemaTransformer(args)
  File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 169, in __init__
    self.reinit()
  File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 214, in reinit
    ri.get_fq_name_str(), str(e))
TypeError: error() takes at most 3 arguments (4 given)

Tags: blocker config
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/27393
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/27393
Committed: http://github.org/Juniper/contrail-controller/commit/e378d80148ccc0264409565f4b828e76006f18f2
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit e378d80148ccc0264409565f4b828e76006f18f2
Author: Senthilnathan Murugappan <email address hidden>
Date: Sat Dec 17 13:30:02 2016 -0800

Schema logging error bug fix

Change-Id: If693bd6013fcb71064c0711249558f0c9a5a0b74
Closes-Bug: #1650802

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/27396
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/27396
Committed: http://github.org/Juniper/contrail-controller/commit/8c88b9c7ce3ba8a86fb0d230e020a6fde69de728
Submitter: Zuul (<email address hidden>)
Branch: master

commit 8c88b9c7ce3ba8a86fb0d230e020a6fde69de728
Author: Senthilnathan Murugappan <email address hidden>
Date: Sat Dec 17 13:30:02 2016 -0800

Schema logging error bug fix

Change-Id: If693bd6013fcb71064c0711249558f0c9a5a0b74
Closes-Bug: #1650802
(cherry picked from commit e378d80148ccc0264409565f4b828e76006f18f2)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.