commit 2f969e41d9594842e8e6f3cddbf05b8d7d7d4074 Author: Dan Callaghan Date: Mon Apr 20 11:41:25 2015 +1000 Automatic commit of release 20.0 commit 9f8c4c5a15d8a3417efc589a2cd0b26ee251b446 Author: Dan Callaghan Date: Thu Apr 9 18:01:41 2015 +1000 some slight wording tweaks for the pool page Change-Id: Id83ad38b710348a93ca23130db6091c8856ab6a6 commit 01fbad74a6d41138d411b311db6ae76e734c55e2 Author: Matt Jia Date: Thu Apr 16 12:03:29 2015 +1000 remove Cockpit entry from beaker 20 release notes Change-Id: I289b1cb7e4a26fab3b0a0e36ac3e00e70e9174d4 commit 42989964020c507e76996f7ed7010262126be292 Author: Matt Jia Date: Wed Apr 15 15:34:09 2015 +1000 revert embedding Cockpit Bug: 1197929 Change-Id: Ia0c1d5d1e47ca7e0cb2982cc25effa92b3170435 commit 8407d96c98c2127ab50899aa04d93519538e851d Author: Dan Callaghan Date: Thu Apr 16 11:31:05 2015 +1000 fix selenium requirement for Fedora Change-Id: I714ef968a26d8714990e47a2774e014dec77420b commit 0a2a6002c1f9f47cec68b55b7c9f337d866f44f5 Author: Dan Callaghan Date: Wed Apr 8 16:47:34 2015 +1000 escape JSON for HTML in tg.to_json (cherry picked from commit e452497ba54ca0a5648552e6423005a469785f5c) Bug: 1209736 Change-Id: I89ecd2325a6228167797fabe1308cbc72f1d7cf6 commit f354722166101499c1a6b658a48da06a2ac43864 Author: Dan Callaghan Date: Thu Apr 9 10:21:21 2015 +1000 Automatic commit of release 20.0rc1 commit e452497ba54ca0a5648552e6423005a469785f5c Author: Dan Callaghan Date: Wed Apr 8 16:47:34 2015 +1000 escape JSON for HTML in tg.to_json Bug: 1209736 Change-Id: I89ecd2325a6228167797fabe1308cbc72f1d7cf6 commit 8bce8ffe5e99be6368c58ec53987fff881f75fc6 Author: Dan Callaghan Date: Wed Apr 8 18:03:43 2015 +1000 release notes for 20.0 Change-Id: I2820fb4cec2bf1a5d492db409017cb58493c86ee commit 801abe9bdc534e2672650f0aba739790c368512b Author: Amit Saha Date: Tue Apr 7 10:36:49 2015 +1000 Release note for system pools Change-Id: I7fcf70abf1320ac5534b7f67310a7f44832be1a1 commit 610c3c5246a54506a6c19f497d20a591315007e1 Author: Matt Jia Date: Mon Mar 23 21:00:54 2015 -0400 embed Cockpit on the system page Bug: 1197929 Change-Id: I97d0423b0ce7c827aafe3e70599bdbac6aa6662e commit 6b780c09141d01df9f04bd6634dd24e1e04d25aa Author: mjia@redhat.com Date: Wed Apr 1 12:03:17 2015 +1000 fix a regression with searchbar in commit 2a038345 Bug: 1207727 Change-Id: I44f645a10ca61070162ec4ecdf2193b6a7d67c09 commit a3c392b5cec86769a5159f750cbaaaaed6057e06 Author: Amit Saha Date: Wed Apr 1 09:33:29 2015 +1000 Documentation for system pools Change-Id: Ic529103d90b04177defac3248e5ca167fbcbda61 commit 778a96ec73ab92ae85ec9b880f0297c0b964733a Author: Amit Saha Date: Tue Mar 31 16:10:17 2015 +1000 Web UI for updating active access policy when a system is removed from a pool Bug: 1206983 Change-Id: I9e95913fbad1cd074db608f6731ab0187fa0652c commit 255bcf284eb5d747598548dc66a97d729655f8d4 Author: Dan Callaghan Date: Mon Mar 30 11:41:29 2015 +1000 bkr system-modify --host-hypervisor BUg: 1206978 Change-Id: I1a757a5810f78b68e81b1db4bce894f86d16238d commit 66460ccffbdbb79d4d2f347668533114b8801d98 Author: Amit Saha Date: Tue Mar 24 17:02:22 2015 +1000 Do not leak netbootloader= to the kernel Bug: 1202667 Change-Id: I6b39a33c896df080bb62f6a6df9cbb0bf535f4e2 commit 3cd81ec0b35966bab639a2c72bcc9b03ef224e1a Author: Amit Saha Date: Fri Mar 20 12:22:37 2015 +1000 Web UI for changing active access policy Change-Id: I0aae72e5036367efd1941a5031ea02bb56e9d7e1 commit 378c4dd0f9449110fc53849c35d522e8e91c77de Author: Amit Saha Date: Mon Mar 30 16:49:42 2015 +1000 On removal from a pool, set the active access policy for a system to custom access policy This patch contains the API endpoint fix + API test Bug: 1206983 Change-Id: Ide251c9b23ed0f950db00ccb63d55ba67ab7d877 commit de34f31b334b29bea7171029f8ea27b9e2843443 Author: Matt Jia Date: Sun Mar 29 20:39:12 2015 -0400 system pool delete: error handling for the delete button Change-Id: Idcc1028410b06565ff1e2e448a96211e9f63151e commit 647fd782d4d5060fff1730ebff205583b677f3c5 Author: Matt Jia Date: Thu Mar 26 01:02:49 2015 -0400 My Pools link in menu Bug: 1203981 Change-Id: I1e27be95a1a0337d3dd198e451fddd53fecb4f34 commit aa2b9dbe4bfdb7c711dcb5bd58d3d4cdf0037e06 Author: Dan Callaghan Date: Mon Mar 30 17:33:40 2015 +1000 Misc/rpmbuild.sh: --next-major option to increment major version Passing --next-major as the first option to rpmbuild.sh will cause a git build to appear as a pre-release for the next major version (rather than the next minor version, as it does currently). We can set this in the Jenkins job for nightly develop RPMs, to distinguish them better from the maintenance branch. Change-Id: I49cd04686086062958a2e03bdd841c46162959c0 commit 05eaedea091283a46c92877c70b916576596f41f Author: Matt Jia Date: Wed Mar 25 22:15:38 2015 -0400 fix xpath expressions Change-Id: I924cd67745e353d5fdf0cb289e123acdc339a239 commit fe15a9fb49652e1305fc79cc5b749beab270d728 Author: Matt Jia Date: Thu Mar 26 03:28:31 2015 -0400 special characters need to be quoted in system pool name Bug: 1206011 Change-Id: I16a6f107026df9df1f8d6a5ebf8e784b3ba165ab commit ed6b2320f16f058e6685b827dfe38a6bc3c18f9f Author: Dan Callaghan Date: Tue Mar 24 11:16:08 2015 +1000 pools grid: render description as Markdown, truncate long values Change-Id: Icc1e91136ba355f118cfd84a0dc7bc4a2350679a commit 53827383b9ca45f80961bf024a04eda311f81baf Author: Dan Callaghan Date: Tue Mar 24 11:14:56 2015 +1000 pool edit modal: focus description when displayed Change-Id: I5b4a8ff99cf0818299acb74aa18c3a92578cca32 commit aa8e19b25f6039e80635c2c5ed64ffa9940e6cb3 Author: Dan Callaghan Date: Wed Mar 11 15:59:54 2015 +1000 Support wildcard in distro name. Bug: 1200427 Change-Id: Ie4d44a6347c6425558f80f4a0f880ae4b9b1e90a commit fc3396df777f2bb9faab2be1bbcdc98873265b0c Author: Amit Saha Date: Sat Mar 21 21:13:17 2015 +1000 beakerd metrics: account for active access policy Change-Id: I40a422f6f025d91b682c19ac413a29f906fe6aed commit a45719c8c31c9f6852e7c4778e869964923c8e5f Author: Amit Saha Date: Fri Mar 20 16:10:38 2015 +1000 Use the active access policy to determine access rights for systems Bug: 1203978 Change-Id: Ibcd82196d6233e799c653ef7371e972d377f1c89 commit 2f6413a9780aa89814abf911978297813c786a56 Author: Matt Jia Date: Fri Mar 20 10:53:54 2015 +1000 system HTTP API: use system.href and remove one unnecessary redirect Change-Id: I0f57348346b95b75e1b7a688c25901cfe6e44abd commit 11a42b663c2b4f6e01f7d4fb1ff13f60e212ea12 Author: Dan Callaghan Date: Thu Mar 19 18:14:37 2015 +1000 render pool descriptions as Markdown Change-Id: I735369e42ec51a1e5e96eb7d56493adca522b4ec commit 3f37113dcd327525aa3ba5828677b7270f74b6eb Author: Dan Callaghan Date: Thu Mar 19 16:16:45 2015 +1000 Delete button on pool page Change-Id: Ieecd38da72bb796e541e36726bf42bcd169a548e commit 210b2e86f3ab40bb9cb3b811e251b123588bdf5b Author: Amit Saha Date: Thu Mar 19 17:07:11 2015 +1000 Remove the API endpoint for changing a system's active access policy Change-Id: I678fd316b0c9bbbb706a6ecc283e7cc8c46f02ea commit f6ba83384022afebc784c84b5fab2a03b4ee6470 Author: mjia@redhat.com Date: Mon Mar 16 14:24:51 2015 +1000 system pool editing Web UI Change-Id: I4f5247fdf093f895fcbcb76ecdea9f830509d916 commit 1b31f4ff858c9487318a654b6060b5fb591a28c5 Author: Amit Saha Date: Thu Mar 19 11:47:19 2015 +1000 Fix up activity recording for pools when a system is added Change-Id: I3c76451445759d03ebfcc3b9b9f05eadaad372b1 commit c10ce28c140cf866139465c2e266fc8c17f8da23 Author: Amit Saha Date: Wed Mar 18 17:14:31 2015 +1000 CLI for System pool deletion Change-Id: I0bc0ea6e4410169fe808064b0ca35a01d70010b3 commit 3d9a556df3fb6ceb8ccac3e65d51c55c055b9205 Author: Amit Saha Date: Fri Mar 13 13:23:20 2015 +1000 Add Activity->System Pools page Bug: 1200242 Change-Id: I88bfa94c7fcc93d889f5479e8fa9518286792b95 commit ff847ccded58eecd7a3dd21e61163f049d1707c7 Author: Amit Saha Date: Mon Mar 16 17:23:20 2015 +1000 CLI for adding/removing systems to/from a system pool Change-Id: I8e718335bd2efbd4c05351f0405084bbc34472cd commit 5097d92cf152461c7246e870049b6826b95aaa25 Author: Amit Saha Date: Wed Mar 18 11:46:02 2015 +1000 HTTP API for System pool deletion Change-Id: I60545f2c488b6f4b2ce2320e2ad3ef4513a0c7d7 commit 270b200491304c505896d6b14f4d5d1f7a781fad Author: Amit Saha Date: Wed Mar 18 15:20:21 2015 +1000 Fix up can_edit_policy check for system pools Change-Id: I1a5f483a081c3818e761a616f95a42072d0a9252 commit 714d23f3a1279f740641869ca57b9d3800eeb206 Author: Dan Callaghan Date: Tue Mar 17 13:20:03 2015 +1000 don't implicitly create pools Adding a system to a non-existent pool should return 404. The web UI needs to handle that and create the pool before adding it. Change-Id: Ifdae0f07b9ae926df73981a6103821029b9f778a commit 5d59ead72ce5084fcd1c6bb2bb7a5540b437800d Author: Dan Callaghan Date: Wed Mar 18 10:19:54 2015 +1000 fix grid loading indicators This was a mistake in commit 21f2418a. The tests didn't catch it then (we don't test the loading indicators directly, because we can't really) but it did cause intermittent timing-sensitive failures in the grid tests because they were no longer properly waiting for the grid to load. So this patch should fix those problems too. Change-Id: I25b3df439409d7285cb0635da7ad346f2d632eea commit 7476414e3067699457d5dca8631551a687bb9aba Author: Dan Callaghan Date: Mon Mar 16 16:21:28 2015 +1000 typeahead for pool names Change-Id: I4e35b84cbd888b823f35e280d82a50c199c45eb8 commit 766799ba783292621263c126c1283921cf35b887 Author: Jan Stancek Date: Mon Mar 9 14:12:10 2015 +0100 client: add --proxy-user parameter This option will pass provided string to proxy_user parameter in xml/rpc calls to auth.login_password() and auth.login_krbv(). It is also possible to define PROXY_USER config option, that serves the same purpose. Change-Id: I3f838bf44af045826870632ef47a4715ffc3609e commit b03c1d9a3f3ba1cea1a64c4cc1cd3b3a45bfdee8 Author: Dan Callaghan Date: Tue Mar 17 16:57:21 2015 +1000 beaker-repo-update: add more possible arches Change-Id: Ife5e9a92f0fe5bcefb9f9040e3a2e360f93acd3a commit 14ad75bee5b1d2ec7a1345d8c3b3ee9172141bdd Author: Dan Callaghan Date: Mon Feb 16 14:52:00 2015 +1000 remove pylint from check target We will continue to run pylint from the beaker-review-checks Jenkins job to ensure it is enforced on all patches. By removing it from the check target (and hence from the RPM build) we avoid having to deal with random pylint breakages preventing Beaker RPMs from being built. (cherry picked from commit 3246d2176e873f9bb0c24ad1273a54f82f7e225f) commit 9e14b683c47f2be0137939f6bc5bbcb4a68c0cca Author: mjia Date: Thu Nov 27 14:22:24 2014 +1000 make server tests compatible with SQLAlchemy 0.9 (cherry picked from commit 62b430677d2fec96688f9b064e077dab6887a86c) commit a36cb91fc28d00c96444800fea067f16b2d3ab79 Author: Dan Callaghan Date: Wed Mar 11 15:37:17 2015 +1000 tests: add db migration test from 19, matching the others Updated the migration tests so that we have a test for migration from the Beaker 19 schema, matching all the other similar tests. The tests covering pool and policy migration don't need to also check the upgraded schema, we just do that in one place instead. Also re-generated the 19.sql db dump in the same way as the others, so that it contains the bare minimum data left by beaker-init, and in a form normally produced by mysql_dump. (The bare INSERT with no surrounding transaction in the previous 19.sql file was causing the test to hang with a lock wait timeout.) Change-Id: Ie99522ae047e4459aadf6a606756b0a744144e13 commit 122628f7c1d33e977fb458cee82719d500c30371 Author: Dan Callaghan Date: Mon Mar 16 16:23:34 2015 +1000 docs: specify downgrade version for 19 schema Change-Id: I8bf7114cf2f3f351be8b95a9ab47cc56af3b03e9 commit e7783656988a25715ed773c79ab66332488a1a8d Author: Dan Callaghan Date: Thu Feb 26 17:13:40 2015 +1000 building server components on RHEL7 now commit da384595c36d301e97adf6806a9e7e36798950c8 Author: Amit Saha Date: Tue Mar 17 10:14:24 2015 +1000 Fixes a mistake in 72b94f7 Change-Id: I674f7d10e81b121fe8ea414b61b4ffb107ee4d30 commit 21f2418a7d33e26a00998938124330d20f24e481 Author: Dan Callaghan Date: Mon Mar 16 13:06:24 2015 +1000 pool creation on pools grid Bug: 1057463 Change-Id: I9beced3a520565b191f36aaae5cfcf2085910933 commit a26eaacb9d92f0998d4765aa3acb48389526c50d Author: Dan Callaghan Date: Tue Mar 17 10:09:27 2015 +1000 add System -> Pools to menu Change-Id: I18e4fffc8a6c218b0bc4de0b4efd7d7143399446 commit 73c783d0068c1119bd625d9e9d208bd568bedb2b Author: Amit Saha Date: Mon Mar 16 15:50:39 2015 +1000 CLI for modifying system pool attributes Change-Id: I167d761557fada05e37089afa7da30b2441b4a8a commit 8bcaf3d1d2bcb7c641a1c97efebfcbd7398d7a1a Author: Amit Saha Date: Mon Mar 16 15:45:27 2015 +1000 Fix the cascade rules between system_pool and tg_user Change-Id: I35a5d132e4a3024f3dcb2e15e7d4b82646134d52 commit 0304b52fb9ca4a31683d5f82cf57e90cdcedf2bf Author: Dan Callaghan Date: Thu Mar 5 17:22:53 2015 +1000 pools grid Bug: 1057463 Change-Id: I2251157adf245817b58ad60039893207b9584e6a commit 687f0231fc1ac2c526e4407444ac98fd2e245f54 Author: Amit Saha Date: Mon Mar 16 00:02:32 2015 +1000 bkr pool-create: CLI for creating a system pool Change-Id: Ic5abf625a7eab160fb5640cc931893de23915d9e commit bca0d565db1a9104ece797663a7fb40c1ead04ed Author: Dan Callaghan Date: Fri Mar 13 11:52:14 2015 +1000 tests: drop test for group removal activity We can check this in the db directly as part of the group tests, which is simpler than interacting with the activity grid to check for the expected records. Change-Id: I83a06a529f619fa9fce2b7d5af99f63d4a7aa9fb commit c3e94760e5b19cb8dbf9de85fd6cf267722f0328 Author: Matt Jia Date: Wed Mar 11 18:12:33 2015 +1000 add system pool HTTP APIs Change-Id: Iff95f0d6fcf2da3ab47e58efd45be5690c20612b commit 8da92e5a5b495075068cba87a5787a4521366668 Author: Amit Saha Date: Mon Mar 9 14:44:32 2015 +1000 bkr policy-list: Retrieve the active access policy rules by default To retrieve the custom access policy rules, a new switch --custom is added. Change-Id: Icea95333bd01fc943fb9e89c92525e734d1594cd commit 81c6b28e3c146c30a2e64cea3bc37bc8855cc4ca Author: Dan Callaghan Date: Wed Mar 11 14:58:37 2015 +1000 fix very slow activity queries We are fighting a losing battle with this stuff... but adding this IGNORE INDEX seems to convince InnoDB to select from the relevant *_activity table first, rather than the associated table (system, etc), thus avoiding a filesort that fills up the disk. All the type-specific activity queries suffer this problem although system activity is the only one where the size of the temp table is likely to be large enough to cause a problem. Change-Id: I4041ac4bdc9bc8310cb1c7110dbe90458c180cae commit 905100bc4be455183411bacaa426c21fec53f459 Author: Dan Callaghan Date: Thu Mar 5 14:29:16 2015 +1000 skip COUNT(*) queries for activity because they are too expensive The activity table on a large Beaker installation is typically very large (tens of millions of rows) and so counting all rows in an activity query is expensive, and can in some cases results in a temp table overflowing disk space. For activity types which are likely to accumulate many rows, we skip the count. We have to just leave out the 'count' key from the response in that case. Updated the Backgrid paginator to handle an unknown total row count. Bug: 1101817 Change-Id: I632435f52176dbc3fefd6fdbf1634bc64594c458 commit fa3f07783de342a8c1282eb99fc489a12fa0c2de Author: Amit Saha Date: Tue Mar 10 11:07:15 2015 +1000 Add CLI for editing system pool policy This patch adds --pool option to bkr policy-grant and bkr policy-revoke to grant/revoke access to/from system pool policy. Change-Id: I2c45e8798462f646cb6a25bedcaa120350576da7 commit 47f8b95c3e645b08ebc52e3dc9713559b071797f Author: Amit Saha Date: Tue Mar 10 13:33:15 2015 +1000 CLI for changing a system's active access policy This patch adds the ability to change the system's active access policy to either a pool's policy or its custom access policy using the ``bkr system-modify`` command. Change-Id: Ia99c490c384b96f3a23cd93a9be829eab118c269 commit 48cffd670b4c91aa8c6baa0716f19d1f8fa43e80 Author: Amit Saha Date: Wed Mar 11 12:21:44 2015 +1000 Make the active access policy HTTP API consistent with custom policy API Change-Id: Idbdc3b85d81ffbc0ad0df816e3ffa18fdd41abea commit 9c4c121a0dfd0be87e6c8541a5249ca1e514038e Author: Dan Callaghan Date: Wed Mar 4 18:20:45 2015 +1000 port activity pages to Backgrid Change-Id: I0ec88675a6913b0e22d9106a6a599c1a27f9a0d9 commit c0d74bab59344556ddedf6a01a6a72e30af19cb9 Author: Dan Callaghan Date: Wed Mar 4 14:18:37 2015 +1000 introduce new method .toHTML() on client-side models This consolidates the logic for how to display a hyperlinked reference to each object (system FQDN with link to system page, username with mailto: link, etc). The Backgrid cell definitions can also use this to render cell values. Change-Id: I32d17ab7113e0183610e1d3c3c1d77482999fa20 commit 74a252555c96d8066cf699350ec81bd76c64bf35 Author: Dan Callaghan Date: Tue Mar 3 17:28:20 2015 +1000 index activity columns The web UI allows searching on these columns so we need to index them to avoid very slow queries. Change-Id: I5a079a1c912838bca2f03b408571eff20269fde0 commit 805dc106af751f0ed144a49bf77b00c9a653c28c Author: Dan Callaghan Date: Tue Mar 3 17:14:48 2015 +1000 refactor json_collection to be a helper function instead of a decorator This lets us do content negotiation on the pageable JSON collections. We can call json_collection() and then either return the result as is, or stuff it into an HTML page. Change-Id: Ie621f27cb24eb7bc3a2832a6403f6b5b8c87b424 commit a92682a9f8956efb88a8b4951550417744f1337d Author: Dan Callaghan Date: Tue Mar 3 17:00:39 2015 +1000 BeakerGrid: don't fetch in initialize The code currently assumes that the collection is not bootstrapped into the page, which is true for all the grids we have now on the system page (they are fetched on demand). However it is not true for grids we will be adding in future. So the BeakerGrid widget no longer triggers any fetches itself, it's up to the caller to do that if necessary. Change-Id: If460c5ae9270825fed3191cf41f1775e98c54ba7 commit 02bcc8442ea5168c7da89348a087387eb9202280 Author: Dan Callaghan Date: Tue Mar 3 16:57:24 2015 +1000 refactored PageableCollections into a new BeakerPageableCollection type This holds the common logic for making Backbone.PageableCollection play nicely with Beaker's API. Also refactored the filter parameter 'q' to be stored in collection.state, so that the filter widget stays in sync with the actual filter currently applied. Change-Id: I2193f8c67c2de2db49094bbbca85200c9c1afc15 commit 01032b5a7783585c23e0e5d9a9b1d8f17a181737 Author: Dan Callaghan Date: Tue Mar 3 16:50:03 2015 +1000 return 'q' filter parameter in JSON collections ... so that we can easily use it in the Backbone.PageableCollection state object. Change-Id: I9ce891bb7159601260edea5f2855d2b405cd73d3 commit ddec3e6899989d0316b23ca85064ae3077e0d3b3 Author: Amit Saha Date: Tue Mar 10 14:19:36 2015 +1000 Minor fix in test_set_active_policy_to_custom_policy Change-Id: I5dfcc5a7c23833987b75d8b790d7442bb9163c4e commit 6ca89a454cfcd970156245d217c148e7a71746e0 Author: Amit Saha Date: Mon Mar 9 12:38:11 2015 +1000 Do not delete system pools When its owning group is deleted The owning group of the pool will be unset and its owning user will be set to the user deleting the group. Bug: 1199368 Change-Id: I686e7146a5b9012748208653bedca1414153f074 commit f1316ac51d960bd2c933ed56e0b73685c5e93a3b Author: Amit Saha Date: Thu Mar 5 16:38:35 2015 +1000 Fix database downgrade steps from system pools to groups Change-Id: I7e7fc7b6d66b40bc36cbcd2a32c2ea00d3b81d53 commit 3ee2d8cab4e076b1ad83b105ec57ca39d26833e9 Author: Dan Callaghan Date: Thu Mar 5 10:28:10 2015 +1000 no more jQuery UI Datepicker Using bootstrap-datepicker in the old searchbar instead. Change-Id: Ie5fb0aa1c38d7d4ea15a5acb767bf2a85cd726e1 commit bd2a69da9272ab94eaf0987a743db823f1875c7a Author: Amit Saha Date: Tue Mar 3 15:22:41 2015 +1000 Access Policies for System Pools This patch adds support for access policies on System pools so as to allow systems to share access policies. The relevant support in the Web UI and command line client will be done in separate patches. Bug: 1057463 Change-Id: I5c6110cf3dbae82ee50d999274252ae166e98d8c commit aecfc07b941c10b202e3765f349068eacf5f50c6 Author: Amit Saha Date: Mon Mar 2 14:53:57 2015 +1000 Update script for installing dependencies and database setup Change-Id: Idb9d09b4ee6ee47cef31f013d87b1ebf1600de9e commit d47f4376b485a5c576d7671dd8c8d08683d3e783 Author: Dan Callaghan Date: Tue Feb 24 14:27:24 2015 +1000 clean up server.cfg Now that we are including it in the docs, it's high time to tidy up a lot of the confusing or useless cruft in there. Also moved a few settings which it does not make sense for the admin to modify, out of server.cfg into app.cfg. Change-Id: I649f38d95f6da2a8e4edd209822660ca2ba3a5cd commit b9a912b6794bf8063c4fbf036831b4d96e5ce56d Author: Dan Callaghan Date: Fri Feb 27 11:32:29 2015 +1000 docs for /distribution/rebuild task Bug: 1183913 Change-Id: I5e337a4c6d0cef97feed18f4707bd8c3b8628688 commit 72b94f754426c37f800006555c2a9bbccd1bfccc Author: Amit Saha Date: Thu Feb 26 17:11:11 2015 +1000 Implement system pools This is an initial implementation of system pools which phases out the existing system groups. Change-Id: I76b61ae84c6d850d8870d22b0034a7bcfd2625ec commit e8bdec7202eaee068fac2123c4bc3dc155778601 Author: Dan Callaghan Date: Fri Feb 27 15:07:41 2015 +1000 load static device class list at application init The static device class list is kind of terrible, this just makes it slightly less terrible by doing the work once during initialization instead of lazily when master.kid is first rendered, which seems to randomly cause problems (if the transaction has been rolled back before this part of the template is reached?) Bug: 1191826 Change-Id: I0d1146f2edd39de8178a50da9e866b5493d18a93 commit f41e601d5f9f7441d63b9c85c73c7851f0b72f61 Author: Dan Callaghan Date: Tue Feb 24 16:32:15 2015 +1000 docs: release note for workflow-install-test deprecation This note is fairly terse right now, but it will be edited together with the other RFEs in the final release notes to produce a more comprehensive story. Change-Id: I2ab8cff5f7ed1815b82a4f22ebb6e6b4f1aad8f2 commit 9a3b2bdc59d9b933e9458fefca359a39f79b23ab Author: Dan Callaghan Date: Tue Feb 24 14:14:38 2015 +1000 define biosboot partition in cases where it might be necessary If it's a BIOS system with disk < 2TB then Anaconda will use MBR and the biosboot partition is not needed, but it does no harm in that case. This way we don't need to figure out how big the disk is that we will be installing onto. Bug: 1108393 Change-Id: I463ab8978eaafcb25021e168b5bf46454ce0b9dd commit 341128fab23f4716e2c28aee861d555d89290eab Author: Alexander Todorov Date: Thu Jan 29 10:52:52 2015 +0200 Define the conflicts_groups distro feature variable Change-Id: Ifab70b7634a724ef37958478f336161e7135752e commit 4c70668b97c387aff548cf8ba364287e280c98ff Author: Alexander Todorov Date: Mon Jan 12 13:07:14 2015 +0200 Deprecate workflow-installer-test in favor of the new --kickstart option available to all workflows Change-Id: Ic65a8fffdad63fe28866a05719486e282299ef31 commit 79cc6a79ca89424b3a7a09c966e7ea457b2e780a Author: mjia@redhat.com Date: Mon Feb 9 16:13:46 2015 +1000 clear rows in system_recipe_map for recipes that are aborted or cancelled Bug: 1173376 Change-Id: I9a05d72e1e37c465065f8627577d386138a5a0db commit c41df33314857a7faa26065040774b6d9ff15755 Author: Dan Callaghan Date: Wed Jan 28 14:42:07 2015 +1000 new option --reserve for workflow commands Bug: 1186719 Change-Id: I49b917705190504f360fc889f5ea84601ad6639c commit 1761722e5ca8eab56001d64f371df45bf851a008 Author: mjia@redhat.com Date: Tue Jan 27 16:14:40 2015 +1000 improve the system owner tab UI on the system page Change-Id: If40e9c7af7f8ad535b46a41c2f1974d4406afa91 commit f6cc34bc96b3fb70ee5674170beba761d7942e24 Author: Dan Callaghan Date: Mon Feb 16 17:42:52 2015 +1000 docs: literal-include shipped config files, as documentation for them Bug: 1149944 Change-Id: I774e139efce2e3f9667294656e8c6056dad7f594 commit 375de48450306d00c668decf48d304b3cc936ce4 Author: Dan Callaghan Date: Fri Jan 30 14:22:01 2015 +1000 expose restricted model variables to user kickstarts Bug: 1077251 Change-Id: I339490f849da731db7c2f55e1c9cc2d6633f120d commit 3246d2176e873f9bb0c24ad1273a54f82f7e225f Author: Dan Callaghan Date: Mon Feb 16 14:52:00 2015 +1000 remove pylint from check target We will continue to run pylint from the beaker-review-checks Jenkins job to ensure it is enforced on all patches. By removing it from the check target (and hence from the RPM build) we avoid having to deal with random pylint breakages preventing Beaker RPMs from being built. Change-Id: I3070a69659bdbeeb96738d9d44d29bc81b06b9ba commit 3065054b0b25f58c66c6220a005ac6c3c83f488c Author: Dan Callaghan Date: Mon Feb 16 14:43:03 2015 +1000 new suppressions for pylint 1.3 Change-Id: Id2413eb539bf7f17c52a97536271d10d138a1ef5 commit 157a9d9a958145f7f173c7990138fc0b67974a7c Author: Dan Callaghan Date: Mon Feb 16 15:23:43 2015 +1000 fix Sphinx warning about duplicate netaddr targets documentation/user-guide/customizing-installation.rst:2: WARNING: Duplicate explicit target name: "netaddr". Change-Id: I9a8bd07dd725d38b8ce323f73bbe7519dc2f1f14 commit c69d0f3abe87f8fac3423eed18aba92d3be17eb4 Author: Matt Jia Date: Thu Jan 8 15:50:33 2015 +1000 replace the executed tasks tab on the system page with backgrid.js Bug: 1122464 Change-Id: Ibc2cb1df4bde0f302bcabeb5ace37bc0d7ff43cf commit 2aeb8986b66ff813c44f0101fca2da68bdcbb491 Author: Alexander Todorov Date: Thu Jan 8 13:32:52 2015 +0200 Add a --kickstart option for all workflows. workflow-installer-test can be deprecated now Bug: 1184720 Change-Id: I7b65b33cd9cf276d4c4221c3cb7a965cc1ebb035 commit 945c102fad0b57bf8d0dee7695044c9be96416dd Author: Dan Callaghan Date: Fri Jan 23 13:19:32 2015 +1000 docs: flesh out docs for kickstart templates Added a section to the user docs with complete details of all the variables and constructs available to custom kickstart templates. Changed the admin kickstart template section to reference the user section, plus a description of the extra variables available for admins. ks= and ks_appends are also now mentioned in the user doc about customising the installation. Bug: 966348 Change-Id: I1e55436a2555a72bce9ac3214584ab5b7cab6fe7 commit b786c49f401e49e56b657ca250fc090cabf42535 Author: Dan Callaghan Date: Tue Jan 20 14:31:46 2015 +1000 docs: a few minor fixes to admin-guide/kickstarts.rst Change-Id: I76665403d5ba8c8e23e2da680a7e3271252bd090 commit c1a8f23a7905a11f292d59e169df9c5fb194266f Author: Dan Callaghan Date: Tue Jan 27 10:43:27 2015 +1000 avoid ORDER BY when counting rows in @json_collection The query from the decorated function is expected to have a default ordering pre-defined, which is fine, except when we issue the SELECT COUNT(*) query we need to avoid including the ORDER BY because MySQL is not smart enough to skip the ordering step when counting rows. So when the default ordering is used we can save a lot of query time by skipping the ORDER BY when issuing the count. Change-Id: I9332e2e1d9a53fea190f280a83b83e069d7bb422 commit 67ba0ccef97383e6fe76ec7ff35dd48ed1862146 Author: Dan Callaghan Date: Tue Jan 27 10:54:03 2015 +1000 add index on recipe_resource.fqdn This greatly improves the performance of queries on the Executed Tasks tab of the system page, since those query all include a WHERE clause recipe_resource.fqdn = ''. Change-Id: Iabd1392a7fe09cfc6af17e6ee42ce8c5dca493a8 commit 8a6349bcd5698f249179ca7b22560c71626bafcb Author: Alexander Todorov Date: Wed Jan 7 13:33:38 2015 +0200 add has_key distro feature variable Change-Id: I0d96744aab8fb30cab1dde88858c1ec59a3df01b commit 1c170478a2175b2a5eb348e84344600e3869ead0 Author: Amit Saha Date: Wed Nov 5 13:03:40 2014 +1000 Allow specifying custom netboot loader Bug: 1156036 Change-Id: I5fc3fa53e840674397ca40e6334f2ddf9abcab7a commit ec10d4d126901c1deff1060ff678fa26e1b83123 Author: Amit Saha Date: Wed Dec 24 09:58:44 2014 +1000 Fix up petitboot generation code The merged code in 68ecd3ff10201014349d9ba2b3d29e6e707dc502 needs this. Bug: 1163466 Change-Id: Ic596a52281bd2a94450f884e6166893d562be33b commit ed31fb26e3e05fccb34327c6d9724de4739076fa Author: Amit Saha Date: Wed Dec 10 15:41:39 2014 +1000 Valid kickstart meta variables are those understood by Beaker not cobbler commit 1b94e78b1db0f3da039bcaa82d6eafb7d1869f52 Author: mjia Date: Fri Nov 28 14:23:47 2014 +1000 SQLAlchemy: use the event API to replace the AttributeExtension AttributeExtension has been deprecated since SQLAlchemy 0.7 and pylint is complaining it in SQLAlchemy 0.9. Change-Id: Iae489db35e8bf7da374004803e1d55ec91540723 commit 0d300382af8fb586914a4d787924161fb8233ce1 Author: mjia Date: Mon Dec 1 12:04:52 2014 +1000 disable pylint E1120 check Change-Id: I1e0b45e2fdec7aca0896c8e8147cba489ec20c9c commit 62b430677d2fec96688f9b064e077dab6887a86c Author: mjia Date: Thu Nov 27 14:22:24 2014 +1000 make server tests compatible with SQLAlchemy 0.9 Change-Id: Ide13d020c387792ac818fd7928c6d206a1f2a734 commit 49b890587efad4eda52a8540faf2771c03de9877 Author: Amit Saha Date: Tue Nov 25 10:47:16 2014 +1000 Allow configuring "base directory" for the TFTP images/netboot config files Change-Id: I9d7457ef4f26a2cd42c72e047f0a893cecd2c447 commit 6c8c57bdc720fe6c838fdea87a7d265bd39a4da7 Author: Dan Callaghan Date: Wed Nov 26 13:39:44 2014 +1000 uncomment whats-new/next for develop commit 41b2ae0493cadbead56db19bd45d5fd39e908f90 Author: Dan Callaghan Date: Wed Nov 19 11:21:15 2014 +1000 ensure postinstall_done is the last %post action Bug: 1109614 Change-Id: Id3f37d90bd5b8bd4784e1ea379e08df79a64fffd commit a254e8cb9b545d42a6c1401b2e9b3390c04500ff Author: Dan Callaghan Date: Wed Nov 19 14:55:06 2014 +1000 tests: show complete diff in assertion message for kickstart tests The diffs are really long and often noisy but I don't care. It's still easier than trying to debug a failure in dogfood where you have no access to the tmp files that are left behind by the failures. Not leaking tmp files on failure is really a bonus as well. Change-Id: If25b29358869f9e071182356b892268c933ad8d9 commit b0863ae23eb36e5c7dd614bd78b1db8da368f352 Author: Dan Callaghan Date: Tue Nov 11 13:55:12 2014 +1000 replace backrefs with back_populates Bug: 1124804 Change-Id: I8dbffafaa3ca7ec05cf27677e3a6c53f1201d28e commit 5ef43d2771bb0d02e424513fc8a16ed7f443a243 Author: Dan Callaghan Date: Wed Nov 12 20:03:20 2014 +1000 remove separation of host–guest task roles Bug: 960434 Change-Id: I5f0992df2dfc30baa1dbb43b477f3d71b324993f commit 8bca7cdb39d7bca94a780735027732d8ed968bf1 Author: Dan Callaghan Date: Thu Nov 13 13:41:28 2014 +1000 tests: test bkr policy-grant/revoke with multiple permissions Demonstrates that bug 1021924 is not a bug. Change-Id: I4ecd81610b98832712c4c783817bfaa282516b02