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 8026F177F5 for ; Thu, 12 Mar 2015 17:15:38 +0000 (UTC) Received: (qmail 52359 invoked by uid 500); 12 Mar 2015 17:15:38 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 52325 invoked by uid 500); 12 Mar 2015 17:15:38 -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 52316 invoked by uid 500); 12 Mar 2015 17:15:38 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 52313 invoked by uid 99); 12 Mar 2015 17:15:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2015 17:15:38 +0000 Date: Thu, 12 Mar 2015 17:15:38 +0000 (UTC) From: "Ivan A Kudryavtsev (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-8326) Bug in cloudstack virtual router (KVM) in Simple zone with public ips / DHCP Debian Wheezy specific 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-8326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan A Kudryavtsev updated CLOUDSTACK-8326: ------------------------------------------- Description: I've found bug in DHCP component of VR 4.3.2. The bug is completely described at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717217 DHCP responses with bad checksum. As a result, dhcp client unable to get lease: "dhcpd: 5 bad udp checksums in 5 packets" Hotfix is: iptables -A POSTROUTING -t mangle -p udp --dport bootpc -j CHECKSUM --checksum-fill on VR. was: I've found several bugs in DHCP script /root/edithosts.sh here: \# don't want to do this in the future, we can have same VM with multiple nics/entries \# sed \-i /,$host,/d $DHCP_HOSTS <- commented and the same clear for $HOSTS file Actually, this causes that if someone creates VM with some name, removes it and creates again, then dnsmasq fails to lease DHCP offer because of such message in /var/log/messages-* Feb 18 13:41:44 r-1184-VM dnsmasq[2640]: not giving name bill.domain to the DHCP lease of 176.XX.25.76 because the name exists in /etc/hosts with address 176.XX.25.130 Feb 18 13:41:44 r-1184-VM dnsmasq[2640]: not giving name bill to the DHCP lease of 176.XX.25.76 because the name exists in /etc/hosts with address 176.XX.25.130 The second bug is that /etc/sysctl.conf is not invoked during startup (it's known Squeeze issue), that could be fixed in the /etc/rc.local like /etc/init.d/procps restart otherwise there are conntrack errors in dmesg. > Bug in cloudstack virtual router (KVM) in Simple zone with public ips / DHCP Debian Wheezy specific > --------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8326 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8326 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: KVM, Virtual Router > Affects Versions: 4.3.2 > Environment: Ubuntu 12.04.5 for Host > Debian Squeeze for VR > Reporter: Ivan A Kudryavtsev > > I've found bug in DHCP component of VR 4.3.2. The bug is completely described at: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717217 > DHCP responses with bad checksum. As a result, dhcp client unable to get lease: "dhcpd: 5 bad udp checksums in 5 packets" > Hotfix is: > iptables -A POSTROUTING -t mangle -p udp --dport bootpc -j CHECKSUM --checksum-fill > on VR. -- This message was sent by Atlassian JIRA (v6.3.4#6332)