A few weeks back, Amit put together a proof of concept for running the
test harness in a container, rather than directly on the host
(http://gerrit.beaker-project.org/#/c/3199)
That proof of concept relies on restraint, the new reference harness,
that is intended to eventually replace beah
(https://beaker-project.org/dev/proposals/reference-harness.html)
At the same time, I don't think restraint is currently getting the level
of review and testing that it needs to mature into a plausible
replacement for beah as the default harness.
I think Amit's proposed patch provides a possible way forward:
1. Accept the initial approach where restraint is the *only* supported
harness when running inside a container. Specifying both
"contained_harness" and "harness" as ks_meta variables should be an
error at this point (side note: 'harness' should also be documented
along with all the other ks_meta variables, with a link to
https://beaker-project.org/docs/alternative-harnesses/)
2. Recommend publishing both beah *and* restraint in the harness repos
for Beaker installations. This will not only make restraint available
for container based testing, but also make it readily available via
"harness=restraint" for normal testing, without needing to add a custom
repo definition.
3. Once we have container based testing working reliably with restraint,
drop the restriction against using alternative harnesses in containers.
The priority at the moment though is to get something working that can
run on an Atomic Host, and still provide a relatively normal execution
environment for the executed tasks. Supporting alternative harnesses
*inside* containers is a nice-to-have that can wait until later - by
flatly disallowing it, we ensure we don't have to spend any time working
on container related issues that don't impact restraint. For the initial
iteration, we can also ignore the question of choosing the base image
used to run the harness, as well as being able to start and stop other
containers on the host.
I've filed an RFE for 0.18 on that basis:
https://bugzilla.redhat.com/show_bug.cgi?id=1131388
As part of this, we may also want to move restraint from Bill's personal
account on GitHub to the main Beaker project account, but I don't think
that's particularly urgent at this point.
Regards,
Nick.
--
Nick Coghlan
Red Hat Hosted & Shared Services
Software Engineering & Development, Brisbane
HSS Provisioning Architect
Hello!
On behalf of the Beaker development team, I'm pleased to announce that
Beaker 23.0 is now available from the Beaker web site [1]. Thanks to
everyone who contributed patches and bug reports for this release.
Beaker 23 provides a new recipe state to reflect the provisioning of a
machine, generates GRUB2 menus for x86 EFI systems, an improved user
experience for job and recipe pages, as well as many other improvements.
Full details are available in our release notes [2].
The detailed list of all changes made since Beaker 22 is also
available [3].
[1] https://beaker-project.org/releases/
[2] https://beaker-project.org/docs/whats-new/#beaker-23
[3] https://git.beaker-project.org/cgit/beaker/log/?qt=range&q=beaker-22.0..bea…
Happy Testing,
--
Róman Joost
Software Engineer, PnT DevOps - Developer (Brisbane)
email: rjoost(a)redhat.com | tz: UTC+10 | GPG ID: 0xBE2B559D at pgp.mit.edu
irc: #beaker
Hello!
On behalf of the Beaker development team, I'm pleased to announce that
Beaker 23.0 is now available from the Beaker web site [1]. Thanks to
everyone who contributed patches and bug reports for this release.
Beaker 23 provides a new recipe state to reflect the provisioning of a
machine, generates GRUB2 menus for x86 EFI systems, an improved user
experience for job and recipe pages, as well as many other improvements.
Full details are available in our release notes [2].
The detailed list of all changes made since Beaker 22 is also
available [3].
[1] https://beaker-project.org/releases/
[2] https://beaker-project.org/docs/whats-new/#beaker-23
[3] https://git.beaker-project.org/cgit/beaker/log/?qt=range&q=beaker-22.0..bea…
Happy Testing,
--
Róman Joost
Software Engineer, PnT DevOps - Developer (Brisbane)
email: rjoost(a)redhat.com | tz: UTC+10 | GPG ID: 0xBE2B559D at pgp.mit.edu
irc: #beaker
Hi guys,
may I ask for a quick explanation how task logging works, where the logs are stored and
how this has changed since 0.11.3 till current branch?
While we were running on 0.11.3 all logs were conveniently stored on our main server
without any additional need to config anything. Now, with 22.3, the logs seem to be stored
locally on LCs.
Reading through the docs
(https://beaker-project.org/docs/architecture-guide/log-storage.html) it explains that I
can set up rsync and then webdav to be at the same "feature level" as with 0.11.3.
Is it possible to achieve the same behaviour as with 0.11.3 without any added complexity
(rsync+webdav)?
Thank you,
--
Jaroslav Kortus
Cluster QE