Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEC8610166 for ; Mon, 17 Jun 2013 05:51:22 +0000 (UTC) Received: (qmail 73821 invoked by uid 500); 17 Jun 2013 05:51:22 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 73733 invoked by uid 500); 17 Jun 2013 05:51:21 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 73675 invoked by uid 500); 17 Jun 2013 05:51:21 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 73650 invoked by uid 99); 17 Jun 2013 05:51:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 05:51:20 +0000 Date: Mon, 17 Jun 2013 05:51:20 +0000 (UTC) From: "Abhinandan Prateek (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-2953) [Multiple_IP_Ranges] VM does not get the public key from VR incase of multiple subnets per vlan MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinandan Prateek reassigned CLOUDSTACK-2953: ---------------------------------------------- Assignee: Bharat Kumar > [Multiple_IP_Ranges] VM does not get the public key from VR incase of multiple subnets per vlan > ----------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-2953 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2953 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.2.0 > Environment: Setup: Basic zone with xen cluster > Build: Laset master build > Reporter: Sanjeev N > Assignee: Bharat Kumar > Priority: Critical > Fix For: 4.2.0 > > > VM does not get the public key from VR incase of multiple subnets per vlan > Steps to Reproduce: > ================ > 1.Bring up CS in basic zone with xen server > 2.Add guest ip ranges in two CIDRs in the same vlan > 3.Generate ssh key pair using follwoing api: > http://10.147.59.119:8096/client/api?command=createSSHKeyPair&name=test2&account=admin&domainid=1 > 4.Register a template to CS which has ssh key reset script copied. > 5.Deploy two guest vms with ip addresses from both the CIDRs with the key pair generated above > Expected Behavior: > =============== > In both the VM's authouried keys file should contain the public key and key based access to vm should succeed. > Actual Result: > ============ > Guest vm deployed with ip address from first cidr able to fetch the public key but not the other vm. > Observations: > =========== > On VR web service is running on port 80 with ip address from the primary subnet but not with the alias ip , hence fetching keys from the VR with alias ip address failed. > [root@ceddb099-8fee-462f-9520-c01b57762e4d ~]# wget http://10.147.43.131/latest/public-keys > --2013-06-12 10:02:49-- http://10.147.43.131/latest/public-keys > Connecting to 10.147.43.131:80... failed: Connection refused. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira