Date: Wed, 25 Jun 2014 22:08:12 +0400 From: Roman Bogorodskiy <novel@FreeBSD.org> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: libvirt, bhyve, and Jenkins configuration problems Message-ID: <20140625180810.GB1304@kloomba> In-Reply-To: <CAG=rPVcP8A_Wi6XjgrL9eKmPtKCAh1Qfyfz=iyTt2kd-7TB5=g@mail.gmail.com> References: <CAG=rPVd1xawM8iqJfqqUcaOM_5sfT4ouTBLDpTrSpJZUsQFQRw@mail.gmail.com> <20140621135159.GA47374@kloomba> <CAG=rPVcP8A_Wi6XjgrL9eKmPtKCAh1Qfyfz=iyTt2kd-7TB5=g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Craig Rodrigues wrote: > On Sat, Jun 21, 2014 at 6:52 AM, Roman Bogorodskiy <novel@freebsd.org> > wrote: >=20 > > > > > > 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. > > >=20 > OK, following your example, I have gotten further along. > I have updated my setup instructions here: >=20 > http://people.freebsd.org/~rodrigc/libvirt/libvirt-bhyve-jenkins.html >=20 > In "Step 3", when I click on "Test Connection", I see >=20 > OK: bhyve+ssh://root@localhost:22/system?no_tty=3D1 version=3D11000000 >=20 > so that seems to work. >=20 > 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? Correct. > 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? Correct. Though, normally you don't need to perform any special configuration for the IP address as long as the networking configuration is correct. The VM just needs to be configured to obtain an IP address via DHCP. Later on it should be persistent in dnsmasq. An IP address could be obtained either from the dnsmasq leases file or =66rom arp cache for example. > 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? Yes, it's true, it starts its agent which does the job. PS Maybe there are other ways to push Jobs to Jenkins nodes, but I didn't look close into that. Roman Bogorodskiy --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAEBAgAGBQJTqxAKAAoJEMltX/4IwiJqRaoH/3Obhk23RlYWUbgPIxHXZZU+ n/U8bq1q29tdN8sK5tVWA74fqscPszgYSeZnSA76tVVRG5H1R7k3cZdT16uqN6Mt GPlKMttTKdO8n8aJZZbwm3/Xvu5MJTYgDC6ybIpU8T5dsbMFHzAK31DlVXZXUivi 4h+bVPhPDrnjAiHVzcerW2GxWJosp57MHu6N/DBxg+W+JZ5g4s261mgk2ABdpMjf o+pJ49bN0/LuHsKndro0VdR4Cgjfi1ZaXJ0sHrgWP7tY8V39g9a8rrLWVLfBy97j xdnQ2CxvPea+zI3Oo7s5X4ANJOqGfPZqdxYJN8qUrQuwdwh7TfeNc7HdFepqHhg= =6r/K -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140625180810.GB1304>