Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E668D03D for ; Thu, 11 Oct 2012 18:15:03 +0000 (UTC) Received: (qmail 91910 invoked by uid 500); 11 Oct 2012 18:15:03 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 91838 invoked by uid 500); 11 Oct 2012 18:15:03 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 91826 invoked by uid 99); 11 Oct 2012 18:15:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 18:15:03 +0000 Date: Thu, 11 Oct 2012 18:15:03 +0000 (UTC) From: "edison su (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: <619677098.32447.1349979303137.JavaMail.jiratomcat@arcas> In-Reply-To: <1175657316.26279.1349961903093.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CLOUDSTACK-316) KVM Agent setup fails due to cloudbr0 set as public network interface 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-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474389#comment-13474389 ] edison su commented on CLOUDSTACK-316: -------------------------------------- There is always an issue here for two nics in basic zone, the current security group code can only support one physical bridge. Is it ok move the support for multiple bridges in basic zone into 4.1.0? > KVM Agent setup fails due to cloudbr0 set as public network interface > --------------------------------------------------------------------- > > Key: CLOUDSTACK-316 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-316 > Project: CloudStack > Issue Type: Bug > Components: KVM, Management Server > Affects Versions: 4.0.0 > Environment: Ubuntu 12.04 > CloudStack 4.0.0-incubator > Reporter: Wido den Hollander > Fix For: 4.0.0 > > > I just set up a fresh CloudStack 4.0 platform and tried to add a host via the wizard. > My Basic network settings: > - guest: vlanbr672 > - private: vlanbr670 > During the wizard there is never a prompt for the public network, you can only set the storage label, but I didn't do that. > I kept waiting for the hypervisor to come online, but the agent wouldn't start. The log showed: > 2012-10-11 14:55:46,835 DEBUG [cloud.resource.ServerResourceBase] (main:null) Retrieving network interface: cloudbr0 > 2012-10-11 14:55:46,835 DEBUG [cloud.resource.ServerResourceBase] (main:null) Unable to get network interface for cloudbr0 > 2012-10-11 14:55:46,835 DEBUG [cloud.resource.ServerResourceBase] (main:null) Retrieving network interface: null > 2012-10-11 14:55:46,835 DEBUG [cloud.resource.ServerResourceBase] (main:null) Retrieving network interface: null > ... > .... > ..... > ...... > 2012-10-11 14:55:50,617 DEBUG [utils.script.Script] (main:null) Executing: /bin/bash -c brctl show | grep cloudbr0 | awk '{print $4}' > 2012-10-11 14:55:50,624 DEBUG [utils.script.Script] (main:null) Execution is successful. > 2012-10-11 14:55:50,624 DEBUG [utils.script.Script] (main:null) Executing: /bin/bash -c ls /proc/net/vlan/null > 2012-10-11 14:55:50,630 DEBUG [utils.script.Script] (main:null) Exit value is 2 > 2012-10-11 14:55:50,630 DEBUG [utils.script.Script] (main:null) ls: cannot access /proc/net/vlan/null: No such file or directory > ... > .... > ..... > 2012-10-11 14:55:50,649 DEBUG [kvm.resource.LibvirtComputingResource] (main:null) Failed to get public nic name > 2012-10-11 14:55:50,649 ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: Failed to get public nic name > This was due to this setting in agent.properties: > public.network.device=cloudbr0 > My setup doesn't have cloudbr0, so why was this set? > The management server log shows me: > 2012-10-11 14:55:14,545 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-21:null) Executing cmd: cloud-setup-agent -m 31.25.100.163 -z 1 -p 1 -c 1 -g 614b7f96-b6e9-38f2-984b-956af817f771 -a --pubNic=cloudbr0 --prvNic=vlanbr670 --guestNic=vlanbr672 > 2012-10-11 14:55:47,555 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-21:null) cloud-setup-agent -m 31.25.100.163 -z 1 -p 1 -c 1 -g 614b7f96-b6e9-38f2-984b-956af817f771 -a --pubNic=cloudbr0 --prvNic=vlanbr670 --guestNic=vlanbr672 output:CloudStack Agent setup is done! > As you can see, the management server came up with "cloudbr0" for the public network, while I never configured that. > Should public network be set to guest network in a Basic KVM zone? -- 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