Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EC95A200B91 for ; Thu, 15 Sep 2016 05:06:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EB427160AD4; Thu, 15 Sep 2016 03:06:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E6F34160AB4 for ; Thu, 15 Sep 2016 05:06:18 +0200 (CEST) Received: (qmail 54225 invoked by uid 500); 15 Sep 2016 03:06:18 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 54209 invoked by uid 99); 15 Sep 2016 03:06:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 03:06:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 36A501A7AA5 for ; Thu, 15 Sep 2016 03:06:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id riGNqG3PQhWi for ; Thu, 15 Sep 2016 03:06:14 +0000 (UTC) Received: from mail-vk0-f42.google.com (mail-vk0-f42.google.com [209.85.213.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9863E5FB37 for ; Thu, 15 Sep 2016 03:06:13 +0000 (UTC) Received: by mail-vk0-f42.google.com with SMTP id b133so7788580vka.1 for ; Wed, 14 Sep 2016 20:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=SJl2LZd/P/WfhqPBtEudIqBphJDfKZPQeGGfDfOflO8=; b=EJAYR72eNykPVkFIxk6KtxbTU9Cigr5u6cXFRQ6I3sm7n9MsEt5drdZ1sxSLYpGVWE Uy8gIjUTs9bsah53RTd8OqA5aCcyjNlnPJSS2yvFT/WUeHjWWCTPYNPuMdCsnDrRSmsn nRL+qDx4g45nizqIPGspcJ2cPY6Z1l6+EJ6C1j5Uh0FcvhBvnsOxqvmay1PhvVk5MYa7 sswh6wlJI/GBQBKvfHjHKI9lUBMWcK4r9EzpoOElQJVnnsVx6soKLHuejnq3wckbYVd9 HDshYv7yt1Rz0OoPkPJXOEWu9V4SC5YHUQH9u9ovQLGliFl+eG8CFEe0fOtMuysFLYU9 jVsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=SJl2LZd/P/WfhqPBtEudIqBphJDfKZPQeGGfDfOflO8=; b=NmzHvT5oVtcqMrnayyNJYaOoWyDSYYOlrdO9uxUu9OK9bunBJf3YiD7LbOGHuFEbeX wtmeOnJYzYIxQP4A05wPc8/BEfyMFQrXoK5NOuOzkW6ft6WtpCO/27TUZfymocq2IMon XydgqkphTSClOh5pvvVl0kqJ7nc0p/6y1iMAR+RtKjO+iSF8JnxiS+joorSUdSSdKquQ 9NH6cJ0KxTRkR8OgVVPt/qQ5RUrOs5dC0/Qf9Z91hM5xhp3lKehgqgNTudiivgAkLWO9 192WR1aAlBwsNR1fVx9PpLnoN5JrGYH0Mz2UCl/Dbr8DzGRpm7tXAnT74tgQQRqUbQm5 DS/w== X-Gm-Message-State: AE9vXwNe/bNqy1JkZy2Je1Moyb5ZqJRGsm6aQmO69d/fRWYP1NdY9+pPR2gVAqCaSSNZGWTXaEv/nS2x7afSWA== X-Received: by 10.31.4.148 with SMTP id 142mr1155295vke.12.1473908767159; Wed, 14 Sep 2016 20:06:07 -0700 (PDT) MIME-Version: 1.0 Sender: williamstevens@gmail.com Received: by 10.31.156.77 with HTTP; Wed, 14 Sep 2016 20:06:06 -0700 (PDT) In-Reply-To: References: <1992498351.33324.1473758566107.JavaMail.zimbra@li.nux.ro> From: Will Stevens Date: Wed, 14 Sep 2016 23:06:06 -0400 X-Google-Sender-Auth: Z_lzhtYyPPkS3wHV8LlN_l3bS_M Message-ID: Subject: Re: [DISCUSS] Replacing the VR To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=001a1146645a7f7966053c83201b archived-at: Thu, 15 Sep 2016 03:06:20 -0000 --001a1146645a7f7966053c83201b Content-Type: text/plain; charset=UTF-8 Or we could go completely crazy and go with something like FlexSwitch from SnapRoute - http://www.snaproute.com/ - https://opensnaproute.github.io/docs/apis.html *Will STEVENS* Lead Developer *CloudOps* *| *Cloud Solutions Experts 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6 w cloudops.com *|* tw @CloudOps_ On Wed, Sep 14, 2016 at 10:55 PM, Will Stevens wrote: > I tend to agree with Syed and Marty. I am not sure what problems are > solved by splitting up the function of the VR into a bunch of separate > services. As Syed points out, the complexity added is non-trivial. We now > have to manage all the intercontainer networking as well as the > orchestrated ACS networking. > > VyOS is interesting to me because it covers the majority of our use case > with a single unified control plane. It also has good support for > extending features we care about, like IPv6, VXLAN, VRRP, transactions, > etc... > > *Will STEVENS* > Lead Developer > > *CloudOps* *| *Cloud Solutions Experts > 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6 > w cloudops.com *|* tw @CloudOps_ > > On Wed, Sep 14, 2016 at 9:49 PM, Syed Ahmed wrote: > >> Agree with Marty, adding Docker containers to the picture although can >> make >> the VR more flexible but the added complexity is just not worth it. Not to >> mention we would need to take care of networking each container manually >> and given that our iptable rules are very unstable at the moment I don't >> see a big value add. >> >> Vyos looks like a better solution to me. I know that it does not provide >> an >> api but it does fit the bill quite well otherwise. I specially like the >> fact that it has a transaction based model and you can rollback changes if >> something goes wrong. >> On Wed, Sep 14, 2016 at 9:06 PM Marty Godsey wrote: >> >> > Licensing aside, I think splitting the various functions into containers >> > is not a good route either. This will force users to have to maintain >> and >> > use containers and adds complexity to the networking aspects of ACS. >> > Complexity decreases stability. Now I understand the argument that a >> > monolithic approach also brings its own set of issues but it also >> > simplifies it. >> > >> > Regards, >> > Marty Godsey >> > nSource Solutions >> > >> > -----Original Message----- >> > From: Chiradeep Vittal [mailto:chiradeepv@gmail.com] >> > Sent: Wednesday, September 14, 2016 5:37 PM >> > To: dev@cloudstack.apache.org >> > Subject: Re: [DISCUSS] Replacing the VR >> > >> > I rather doubt that the Cloudrouter will fit the needs of the CloudStack >> > project >> > - it is AGPL licensed. Many enterprises will not touch anything that >> has >> > AGPL >> > - the github repo shows rather infrequent updates. Quite likely they >> > aren't considering the use cases of the CloudStack community >> > >> > I'd back John B's comments on disaggregating the VR. Split it into many >> > docker containers >> > - password server >> > - userdata server >> > - DHCP / DNS >> > - s2s VPN >> > - RA VPN >> > - intra-VPC routing and ACL >> > - Port forwarding + NAT >> > - FW >> > - LB (public) >> > - LB (internal), >> > - secondary storage >> > - agent >> > Glue them together with docker compose files (one per use case - basic >> > zone, isolated, VPC, SSVM, etc). >> > >> > The VR image then becomes a JeOS + docker. You can test each of the >> > components independently and fixing one bug in the field (say DHCP) is >> > hitless to the other components. You don't need to build per-hypervisor >> > VRs. You could even run on baremetal. >> > >> > Along the way you need to figure out how to >> > - make the traffic traverse the containers that are needed to be >> > traversed (in most cases just 1) >> > - bootstrap the router (how does it find its compose file? where is the >> > registry?) >> > - rethink the command and control of the VR functions. SSH works, but >> > something more declarative, idempotent should be explored. >> > >> > As you do this, it becomes clearer which of the functions can be >> > substituted by for example CloudRouter. Command and Control of the >> docker >> > containers can be moved out to another container. Etc. >> > >> > >> > >> > >> > >> > >> > >> > On Wed, Sep 14, 2016 at 12:59 AM, Marty Godsey >> > wrote: >> > >> > > This one does look nice. My biggest concern is the lack of VXLANs. It >> > > seems that any of the ones we mentioned do not have an API so we may >> > > be stuck at the SSH method. >> > > >> > > Regards, >> > > Marty Godsey >> > > nSource Solutions >> > > >> > > -----Original Message----- >> > > From: Abhinandan Prateek [mailto:abhinandan.prateek@shapeblue.com] >> > > Sent: Wednesday, September 14, 2016 2:26 AM >> > > To: dev@cloudstack.apache.org >> > > Subject: Re: [DISCUSS] Replacing the VR >> > > >> > > Cloudrouter looks promising. These have potential to save future >> > > engineering effort for example on ipv6 routing, OSPF etc. >> > > And the best part is they come with test automation framework. >> > > >> > > >> > > >> > > >> > > >> > > On 13/09/16, 4:22 PM, "Jayapal Uradi" >> > > wrote: >> > > >> > > >Hi, >> > > > >> > > >Instead of replacing the VR in first place we should add >> > > >VyOS/cloudrouter >> > > as provider. Once it is stable, network offerings (on upgrade) can be >> > > updated to use it and we can drop the VR if we want at that release >> > onwards. >> > > > >> > > >VR is stabilized over a period of time and some of them are running >> > > without issues. When we replicate the ACS VR features in new solution >> > > it takes some to find the missing pieces (hidden bugs). >> > > > >> > > >Thanks, >> > > >Jayapal >> > > > >> > > >> On Sep 13, 2016, at 2:52 PM, Nux! < >> > > > >> > > >> nux@li.nux.ro> wrote: >> > > >> >> > > >> Hi, >> > > >> >> > > >> I like the idea. >> > > >> >> > > >> Cloudrouter looks really promising, I'm not too keen on VyOS (it >> > > doesn't have a proper http api etc). >> > > >> >> > > >> -- >> > > >> Sent from the Delta quadrant using Borg technology! >> > > >> >> > > >> Nux! >> > > >> www.nux.ro >> > > >> >> > > >> >> > > abhinandan.prateek@shapeblue.com >> > > www.shapeblue.com >> > > 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue >> > > >> > > >> > > >> > > ----- Original Message ----- >> > > >>> From: "Will Stevens" >> > > >>> To: dev@cloudstack.apache.org >> > > >>> Sent: Monday, 12 September, 2016 21:20:11 >> > > >>> Subject: [DISCUSS] Replacing the VR >> > > >> >> > > >>> *Disclaimer:* This is a thought experiment and should be treated >> > > >>> as >> > > such. >> > > >>> Please weigh in with the good and bad of this idea... >> > > >>> >> > > >>> A couple of us have been discussing the idea of potentially >> > > >>> replacing the ACS VR with the VyOS [1] (Open Source Vyatta VM). >> > > >>> There may be a license issue because I think it is licensed under >> > > >>> GPL, but for the sake of discussion, let's assume we can overcome >> > > >>> any >> > > license issues. >> > > >>> >> > > >>> I have spent some time recently with the VyOS and I have to admit, >> > > >>> I was pretty impressed. It is simple and intuitive and it gives >> > > >>> you a lot more options for auditing the configuration etc... >> > > >>> >> > > >>> Items of potential interest: >> > > >>> - Clean up our current VR script spaghetti to a simpler more >> > > >>> auditable configuration workflow. >> > > >>> - Gives a cleaner path for IPv6 support. >> > > >>> - Handles VPN configuration via the same configuration interface. >> > > >>> - Support for OSPF & BGP. >> > > >>> - VPN support through OpenVPN & StrongSwan. >> > > >>> - Easily supports HA (redundant routers) through VRRP. >> > > >>> - VXLAN support. >> > > >>> - Transaction based changes to the VR with rollback on error. >> > > >>> >> > > >>> Items that could be difficult to solve: >> > > >>> - Userdata password reset workflow and implementation. >> > > >>> - Upgrade process. >> > > >>> >> > > >>> The VyOS is not the only option if we were to consider this >> approach. >> > > >>> Another option, which I don't know as well, would be CloudRouter >> > > >>> (AGPL >> > > >>> license) [2] which is purely API driven. >> > > >>> >> > > >>> Anyway, would love to hear your thoughts... >> > > >>> >> > > >>> Will >> > > >>> >> > > >>> [1] https://vyos.io/ >> > > >>> [2] https://cloudrouter.org/ >> > > > >> > > > >> > > > >> > > > >> > > >DISCLAIMER >> > > >========== >> > > >This e-mail may contain privileged and confidential information which >> > > >is >> > > the property of Accelerite, a Persistent Systems business. It is >> > > intended only for the use of the individual or entity to which it is >> > > addressed. If you are not the intended recipient, you are not >> > > authorized to read, retain, copy, print, distribute or use this >> > > message. If you have received this communication in error, please >> > > notify the sender and delete all copies of this message. Accelerite, a >> > > Persistent Systems business does not accept any liability for virus >> > infected mails. >> > > >> > >> > > --001a1146645a7f7966053c83201b--