db_manage script fails to clean subnet zk allocation

Bug #1696806 reported by Édouard Thuleau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Édouard Thuleau

Bug Description

Traceback (most recent call last):
  File "db_manage.py", line 1772, in <module>
    main(verb, sys.argv)
  File "db_manage.py", line 1755, in main
    return globals()['db_%s' %(verb)](' '.join(sys.argv[1:]))
  File "db_manage.py", line 1725, in db_clean
    db_cleaner.clean_subnet_addr_alloc()
  File "db_manage.py", line 1103, in wrapper
    errors = func(*args, **kwargs)
  File "db_manage.py", line 1402, in clean_subnet_addr_alloc
    zk_all_vns[vn].pop(sn_key)
KeyError: u'default-domain:demo:snat-si-left_snat_7b68d990-b3a2-4c6c-bdd8-aa2342197e6d_671ad4f6-14b1-4a20-8604-68b6c30c8831'

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

Review in progress for https://review.opencontrail.org/32665
Submitter: ?douard Thuleau (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/32665
Committed: http://github.com/Juniper/contrail-controller/commit/006bf6c945d723c52b3388a2ed74d3599b4b5552
Submitter: Zuul (<email address hidden>)
Branch: master

commit 006bf6c945d723c52b3388a2ed74d3599b4b5552
Author: Édouard Thuleau <email address hidden>
Date: Thu Jun 8 19:18:49 2017 +0200

[Config] fix db_manage scripts subnet zk allocation

Change-Id: Iba5936ce5b8bcff80ec18c01149ee7c7e5bdef20
Closes-Bug: #1696806

Sachin Bansal (sbansal)
no longer affects: opencontrail
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.