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 4B3CA18D2E for ; Tue, 3 Nov 2015 12:48:28 +0000 (UTC) Received: (qmail 74905 invoked by uid 500); 3 Nov 2015 12:48:28 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 74867 invoked by uid 500); 3 Nov 2015 12:48:27 -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 74858 invoked by uid 500); 3 Nov 2015 12:48:27 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 74854 invoked by uid 99); 3 Nov 2015 12:48:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2015 12:48:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ABAB12C1F51 for ; Tue, 3 Nov 2015 12:48:27 +0000 (UTC) Date: Tue, 3 Nov 2015 12:48:27 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9019) Storage VM gets two mgmt nics when no storage net defined 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-9019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987206#comment-14987206 ] ASF GitHub Bot commented on CLOUDSTACK-9019: -------------------------------------------- Github user remibergsma commented on the pull request: https://github.com/apache/cloudstack/pull/1025#issuecomment-153341540 Result before this PR: ``` root@s-58-VM:~# ifconfig eth0 Link encap:Ethernet HWaddr 0e:00:a9:fe:03:b0 inet addr:169.254.3.176 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1362 errors:0 dropped:0 overruns:0 frame:0 TX packets:74 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:68093 (66.4 KiB) TX bytes:11731 (11.4 KiB) eth1 Link encap:Ethernet HWaddr 06:8f:3c:00:00:0e inet addr:192.168.22.143 Bcast:192.168.22.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:63121 errors:0 dropped:1 overruns:0 frame:0 TX packets:31637 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:84701257 (80.7 MiB) TX bytes:125724065 (119.8 MiB) eth2 Link encap:Ethernet HWaddr 06:3c:56:00:00:16 inet addr:192.168.23.2 Bcast:192.168.23.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1009 errors:0 dropped:0 overruns:0 frame:0 TX packets:36 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:47700 (46.5 KiB) TX bytes:3072 (3.0 KiB) eth3 Link encap:Ethernet HWaddr 06:9b:9e:00:00:14 inet addr:192.168.22.149 Bcast:192.168.22.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3599 errors:0 dropped:1 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:193180 (188.6 KiB) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ``` ``` root@s-58-VM:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.22.1 0.0.0.0 UG 0 0 0 eth1 8.8.4.4 192.168.22.1 255.255.255.255 UGH 0 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 192.168.22.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.22.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 192.168.23.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 ``` After this PR: ``` root@s-1-VM:~# ifconfig eth0 Link encap:Ethernet HWaddr 0e:00:a9:fe:03:44 inet addr:169.254.3.68 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1748 (1.7 KiB) TX bytes:687 (687.0 B) eth1 Link encap:Ethernet HWaddr 06:00:c6:00:00:01 inet addr:192.168.22.130 Bcast:192.168.22.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:39717 errors:0 dropped:0 overruns:0 frame:0 TX packets:17889 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:43372312 (41.3 MiB) TX bytes:63330617 (60.3 MiB) eth2 Link encap:Ethernet HWaddr 06:82:d6:00:00:16 inet addr:192.168.23.2 Bcast:192.168.23.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:32 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3128 (3.0 KiB) TX bytes:2844 (2.7 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ``` ``` root@s-1-VM:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.22.1 0.0.0.0 UG 0 0 0 eth1 8.8.4.4 192.168.22.1 255.255.255.255 UGH 0 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 192.168.22.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.23.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 ``` I'm running some tests to test the other functions for possible regression. Once it's done I'll update my review. So far looking good @bhaisaab ! > Storage VM gets two mgmt nics when no storage net defined > --------------------------------------------------------- > > Key: CLOUDSTACK-9019 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9019 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Reporter: Rohit Yadav > Assignee: Rohit Yadav > Fix For: 4.5.3, 4.6.0 > > > If a dedicated storage network is not provided in a zone, secondary storage VMs get two management nics. This eats up an additional IP, the fix would be to allocate a storage nic only when storage network is defined. -- This message was sent by Atlassian JIRA (v6.3.4#6332)