Use db unique index to control duplicate name for NFV resources
Bug #1667641 reported by
yong sheng gong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
High
|
Kanagaraj Manickam |
Bug Description
Problem:
Currently, we are using python code to avoid name duplication of a certain resource type:
such as:
https:/
if self._get_
raise exceptions.
this cannot work if there are multiple tacker servers running where the race condition will happen.
solution:
to use unique index on tenant_id and name columns of the NFV resources.
Changed in tacker: | |
milestone: | none → pike-1 |
Changed in tacker: | |
importance: | Undecided → High |
tags: | added: multi-services |
Changed in tacker: | |
assignee: | nobody → Kanagaraj Manickam (kanagaraj-manickam) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/439719
Review: https:/