[Config] wrong UUID in obj_uuids in REST Call returns wrong data
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
Undecided
|
Sachin Bansal | |||
Trunk |
Fix Committed
|
Undecided
|
Sachin Bansal |
Bug Description
Suppose, Service Instance “A" does have two vm back_refs, now if I specify obj_uuids the VM uuid, then /service-instances returns service instance data with that VM UUID.
I am pasting the snippet:
http://
{
service-instances: [
{
href: "http://
fq_name: [
"default-
],
uuid: "3c2680ca-
},
{
virtual_
{
to: [
"default-
],
href: "http://
attr: null,
uuid: "3c2680ca-
},
{
to: [
"default-
],
href: "http://
attr: null,
uuid: "4079db48-
}
],
href: "http://
fq_name: [
"default-domain",
"bmandal",
"snat_eddf39ce-
],
uuid: "69353451-
}
]
}
So if you see the above REST API Call, 3c2680ca-
Now if I do detail=true, then
http://
This returns data without throwing error or empty response, and here in the response “virtual-machine” keyword gets replaced with “service-instance" thus returning wrong information.
Changed in juniperopenstack: | |
assignee: | nobody → Sachin Bansal (sbansal) |
information type: | Proprietary → Public |
Review in progress for https:/ /review. opencontrail. org/19811
Submitter: Sachin Bansal (<email address hidden>)