Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E00D7200BB9 for ; Mon, 7 Nov 2016 14:36:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DEB98160AEC; Mon, 7 Nov 2016 13:36:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3144E160AEB for ; Mon, 7 Nov 2016 14:36:54 +0100 (CET) Received: (qmail 71001 invoked by uid 500); 7 Nov 2016 13:36:53 -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 70980 invoked by uid 99); 7 Nov 2016 13:36:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2016 13:36:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 38997C1BCA for ; Mon, 7 Nov 2016 13:36:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=sg-or-id.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id o2BO8a4hIqQe for ; Mon, 7 Nov 2016 13:36:50 +0000 (UTC) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.161.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id CA9355F19D for ; Mon, 7 Nov 2016 13:36:49 +0000 (UTC) Received: by mail-yw0-f176.google.com with SMTP id l124so135708768ywb.3 for ; Mon, 07 Nov 2016 05:36:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sg-or-id.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jNlsRXtT+ByZdsm2iIzNX1OOe5qH0i5g8TxENIeAh4o=; b=G2tzjili106PYsgtB1H2Jtuz05hA3nNcRyIFQEXIKOmyO1zCzzq+V/cKnJqN35+NBk 4CAmQ4MI2XEe42UQr5ELZ1AG5bM+27FDCeJUvcBJKLEQoXXv5QT27uz6YUBLmm6B3d2k WxzJ4fvT1xTgQJA+NiNSGzQcemXq9lP0j2yCInBP9JaC12tg2k350UoGhtNti4LUaOWa KRw+IPn0OPnm9bverDjw0shNiWM5x9IHXs6BBdCBBDwFa3r3xvPI/DzDtwZhP6wr6lW2 PgR59s6lxOfusK6WspuJIRbu98snRMHcyUhRqwDr7oX/VvE9hg3rbkk9b2XZ+6E4CuEH 06zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=jNlsRXtT+ByZdsm2iIzNX1OOe5qH0i5g8TxENIeAh4o=; b=lwIDc6G/k3dQanMM1o5f19sMFAwjkrfHGj+qaQeb7MrrwTEBM3PYDgu3R5/1hbtX1c erDRV/2hkwi+U3W2NhNqwx4cydm9qZkznLLgJom4eaxj+qpc2QKOK/BOFwhOIJFSCzhH AxwDEJhgvG9G6srx/9KqR7p1CY/v8kDXot8/zX1rzoZbvsntvIT8tQNSU/dvD6mmxuD1 GHVqapr5oofcXXmyG08vaJzmE6e67ucMkD3UHNungKdNiwlhMQ4espkqtpfYLR+zMfLy 7L0qYGKnQqp5PvTFVWZjJN2JCWxffxrGCOhT98kEJN/TuOzyQ6E2FF5dUll4IlhH6Jl3 hfkA== X-Gm-Message-State: ABUngvf/xuh7sdP0mjXr5sv3btNUDTdiQYJo+No+KPJ2zzfBwKGsnCGkchC/FtwQ0ClMV3UhfTZAqnOiunTcNQ== X-Received: by 10.157.9.100 with SMTP id 91mr2898690otp.109.1478525807495; Mon, 07 Nov 2016 05:36:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.56.196 with HTTP; Mon, 7 Nov 2016 05:36:47 -0800 (PST) In-Reply-To: References: From: Cloud List Date: Mon, 7 Nov 2016 21:36:47 +0800 Message-ID: Subject: Re: ACS - Some VMs unable to get DHCP IP from VR To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=94eb2c04f3fc8c205a0540b61d1c archived-at: Mon, 07 Nov 2016 13:36:55 -0000 --94eb2c04f3fc8c205a0540b61d1c Content-Type: text/plain; charset=UTF-8 Hi Wei, Thanks for your reply. I checked and I can confirm that the mac address is listed on /etc/dhcphosts.txt in VR. For example: Nov 7 13:30:19 dnsmasq-dhcp[18986]: DHCPDISCOVER(eth0) 06:31:ac:01:13:YY ignored Nov 7 13:30:24 dnsmasq-dhcp[18986]: DHCPDISCOVER(eth0) 06:31:ac:01:13:YY ignored Nov 7 13:30:33 dnsmasq-dhcp[18986]: DHCPDISCOVER(eth0) 06:31:ac:01:13:YY ignored root@r-4155-VM:/var/log# grep 06:31:ac:01:13:f0 /etc/dhcphosts.txt 06:31:ac:01:13:YY,X.X.X.X,vm-name,infinite YY - last two digits of the mac address X.X.X.X - ip address which is supposed to be allocated to the VM Any advice how can I troubleshoot this further? Looking forward to your reply, thank you. Cheers. On Mon, Nov 7, 2016 at 9:22 PM, Wei ZHOU wrote: > If the mac address is not listed in /etc/dhcphosts.txt in VR, the request > will be ignored. > > Can you give more details so we can reproduce it and fix it ? > > -Wei > > 2016-11-07 13:44 GMT+01:00 Cloud List : > > > Hi, > > > > After our upgrade from CloudStack 4.2 to 4.8.1.1, we noted that some (but > > not all) of our VMs are not able to get DHCP from the VR. This gives > > problem when the VM is restarted and cannot get up and running because > > unable to get IP. > > > > I logged in to the VR and found below messages showing that the DHCP > server > > is ignoring the request from the VM. > > > > Nov 7 12:19:43 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:44:da:01:13:98 > > ignored > > Nov 7 12:19:52 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:05:64:01:13:d3 > > ignored > > Nov 7 12:19:53 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:44:da:01:13:98 > > ignored > > Nov 7 12:20:04 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:44:da:01:13:98 > > ignored > > Nov 7 12:20:11 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:05:64:01:13:d3 > > ignored > > Nov 7 12:20:22 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:44:da:01:13:98 > > ignored > > Nov 7 12:20:30 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:44:da:01:13:98 > > ignored > > Nov 7 12:20:42 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:44:da:01:13:98 > > ignored > > Nov 7 12:21:02 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:44:da:01:13:98 > > ignored > > Nov 7 12:21:19 dnsmasq-dhcp[29938]: DHCPDISCOVER(eth0) 06:44:da:01:13:98 > > ignored > > > > Any reason why the dnsmasq service ignored the request from the VM and > how > > can we fix that? > > > > At the moment, the only workaround we can do is to configure the IP > address > > statically to the servelet, which is not practical. > > > > Any advice is greatly appreciated. > > > > Thank you. > > > --94eb2c04f3fc8c205a0540b61d1c--