commit b9170dd05c5f5bdb8f0d3140f1e6148a29af357a Author: Matt Jia Date: Tue Jan 24 11:02:53 2017 +1000 Automatic commit of release 24.0 Change-Id: Iebd3705e7c6430110279fd3c0dc647d92b252baa commit 282c7e02f931b2ef8a95689460d61c9a7638fa13 Author: Dan Callaghan Date: Wed Jan 18 14:02:55 2017 +1000 require python-sqlalchemy 0.9 Since we have been testing with SQLAlchemy 0.9.7 from the OpenStack Juno repos, some code has snuck in depending on APIs from 0.9. So let's just require it now to be sure. Change-Id: I2bd4688e233d65b4c7cf644e236ce8c620c5bc52 commit 6f3b661062c8aa1e670b259b212d55e70534fb07 Author: Dan Callaghan Date: Wed Jan 18 13:19:30 2017 +1000 exclude RHEL4 recipes from OpenStack Defined a new distro feature variable, has_dhcp_mtu_support, which we can use when considering a recipe for virtualisability. Bug: 1413783 Change-Id: I293c04b73234d08c4af1b42cfb3e9f7788953f3c commit 2b2563b6920044dbd0f6d2e9535df5244dfb82b9 Author: Matt Jia Date: Wed Jan 18 10:08:08 2017 +1000 include bz1224848 in the release 24 notes Change-Id: I764f0e2182533a7875a664f496fea6f04b32fa83 commit 389e95339fae44d863ea15f0398b50e4038626c8 Author: Jon Orris Date: Tue Jan 10 14:35:59 2017 -0500 Fix large temptable for executed tasks page Due to @paginate forcing a count(*), /tasks/executed will create a large temptable in MySQL that can easily exceed temp space on the host machine. Rewrote base SQLAlchemy query such that the cost of count(*) is much lower, resulting in far less temptable usage. Bug: 1224848 Change-Id: I1c041d557f6e7a43359c310a2935ad16f093f49c commit 608161af6422e414197df89abe34864c1fe9ef43 Author: Matt Jia Date: Mon Dec 19 14:59:21 2016 +1000 release notes for beaker 24.0 Change-Id: If693cebf887c337e27a3911e113669fd083a52ec commit 4eb2414ba7b54e1db05ae1ebfcba97075d96d3b8 Author: Jon Orris Date: Wed Jan 4 12:41:48 2017 -0500 Add ability to report system problem to recipe page A 'Report problem' entry has been added to the system dropdown. Clicking it will bring up the Report Problem form. Bug: 1362595 Change-Id: I6402eafb7b939369da09ec0101a38c4182190579 commit a92025d71d8e133b7b8a87142d7a482007f64baa Author: Dong Wang Date: Tue Jan 3 02:25:23 2017 -0500 Make job-cancel can prevent cancel with non-digit ID Previously the job-cancel accepted invalid ID's and passed them to the server. This patch prevents these ID from server side. Bug:1174615 Change-Id: I12fc3732b738757f88f12dbb8a3b37adf7bf4b47 commit 4c2aad6717731dce20e6cc0dd363305c794ee420 Author: Jon Orris Date: Wed Jan 4 12:29:51 2017 -0500 Additional fix for Bug 1362371 Original fix covers the removing of a lab controller as a whole, but not removing a lab controller from an individual system. Bug: 1362371 Change-Id: Ie5c412eb3a3467381e44603317434c477828d6ef commit cee5f0819952e1d36a2f582d830a696aff6edf1e Author: Dan Callaghan Date: Fri Jan 6 16:39:55 2017 +1000 obey 'method' when computing location XML attribute This way, the location attribute will match the URL which Beaker used in generating the kickstart. Bug: 1410089 Change-Id: Iddbf6714b6da4cc7c6e45d7b6d82e1390658ae24 commit ecf088949400ba271619863ca89c8e0fdbd1547c Author: Dan Callaghan Date: Fri Jan 6 16:23:18 2017 +1000 inject guest-related XML attributes onto the proper element The tests did not catch this regression because they were just looking for the attribute anywhere inside the serialized XML, which means they were also passing when the attribute was in the wrong place. Adjusted the tests to actually match on the expected structure of the XML. Bug: 1410692 Change-Id: I820e221ee10fcd2720a6970a20211a201a2a1b62 commit 5d2ce1c49489e79ede3949567ebb5f07e5870cbf Author: Matt Jia Date: Mon Jan 9 16:25:16 2017 +1000 Revert "delete log_recipe and log_recipe_task rows for deleted jobs" This reverts commit ab07bd4a1724ca6ba8801255659c6e133cf0aa19. Change-Id: I25a6ee73f236c75e65b8d37055a54ce9e73c91a2 commit 74b27c98cb44a06abc1a71d2809e51e0c5caa8bc Author: Matt Jia Date: Mon Dec 5 16:03:43 2016 +1000 associate a floating ip to each OpenStack instance Bug: 1396851 Change-Id: I8b637b0513373a5f3107ce8fe464df604c4f7316 commit 1e73b2417a58bb78b25b72ddae64faaacb7c4320 Author: Matt Jia Date: Tue Dec 20 11:30:12 2016 +1000 product-update: add documentation Change-Id: I70460f45271ebb97eebc05e25142cc1e37e6cf35 commit 62c749232eb1ec6890a3dff6aff586af63dd0241 Author: Matt Jia Date: Tue Dec 20 13:22:41 2016 +1000 update the user guide with conditional reservations Change-Id: I7076e8264bc22d1056b647e6d430f83eb03f25aa commit 4e43fcce3d74d7ab158ab7d14c874efc0ee87ef4 Author: Bill Peck Date: Wed Dec 21 12:06:54 2016 -0500 systemd will not work without ENV container docker. This is documented here: https://hub.docker.com/_/centos/ Change-Id: I9eba70dfa921583531d276f83a0536feb0b67ed9 commit b90ac70f7f1accf80bc1a0256c7959b89d1de95b Author: Dan Callaghan Date: Mon Nov 21 15:18:03 2016 +1000 recipe page: dropdown menu for system actions Bug: 1366191 Change-Id: Ib60424ede91ace3f42cffbe46efdfd8fc180e1bf commit 9c867346c584b49d907a68d45a41b08ba0cc4e90 Author: Dan Callaghan Date: Mon Nov 21 15:23:47 2016 +1000 upgrade to FontAwesome 4.7.0 Change-Id: I9ea5767e69168b9cf22b4d4e04c613babb7dd060 commit 68bc3dee3dbfd1e9217378d9e3a34529bdc8634d Author: Jon Orris Date: Tue Sep 27 17:35:21 2016 -0400 Abort queued power commands Ensure that queued commmands are marked as aborted under the following circumstances: * A system is disassociated from its lab controller. * A system is marked as Removed * The configure_netboot command fails Bug: 1362371 Bug: 1362369 Change-Id: Ide9dd9b879d3e1ff2f6408e9cdf3a6a2c5600fff commit 989babb507551a9ec5ee024e1d183d65fbc92605 Author: Dan Callaghan Date: Fri Dec 16 16:06:18 2016 +1000 tests: fix timing issue in test_quiescent_period_only_applies_between_power_commands Currently this test is only allowing exactly one polling loop interval for the commands to be completed, which is occasionally not enough time (because the command has to also be executed as well). This patch makes the timeouts less aggressive (we use 2 * the loop interval in the other, similar test cases) while still keeping the quiescent period longer than the timeout to ensure that the test is covering the desired behaviour. Change-Id: I1f0e5e49ef21d2cc28d0c1170a720f2ce5c116fb commit 6a7a61bfef7fa942d8d73245f9578c1b5504d3b2 Author: Dan Callaghan Date: Fri Dec 16 10:27:12 2016 +1000 product-update: support loading product data in JSON format Bug: 1403084 Change-Id: I87d1a79c688874abc416951b3e55ebed1714997e commit 901164675b7bd2f9659cefcd00bff37d2c09fb05 Author: Dan Callaghan Date: Fri Dec 16 09:54:07 2016 +1000 product-update: support loading product data from a URL Bug: 1403084 Change-Id: I9262dbc95508358d279849ff9c34f730792b2391 commit 18a014c90ed3e6ff32da5cfe16058e2459d8b1a9 Author: Dan Callaghan Date: Thu Dec 15 16:35:25 2016 +1000 tidy up and simplify product-update script Also added some test cases for its current functionality. Change-Id: Ifa7ed8d81783df2cc5f58628d5ce954d07226608 commit f21d53f77e636fe9728bec70385eb1af292ad3e6 Author: Hui Wang Date: Thu Dec 1 17:58:04 2016 +0800 Ensure the cheapest OpenStack flavor is always picked Bug: 1397649 Change-Id: Ia5d5b22096647f72368b6a249d8e14b597a6f86b commit 7b8f3ca21854d662f77242aa7a8fc7c9e2f81a69 Author: Dan Callaghan Date: Wed Dec 14 15:43:49 2016 +1000 packages should always own their pid file directories ... even on systemd distros where that directory has to be created by systemd-tmpfiles. This ensures the directory exists when the package is first installed before rebooting, and is apparently the proper way to handle this according to: https://fedoraproject.org/wiki/Packaging:Tmpfiles.d Bug: 1327051 Change-Id: I75e045230f7f98e1865f7a6f85942a1ebbaeb926 commit 84176aed2facd72e40bb158844a7d18854daeaf3 Author: Róman Joost Date: Thu Dec 15 09:47:27 2016 +1000 Show OpenStack link during installation This fixes a regression in which the rendering of the link evaluated always to false and therefore was not rendered at all. Bug: 1396874 Change-Id: I96e9a1968009b81f1974b959836ad4536b9bf497 commit 5bf00ced5173d852338f03dcb6e7d4c1a8952eef Author: Róman Joost Date: Mon Nov 28 15:51:05 2016 +1000 Shows user friendly error message This patch changes how users see an error message when creating a trust account. If the trust can not be created due to a mis-configured server configuration, the user will receive an error message with a 500 HTTP status code. If the server configuration is valid, but the user credentials are entered wrong, the user will be given a more user friendly message. Bug: 1395155 Change-Id: Iedd25c5cecc39213d76467a1f7078439c6d6acfe commit 7f147b0102f68a7ede3aa08aa956c3ee9098cbc8 Author: Róman Joost Date: Thu Nov 24 16:27:43 2016 +1000 CLI to update OS trusts Bug: 1396913 Change-Id: I6f920c94990737b6663762b301e9bb97bcaa390a commit 57a6d8bbc812795735efcde3917f9555a66dae6b Author: Róman Joost Date: Fri Dec 9 14:56:24 2016 +1000 Censor passwords when running client tests This patch adds the replacement of possible passwords in the debug output to avoid that these commands are shared publicly. Change-Id: I0077abdf11629e19885ced297307f036776d2b0a commit 7409ee8639b832b02fe6017f072d179a36e627b9 Author: Matt Jia Date: Fri Dec 9 14:41:05 2016 +1000 System activity HTTP API: support filtering system activities by id Also add this onto all the existing collection APIs. Bug: 1401964 Change-Id: I8d706ee2cab95783f9cb770619d696ef0acdf022 commit 3c9228776e33f8ea27b2b2211f2a4c19c005dec7 Author: Dan Callaghan Date: Tue Dec 13 17:49:38 2016 +1000 tests: fix failures when OpenStack integration is enabled Since commit dd9149db on develop, we are running tests with OpenStack integration turned on, which breaks a few existing tests' assumptions. Fix the tests on release-23 so that we can still have passing builds, even though this branch lacks all the OpenStack enhancements in 24.0. Change-Id: I6f9adf69c0ae6cb8e7d66872363cd0013008e2e5 commit 799cf3cb9e8c28ac1728e3800ae1915c9c2b8fc8 Author: Matt Jia Date: Wed Nov 16 09:28:42 2016 +1000 fix unknown option warnings when building the doc Since Sphinx is updated to 1.4.8, the beaker review checks doc jenkins job fails with unknown option warnings, like: WARNING: unknown option: --force since we are not using :option correctly in many places. (cherry picked from commit a62e686b1deaffc2cb07a860dbb44d8a5ef7d082) Change-Id: I9c7451f3a95df2e44d61c2f8a027b9b2fcc9b823 commit 01bf4bfd66814cf6b902ba14cd133b65168eae61 Author: Róman Joost Date: Thu Dec 1 09:12:39 2016 +1000 Improve rendering of recipe summary This reduces the amount of conditions in the template to render a resource, but instead uses a common interface. Change-Id: If52b43d32e0c02833552edc8b4e13827fbf601ee commit 88ba8a4be4a6e144d8dac1a7ed3596970e909ff1 Author: Róman Joost Date: Tue Dec 6 14:23:32 2016 +1000 Do not allow users taking broken systems This patch changes the condition for determining if a user can reserve a system. Instead of testing if the system status is *not* automated, the patch changes the condition to check if a system status *is* manual. Bug: 1401749 Change-Id: I6dfbcccf2e5d867f2ef91ea837dd007cf7aaab7a commit 9eedce52fc12c1233cad05997f8b565557a03a66 Author: Matt Jia Date: Tue Dec 6 15:15:01 2016 +1000 tests: fix timming issue same as 55f34363 Change-Id: I401e5ff6fbafaff66f088a24e7ed1f5d06c49563 commit ab07bd4a1724ca6ba8801255659c6e133cf0aa19 Author: Jon Orris Date: Thu Sep 15 17:38:25 2016 -0400 delete log_recipe and log_recipe_task rows for deleted jobs Bug: 1337789 Change-Id: Ie9bb3c40d4ea1b1cd6cfe9509a3a97c9f697fc16 commit c7bd75f2a8af550b8edd4c23353e7d0a45ec3133 Author: Róman Joost Date: Wed Nov 23 16:37:40 2016 +1000 Don't render a link to a non-existing OS instance This patch only renders a link to OS instance in the recipe summary if the resource is active. Bug: 1396874 Change-Id: Ide2663ba0daa421b31dad7a34fb8baaee1c9c50f commit a0174d21ca63e48549431b76253b969f697e1d16 Author: Dong Wang Date: Tue Nov 22 03:58:03 2016 -0500 Allow to filter running and finished jobs Customer have an RFE bug want list all finshed job via bkr. So I add 2 parameters for job-list: --finished contains status(Completed, Aborted, Cancelled) --unfinished contains status(new, processed, queued, scheduled, waiting , installing, running, reserved) Bug: 1175853 Change-Id: Ibbf2888d2d4a7377ce9a2dc99280c8b443477641 commit bf63e0d0a0d39e0221b28d37233c08550cbfaf0d Author: Matt Jia Date: Tue Nov 29 14:59:11 2016 +1000 beaker-create-ipxe-image: port to the OpenStack Images API v2 Bug: 1399445 Change-Id: I2fda944303a0438fd8b976d87dec96581eaf89b2 commit c02985e6151c0386ad51dab27d83380499b680f1 Author: Jon Orris Date: Fri Oct 21 16:28:49 2016 -0400 Cleanup leaked Running commands On every polling loop, check to see if there are Running commands that are not known by the poller. These commands are considered leaked, and are marked as failed. Bug: 1366098 Change-Id: I08fcafdaa2521fe6c856fe9079f4f9d106d3200c commit ccce4510a271ccc675ce656aa6404e123af3c576 Author: Róman Joost Date: Wed Nov 30 09:25:29 2016 +1000 Make indicator that OS is not enabled stand out This small change makes the "OpenStack integration not enabled" stand out. Change-Id: I7f3c296fbd8d1fd464ddd8c1fb41b6d3fbda7a62 commit edd84962c1753006d0253a6617255d32e1291cc6 Author: Róman Joost Date: Wed Nov 30 09:55:51 2016 +1000 Use a more user friendly widget for extending This patch adds a more user friendly reservation selection widget for extending the reservation time. This also makes it consistent with the rest of the UI which uses the same widget. Bug: 1399867 Change-Id: Ib2e6a35e9ee6cc75689476a40ea66216addf4ff4 commit 0d1e4996a09ebdc972b544a900793e7350b67aca Author: Matt Jia Date: Wed Nov 16 16:52:36 2016 +1000 fix a rebase error when merging 80a0452 Bug: 1361961 Change-Id: I4397c467b7bc74dd3eac12e7c9ae4f18ff6e1a25 commit ad45854a98d4e521f00b032029c0dcf89e6dd1ba Author: Dan Callaghan Date: Wed Nov 30 14:00:25 2016 +1000 remove last vestiges of qpid support For future message bus integration we will not be using qpid.messaging libraries (most likely Proton instead). And the existing code suffered a few problems which would need some TLC to make it usable: https://bugzilla.redhat.com/show_bug.cgi?id=1034043 https://bugzilla.redhat.com/show_bug.cgi?id=1034045 It will be easier to start afresh. Or this can be resurrected from git history if needed. Change-Id: Ifec7ff60028e4667101d21c5ebcfe05294933216 commit dd9149dbc88e8070c6a289348bc51ca6b158cb26 Author: Matt Jia Date: Wed Sep 28 14:48:18 2016 +1000 first test for OpenStack integration Change-Id: Ib9c4c4948daba5af9727ba4eac0b520446fafa15 commit a62e686b1deaffc2cb07a860dbb44d8a5ef7d082 Author: Matt Jia Date: Wed Nov 16 09:28:42 2016 +1000 fix unknown option warnings when building the doc Since Sphinx is updated to 1.4.8, the beaker review checks doc jenkins job fails with unknown option warnings, like: WARNING: unknown option: --force since we are not using :option correctly in many places. Change-Id: I9c7451f3a95df2e44d61c2f8a027b9b2fcc9b823 commit af9d1454ec00ec57e04e0b3a99fb64017e5e6873 Author: Dan Callaghan Date: Thu Nov 10 15:38:49 2016 +1000 include taskactions.files in XMLRPC docs Bug: 1252373 Change-Id: I057f88f2cc7516097f2bfbab66e1e350c7b26400 commit 66f1df5503045febd8d6194f13464255102df607 Author: Dan Callaghan Date: Wed Nov 16 11:15:35 2016 +1000 tests: add missing cleanup in test_provision.py This test case was introduced by commit e236aa5c on release-23, where it passes, but it is failing now that it has been merged to develop because the tests in bkr.inttest.labcontroller have stricter cleanup requirements on develop. Change-Id: I198b4cce17b2c2c71bf6c2d5f73155d9e4c5c273 commit bdfbb872c380e155f728bcde3b7e641131fd8016 Author: Matt Jia Date: Fri Nov 4 11:07:13 2016 +1000 use "bouncer" log urls in the JUnit XML output Bug: 1391321 Change-Id: I24b95fab9f023568102c1c695af3fc748c60783b commit 77ff907983a9d35405e02a893b0a761e0d4d3eb8 Author: Matt Jia Date: Fri Nov 4 14:21:45 2016 +1000 bkr job-logs: use "bouncer" log urls in the output Bug: 1391282 Change-Id: I18b4fae0987ab4a4be49e0f412e88935f70de894 commit 3263ec1bb6cb80d317e24ddfd7cb3e17192c7416 Author: Tyrone Abdy Date: Tue Oct 25 09:26:20 2016 +1000 refactor task excludes relationships and join tables cleanup the relationships and incorrect data that could have existed due to that. Change-Id: I58cc123feb2abdf54ca3e2e1b4295bd89a6ecf0b commit 3ebb8bc5e7f567e2be5237e314c8cca515e879cb Author: Dan Callaghan Date: Mon Oct 31 10:56:58 2016 +1000 remove External Reports feature Bug: 1389627 Change-Id: Ifc6fc2fb7f89893c503805f8d4a06c84ff224a98 commit d57e67dd05f13d21c9bcec806039a1c9a74b7b94 Author: Tyrone Abdy Date: Thu Nov 3 16:02:21 2016 +1000 add in missing columns to task query builder Bug: 1346620 Change-Id: I059d2a918a90243209861b65b74c60e6e37990da commit 80a0452988a015ceb8fd77c44cebbe72728815c8 Author: Matt Jia Date: Mon Oct 10 15:18:01 2016 +1000 dispatch multiple requests to OpenStack in parallel Bug: 1127574 Change-Id: If9388db925c26d63edb4018e6d6f4addbd6069fc commit 586b106200f460af1571812af7fcaeb909b8e724 Author: Matt Jia Date: Wed Nov 2 15:34:09 2016 +1000 wait until the OpenStack instance is deleted before deleting its network Bug: 1389185 Change-Id: I5fc0da44a4eaa7b265992bd12f5e598fe0131277 commit dea668a5b269896902d7048481a06d722a710611 Author: Matt Jia Date: Tue Nov 1 12:02:46 2016 +1000 fix recipe quick info for OpenStack instances where FQDN is not known yet Bug: 1390409 Change-Id: I6b0f102575c741a7682c97b423bf43135eca2e32 commit 0beae1857ba8e5550135fc2d53addef6a3fd7720 Author: Jeffrey Bastian Date: Thu Oct 20 08:53:38 2016 -0500 add pkgoptions variable to kickstart metadata The pkgoptions variable allows you to add options to the %packages directive, for example, "--instLangs=en_US". The default value remains "--ignoremissing". Bug: 1387256 Change-Id: I0e865e51209ebc566cc228cc3450ab1077ca0d14 commit 89dcfc561d698ef193dfb70c338d237438602866 Author: Dan Callaghan Date: Wed Nov 2 11:56:15 2016 +1000 tidy up setup.py files to make them suitable for uploading to PyPI Changed the Python package names to match the RPM package names (people will expect to run `pip install beaker-client`, not `pip install bkr.client`). Updated other metadata to be consistent across all packages, and re-use descriptions from the RPM Summary tags. Free-form license field is removed in favour of a specific Trove classifier, as per https://docs.python.org/2/distutils/setupscript.html#additional-meta-data note 6. For now we will only be uploading beaker-common and beaker-client to PyPI as the other packages are still not likely to work properly when installed through pip. Bug: 1278605 Change-Id: Ib3883510e99081ec6b008ecce72c7753e95df244 commit 3d234aa261a4921c1fa1c32cf932ed7c53348042 Author: Dan Callaghan Date: Wed Nov 2 16:58:16 2016 +1000 tests: check output ordering for distros-list and distro-trees-list We know some users are relying on the fact that these commands produce their output in descending order of "date created", so let's add some tests to cover that. Change-Id: Ie04cf43de222cdbfefe8eb4aa5be23de3b143a86 commit 2408630da23a91e74a42463b0d0eb101a9f3774e Author: Dan Callaghan Date: Thu Nov 3 10:15:52 2016 +1000 tests: avoid timing issues with bkr distros-list --limit=1 bkr distros-list orders the distros by date_created descending, but it's likely that multiple test cases will run within the same second so there will be several distros with the same date_created value. We can't assume that the one which will be returned is the one we just created. Change-Id: Ib098baedc424f2c9ed108fd363aa31be1c22560f commit 930a14e8e33b758bda949feec8b67d81b6f9ce1b Author: Dan Callaghan Date: Tue Nov 1 09:29:53 2016 +1000 tests: use run_createrepo() instead of invoking createrepo directly Commit 56230eab moved the tests for beaker-repo-update from the Server unit tests into IntegrationTests, but IntegrationTests doesn't have a requirement on createrepo (only a transitive requirement on createrepo_c from the server). There is still a BuildRequires on createrepo, for the unit tests which run during %check, which is why we didn't notice this problem straight away. But with the change to make dogfood no longer do a build from git, this missing dependency has become a problem. There's really no reason we actually need createrepo specifically in this test, so let's just use the run_createrepo() helper function which is used by the server (and hence the dependencies are already declared). Change-Id: I1a6f2d6444c5130c55bf6506c15165fd474523d1 commit 8c0296a6ea5b4f07ff5221463b4d8134c5f06b91 Author: Dan Callaghan Date: Mon Oct 31 13:20:54 2016 +1000 release note for bug 1384527 Bug: 1384527 Change-Id: I01ee4c6e519dfbc6d7f99ff7e602bb3be5d556a2 commit f2bcf64582010bc1e5e8178c8a00002ae37b2b2e Author: Dan Callaghan Date: Mon Oct 31 13:13:55 2016 +1000 release note for bug 1099142 Bug: 1099142 Change-Id: Ib1c04ef226e55d7f4e15063429d19c44f7a9fe57 commit 187405a14e32ddec99f9d41f3bbf578c593056bb Author: Dan Callaghan Date: Mon Oct 31 13:03:29 2016 +1000 release note for bug 1324607 Bug: 1324607 Change-Id: I62f430de17c2679f1a9ebe26fd4da16c7cde63e9 commit 7bbf4bae80cdf10af1248a5e5955ed4be717ed87 Author: Dan Callaghan Date: Mon Oct 31 13:00:07 2016 +1000 release note for bug 1352760 Bug: 1352760 Change-Id: If2256ca30d2cd2c883a3c1bf2e850de8a7339830 commit a1cc0aa9c1e240be5bd0866cdffee974b43fd06a Author: Dan Callaghan Date: Mon Oct 31 12:49:15 2016 +1000 release note for bug 1100593 Bug: 1100593 Change-Id: I0db9e56ee14c360f4a9d5a6795c94432509a0cf0 commit 93b06cc7fffe668aafcee1f342df3eee33c34036 Author: Dan Callaghan Date: Mon Oct 31 12:34:38 2016 +1000 release note for bug 1318524 Bug: 1318524 Change-Id: Ic7d4bc54db49c02e733600ba76cc03642ed804dc commit 14dffa0333ff8b2314326fee7f86aeb7cd015125 Author: Dan Callaghan Date: Mon Oct 31 11:31:01 2016 +1000 release note for bug 1029287 Bug: 1029287 Change-Id: I5f131ef7270d105eac74a7c80697d41290be6bb1 commit e0b82a9abe6b3ef4ed8d005fc1f774435cd57afb Author: Dan Callaghan Date: Mon Oct 31 11:25:45 2016 +1000 release note for bug 915319 Bug: 915319 Change-Id: I787166f98c5e2ae92964c1054ab0099d8a5ab7de commit b93eb90cca4d562a17ff0a1db699c95c3fc99d24 Author: Dan Callaghan Date: Mon Oct 31 11:21:01 2016 +1000 release note for bug 1347156 Bug: 1347156 Change-Id: I8998f7fc62129f8c73655149462b7ab3f9c18550 commit 3714ef8dcad81f49a03974d48fe8a4d98f2082ff Author: Dan Callaghan Date: Mon Oct 31 11:14:59 2016 +1000 release note for bug 844364 Bug: 844364 Change-Id: Ifc18e2df530cd7df9c0c28a2f1560f141a61c0be commit 2b64a8976ef3fba773cbd629616249736e69fa2b Author: Dan Callaghan Date: Mon Oct 31 11:10:43 2016 +1000 release note for bug 1037594 Bug: 1037594 Change-Id: I134f402aa23f9bc01ac1398530c770fc1c8da49a commit 3ad10afdc07440850b4a85e3dcad2d9a58b75e84 Author: Dan Callaghan Date: Thu Sep 15 10:46:36 2016 +1000 uncomment whats-new/next for develop Change-Id: I33879bbfbcae470aff94c5f0bc01eaff7599d2ab commit da355153e4583da4e3147a2f0daa2dcc54e64d84 Author: Matt Jia Date: Tue Oct 25 12:12:41 2016 +1000 recipe page: show the progress of creating OpenStack instances Bug: 1361961 Change-Id: Id9454fb0b88331d879274cf93060f8a07abe2bee commit 7f3afca8227db5412425ac34da6bd6210e6a9b2a Author: Matt Jia Date: Fri Oct 28 14:46:18 2016 +1000 beaker-create-ipxe-image: do not delete the image when using --no-upload Bug: 1389562 Change-Id: I4727b7c17e2a9572eea2db1899328870e8246390 commit 68d9fed410d349b8e5913cb5689928443317b662 Author: Dan Callaghan Date: Fri Oct 28 10:22:06 2016 +1000 hide TurboGears access logs again because we don't need them I took this out by mistake in commit 4195b693. Change-Id: I4ee23de76177b69c39158132665e059d678a122a commit 4195b693c4e2a1984a768e1c192e4cd30ca02360 Author: Dan Callaghan Date: Thu Oct 27 15:51:42 2016 +1000 set INFO level for all our libraries' logging Now that we have recently turned on OpenStack integration, there are a number of new libraries whose debug spew is filling up the beakerd log. Instead of continuing to turn off each library individual which is spamming us, let's just make the default on the root logger INFO, and set DEBUG for everything under 'bkr' which is application code. Change-Id: Ibfd5c1af30d886d33a12ad89552aa857c5b2b2fd commit fd8293daefba6df5b3278047f94ee00807c486dd Author: Dan Callaghan Date: Tue Oct 25 17:52:08 2016 +1000 allow selecting Prototype systems in the Reserve Workflow Bug: 1099142 Change-Id: I1d6dd2a49bace65bd253dbdd8ad3e67aed6143e6 commit f55d741a6c30bab3a93cb10d58888fd1a8afc3c3 Author: Dan Callaghan Date: Tue Oct 25 17:40:59 2016 +1000 make ignore excluded families This way, if you *really* want to provision a system with a particular distro even though the owner has already figured out it won't work, you can. Bug: 1384527 Change-Id: I0805d8c6acd481d20e4e6ec99b181643aa3a533b commit 21dcb15311d865329e13860ef9078e3d4d41e26e Author: Dan Callaghan Date: Tue Oct 25 12:04:54 2016 +1000 tests: run server commands in subprocesses wherever possible Now that we have the run_command() helper function for bug 969235, it makes sense for the tests to run the server commands as subprocesses wherever possible, for maximum realism. This also helps us catch things like unintended spew on stderr and prevents accidentally forgetting to check the exit status. Change-Id: I14b48238e3e9dc0f43eb526a50d17324dc8061ab commit 535a8d75680d1d61dcf02df95fb2b583d48a9be5 Author: Dan Callaghan Date: Tue Oct 25 11:50:54 2016 +1000 beaker-create-kickstart: fix unicode warnings It was spewing the usual SQLAlchemy warning to stderr: /usr/lib64/python2.6/site-packages/sqlalchemy/engine/default.py:459: SAWarning: Unicode type received non-unicode bind param value param.append(processors[key](compiled_params[key])) because we were passing in command line arguments (strings) directly to queries (which expect unicode). I noticed this while updating the tests to invoke the command in a subprocess, so now the tests will fail on any unexpected stderr spew like this. Change-Id: Id4620fe8c152383faed5f90e771cd83bf720449e commit 757262b32cd62fab896a9ec5f7c25e7bcc87ed8a Author: Dan Callaghan Date: Mon Oct 24 17:13:08 2016 +1000 beaker-repo-update: don't spew pointless warnings about RHEL repos If you run beaker-repo-update without root access (as we do in our test suite) on a RHEL system using subscription-manager, some code inside yum will spew warnings to stderr like this: Repo rhel-6-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/651570941082585099-key.pem because the SSL client certificate is not readable. The warnings are not relevant to beaker-repo-update, and we can silence them with only a modest amount of hackery. Change-Id: Ib8a6e694f95c541d1764b636a0c3688c65a2f6e4 commit d36dfd3bef667a2877ec23dbb475605ead42f340 Author: Dan Callaghan Date: Mon Oct 24 17:49:06 2016 +1000 fix --version output for server utilities ... and add some tests to cover it as well. Bug: 969235 Change-Id: I14d31d533908be1e6d6399b64d10b2f6c1ba08e7 commit 56230eab0dd111e462496001fbab29e43078688e Author: Dan Callaghan Date: Mon Oct 24 14:27:45 2016 +1000 tests: move repo_update tests into IntegrationTests The server unit tests always run with SQLite, which can't handle calls to .lazy_create(), but since commit 58e4ec8f the unit tests are no longer run against MySQL as part of the integration test suite -- so these tests are just permanently skipping at present. Change-Id: Ib3a0794d99fdf13aba4c7e6acdca99806f1c10b4 commit 4d3d6dd4b48cc360b6dbe7cdf407e6d7f7f55a95 Author: Dan Callaghan Date: Mon Oct 24 16:10:27 2016 +1000 remove dead beaker-check entry point This entry point has been broken since its underlying script was removed in commit 27b6f19a (September 2012). Change-Id: Ieeae58b1925c4060b5d1cd55682595ac762d6365 commit ade77d7d42ec4935b32fe56b8cb4d2a73f588e68 Author: Matt Jia Date: Tue Sep 27 14:30:27 2016 +1000 beaker-create-ipxe-image: use keystone client v3 API Change-Id: I46086a4f6b646dabdcf4ca05f4fc538c583a3e34 commit e7f4fb25870e85a479cbd78b9f50e6e13772c595 Author: Matt Jia Date: Tue Sep 27 14:08:53 2016 +1000 refactor beaker-create-ipxe-image to make it easier to test Change-Id: Ic9f5df101cd9108f19348d8e644f1bf01e0b5614 commit a7d1eb7b38c1f0b800c3ca7c162dbcf7e1184a83 Author: Matt Jia Date: Thu Sep 22 10:23:50 2016 +1000 prefs page: add UI for editing Keystone trusts Bug: 1100519 Change-Id: I023c56df0d311202fdb106317ac760d1fa24a58f commit b8df9d295aaaf50d0e7befd930163c2108979c40 Author: Matt Jia Date: Wed Sep 21 11:14:50 2016 +1000 HTTP APIs for creating/removing user Keystone trusts Bug: 1100519 Change-Id: Ib763d45062de1035abad06cb4337d4efb5959273 commit ccaa14ef0e5ab3ff7ce04e45f70c754f31c77099 Author: Dan Callaghan Date: Thu Oct 20 11:19:08 2016 +1000 set column defaults in __init__ In theory we should only need to specify the default value for a particular column / ORM attribute in one place: the column definition in our model. However that has the downside that the default will not be populated on newly constructed objects until after they are flushed. This is a consequence of the fact that the defaults are at the SQL expression level, which means they are only applied when the INSERT statement is prepared and executed. As a consequence, we end up either repeating the defaults as argument defaults in __init__, or else we end up with inconsistent views of a newly created object depending on whether we are looking at it before or after it was flushed. I hit this problem in commit ee11fa2e, when eliminating the duplicated 86400 reservesys duration. That commit added some logic to RecipeReservationRequest.__init__ to apply the default, so that it would still appear on newly created objects. But we can generalise it to apply all defaults in MappedObject.__init__. Doing this revealed a few oddities with RetentionTag and Power which are tidied up in this patch as well. Change-Id: I9c059c626375838317e0f1ff681b976e38942de6 commit e60a8b10247555516e406874d1968adf0aa356ae Author: Matt Jia Date: Fri Sep 16 14:26:27 2016 +1000 use Keystone Trusts for OpenStack authentication Bug: 1100519 Change-Id: I2b7dd47dda43f93eb95b60b44478d47ef3ec3753 commit b1ca1096b336c6045fbfd217cfc9814e7f5ab7e9 Author: Róman Joost Date: Mon Sep 19 10:49:16 2016 +1000 Move from vagrant to virt-install This is reflecting the changes to beaker-in-a-box not using vagrant, but virt-install. Change-Id: Id0cab82e08f77ef76ac87d6268ca2da04e1368d8 commit b87573cee95258e14c1c6c5b16d0f1fa1c32e76c Author: Blake McIvor Date: Fri Oct 21 10:18:07 2016 +1000 make create_user args more verbose Change-Id: I065f165cca36c3f720f5154ab0ee30a7a72e80b2 commit 015f28f36c6a3e5d3cb2ddb6a9df0d05dde7740f Author: Tyrone Abdy Date: Fri Sep 9 16:12:24 2016 +1000 port the tasks grid to backgrid Bug: 1346620 Change-Id: I48553878a248b8a0baa36d7e3878bee3d8580eb6 commit e073c3e321de99f616d0d245ea8cca4a8d701453 Author: Dan Callaghan Date: Tue Oct 18 11:45:26 2016 +1000 UI for updating conditional reservations Bug: 1100593 Change-Id: I386bd8a53c33c742b167043c2748b8eb04051003 commit e5c4715c9e3299739451330edbba51aae867ea5f Author: Dan Callaghan Date: Fri Oct 14 14:03:50 2016 +1000 HTTP API for updating conditional reservations Bug: 1100593 Change-Id: I6fc08cd53acfa958d1f95b5e03ea46203a468b54 commit 3fce05b66c041b67862937badb65e60a7559142f Author: Dan Callaghan Date: Wed Oct 12 18:08:26 2016 +1000 scheduler support for conditional reservations Bug: 1100593 Change-Id: Id3fdafe4e3b71a588847818b176d5fec97b97042 commit e8437de52a294ef0c425995409fb3223f648d191 Author: Dan Callaghan Date: Wed Oct 12 17:46:41 2016 +1000 tests: simplify TestUpdateStatusReserved a little bit Trying to keep each of the test cases as clean and easy to read as possible, since we are slowly accumulating quite a lot of different permutations which need to be covered. Change-Id: I10460a4ebe3487ee8f00ab874c0b5e2cf93394be commit 6932fc9a0d15b3674891300c9e8acff61ee510ff Author: Dan Callaghan Date: Wed Oct 12 17:34:07 2016 +1000 db structure and XML support for conditional reservation Bug: 1100593 Change-Id: Ie998db6c5b882e2559e11208fe81a2947b332dc6 commit ee11fa2ebb6c94c29a31c86750ce1c34c977e093 Author: Dan Callaghan Date: Wed Oct 12 16:49:55 2016 +1000 keep the default reservesys duration in only one place Change-Id: I8df8b46bb98cdb65e42f5fb8620df4ebffc5b71b commit 030ad6e02f38736a1159efaa5a0f3f8bece4af0d Author: Hui Wang Date: Thu Sep 29 10:58:18 2016 +0800 Change CLI bkr list-systems to bkr system-list CLI list-systems is not consistent with distros-list, job-list and etc. So change it to system-list. Bug: 1379967 Change-Id: I06c280183b33612b95ca8ff9dfa341ecf6e42d84 commit af95dad4315953d507e0f0e1fc6c1476ae49464e Author: Hui Wang Date: Thu Sep 29 11:42:40 2016 +0800 Change CLI bkr list-labcontrollers to bkr labcontroller-list CLI list-labcontrollers is not consistent with job-list, distros-list and etc. So change it to labcontroller-list. Bug: 1379971 Change-Id: Ic7c20421d91b72bf073d5307d14a213878cec931 commit 934cce518daaef42f19c8de2b0282222cd883531 Author: Hui Wang Date: Thu Oct 13 13:40:17 2016 +0800 Support for hiding commands from the help list This functionality is used in subsequent patches to hide deprecated commands which we are renaming. Change-Id: Ief5c542d272c7791ac342300db86d27b7ba065e9 commit 1679b766868ce33d61880c318edcf24dc069d7aa Author: Hui Wang Date: Tue Oct 18 17:36:10 2016 +0800 Add symlinks of man page for deprecated CLIs Add symlinks of man page for deperecated CLIs: list-systems and list-labcontrollers Change-Id: I2b8a5a60000d91f6fb15e0cefc1a2b03b2a533ae commit 1b93b0918ba5a242542644110f458893d07aee2f Author: Blake McIvor Date: Thu Sep 15 11:14:06 2016 +1000 allow email preferences configuration Bug: 1136748 Change-Id: I8abcda90e4e98a2d0d156f183207880b6decd3e6 commit ee32f04b6f06a6b2b335b6cd3fa4eb838f5e18e7 Author: Hui Wang Date: Wed Sep 21 11:36:21 2016 +0800 Add CLI for bkr group-list CLI bkr group-list can list groups and filter groups by owner. Bug: 1373409 Change-Id: I1793f02b0c1d2eca5c475d2e6c3cba3046e5abcc commit 6758718dfaffab6e087b7dc58158ca5fc27f3ba2 Author: Hui Wang Date: Thu Sep 8 16:25:41 2016 +0800 Add CLI for bkr pool-list CLI bkr pool-list can list pools and filter pools by owner and group. Bug: 1373400 Change-Id: I8eb9a40661e602b6b57a077cb7242a9d54f893b2 commit 5afac941bc6580eae1cacec0d20fe11527e2c1f1 Author: Tyrone Abdy Date: Wed Sep 14 11:26:04 2016 +1000 Disable button moved to task page instead of task grid Task page also ported to backbone. Bug: 887068 Change-Id: Ib0063bb952c12cb68a5d8938bfacfecce09e30b2 commit 86f293fee6e0f9606fd1d4c1dc37bc25e975e606 Author: Dan Callaghan Date: Tue Oct 4 17:03:29 2016 +1000 bkr system-details: use requests instead of urllib2 This way we get all the nice error handling and CA handling behaviour that all the other requests-based subcommands already have. Bug: 1366175 Change-Id: Ibd3ee1cc6cc718e0d059f0b0b2dc1de58723c0e3 commit 23621cc845c9adfb679dcc40bd54716a39b0a066 Author: Dan Callaghan Date: Tue Oct 4 16:43:19 2016 +1000 consolidate retry_transport and retry_request_decorator The bkr.labcontroller.proxy.retry_transport decorator was our original forked copy of Kobo's retry_request_decorator, but we now have another forked copy of that in bkr.common.xmlrpc. In commit 429ca1d9 we accidentally stopped using retry_transport in the lab controller daemons, but it does have some important improvements over Kobo's original version which we want to preserve: * log warnings instead of sending them to stderr, so that they are visible in the LC daemons where stderr is lost * explicitly close the transport instances after failure (bug 1059079) * unit test coverage Bug: 1366100 Change-Id: I95b4239a69a7c2c1b01dd966b44d5ffa2ee653b5 commit 37f3907e78f91f403bd4517a2a9d8dea0255706e Author: Dan Callaghan Date: Tue Oct 4 16:41:11 2016 +1000 configure logging in bkr client This way bkr can call code which is using Python's logging mechanism to issue warnings (instead of explicitly printing the warnings to stderr as we do in all cases currently). Bug: 1366100 Change-Id: I1caf6ec2c053d779ad6ea97bf2f97af7c0272242 commit 8dfd6b4576bfb0be1476397d35f304254708e9f6 Author: Dan Callaghan Date: Tue Oct 4 11:08:00 2016 +1000 remove unused login.html Change-Id: I57bd5b2309db38139170fa31bc7cb5cdf883eb10 commit 932b5849c5284a5186da245ca53c4933b3b87af5 Author: Dan Callaghan Date: Wed Sep 28 13:45:51 2016 +1000 default to createrepo_c instead of createrepo Bug: 1347156 Change-Id: If78d7002e3ba5c93ce993c30c822bafbb95daba3 commit e4b670cdbe00b023fffcfda27423a9224f5544fa Author: Hui Wang Date: Wed Sep 28 16:23:34 2016 +0800 tests: add test for bkr pool-add to add nonexistent system There is no test for adding nonexistent system to system pool, so add this case to cover it. Change-Id: Ie24a4c6306d411a82f752b084d885d625474946d commit af01121378832d9bf77eb40eadc042b8826c880f Author: Dong Wang Date: Sun Sep 18 02:58:18 2016 -0400 tests: Add testcase for bkr distros-tag Change-Id: I8453666cdc02f2cd3c056c8864fb9cce7729f43f commit 2901bc1ad762e1a3fdda0958ad8418f02fb30c0a Author: Matt Jia Date: Wed Aug 3 11:39:42 2016 +1000 migrate to neutron networking for OpenStack Bug: 1299413 Change-Id: I78f4d97986ee385121a10d764c2d54bc7bca071f commit 5f1b6b9efeaa6fb072a52d8fa8e82acbc1cb3ac3 Author: Matt Jia Date: Mon Sep 12 10:10:50 2016 +1000 conditionally import Openstack modules There is no RHOS 7 yum repository for RHEL 6 and we do nnot want to build those packages by ourselves. In this case, users should make sure those modules are installed when using the OpenStack integration. Bug: 1299413 Change-Id: Id285e4ec1a02ba29d0ba0d67b523ee38105bd128 commit 634754d1d7cbd52328c77c86b274118b18af672a Author: Dong Wang Date: Fri Sep 9 03:12:54 2016 -0400 tests: Add a test for uploading tasks with same version from the WebUI Change-Id: I942e48938a74dd8b4694947d23abc8b082ad7b23 commit b74949d01c7836cb7545cf4a9b2f36eaed1b8409 Author: Hui Wang Date: Fri Sep 9 17:01:11 2016 +0800 Add CLI bkr pool-systems There is no CLI to list systems in system pool. So add this CLI interface to list systems in system pool. Bug: 1374620 Change-Id: Ida3d1f3c334c22e0753dbbd365a6e1e2a2c1ab1e commit a887d73a2529872118e3f1ef03540a4e94ad9e09 Author: Dan Callaghan Date: Wed Sep 21 18:30:38 2016 +1000 allow opting out of logs in results XML This is just intended as an escape hatch, in case adding logs to the results XML causes problems for some particularly large jobs. This will let people fetch the old format without logs, as a workaround. Bug: 915319 Change-Id: I14c94c153a938d62f26aaf43db0d890aa7292fc4 commit 57ccf02cf63abb6a7c516ab0fb58cdeaaefbef7c Author: Dan Callaghan Date: Wed Sep 21 18:24:51 2016 +1000 refactor to_xml() methods to clarify from_job parameter The taskactions.to_xml() XMLRPC method claims its second parameter is "from_job" but since it's passed positionally it is actually passing from_job when operating on RecipeSet instances and from_recipeset when operating on Recipe instances. That confused me a lot. Replace all the various from_* arguments with a single keyword argument include_enclosing_job which reflects what it's really doing. Avoid passing any positional args to to_xml() since that makes things too confusing. Change-Id: I3585fca539a704544187c97cd0e07b270e27feb1 commit ab339fd6034558083da5b78422a6446862ab51de Author: Dan Callaghan Date: Wed Sep 21 17:37:21 2016 +1000 refactor Recipe.to_xml() to use conventional super() chaining The interface of Recipe.to_xml() differed from the same method on its two sub-classes (it was basically just a helper method) which caught me by surprise. Change-Id: I13cf02e5cfc82175240804b0611f95cc3e9dc3ef commit 323ac9334d1d2635af075074de44619a19c078e3 Author: Dan Callaghan Date: Tue Sep 20 12:25:37 2016 +1000 include log URLs in results XML Bug: 915319 Change-Id: Ic806559b5d82961575c406bd8c0df8f9dfece0fe commit e9b9db237453706b6170174701576432d93a3232 Author: Dan Callaghan Date: Mon Sep 19 12:24:46 2016 +1000 fix command_queue downgrade to handle conflicting row ids If new rows have been inserted into command_queue after the migration to separate it from activity, the new rows will probably have ids conflicting with other unrelated activity rows. So the downgrade process has to cope with this, by renumbering conflicting ids. Bug: 1376650 Change-Id: I358bc8c8cd843caa119c47daebe0005e5101085b commit 23def00cad75fa9a34007e225b5f2282bc6ddb02 Author: Dan Callaghan Date: Fri Sep 2 12:51:57 2016 +1000 recipe page: use bootstrap-collapse for task icons This makes it simpler for us to ensure the icons are showing in the right state, including when the page is newly opened. The icons become real hyperlinks, although styled to keep them as plain icons. Requires nodejs >= 1.7 due to the reference to .fa-lg, which is defined in FontAwesome with a variable substitution in its name. Older less is unable to handle that correctly. Based on a patch contributed by Matt Jia . Bug: 1358557 Change-Id: I8bdaa1bd67f3ddaaaecc8ad141ce9cfad2a3b7b9 commit ee28a9049946c930c63f64fbfbfcf8f287f88100 Author: Dan Callaghan Date: Wed Sep 14 14:27:18 2016 +1000 client: load both system-wide and user config files Based on a patch contributed by qhsong . Bug: 844364 Change-Id: Ica21155fa52e90dbe6292c1d8798198786cea13d commit d3f70b5947b6927460ebed0a580fa2efe9bfd746 Author: Dan Callaghan Date: Fri Sep 16 11:09:26 2016 +1000 tests: don't leave any systems associated to the "real" LC In our test runs, we create many dummy lab controllers but there is also a "real" lab controller which we run all the real daemons for (beaker-provision, beaker-watchdog, ...) We need to ensure that no test leaves a running recipe or a free system against the "real" LC. Otherwise the running daemons can pick them up and start doing things at unexpected times during later tests in the suite. In theory we should ensure that *every* test in the whole suite cleans up after itself in this way, but for all the dummy LCs it makes no difference so we don't need to bother in most cases -- just the tests using the "real" LC. Bug: 1336272 Change-Id: I27520244df28e8b915652ecfe10983ff8f240a5f commit b582f73e8f2ca530e65ca4ac3bf2fc6c8717e3a8 Author: Dan Callaghan Date: Thu Sep 15 14:45:57 2016 +1000 tests: fix setup for test_GET_guests_host The intention was to have the recipe running on the same LC as the beaker-proxy process we are talking to: that is, self.get_lc(). But due to a mix-up (self.system never passed into create_recipe) it was actually creating a new system on a different LC. It made no difference to the test because beaker-proxy will happily serve up XML for *any* recipe, even recipes running on different lab controllers. But let's fix the setup to match the original intention (which is more realistic too). I noticed this while debugging rogue commands in: https://bugzilla.redhat.com/show_bug.cgi?id=1336272 Change-Id: Ia66675d1006103fbb4cec687fd8206299d85c8ea commit 59907a6c5a8d6d005ab025d7aacb95cd1fa54227 Author: Hui Wang Date: Tue Sep 20 08:50:52 2016 +0800 Fix trivial issue of Options description in manual page Change-Id: I8900bebf5400de8ee2e1770ce08700ad441f2171 commit 260baeba7412b48443feef02f957a02d6c6b577b Author: Matt Jia Date: Mon Sep 12 15:38:41 2016 +1000 fix typos in API docs Change-Id: Idff9d1850a219aaa547e12c9450d6b25f4499967 commit 098a9340f944baab5dee1a9fa475aaac635cab50 Author: Dong Wang Date: Thu Sep 1 05:54:47 2016 -0400 tests: Add testcase about Help Change-Id: Iab8639d05b1ab807c4eb8cd495a3f09ce06a0f2f commit f3b2bc95c204bcf4168ce4b55086783b91a457d7 Author: Tyrone Abdy Date: Wed Sep 14 11:26:04 2016 +1000 Task upload redirects to task page instead of task grid Change-Id: If5b151cc8101699fe783bb09c1a4b28738c66442 commit 4f19cd72b689a98e825f16b5bc69f48e1ad8b24d Author: Dong Wang Date: Tue Sep 13 01:50:08 2016 -0400 tests: Add testcase for check distro images Change-Id: Iada989eccf8755ef3900bf336f23d9c8f444f4cd commit aec7458f5e93403f21e8f10550d5569324943a58 Author: Dan Callaghan Date: Mon Sep 5 11:28:24 2016 +1000 censor power passwords in failure message We reduce the number of attempts in tests from 5 down to 2, just so that the tests for failing power commands don't need to wait many minutes for all the exponential backoff retries. Bug: 1358063 Change-Id: I1fb622bc4b4555e4ddde8e562fb95ded015d9981 commit 11de02bd3e0b9afa96ef2a8589d858ef2d7f2bca Author: Dan Callaghan Date: Wed Sep 7 15:21:50 2016 +1000 use finish_time not queue_time for "Netboot configured" Bug: 1318524 Change-Id: I4fdfaaeafab6599d49a482debc32bda5b7deca8e commit f00abcf715125a18a7adea3d9ea6cadba58ce5f8 Author: Dan Callaghan Date: Wed Sep 7 15:01:55 2016 +1000 only show "Netboot configured" if the command is completed Bug: 1362370 Change-Id: I8257906480baba6a0e4efb54c1ae58845cc4c7b9 commit 0c949ea21e194cbcf9d55fe00008e904b1302b9e Author: Dan Callaghan Date: Wed Sep 7 13:46:29 2016 +1000 show start_time and finish_time in system commands grid Bug: 1318524 Change-Id: I5d0d73e8e2988b5879afb105d6d4158f6dd0dda7 commit 4e7fc3345d9c89d49d6832ed512b9b265baec136 Author: Róman Joost Date: Wed Sep 7 14:20:10 2016 +1000 Set lab controller before status In order to avoid setting off a validation error, the lab controller needs to be set first before we set the system status (possibly to Automated). Change-Id: Ib028283f5f0b34694756be899eff4b7b4361517f commit 37233602b4fbb71b8b88d0539c09d290893cd099 Author: Dong Wang Date: Thu Aug 18 02:37:11 2016 -0400 Test: Add testcase about release nonexistent system Change-Id: Ia9f585bca772a0530f76a51d929a40d235dac244 commit a525e5c2e026185c5583ba0a28146bcef5463136 Author: Dong Wang Date: Tue Aug 30 02:59:47 2016 -0400 Test: Add testcase about bkr task-add Change-Id: Ic68036a50883cd11b20b320709ea418cae9b62d7 commit d035e0f9a58e91725b24db631c837bdc11c4e102 Author: Dan Callaghan Date: Mon Sep 5 10:51:56 2016 +1000 record start_time and finish_time for power commands Bug: 1318524 Change-Id: I389cb38b0c37a4d9d4f0ad228198fc2d3f094e46 commit aae21b67ed78a66b8d771745819f33bc2115c4ae Author: Dan Callaghan Date: Thu Aug 11 17:47:01 2016 +1000 separate command_queue table from activity Also dropped the task_id column (obsolete since Beaker 0.10, 2012) to save a bit of space and time while we're doing ALTER TABLE on such a massive table. Bug: 1318524 Change-Id: I72c0b67fb74f514b66df8d201191e582d59f6147 commit 0e7c159031c599f2dd0e0d8b93dd921f36604b77 Author: Hui Wang Date: Mon Sep 5 10:51:10 2016 +0800 tests: add tests for bkr machine-test --task There's no test for bkr machine-test with --task, so add test to cover it. commit 30e2c635aabf4c13c9f2f9e29f6b0b607d31f57a Author: Hui Wang Date: Thu Aug 25 14:36:01 2016 +0800 Add meaningful message for bkr system-delete nonexistent system When run bkr system-delete nonexistent system, it will give no meaningful message. So add friendly message when delete a nonexistent system. Bug: 1370399 Change-Id: Id34ee00c21c25944a3e311b8e8c97578801612d8 commit b6baa57790dd67ca52e5dae3cfec4d80523597b6 Author: Hui Wang Date: Wed Aug 24 15:29:20 2016 +0800 tests: add tests for bkr system-create --condition and --host-hypervisor There's no test for bkr system-create --condition and bkr system-create--host-hypervisor, so add tests to cover the two parts. Change-Id: I6bef8942f9c70cb5ee1455ee1561b204262c8ced commit 81db225a70158b13da0c390b70f3c82ece984ad4 Author: Hui Wang Date: Tue Aug 23 15:32:51 2016 +0800 tests: add tests for bkr task-list --type and --xml --params There are no tests for bkr task-list --type and bkr task-list --xml --params, so add tests to cover the two parts. Change-Id: I6a0c562a1e010639428e6775c0a9744ca827284e commit 38ee8b0321c614cbf477e5b73d1592e691b28b65 Author: Hui Wang Date: Tue Aug 16 09:31:45 2016 +0800 tests: add tests for bkr job-cancel --msg There's no test for bkr job-cancel --msg, so add this test to cover that. Change-Id: Ida593ce2481005498c2a864bfca95607601e35c7 commit 7e49049b4e39f554b2835c3dbdb84cc52a77a01d Author: Hui Wang Date: Thu Aug 11 11:00:18 2016 +0800 tests: add tests for bkr distro-list --limit There's no test for bkr distro-list --limit, so add test to cover that. Change-Id: Id01df3d4cece312ce54cb1724f347f5477d2a503 commit 707f9f26d31f292f97cfe9078c2d46fae925211d Author: Dan Callaghan Date: Mon Aug 29 15:47:03 2016 +1000 fix job page progress bar for guest recipes This was a mistake in commit 04772f5c (unreleased), which was emitting 'tasks' in the JSON for MachineRecipes but not for GuestRecipes. Change-Id: I40f9661781444ccb113e34fedc744aef8a8c4d58 commit 6f046f3abbb9ff92e6c79992beab8d960f31d60a Author: Matt Jia Date: Mon Aug 1 13:40:25 2016 +1000 Set watchdog timeout after reboot for recipes running on OpenStack In case the instance is not provisioned successfully, this patch sets an explicit watchdog timeout to prevent it from sitting at Installing for ever. Bug: 1361936 Change-Id: I0369530817ae90dbc4cfa37ba4ad53ae3a1216f5 commit a3b9f593a74f7e88bcca86541866ddff2079fef3 Author: Matt Jia Date: Mon Aug 1 13:48:41 2016 +1000 increase the waiting time for stopping OpenStack instances Bug: 1361007 Change-Id: Ia019655b2fae9dd3f76d168ec9d73b4e16129c86 commit 073a67d85f133094798db45b97d23bcbac8dd432 Author: Matt Jia Date: Fri Aug 5 11:44:02 2016 +1000 recipe page: add OpenStack instance link Bug: 1364288 Change-Id: I99faeb43e696abae44e138feaa94943b54b6aef8 commit b729a2501252c23fe3331a79c66f3c8523e180c8 Author: Matt Jia Date: Fri Jul 29 16:03:12 2016 +1000 use unicode for the OpenStack instance id in the recipe JSON bug: 1361002 Change-Id: I31f7cbbec8965c788c733773b7e95467c36683bd commit 7f81ac307ace7e728931a47a5eb784a6c2ba448a Author: Dan Callaghan Date: Thu Aug 25 17:07:40 2016 +1000 filter out duplicate logs in recipe.files() Even though it should never happen, we have some old recipes which have ended up with multiple log rows referring to the same file. To avoid confusing beaker-transfer (and other potential clients) we filter out the nonsensical duplicate values before returning them in recipe.files(). Bug: 963492 Change-Id: I3e8299c71d4d7d6785384bdcf5e7181ac90f40cb commit b7892a496d1b0d782039cd6214913a5431fb1880 Author: Dan Callaghan Date: Fri Aug 12 15:02:23 2016 +1000 tests: merge TestPowerFailures into CommandQueueXmlRpcTest The tests in TestPowerFailures were really just various miscellaneous tests for the command queue anyway. Also tidied up some older tests to avoid going through the whole beakerd scheduling process and to just call recipe.provision() instead, now that we can do that in the tests. Change-Id: I3f9fd43c5a677645e3ee97d075f4cf052048762b commit c99622a99579418400284baededf76d1e9a8ae03 Author: Blake McIvor Date: Mon Aug 1 15:47:38 2016 +1000 ensure the priority box is always shown Bug: 980711 Change-Id: I9b58a83ea528e708c6489e5e938cdd6c19568a39 commit a4b38dc4d0a626ea98b553afabfc7d381f01a84c Author: Matt Jia Date: Fri Aug 19 09:43:30 2016 +1000 add Jon to the mapping of email to name in the generating release note script Also remove people who are not working in Beaker anymore. Change-Id: I2d3a7bec5f3e4961413cd97e3220919fb0abb620 commit cf30c1572456d8ea779ca9d99ba1273406897d0c Author: Blake McIvor Date: Wed Aug 3 13:59:47 2016 +1000 validate group edit to not contain '/' Bug: 1263921 Change-Id: Idccbd3304d4ff375ef77dc1b2f8000b8072d33b8 commit bfec846cee2deb43ff8ba224fa828755666f318b Author: Dan Callaghan Date: Fri Aug 5 10:45:37 2016 +1000 linearize Alembic migrations after merging release-23 Change-Id: I904dbca831f8d52c21f94b300f935506c397e801 commit 331566dd5e36789e4632bb80eafc4ca446f5645f Author: Matt Jia Date: Fri Jul 29 11:02:55 2016 +1000 lab controllers page: make the list wider to handle fat hostnames Change-Id: I2cc686cf385b9de9bd0893aedb08c112e275462d commit 877678af19073a0e84ee1a29f8878a833ad3931f Author: Matt Jia Date: Mon Aug 1 14:22:58 2016 +1000 recipe page: remove a superfluous in the Installation tab Change-Id: Ife5c6584a6c8079277952cd7c5054c88bd750d53 commit 2d379afda2c4c41e388b1b9e65b4ddde167c6cf2 Author: Blake McIvor Date: Fri Jul 29 11:22:15 2016 +1000 add appropriate warning if job-clone is given no args Bug: 1336329 Change-Id: I258986155ed866f8ef742dd9508a778a77359af6 commit 416e9c5bf52548771d3cbb6ec9bc01e5597d263b Author: Róman Joost Date: Wed Jul 13 13:35:48 2016 +1000 Show client execution copy & paste friendly When logging how the client is invoked, it is not only needed for debugging purposes as information as such, but should also make it easy to just copy and paste it to run the client on the console. Change-Id: Ie829ab2f097a1838546c6a228d67e0d33247de4b commit fada4d171ce6a7b307e22f6f0bee15d290180754 Author: Róman Joost Date: Wed Jul 13 15:13:11 2016 +1000 Use a local connection instead of ssh There is no need to setup a passwordless ssh key authentication. Using local as a connection type works equally good and avoids any potential ssh pitfalls. Change-Id: I397d261521216fea848cf1f2674f61c6f4ceb604 commit db9cf634359e230e1618b6accddd43ff07d5e5b6 Author: Dan Callaghan Date: Mon Jun 13 16:46:58 2016 +1000 bkr whoami: use new /users/+self JSON endpoint instead of XMLRPC Bug: 1142566 Change-Id: Ia908bd170f64c4be0505ae28c8eda94d3f252efe commit 26715c4b448c9af667e3998cd7e72bf592fd0f8f Author: Dan Callaghan Date: Tue Jul 5 13:03:46 2016 +1000 new task result type, Skip Bug: 1324607 Change-Id: I72ed6714826030cae3f4976dcd2ba10c48bffac5 commit 04772f5ce017d65fd1868bdfe423d26b07c18bb4 Author: Dan Callaghan Date: Tue Jul 5 12:38:35 2016 +1000 show separate chunks for each task in recipe progress bar Bug: 1352760 Change-Id: Iaf5cb0250b112b559fd0b67d45705b678b046338 commit 04fa87ce0fa52f1c653d689fc6f17e2f7b697d8f Author: Dan Callaghan Date: Fri Jul 8 12:06:52 2016 +1000 slightly less scary error message for non-existent XMLRPC methods Bug: 1029287 Change-Id: I692143dfb145b006757f9f4826bb228c21267022 commit 4f487b806a540f22a2c115b06beb2188caa58aba Author: Dan Callaghan Date: Fri Jul 8 11:54:06 2016 +1000 bkr: warn if server and client versions don't match Bug: 1029287 Change-Id: I2a731f3c47dc348d89694f296d6ea191cd6f80a3 commit d244abe2600090335954fd2279b8fdc75fd020cd Author: Dan Callaghan Date: Tue Jun 14 17:38:44 2016 +1000 start_time and finish_time in job results XML Bug: 1037594 Change-Id: I7aa217b0ab4a8477c85c8b0b73932adaec91b3ec commit 2d1f3cb3fc156e89adace67ea561f47009332f0d Author: Dan Callaghan Date: Tue Jun 14 17:47:03 2016 +1000 set X-Beaker-Version header on all responses Bug: 1029287 Change-Id: I899a8d261e2bfc75c535a2a7cefcf682402a2ce5