config: handle exception in object create and undo persisted uuid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Hampapur Ajay | ||
R2.20 |
Fix Committed
|
Undecided
|
Hampapur Ajay |
Bug Description
While creating a floating-ip I didn’t have a project set…
I got an exception:
Traceback (most recent call last):
File "/usr/local/
response = handler(*args, **kwargs)
File "/usr/local/
(ok, result) = r_class.
File "/usr/local/
proj_dict = obj_dict[
KeyError: 'project_refs'
Once i fixed my code, i can’t create a new entry because:
E0422 00:49:26.230953 20198 opencontrail.
curl http://
% Total % Received % Xferd Average Speed Time Time Time Current
100 20 100 20 0 0 747 0 --:--:-- --:--:-- --:--:-- 769
{
"floating-ips": []
}
Changed in juniperopenstack: | |
assignee: | nobody → Hampapur Ajay (hajay) |
Changed in juniperopenstack: | |
importance: | Undecided → High |
tags: | added: config |
Review in progress for https:/ /review. opencontrail. org/9503
Submitter: Hampapur Ajay (<email address hidden>)