From owner-freebsd-testing@FreeBSD.ORG Mon Dec 1 21:13:56 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 217BD226; Mon, 1 Dec 2014 21:13:56 +0000 (UTC) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8063A9C2; Mon, 1 Dec 2014 21:13:55 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id hs14so4748083lab.25 for ; Mon, 01 Dec 2014 13:13:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=LAmk8t62WJH92Vg6GwlkiyuzpLyl23zKCAm6xi0IVGE=; b=Z8QeIwR7PaUHnnwQbnPyLCFeDgCe3UrXexfhxMrtQg3epUDMFuqi8zqbsA59hZHSxc ulr9jmZhPSJjdfELGrT/31m9IR7cyLOiXrtMFtr8TORTuIpGDcd2Xow2MqATgDboErZM SgOn9RMrKvayIvTTdc8+9ZuOB1aYTdy++iAS1fOALClPavDWoo0eLzX6F3tfOOwSWwBw VOJBoqZSsYFHqjSnul3z+conCSy70tnzD3jyzDjXTEtgXVJrj14/0WGbMyUyiBjKqOl9 25cRcQRUPbP2VCMTm16FlpmBqUZ3McSWXfBrSy6nNiaspbl+dQel2LuSDveqtL10IiQN 9fnw== MIME-Version: 1.0 X-Received: by 10.152.43.12 with SMTP id s12mr5963301lal.67.1417468433634; Mon, 01 Dec 2014 13:13:53 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.130.168 with HTTP; Mon, 1 Dec 2014 13:13:53 -0800 (PST) In-Reply-To: <547BFF2C.2000900@llnw.com> References: <547BFF2C.2000900@llnw.com> Date: Mon, 1 Dec 2014 13:13:53 -0800 X-Google-Sender-Auth: jj8h64QGtJRzxvBamzfD8aXuoLw Message-ID: Subject: Re: Call for Help: Setting up Saltstack for devops of jenkins.freebsd.org cluster From: Craig Rodrigues To: "freebsd-testing@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Kevin Bowling , Christer Edwards , Sean Bruno , Jeremy Singletary , Jason Wolfe , Chris Christensen X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2014 21:13:56 -0000 On Sun, Nov 30, 2014 at 9:39 PM, Jason Wolfe wrote: > Craig, > > Did we have one of havoc/wreck/chaos earmarked to function as the master, > or did we want an isolated instance running the orchestrating? The load for > a handful of machines should be next to nothing, so dedicated hardware is > not required, but an isolated environment would likely be best for various > reasons including security. > > Getting the framework set up should be a day or so of work, but dialing in > all of the logic to replicate the current state of things and the requests > in the gist will be a bit longer. With Salt Helium having just gone gold, > I think we have a solid release to get things moving. > > Jason > > Jason, We don't have a host earmarked as the master. For now can we pick "havoc"? Is it relatively easy to change later on? -- Craig On Mon, Dec 1, 2014 at 10:52 AM, Johannes Meixner wrote: > > Do we have a description on which host functions how? I.e. which of those > mentioned is salt-master, which are buildslaves? > > Are there already any salt files? Do we want to use the Jenkins formula > https://github.com/saltstack-formulas/jenkins-formula, how much do we > need to > extend it, or sould we start writing our own NIH solution ? ;-) > Johannes, We have a list of machines in the Jenkins cluster here: https://wiki.freebsd.org/Jenkins/MachineList We don't have a designated saltstack master, but for now I would say we can use "havoc". In terms of the saltstack Jenkins formula, I don't know if it makes since to use it or not. Right now, the main Jenkins host ( jenkins.freebsd.org ) has Jenkins via: -> pkg install jenkins -> some entries in rc.conf like jenkins_enable="YES" jenkins.freebsd.org is also running an nginx server configured with a reverse proxy: https://wiki.freebsd.org/Jenkins#References Take a look at https://gist.github.com/rodrigc/b5d70a26f748a2a5d33b carefully and look at those requirements. -- Craig