[ubuntu-havana-R1.06-38] creation of floating IP failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Invalid
|
Medium
|
Prashant Shetty |
Bug Description
Creation of floating IP failed on R1.06 Ubuntu-Havana #38 with below trace. Can someone look into?.
Logs:
+++ write d92d5620-
+++ link 66afd533-
INFO:api-0:Sending request(xid=917): Create(
[ACL(perms=31, acl_list=['ALL'], id=Id(scheme=
INFO:api-0:Received response(xid=917): u'/fq-name-
Traceback (most recent call last):
File "/opt/contrail/
return route.call(**args)
File "/opt/contrail/
rv = callback(*a, **ka)
File "/opt/contrail/
(ok, result) = r_class.
File "/opt/contrail/
proj_dict = obj_dict[
KeyError: 'project_refs'
10.204.216.30 - - [2014-06-14 12:23:48] "POST /floating-ips HTTP/1.1" 500 7687 0.024999
+++ read d92d5620-
10.204.216.30 - - [2014-06-14 12:23:48] "GET /floating-
+++ write 862f3d6a-
10.204.216.30 - - [2014-06-14 12:23:48] "PUT /project/
10.204.216.30 - - [2014-06-14 12:23:48] "POST /ref-update HTTP/1.1" 200 156 0.008341
Required logs: /cs-shared/
Changed in juniperopenstack: | |
assignee: | nobody → Sachin Bansal (bansalsachin) |
information type: | Proprietary → Public |
tags: | added: blocker |
tags: |
added: test removed: config |
tags: | removed: api blocker |
From Prakash:
This is a test case issue.
Can you pls set the project object on fip_obj before calling the floating_ip_create? (in https:/ /github. com/Juniper/ contrail- test/blob/ master/ scripts/ mx_test. py:545) set_project( proj_obj)
fip_obj.
# Read the project obj and set to the floating ip object.
This issue is exposed
due to the Quota fixes that went in to R1.06. To update/validate quota, project object is fetched from floating ip post object. It fails due to missing proj_refs.
Let me know if it doesn’t
fix the issue.