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 4E3DA109BF for ; Mon, 12 Aug 2013 10:42:25 +0000 (UTC) Received: (qmail 62860 invoked by uid 500); 12 Aug 2013 10:42:21 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 62822 invoked by uid 500); 12 Aug 2013 10:42:20 -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 62602 invoked by uid 99); 12 Aug 2013 10:42:17 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 10:42:17 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 274311C9A50; Mon, 12 Aug 2013 10:42:17 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7008264408436594585==" MIME-Version: 1.0 Subject: Re: Review Request 13472: make apache server listen on all the ipaliases to provide access to meta-data. From: "bharat kumar" To: "Jayapal Reddy" , "Murali Reddy" , "Chiradeep Vittal" , "Sheng Yang" Cc: "bharat kumar" , "cloudstack" Date: Mon, 12 Aug 2013 10:42:17 -0000 Message-ID: <20130812104217.5632.10752@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "bharat kumar" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/13472/ X-Sender: "bharat kumar" References: <20130812102450.5632.99863@reviews.apache.org> In-Reply-To: <20130812102450.5632.99863@reviews.apache.org> Reply-To: "bharat kumar" --===============7008264408436594585== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/13472/ ----------------------------------------------------------- (Updated Aug. 12, 2013, 10:42 a.m.) Review request for cloudstack, Chiradeep Vittal, Jayapal Reddy, Murali Reddy, and Sheng Yang. Changes ------- Added jayapal Bugs: Cloudstack-4231 Repository: cloudstack-git Description ------- https://issues.apache.org/jira/browse/CLOUDSTACK-4231 make apache server listen on all the ipaliases to provide access to meta-data. Earlier we were using the name data-server to access the meta-data in case of multiple subnets. This requires updating the guest templates. Now we make apache server listen on all the ipaliases. So no need to update the template. we create separate file for each ipAlias Diffs ----- patches/systemvm/debian/config/etc/init.d/cloud-early-config a552d44 patches/systemvm/debian/config/root/createIpAlias.sh 5498195 patches/systemvm/debian/config/root/deleteIpAlias.sh fa228fb Diff: https://reviews.apache.org/r/13472/diff/ Testing ------- Tested on 4.2 deployed vms in different subnets. used the script cloud-set-guest-sshkey.in to fetch the public keys form the router. was able to get the keys without using the name data-server. deleted the subnet and checked if the apache config was removed. ran a failure case, all the config files generated during this operation were moved to failure_directory. Thanks, bharat kumar --===============7008264408436594585==--