[4.1.0.0-3] contrail-flows with vmi-uuid option not working
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.1 |
New
|
High
|
mkheni | |||
Trunk |
New
|
High
|
mkheni |
Bug Description
The following cmd does not seem to be working:
contrail-flows --vmi-uuid d44a5c72-
One of the analytics test cases in the sanity is failing because of this issue. Not sure if we still support this.
When I tried "contrail-flows --last 20m | grep d44a5c72-
[SRC-VR:
9465895:
bric:88.155.120.2:0 [DST-VR:
[SRC-VR:
465895:
ityWithMin-
e183-b772-
[SRC-VR:
465895:
ityWithMin-
ce31-c542-
As per the mail communication:
Sudheendra Rao
|
Fri 24-11-2017 15:58
We don’t have equivalent of contrail-flows command for sessions, may be that is the reason to retain contrail-flows command?
Ashok Singh R
Reply all|
Wed 22-11-2017 22:38
To:
Sudheendra Rao;
Sandip Dey;
Ankit Jain (MVI);
Anish Mehta
Cc:
Aswani Kumar Gaddam;
Hari Prasad Killi
Label: Corporate Default - 2 Years Retention (2 years) Expires: 22-11-2019 22:38
Hi Ankit/Sudheendra,
Export of flows from agent has been stopped from this commit https:/
Remove export of FlowLog messages from agent · Juniper/
github.com
With the introduction of export of sessions, flow need not be logged Change-Id: Ie63b99bd95ab03
I am assuming 4.1.0.0-3 which Ankit is using does not have the above commit. I am not able find source code for 4.1.0.0-3 to confirm. Is it possible to test in latest available R4.1 build?
Regarding flow-table and contrail-flows, we need to check with Analytics team. I don’t have any update on why they are still retained (if they are still retained)
Regards,
Ashok
For 4.1, as a workaround, to use vmi-uuid option, provide full vmi with vmi-uuid option (in <domain> :<project> :<vmi_uuid> format)