commit 7f28773350f78ab1cd6c402164ed1f00ab4b80fb Author: Róman Joost Date: Thu Apr 19 10:21:57 2018 +1000 Automatic commit of release 25.2 Change-Id: Iae236bc2730931bd7da797dd572331550ab0ddf6 commit e7cc0d28e6fbbb0b32b48da1aed7db84a4165445 Author: Róman Joost Date: Thu Apr 19 09:53:35 2018 +1000 Beaker 25.2 release notes Change-Id: I32aae6247d7038e6758162a5cb87a8a1d2813468 commit 1cd6d8ad9db219e1871cb9f6b630dc483e6d5a33 Author: Róman Joost Date: Tue Apr 17 17:03:42 2018 +1000 Adds installation migration for scheduled jobs This adds a migration for scheduled jobs which have been affected by the Beaker 24 -> 25.1 upgrade, but have been missed by the migration which should have taken care of them. Bug: 1568224 Change-Id: I44ce7fa7ac57c4b43da63779b80e3bdcd60b7f67 commit dc844d467b09c78c4cda836886771b2d472071a4 Author: Róman Joost Date: Tue Apr 17 17:03:04 2018 +1000 Database dump for test cases against the Beaker 25 schema Change-Id: Iee532c950a1bf925838ed36fa571fd817bb987f3 commit ea10db2b0b32ea6e3d0695ef3805d5983dafeddf Author: Róman Joost Date: Tue Apr 17 16:16:27 2018 +1000 Fix migration for queued recipes which have no installation row Scheduled recipes which have no installation row were not migrated during the Beaker 25 migration and hence resulted in an error. This fixes the migration which migrates recipes which were started before the upgrade to 25 takes place. Bug: 1568224 Change-Id: I1b97d8b3c458d01466031dfa3ea9a3cb2b15f017 commit 0446009d313848b5ba86b911862b7b9a92a93ece Author: Dan Callaghan Date: Wed Apr 18 11:14:29 2018 +1000 fix get_queued_command_details() to handle commands from Beaker < 25 Bug: 1568217 Change-Id: I0239d36fe9d0fda16d2146173a6bb341e5c4b75c commit d18cfc5ce6b9b688406c135b92eaa9e5e8abd4fd Author: Dan Callaghan Date: Tue Apr 17 17:12:29 2018 +1000 avoid calling reduced_install_options() in GuestRecipe.to_xml() This call was introduced in Beaker 24.0, commit cee5f081, for bug 1410089, in order to correctly populate the location="" attribute for guest recipes. For new recipes (Beaker >= 25) we should just be using recipe.installation.tree_url instead. That's what it's for, and it's cheaper as well. Plus it will work correctly with custom guest recipes. For old recipes (Beaker < 25) the reduced_install_options() method no longer works, so we can't keep calling that. It's not really important that location="" is still correct or consistent on a recipe that is already completed (for example, the URLs could change in the distro library which would also change the location="" attribute on old recipes). But as a best-effort hack, we can look at just the recipe ksmeta (instead of the full chain of install options) and pick a distro tree URL from that. This should give the same answer in most cases. The proper solution is to store the actual URL we used, which we do now in recipe.installation.tree_url anyway. Bug: 1568238 Change-Id: Idfbbd4f685ceb3b1ddd480af1e5092551314a794 commit 57e532d346a192db739d1375cc85806bf819aa44 Author: Dan Callaghan Date: Tue Apr 17 16:09:14 2018 +1000 avoid logging reporting database password to beakerd.log Currently, if Graphite integration is configured, beakerd will load the reports_engine.dburi setting if one is configured, and then print the value of that setting in a debug message to /var/log/beaker/beakerd.log. It will contain the database password, which is not ideal. This changes the log message to use the sqlalchemy Engine object *after* it's created. This correctly censors the password from the repr(). 2018-04-17 16:08:17,440 bkr.server.util DEBUG Created reports_engine Engine(mysql://dcallagh:***@solid.dcallagh.beakerdevs.lab.eng.bne.redhat.com/beaker_dcallagh?charset=utf8) Change-Id: I901d2831d341a7cf1ffc04f556ed95c5a5e08d22 commit a37112a68b3e969426b0102d7b0d7f4d4f3ba95f Author: Róman Joost Date: Wed Mar 28 16:29:11 2018 +1000 Revert "server update-inventory: always force correct hostname" This reverts commit 66a63d25412b4e49ec62fd655eba0d2191909e4a. It turns out that this actually never had the intended affect of propagating the HOSTNAME to the task. See Bug 1559667. In order to avoid future confusion and possible maintenance the patch is reverted. Change-Id: I52b1a6e7b1cbe70fa33d5da50fa2a08a474cd33c