cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Redundant VRouter guest network on wrong interface

Open DennisKonrad opened this issue 7 years ago • 79 comments

ISSUE TYPE
  • Bug Report
COMPONENT NAME
redundant VPC Offering
CLOUDSTACK VERSION
master
CONFIGURATION

Standard cluster deployment regarding this issue. No changes made to sytemvm or the offerings involved.

OS / ENVIRONMENT

Seems to work only with OvS bridges. KVM with OvS Projects with VPCs

SUMMARY

Redundant vRouter Offering doesn't work because guest network is on wrong interface in vRouter

STEPS TO REPRODUCE
  • Add VPC; choose Redundant VPC Offering
  • Create a guest network/instance to allow for redundancy to build up
  • some network is created on the wrong interface:

redundantrouter

image

EXPECTED RESULTS

The guest network should be added on eth1 because this is the interface where both vRouters share the MAC address.

ACTUAL RESULTS

Redundancy state of the redundant routers changes from UNKNOWN to FAILED because conntrackd and keepalived cannot establish the VRRP redundancy between the two vRouters.

DennisKonrad avatar Feb 14 '19 09:02 DennisKonrad

@weizhouapache Hi, no we don't use the ovs plugin. We have OvS in place for the hypervisor bridges.

I'll resume testing today. I would like to test if maybe the make_redundant process offered for non-redundant VPC is working. Also I'll test if custom network offerings are posing problems

DennisKonrad avatar Dec 02 '19 08:12 DennisKonrad

@weizhouapache The "make redundant" worked fine for me. I also looked if private gateways go to the right interface and as far as I can tell this looks good.

Can you tell me something about the issue with isolated networks so maybe I can replicate the error and give you some feedback?

DennisKonrad avatar Dec 02 '19 13:12 DennisKonrad

@weizhouapache If you are ready is it possible to create an PR with the changes? 👍

svenvogel avatar Dec 04 '19 14:12 svenvogel

@svenvogel there are still some issues in my testing. I will create a PR when everything is fully tested.

weizhouapache avatar Dec 05 '19 09:12 weizhouapache

@svenvogel @DennisKonrad I push 3 new commits to the branch.

weizhouapache avatar Dec 06 '19 14:12 weizhouapache

@weizhouapache I'll build and test it for OvS today. Anything you want me to test?

DennisKonrad avatar Dec 09 '19 08:12 DennisKonrad

there is a lot of text here. Do we have plans for 4.13 @weizhouapache @DennisKonrad @svenvogel ?

DaanHoogland avatar Jan 03 '20 16:01 DaanHoogland

@DaanHoogland what's the plan for 4.13.1 and 4.14 ? sorry I came back from holiday today and missed some discussion.

weizhouapache avatar Jan 06 '20 11:01 weizhouapache

@weizhouapache Hi ... back from holiday. i dont know whats tested. there are things from your side they needs to be tested so that we come ready to a PR?

svenvogel avatar Jan 12 '20 14:01 svenvogel

@weizhouapache ping 😄

svenvogel avatar Jan 17 '20 13:01 svenvogel

@svenvogel I will create a PR next week. I did not fully test it. Hope it will be good :-D

weizhouapache avatar Jan 18 '20 09:01 weizhouapache

@weizhouapache Thanks. Wei ...i think so 😁 we will test it again its maybe easier but what i saw was very good!

svenvogel avatar Jan 18 '20 12:01 svenvogel

@weizhouapache Hi, sorry for the long delay. The last time I tested this I couldn't find any problems. The two setups I tested (KVM with Linux Bridge and KVM with OVS) looked very good

DennisKonrad avatar Jan 20 '20 08:01 DennisKonrad

@DennisKonrad i read in your text above we can close this?

DaanHoogland avatar Jan 21 '20 15:01 DaanHoogland

@DaanHoogland I would like to wait for the PR of wei to be tested and merged. If the community accepts it then we can close the issue.

DennisKonrad avatar Jan 21 '20 15:01 DennisKonrad

This is still an issue for me. Non redundant routers work fine, redundant routers do not.

this-tech avatar Jan 23 '20 03:01 this-tech

@DennisKonrad @svenvogel @DaanHoogland I am testing my changes. If everything goes fine I will create pr tomorrow.

weizhouapache avatar Jan 27 '20 20:01 weizhouapache

@weizhouapache that sounds great. Big thanks! 👍

svenvogel avatar Jan 27 '20 21:01 svenvogel

solution merged with PR #3847

DaanHoogland avatar Feb 29 '20 18:02 DaanHoogland