From patchwork Tue May 14 19:31:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Terceiro X-Patchwork-Id: 16908 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1FEB925D00 for ; Tue, 14 May 2013 19:31:54 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id r10sf904241lbi.1 for ; Tue, 14 May 2013 12:31:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf:x-received :x-forwarded-to:x-forwarded-for:delivered-to:x-received:received-spf :mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state:x-original-sender :x-original-authentication-results:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=v1WSiWKGTnGiW7j89xVHbmnmpIYMObm1U1CLkqVpIUQ=; b=Qwd9afco50eM8YRECzEBedhQAd54akwOD6NiNrNTP2ZbbrqMPDE4mdHqC0rofWFHRh 6wLI2zm2EfNhIFKQK2r0D/aJ/+VATUqRMXXXFOAGb/sguXmtLmgtAB7or6hAB2jJzqqI d6Ph6OmiWun5VhegT3X/8ZJEYsh2x5ThfPLTWo74h++3nKMNZRwIaykNCty739ydMzjZ 8dhORaWnL8bwaJt+FNh0XW9OCCGh3PWeSQCz240fG6eY4pWg0I4gbNQ2wOPw91+VjbLz N1JTV/l86DLQXssVbXjrxVUfGrGI9IDQMnBgCxyRuXFfHNkqgwj5XBRWDh8IiDJa93mq tBsw== X-Received: by 10.180.10.196 with SMTP id k4mr1368615wib.6.1368559877647; Tue, 14 May 2013 12:31:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.83.104 with SMTP id p8ls336133wiy.46.gmail; Tue, 14 May 2013 12:31:17 -0700 (PDT) X-Received: by 10.181.13.169 with SMTP id ez9mr9539829wid.8.1368559877519; Tue, 14 May 2013 12:31:17 -0700 (PDT) Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [2607:f8b0:400c:c01::234]) by mx.google.com with ESMTPS id p13si6082756wiv.9.2013.05.14.12.31.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 May 2013 12:31:17 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::234 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::234; Received: by mail-ve0-f180.google.com with SMTP id pa12so1134181veb.11 for ; Tue, 14 May 2013 12:31:16 -0700 (PDT) X-Received: by 10.52.17.76 with SMTP id m12mr3681115vdd.57.1368559876282; Tue, 14 May 2013 12:31:16 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.217.15 with SMTP id hk15csp76412vcb; Tue, 14 May 2013 12:31:13 -0700 (PDT) X-Received: by 10.180.88.162 with SMTP id bh2mr9757657wib.3.1368559873326; Tue, 14 May 2013 12:31:13 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id j7si6082686wiw.0.2013.05.14.12.31.12 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 14 May 2013 12:31:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1UcKwK-0007EX-OQ for ; Tue, 14 May 2013 19:31:12 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id AA533E07F3 for ; Tue, 14 May 2013 19:31:12 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 600 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 600: document the need for a dhclient call Message-Id: <20130514193112.30495.71815.launchpad@ackee.canonical.com> Date: Tue, 14 May 2013 19:31:12 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16617"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 486cc745d8c99808f556ea3240b7bd1590e45344 X-Gm-Message-State: ALoCoQl1ibQxzEc3uCeb9pGCugSY2nQa2cMxYV2hGbJU7L66cuwX9HOcCX3VQYVGfkhAuGkabEiA X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::234 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ------------------------------------------------------------ revno: 600 committer: Antonio Terceiro branch nick: trunk timestamp: Tue 2013-05-14 16:30:02 -0300 message: document the need for a dhclient call modified: lava_dispatcher/device/highbank.py --- lp:lava-dispatcher https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk You are subscribed to branch lp:lava-dispatcher. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription === modified file 'lava_dispatcher/device/highbank.py' --- lava_dispatcher/device/highbank.py 2013-05-14 18:09:20 +0000 +++ lava_dispatcher/device/highbank.py 2013-05-14 19:30:02 +0000 @@ -248,6 +248,13 @@ device = "eth0" runner.run("DEVICE=%s configure_networking" % device) + # we call dhclient even though configure_networking above already + # picked up a IP address. configure_networking brings the interface up, + # but does not configure DNS properly. dhclient needs the interface to + # be up, and will set DNS correctly. In the end we are querying DHCP + # twice, but with a properly configured DHCP server (i.e. one that will + # give the same address for a given MAC address), this should not be a + # problem. runner.run("mkdir -p /var/run") runner.run("mkdir -p /var/lib/dhcp") runner.run("dhclient -v -1")