From owner-freebsd-virtualization@FreeBSD.ORG Wed Jun 25 00:31:35 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99ADB59E; Wed, 25 Jun 2014 00:31:35 +0000 (UTC) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) (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 483942122; Wed, 25 Jun 2014 00:31:35 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id m20so1063375qcx.27 for ; Tue, 24 Jun 2014 17:31:34 -0700 (PDT) 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=Ot1A/1X0omLFIj1ZP4GS/JKPWK+DA+ZzlZE0WN1nE00=; b=d54dkFx2sjy0j07Tz4+g+7iyf2VshhN92tnP4Grb7amdbr881YFDzDZAmo+M3mYAz0 ab566AZKJZMWjWsKcnK6mIkOsyE6u376ksl4HckF85TIuvyBP8Ga3rgvKxgxzzmhSDmN QdbzgXyUkHxap4StjXpdWmWYZ/4d+F4ZyRmkTgIjhr2iMtqVT/V2CYTXPsz9/CyQyrf2 WYXgxTWn5y8tMp0HgSo5fPuxZ5y9Mjo5HlM1NIQH4vNmpDc9cjOjmfD5wn2iKU8cT/kx eEmg28nP+YXziizf8HZR/5ZD0HcpJsLzr5wxIlnV3LAQ6OOnz9UkQQE10v0/zYl/cyYm c6zw== MIME-Version: 1.0 X-Received: by 10.224.47.148 with SMTP id n20mr7136736qaf.90.1403656294472; Tue, 24 Jun 2014 17:31:34 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.140.30.165 with HTTP; Tue, 24 Jun 2014 17:31:34 -0700 (PDT) In-Reply-To: <20140621135159.GA47374@kloomba> References: <20140621135159.GA47374@kloomba> Date: Tue, 24 Jun 2014 17:31:34 -0700 X-Google-Sender-Auth: DyvbOY2SlyXjHMWtmZIwAuAFyA4 Message-ID: Subject: Re: libvirt, bhyve, and Jenkins configuration problems From: Craig Rodrigues To: Roman Bogorodskiy Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2014 00:31:35 -0000 On Sat, Jun 21, 2014 at 6:52 AM, Roman Bogorodskiy wrote: > > > When you configure the connection in the 'Add a new Cloud' dialog, does > 'test connection' work for you? I don't see a host and credentials > specified, I'm not sure if jenkins libvirt plugin works with the local > connection. > OK, following your example, I have gotten further along. I have updated my setup instructions here: http://people.freebsd.org/~rodrigc/libvirt/libvirt-bhyve-jenkins.html In "Step 3", when I click on "Test Connection", I see OK: bhyve+ssh://root@localhost:22/system?no_tty=1 version=11000000 so that seems to work. For Step 5, when I enter the Host and Credentials information, does this information need to be the IP address and login information for the VM that has been spawned, and not the info for libvirt, as specified in Step 3? Does that mean that I need to configure my VM, so that it comes up with a known IP, so that it can be entered on this configuration page? Also, the VM, that is spawned, it must have openjdk installed? Does that mean that after libvirt starts the VM, Jenkins will try to SSH into the VM and start a Jenkins job by invoking java? Thanks. -- Craig