VM launch fails . Subnet uuids different in API server and neutron
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Released
|
Undecided
|
Sachin Bansal | ||
R1.1 |
Fix Released
|
Undecided
|
Sachin Bansal | ||
R1.30 |
Fix Released
|
Undecided
|
Sachin Bansal |
Bug Description
This is on Icehouse ubuntu build 55, single node 10.204.217.64
Networks / subnets created from Contrail UI. Subnet uuid in api server and
neutron don¹t seem to match.
Neutron:
--------
95f82c7c-
"11.1.1.2", "end": "11.1.1.2"} |
| f8940525-
"10.1.1.2", "end": "10.1.1.2"}
API Server:
-----------
"href":
"http://
b²,
{"subnet": {"ip_prefix": "11.1.1.0", "ip_prefix_len": 30},
"subnet_uuid": "354fa5e2-
{"subnet": {"ip_prefix": "10.1.1.0", "ip_prefix_len": 30},
"subnet_uuid": "ac0b66eb-
Changed in juniperopenstack: | |
milestone: | none → r2.0-fcs |
Changed in juniperopenstack: | |
status: | New → In Progress |
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
status: | In Progress → Fix Committed |
Changed in juniperopenstack: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. opencontrail. org/3798 github. org/Juniper/ contrail- controller/ commit/ 13d8d21feaee016 210a3e3a8c1fc55 b4feb7566c
Committed: http://
Submitter: Zuul
Branch: R1.10
commit 13d8d21feaee016 210a3e3a8c1fc55 b4feb7566c
Author: Sachin Bansal <email address hidden>
Date: Wed Oct 15 14:56:43 2014 -0700
If the API client updates a network object with subnets and does not send a subnet_uuid, we were allocating a new UUID. If the subnet already exists, we should reuse the subnet_uuid. Now, we read from cassandra before generating a new UUID.
Change-Id: I13426663c8a2a8 e79fbf170dffb81 c726506cee1
Closes-Bug: 1381779