Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA7CB1730C for ; Wed, 1 Apr 2015 19:34:50 +0000 (UTC) Received: (qmail 2214 invoked by uid 500); 1 Apr 2015 19:34:16 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 2167 invoked by uid 500); 1 Apr 2015 19:34:16 -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 2156 invoked by uid 99); 1 Apr 2015 19:34:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 19:34:16 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Chiradeep.Vittal@citrix.com designates 66.165.176.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 19:33:51 +0000 X-IronPort-AV: E=Sophos;i="5.11,505,1422921600"; d="scan'208,217";a="250484522" From: Chiradeep Vittal To: "dev@cloudstack.apache.org" Subject: Re: [PROPOSAL] DHCP/DNS offload and config drive support for adv zone shared network Thread-Topic: [PROPOSAL] DHCP/DNS offload and config drive support for adv zone shared network Thread-Index: AQHQYxDjwrxwUwwJ+k20CCoKg4fWtp0mNBaAgABOMwCAABUPAIASBziA Date: Wed, 1 Apr 2015 19:30:45 +0000 Message-ID: References: <3C97690C-517C-447F-9821-09F9874A1F2E@citrix.com> <629926202.10252.1426844011735.JavaMail.zimbra@li.nux.ro> <550CC56E.8030109@gmail.com> In-Reply-To: <550CC56E.8030109@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.8.150116 Content-Type: multipart/alternative; boundary="_000_D14194DA5DFECchiradeepvittalcitrixcom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_D14194DA5DFECchiradeepvittalcitrixcom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Ilya, there is already a external service. I think this is proposing a solution where that external service is not des= ired. Several =93NFV=94 - type solutions use config drive to configure themselves= instead using a http-based service. CoreOS also uses config drive. That is, this is not a replacement, but an additional option. From: ilya > Reply-To: "dev@cloudstack.apache.org" > Date: Friday, March 20, 2015 at 6:12 PM To: "dev@cloudstack.apache.org" > Subject: Re: [PROPOSAL] DHCP/DNS offload and config drive support for adv z= one shared network I think config drive is not the best design choice. You are relying on external ISO to deliver content private to VM. The ISO is stored in secondary or primary storage, if exposed - I get the private data of all the VMs. There maybe issues with storage migration and general vmotion if ISO is attached. If we are following this model because openstack has chosen this path - i think its just wasted effort and wrong. In my opinion, an external service is much better solution, i.e. AWS - not OpenStack. Also, how does this work "CS retrieves the ip from the VM and update in the DB nics table. "? On 3/20/15 4:56 PM, Marcus wrote: I agree, that's generally the model, right? The network offering describes where the services come from. On Fri, Mar 20, 2015 at 12:16 PM, Alena Prokharchyk > wrote: From the FS: "Create empty network offering with no service selected. Only DHCP, DNS services are provided by external servers. Metadata - information is included in the config drive Userdata, vm password, ssh key - If these are passed then included in the config drive with user data service." "Retrieving IP assigned by external DHCP server to userVM. Store it in CS DB." Why not just introduce the notion of the external provider for the DHCP/DNS/UserData service? Not specifying the services on the offering and implementing the service and storing the service data - UserData/MetaData and IP - in the CloudStack DB, is confusing. Unless all the metadata/userdata is stored/managed on/by the external provider side. On Fri, Mar 20, 2015 at 6:20 AM, Adrian Lewis > wrote: Can't see the wiki at the moment as it's down for maintenance but on a slightly different but related note, would it be feasible to use DHCP relay functionality in dnsmasq on a VR and still get the IP address assigned by an external DHCP server registered into the ACS MS? Not quite sure if under normal circumstances ACS picks up the IP from dnsmasq or if ACS manages the pool and sends dnsmasq static leases. If it's picking up what dnsmasq decides to lease out, what is this mechanism and does/would it also work for DHCP relay? This doesn=92t solve the issue of a DHCP server on the same network however and would still require a VR on the network with upstream connectivity to the DHCP server. I'm definitely definitely up for the concept of simple networks with no VR if we can provision some of the essentials without one. Big +1 -----Original Message----- From: Nux! [mailto:nux@li.nux.ro] Sent: 20 March 2015 09:34 To: dev@cloudstack.apache.org Subject: Re: [PROPOSAL] DHCP/DNS offload and config drive support for adv zone shared network +1, good idea One thing though: let's make the config drive available for all types of zones, many people use the basic or adsg zones. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- From: "Jayapal Reddy Uradi" > To: dev@cloudstack.apache.org Sent: Friday, 20 March, 2015 09:12:19 Subject: [PROPOSAL] DHCP/DNS offload and config drive support for adv zone shared network In advanced zone shared network if someone wants to use DHCP server outside the cloudstack, currently it can be done by not selecting the DHCP service But the problem here is that the VM actual ip is different from what cloudstack showing. If there are no services selected for the network offering there is no need of the VR. In the absense of VR there should be way to provide password, userdata/metadata, ssh keys to user vm. With this feature we can do the following. 1. Create network without VR. 2. Retrive the IP from the VM and update it in the cloudstack DB. 3. Add config drive support for the VMs in this network. Please provide your comments for the below FS. ACS ticket: https://issues.apache.org/jira/browse/CLOUDSTACK-8324 FS: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=3D53740 797 Thanks, Jayapal -- Alena Prokharchyk https://twitter.com/Lemonjet http://www.linkedin.com/pub/alena-prokharchyk/13/282/a7b --_000_D14194DA5DFECchiradeepvittalcitrixcom_--