commit 03016b3054f7b859d18c130c983085cd073c87ce Author: Nick Coghlan Date: Mon Jan 14 13:31:53 2013 +1000 Automatic commit of package [beaker] release [0.11.0-1]. Change-Id: Ib01c9f44d2346572636a0ac417c795b711a6efd4 commit e9d2dc6241a5a11f73dd5193c485c3b411690127 Author: Nick Coghlan Date: Fri Jan 11 17:32:04 2013 +1000 Restructure Sphinx docs Change-Id: I1461543dfe01b3206ca642dae50e05a307c6024b commit b9d706514b67609ecb56c124312ad464892c687f Author: Dan Callaghan Date: Mon Jan 14 11:23:56 2013 +1000 restore /start result recording in install_start This got lost along the way somewhere with commit 662d94ee. It will change in a future release when we have a Provisioning state, but for now we will keep compatibility with how it currently works. Also added a test for install_start, and reshuffled some data setup out of necessity. Bug: 591656 Change-Id: I62077daf83b0b2a4d807fa78738bd6e5b118a987 commit 54dad86539fe06166ce583eb107b71f775a546ee Author: Dan Callaghan Date: Fri Jan 11 16:10:26 2013 +1000 docs: merge Installation Guide into Admin and User Guides Change-Id: Id9168dcca7c83337617defca0898ac2540b3c094 commit b50bf8efcf182a5259377f92027808c2b7a8d651 Author: Raymond Mancy Date: Fri Jan 11 12:22:40 2013 +1000 Remove uniquely MySQL time functions Change-Id: I229bae4cb7e0c84fffae32ae3e661994ba82b361 commit f9bd28aae34044713488a5c755a8b98b264b045b Author: Dan Callaghan Date: Fri Jan 11 13:12:09 2013 +1000 docs: fix a couple of links missed in the sphinx conversion Change-Id: I20a67269e9d4db73283fa8510c6c0e698cf104d8 commit 463ac2b30cee079efd0e66f3652cc32f4542fdf9 Author: Dan Callaghan Date: Fri Jan 11 11:28:15 2013 +1000 docs: use sentence case for headings This adheres to the IBM Style Guide for capitalisation. I'm not updating the Installation Guide in this patch as I have other plans for it. Change-Id: I5652dcaedc287135bcb2d8f16c0bfc423a7d8d5b commit b80f7ebffd8c872f354db96dc2301ebbb059d9ea Author: Raymond Mancy Date: Fri Jan 11 09:38:28 2013 +1000 Make job priority query more robust commit a000dd1ebf9c735bb04f6c13ed26bbfec97f272c Author: Nick Coghlan Date: Thu Jan 10 17:14:40 2013 +1000 Guidelines for supported query development Capturing today's IRC discussions in a more appropriate place. Also note some of the common MySQL -> Teiid conversions Change-Id: I8d2382ae58871d3ba0a2185de2090e5d3a1cbc16 commit ec29c1d82ea3dbf282f5146d8e7533e8738a9c92 Author: Dan Callaghan Date: Thu Jan 10 17:16:05 2013 +1000 a few fixes for task-durations-by-arch.sql Made it consistent with other reporting queries in terms of clamping recipe-task ranges to the reporting range. Removed unneeded YEAR_MONTH grouped expression. The resulting query doesn't use any MySQL-isms. Bug: 877272 Change-Id: Ic5b834dd791ac1e3f6c95b9fda96a2788592500d commit 9e1cf01d68c0b4bb24648f90df0a259a61ef02f0 Author: Raymond Mancy Date: Wed Jan 9 13:55:19 2013 +1000 Fix test_resource_install_failures to pass in test suite Change-Id: I262dfcbeea91e052336a394c57ac22624668b4e4 commit 63ed3e4070c1f6c1f81585790d1b3faba6261bee Author: Raymond Mancy Date: Thu Jan 10 16:50:43 2013 +1000 Make job-priority-changes-by-user more teiid friendly Change-Id: I7c1601f3f77bdf9715a10affb6f7596ac13eb0e8 commit 233b38d09a72c5c961e2a92c10cee274ccd5e91b Author: Dan Callaghan Date: Thu Jan 10 16:52:12 2013 +1000 more SQL92 compliance GREATEST and LEAST are MySQL-isms. Bug: 877264 Change-Id: Id98d565dd81c8b3c55bbbd3fcd45352c54b85c04 commit d169d749cf976330d941e956cfddbfea8f9a6879 Author: Nick Coghlan Date: Thu Jan 10 16:24:33 2013 +1000 Make the SQL dialect for supported queries explcit Change-Id: Ic5592a36c354384a9dbd63e72c4dbfae975b33d4 commit 22bd88f171be33ee19548b094413eb12eaf016e7 Author: Dan Callaghan Date: Thu Jan 10 15:27:47 2013 +1000 fix queries to be more SQL92-compliant Specifically we need to avoid grouping by expressions, or selecting non-grouped non-aggregated columns. This way the queries should be executable in Teiid. Bug: 193142 Change-Id: I0858f4bc9b6e7a4992528cecc17685b92fe4bb18 commit 560bf435a8688ae33c1bda4f52e4f36f9305158f Author: Dan Callaghan Date: Wed Jan 9 16:08:22 2013 +1000 docs: fix a bunch of spelling errors Change-Id: I2be6c6ec1547cf2c528134795935608cf7370c7a commit 84205fbc87891deac2ca2d13b6f6541353c7297c Author: Dan Callaghan Date: Wed Jan 9 15:24:36 2013 +1000 docs: missed converting one HTML admonition Change-Id: I9db8cb2248c2c72250372d1fd4486f79ab63032d commit 52afcbcfc87e34b1566882c8ecb4e5d981f704c7 Author: Dan Callaghan Date: Wed Jan 9 14:47:11 2013 +1000 docs: add missing system content from components.xml The DocBook version of the Beaker Guide contained a file components.xml, which was not referenced in the actual book and was mostly duplicate content. It did have a few useful bits which belong on the Systems page however. This content is rescued from pub_doc/Beaker_Guide/en-US/components.xml in commit bf25a01e. Change-Id: I256320da751c3bbb0a4d6c4f232abc5683668d1f commit c2e314d23c58ddfeaa0710d1a88b961bc3d3b181 Author: Dan Callaghan Date: Wed Jan 9 11:02:09 2013 +1000 docs: port user guide to sphinx Change-Id: I3b7437afb7e78410507ebe6b5b84c66aed9e503f commit 6fc3138bedbc4380edd923e7de623b93ec3ba6e9 Author: Nick Coghlan Date: Tue Jan 8 14:25:13 2013 +1000 Improve BI and reporting docs - detailed explanation of current Graphite gauges - specific suggestions for tweaking BI queries - describe the process for requesting new supported queries Change-Id: I7336bd9fe365d5d5be20fe515e10f33ea71a1a37 commit c157e9de22c4f4903647ed8d1ef785386633e631 Author: Dan Callaghan Date: Wed Jan 9 12:45:22 2013 +1000 split machine-hours query into two: one by recipe, one by reservation The original query was really "recipe-hours", since it was from the point of view of recipes, which means it includes time spent running on RHEV but doesn't cover manual reservations. Added a second query for "machine-hours", from the point of view of system reservations, which means it includes manual reservations but not time spent running on RHEV. It doesn't really make sense to try and combine them, especially given the difficulties with the arch breakdown on the reservation side (due to systems supporting multiple arches). Bug: 877264 Change-Id: Iaaa580899e05fa976e1bd448e6242965e8ac0f53 commit 7a9201f57ef42ab8fccd7dce43f414cba0e8b50b Author: Dan Callaghan Date: Wed Jan 9 11:01:55 2013 +1000 docs: port admin guide to sphinx Change-Id: I1ce8ccfc440f4856a5b6db331fbd8695c09986c5 commit fdd3d9b71845426427efcf0b4d0f312be176b39e Author: Raymond Mancy Date: Tue Jan 8 15:59:25 2013 +1000 Change all instances of 'All Virt' to 'All oVirt' in reporting queries commit bd82cd8aa88943ab5702e24586c0f4238c786d1a Author: Raymond Mancy Date: Tue Jan 8 15:52:43 2013 +1000 Remove reference to 'count' in SQL report as it is not applicable. commit 2b380c08d6ae47815b242e24748a67d09fa0f1d6 Author: Raymond Mancy Date: Mon Jan 7 23:57:22 2013 +1000 Measure time between recipe_set enqueue and recipe start Bug: 591656 Change-Id: I3000d675e159028a812c84aeca297cfced4626d1 commit f166743a3aeb94149c61b1773f99050c17fa0ec1 Author: Raymond Mancy Date: Mon Jan 7 09:42:27 2013 +1000 Change report name to be a href to the report URL on external reports page Change-Id: I368574f4e31f998f8aa3bb440acc6b43e6a4d0ad commit 5d89c896881a40acf3d915b57ef4b6ece8d8d34b Author: Dan Callaghan Date: Mon Jan 7 14:30:23 2013 +1000 rearrange system-breakages reporting query so that it works in Teiid Change-Id: Ibea1a32d73caa17f28107448c080030919f82d6c commit ce3c0c0b1bbb099c48e5a0726f45cbf723db11d3 Author: Dan Callaghan Date: Mon Jan 7 11:42:19 2013 +1000 docs: fix recipe graphite URL (needs .all) Change-Id: I8953bd9cdf4824b18ffa9d3ccb00011f1dfa9fc6 commit a37e137f2fb2556db25c66ae18b189151a4d036d Author: Nick Coghlan Date: Fri Jan 4 17:31:15 2013 +1000 Document sudo configuration requirements Bug: 843854 Change-Id: I5b557e3ca89ab242a118be6c3be3047a18f218e1 commit f66b7a1a2feb2efbcb888dcd795ca55e52aa0d24 Author: Nick Coghlan Date: Thu Jan 3 18:09:01 2013 +1000 Make utilisation metrics compatible with SQLA 0.7 Change-Id: I46f98cbad70355e7cf3c272901452bfcc02fd2c0 commit b2fc60fcf7550865fdcff73e9555728227f0c3c7 Author: Nick Coghlan Date: Thu Jan 3 18:07:57 2013 +1000 Fix broken query in recipe metrics collection Also adds unit tests for metrics reporting functions in beakerd Bug: 584783 Change-Id: Iab8cb12f48224912d28c65cace87fb6a7e482bf1 commit e3a5c9ed5725a442b82c298b0e59391f3d4a440c Author: Dan Callaghan Date: Fri Jan 4 16:35:20 2013 +1000 make STABLE really be the default value for --tag in bkr workflow commands Currently the default distro tag filter in bkr workflow commands is STABLE, but only when generating job XML (and only if a specific distro is not named). That means if the workflow command does some other processing based on the tags given, it may come out inconsistent. In this particular case, bkr machine-test with no --tag option would find all the possible osmajor-arch combinations for a system, but then submit in the resulting job which could fail if no distros are tagged STABLE. This patch makes STABLE be treated as the default *everywhere* if no --tag option is given. (Unfortunately it's a quirk of optparse that we cannot just pass default=['STABLE'] to the add_option method, because then any --tag options would be appended to STABLE instead of replacing it.) Bug: 876752 Change-Id: I6b6720fc52afa3744cb59d5d187dcef252583679 commit 60e9a5b4cdff7bfbc166901560c5ad0314c8741b Author: Dan Callaghan Date: Fri Jan 4 14:16:23 2013 +1000 fix missing import for get_osmajor_arches Change-Id: Ie4dc1c80fa47cbfdb5196d1e486ac5aef1231a64 commit ff6452cd19152d8feccbaf3e1a8b387bf6f72bff Author: Raymond Mancy Date: Thu Jan 3 13:00:47 2013 +1000 Made URL field for external reports max of 10,000 chars commit 86c44c659179de0048f0870cdf302ea4051cb542 Author: Dan Callaghan Date: Wed Jan 2 16:24:06 2013 +1000 docs: remove some excessive nesting of sections in the User Guide The main goal is to eliminate the seventh level headings which are not even possible to render in HTML. But this hopefully makes the structure a bit more sensible and produces a saner ToC as well. Change-Id: I31fd100b5129b2fcbcb3d3a346ac698fc75ece5e commit a48b59262a301fea13cdd8175a64da03d102ca90 Author: Raymond Mancy Date: Wed Jan 2 16:01:54 2013 +1000 Fix for regression that caused manually powered machines to fail at 'install_start' commit 3c6d9b5c8e960722166a97a31f86a7ad79d75289 Author: Raymond Mancy Date: Fri Dec 21 13:08:09 2012 +1000 SQL query for reporting job priority bump by user Bug: 877274 Change-Id: I26083f890943f6de7455d2da324515054b55ea87 commit 8e050b90acab45ff8c2ebaee57834fc18a7f7313 Author: Raymond Mancy Date: Thu Dec 20 14:03:29 2012 +1000 Do not allow the 'Return' of a system via the WebUI if it's running a recipe Bug: 888673 Change-Id: I20aad529728e5d09ed2126229737a3ee5a1c30fb commit 024ba7644e5254a1b44001b675e4d49141114213 Author: Nick Coghlan Date: Thu Dec 20 15:42:06 2012 +1000 Add quiet mode to checkbugs and avoid false alarms New quiet mode (-q, --quiet) only displays errors Error messages updated to be meaningful in quiet mode Script now fails if local git branch is out of date Commit merges are checked only for the 'beaker' project Any milestone is acceptable if hot fix flag is set Change-Id: I5a4ad82405d4423f3af4ef0f3b96136c022ebac0 commit d879493ad9582a19770bd52aee669b7151fc9664 Author: Dan Callaghan Date: Thu Dec 20 16:12:09 2012 +1000 docs: fix suggested Graphite URL for utilisation graph Bug: 839583 Change-Id: I05ba9107cb5b0ad782735e06cdb7cacfcb0204c2 commit 9d3b91362af6a79c405052238aff446ba14a502b Author: Raymond Mancy Date: Thu Dec 20 00:26:16 2012 +1000 SQL reporting query for the duration of an installation Bug: 591656 commit fb4531fccdae32c15d262f91fc92082cc9d8b5ca Author: Raymond Mancy Date: Wed Dec 19 16:33:23 2012 +1000 SQL query for reporting resource install failures Bug: 591656 Change-Id: Ica6541d7741d45f2ceb5be189ef6073597101f48 commit 4aa6db27cedb8452d4df6645776f68bc94a50b1c Author: Raymond Mancy Date: Tue Dec 11 17:26:59 2012 +1000 Ensure watchdogs with NULL kill_time are not reported as active Bug: 883668 Change-Id: I348bbc98e0fbfdafe682ac708ee9fe6ba9ea9baf commit 662d94ee8d5abe44aec02a24d1f37dd9d2d06763 Author: Raymond Mancy Date: Mon Dec 17 14:43:13 2012 +1000 Record installation progress of recipe Bug: 591656 Change-Id: I653da84790519053e17fa5f93cfbc03792b162be commit 45974f94f72dc70d688fb1b379b486fd95a99232 Author: Dan Callaghan Date: Wed Dec 19 14:07:36 2012 +1000 docs: point out new reporting queries Change-Id: I27bafe6abf074cd6259cb9251c0c76e939ca7b78 commit 79ae56cc6a1707a02febab733c39d35057202e04 Author: Dan Callaghan Date: Wed Dec 19 13:14:13 2012 +1000 queries for system breakages Bug: 741960 Change-Id: I78af10f50487b7a03b9b9eb10fb7fb643dac4f80 commit 375a9b67ca854513fa365343e708eb47762086c0 Author: Raymond Mancy Date: Tue Dec 18 23:10:27 2012 +1000 Set engine type to 'InnoDB' for external_reports tables commit d638422245f979d928e7454fa0357062eb1da0e3 Author: Nick Coghlan Date: Mon Dec 17 16:29:44 2012 +1000 Report recipe statistics to Graphite Adds real-time metrics for overall recipe status, as well as per arch. Bug: 584783 Change-Id: Ic1b87aadff8397108d504f73617166eb9a8535a1 commit b642db8f6f100e3ef975eaaeeb1ff84ee421882b Author: Dan Callaghan Date: Tue Dec 18 16:52:35 2012 +1000 queries for system reporting Bug: 193142 Change-Id: I042d46a253cf914aef2e916e6f844d704198e3d9 commit 8dee9fc0e8b51706210b2ab13607d0e61baed4e3 Author: Raymond Mancy Date: Fri Dec 14 17:45:57 2012 +1000 External Reports page Introduced first declarative class as well Bug: 883606 Change-Id: I8b213eb8960812d3c2c5cf58cee8ad462c73f34e commit 9ef2b0893afc722740c41f284024232f40c349a0 Author: Dan Callaghan Date: Fri Dec 14 14:11:41 2012 +1000 per-osmajor install options Bug: 873714 Change-Id: I9bab42c58008f77988e1c27865e7576c3a33ed11 commit 4589ee0131aeb3c12d9162235c232d2c5a4d88f5 Author: Dan Callaghan Date: Mon Dec 17 18:45:17 2012 +1000 query for reporting task durations Bug: 877272 Change-Id: I30361a9534bc84f46a8ab85a79af222eef6dd73e commit 17770b8a7539dc9ff156168ee8a98d0778e05d61 Author: Dan Callaghan Date: Mon Dec 17 17:58:37 2012 +1000 query for reporting user machine hours Bug: 877264 Change-Id: I31b5e6dc5c0423bae493164007d5bdfaaada01f9 commit 293723731a2743afa27cf8ad7439acb159fe4a4f Author: Dan Callaghan Date: Fri Dec 14 16:29:52 2012 +1000 don't log every metric sent to Graphite This will fill up server-debug.log way too quickly, now that we have lots of metrics. Change-Id: I9ca0d095939407aab070e24dd71e31e8882bd044 commit 049b3b2414d5ba48994948652225cdb71ee816de Author: Dan Callaghan Date: Fri Dec 14 14:55:38 2012 +1000 /distribution/beaker/setup: make /tmp/tito/noarch/ a yum repo when installing git builds The problem with installing certain RPMs directly from /tmp/tito/noarch is that it can cause dependency conflicts on the beaker base package if other subpackages are already installed (for example, upgrading beaker-server when beaker-lab-controller is already installed). The simplest thing is to make /tmp/tito/noarch/ a yum repo and let yum figure everything out. Change-Id: Ie4b3d798d1ab005d0d6be26d989776abeb7ee7e7 commit 76a811295c3b7a31f800e951b9d8dfce717cffa7 Author: Nick Coghlan Date: Fri Dec 14 16:04:44 2012 +1000 Fix issues with sudoers configuration Bug: 843854 Change-Id: Ib1610dc82037b0b87a526b21afb0bb096b73f1ad commit 96ed3c3764f8ce555db764b93b8e81fc03dafb85 Author: Nick Coghlan Date: Fri Dec 14 14:45:31 2012 +1000 Explicit sudo dependency for beaker-lab-controller Bug: 843854 Change-Id: I3a18d67d2c96cf39cde681e2f85ffd60bf670cea commit 35e6bb1f9b47899d2339f2ae36ad47155339caab Author: Nick Coghlan Date: Thu Dec 13 12:54:26 2012 +1000 Clear netboot config files synchronously in %post To allow beaker-proxy to clear the TFTP server files owned by root, the operation is executed via sudo. This permits us to take advantage of OS provided access control mechanisms rather than inventing something to secure a local socket connection or running the entire proxy daemon with root access. Bug: 843854 Change-Id: I4455e61ccc860089acd60a1700cb746d56de6140 commit e3f30ebbc879a50689be307ff7fa0ae85b1e6daa Author: Nick Coghlan Date: Thu Dec 13 12:58:24 2012 +1000 Make bootloader configuration less magical Change-Id: I2233ddddbdd5232710fe271b9841c4dd24395e1a commit 5a27a95ac4d2a2b27d31dd9c0faeb9bc405ba00a Author: Nick Coghlan Date: Thu Dec 13 12:57:37 2012 +1000 Include recipe ID in install_start log message Change-Id: I57963e1dc571f6660964b36e7740457c9a6856e8 commit f7f5ef5b970dfe3d2a32ac1113145462a6f2315e Author: Nick Coghlan Date: Wed Dec 12 18:41:10 2012 +1000 Expose API to report already completed commands Bug: 843854 Change-Id: I2d4bdb636ed49d92a84c1a08939b8d919159024b commit f3f00561e7f0cc7615d66f539469288a6c05e1cc Author: Dan Callaghan Date: Thu Dec 13 10:46:09 2012 +1000 send system utilisation metrics broken down by arch and lab Also renamed the 'total' metric to 'all', since it won't necessarily be a sum of the grouped metrics (for example a system can have multiple arches). Bug: 695986 Change-Id: I88584264af992cd707a7c467c738c599e36d458b commit 46d44142dbff6bb10b641b792c84bf5fcf46c3d5 Author: Dan Callaghan Date: Thu Dec 13 10:33:33 2012 +1000 send system utilisation metrics Bug: 839583 Change-Id: Ic57b88e3bbcefb1e2738f416eb5b06b33ddcda7e commit eb2e63e0bad0dea6c7f9648f55880b4f100cc6e9 Author: Dan Callaghan Date: Thu Dec 13 10:23:26 2012 +1000 docs: autofs is needed on RHEV hypervisors Change-Id: I8aa3758c0c35980bac2d0283153875d0b10e0358 commit cb9ac9c7017b710164357e300e890a26528f754e Author: Dan Callaghan Date: Wed Dec 12 16:45:41 2012 +1000 docs: describe Graphite integration in admin guide Bug: 839583 Change-Id: If15e0c250d2005c21747c8205a18af5881676a5e commit 1aa726f9069201ccca2f3dc1e85af2e3bb792340 Author: Dan Callaghan Date: Wed Dec 12 16:01:38 2012 +1000 /distribution/beaker/setup: don't run builds in parallel When run in standalone mode (server and lab controller) the two code paths are run in parallel, in separate background shells. When both code paths attempt to do a git build they trample over each other in weird ways. Change-Id: Id0f71829cb19cf23503265c06bdb2f011ea1dfad commit f04284a0197df72de688254b09e71d73b1596cc3 Author: Raymond Mancy Date: Fri Dec 7 14:06:58 2012 +1000 Initial conversion of docbook to markdown docs. Change-Id: Ib7fc15a78e1f3507cf81c3e5e85f745eacec3728 commit d2775c192319b4f8ac9b41155be8e178a33fd028 Author: Nick Coghlan Date: Fri Dec 7 18:41:28 2012 +1000 Emit most bootloader config files for every arch Adjust the netboot code to emit most bootloader config files for all arches to more seamlessly handle changes in bootloader platform support. Bug: 843854 Change-Id: I11dda2aba7ef4d88b9d70c822c0d00ffda71931f commit efa8d062c767b69b6efda16c6d3caf765f2c1694 Author: Dan Callaghan Date: Thu Nov 29 10:48:19 2012 +1000 delete rendered_kickstart rows when recipes are deleted Bug: 872001 Change-Id: I8297c0ecd053cf5159fc7b32ae1f38ea5c8ae245 commit 6f8300e2670813c2c4d27c9a00e588d5e27f3773 Author: Dan Callaghan Date: Wed Dec 12 10:38:39 2012 +1000 *really* ensure Jobs are not added to the session until fully populated Same idea as commit a38896c but takes it further, so that it works also with multi-host recipesets and guestrecipes. Bug: 869455 Change-Id: I833718fbbc48b4085fd0f431576652b1f6ddf409 commit a33863c9ade2a1b62f40807127e9b5b42ab0f78b Author: Dan Callaghan Date: Tue Dec 11 10:51:12 2012 +1000 if oVirt is enabled, don't abort recipes with no candidate systems Bug: 885554 Change-Id: I08c3aa2eee0bdabb7679aeedda437638462eaca4 commit 1d2309b249fc661119e5bf8a60ff19dedc2666e2 Author: Dan Callaghan Date: Mon Dec 10 13:51:26 2012 +1000 clean up transaction handling and exception handling in beakerd Bug: 880853 Change-Id: I1cc066ce996ec395570cda38cb4816cfb5b84339 commit 53af8b57ccfb5262b061f4aa6e806f32c15aafe7 Author: Dan Callaghan Date: Fri Dec 7 17:32:14 2012 +1000 /distribution/beaker/setup: fix up git builds to actually work Also added a facility for fetching an arbitrary ref from an arbitrary remote, after the initial clone. This is useful for building patches directly from Gerrit, for example. Change-Id: I7b8d1d9e0d67414eb9a4df6b0e34ee9094c4b586 commit 940d8d19c397b5b4391c8090a7ac8dbecc2a40ea Author: Dan Callaghan Date: Thu Dec 6 10:07:35 2012 +1000 bkr machine-test should filter out excluded families Based on a patch contributed by Bill Peck . Bug: 876752 Change-Id: I1bf65bf86fcff18183cad55d5c8c2864c183d233 commit af80724d855b4bdc05c643ae55aaa23cd3fe6af0 Author: Dan Callaghan Date: Thu Dec 6 11:13:41 2012 +1000 clean up bkr workflow usage message Re-ordered and grouped options to be more logical and updated help texts for consistency. Change-Id: I31938cce8dcac174d1fd0bcd34c87c9220f7a45c commit ef2311ef87e98fc4d602bd1208040589b3264958 Author: Amit Saha Date: Wed Dec 5 12:22:38 2012 +1000 Link to possible systems broken when the Server is installed in a sub-directory. This should fix it. Change-Id: If6a8aa367fc6de0d949f103d1e91b0ba837f62f5 commit aab8dad793d33e4f5eb88565168ad1b08f0ad228 Author: Dan Callaghan Date: Wed Dec 5 09:03:53 2012 +1000 make a note about why recipes only expire when the entire recipe set is expired Since this question comes up regularly I thought it would be good to make a note of it here. Change-Id: I58680996414863769a5acaf69dbcfcee54254e08 commit cdf84a25aff4b42a269c54fe7c386df8514ea340 Author: Amit Saha Date: Wed Nov 28 12:55:25 2012 +1000 Documentation for creating a simple task. Updated for beaker-wizard. Bug: 872428 Change-Id: I2ecce57ffb1b4152805ee3e66a7bbe79d9326189 commit bbde8d087459ab6a94036c0b12f8daca7d4c37d3 Author: Qixiang Wan Date: Tue Dec 4 11:59:39 2012 +0800 CPU speed value should be float type in filtering Bug: 883214 Change-Id: Ia3ac7d3d6fbc7c6eceeb371606a1e60e789a7e5c commit 0f07bb616c2bbb4b800684945f992075fd02aefb Author: Dan Callaghan Date: Tue Dec 4 13:36:24 2012 +1000 two-argument .join() is not accepted in sqlalchemy 0.7 Traceback (most recent call last): File "src/bkr/inttest/server/test_kickstart.py", line 1020, in test_beaker_url ''', self.system) File "src/bkr/inttest/server/test_kickstart.py", line 272, in provision_recipe recipe.provision() File "../Server/bkr/server/model.py", line 5118, in provision .combined_with(self.generated_install_options())\ File "../Server/bkr/server/model.py", line 4699, in generated_install_options 'packages': ':'.join(p.package for p in self.packages), File "../Server/bkr/server/model.py", line 4805, in _get_packages .select_from(RecipeTask).join(Task, Task.required) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 1638, in join from_joinpoint=from_joinpoint) File "", line 1, in File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 50, in generate fn(self, *args[1:], **kw) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 1767, in _join outerjoin, create_aliases, prop) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 1791, in _join_left_to_right prop) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 1820, in _prepare_right_side "the right side of join condition %s" % (right, onclause) InvalidRequestError: Join target does not correspond to the right side of join condition Task.required Change-Id: I750418194fee6f685e31e4f4c8f0ac010ca469d1 commit 84ac094fc5f5748c335ed48f6f5a2c7b4ffab469 Author: Dan Callaghan Date: Tue Dec 4 13:35:25 2012 +1000 fix a bunch of Unicode type warnings Change-Id: I97efd3e1040179ba0c1106dda0e211b2bd2ed00b commit 70667a39b908474b594c69bf6b3c07747552e598 Author: Dan Callaghan Date: Tue Dec 4 13:32:13 2012 +1000 fix rhts_partitions syntax error with Jinja 2.6 Apparently the 'set' statement accepts an empty RHS in Jinja 2.2 (RHEL6) but not in Jinja 2.6 (Fedora). Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/bkr/server/tools/beakerd.py", line 549, in scheduled_recipes recipe.provision() File "/usr/lib/python2.6/site-packages/bkr/server/model.py", line 5188, in provision recipe=self, ks_appends=ks_appends) File "/usr/lib/python2.6/site-packages/bkr/server/kickstart.py", line 215, in generate_kickstart result = template.render(context) File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 894, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python2.6/site-packages/bkr/server/snippets/rhts_partitions", line 55, in template {% set myfstype = %} TemplateSyntaxError: Expected an expression, got 'end of statement block' Change-Id: I1106280a53ddb0a0ab113d2933ab6f9a56140252 commit fd5b9d04dafc188620dbadfbc585be443343c33d Author: Qixiang Wan Date: Mon Dec 3 16:49:27 2012 +0800 Declare 'op' attribute as optional 'op' attribute is declared as mandatory in current beaker-job.rng for many elements where it is not actually mandatory. Now it's decalered as an optional attribute. Its default value is == when it's not given explicitly. And it's not necessary to declare the references to the name patterns "op" and "equality_op" as optional in schema now, which means: can just go with: Bug: 880899 Change-Id: Icb47ee36eea59c01af575ae798898a074f11752f commit d847c6b948c2bf7fae92287d3b55ecbba90b52b1 Author: Raymond Mancy Date: Mon Dec 3 10:31:16 2012 +1000 Users can now change their passwords (if applicable) Bug: 865676 Change-Id: I91a5f12421614e6f3266813a9f403ee3881bebc0 commit 7b5091fc212f6b1ae472438a119e6a85ec98e70d Author: Bill Peck Date: Wed Nov 14 09:15:49 2012 -0500 Allow default timezone to be set at each lab Bug: 876582 Change-Id: Ic45f418a765d8ecc5b5a0c0a99fc599dfee01d57 commit 2494d445df70549789eaf3d8ab5858287a7bced1 Author: Dan Callaghan Date: Thu Nov 29 16:18:17 2012 +1000 upgrade notes to ensure recipe.recipe_set_id and recipe_set.job_id are not NULLable Bug: 881563 Change-Id: Ica3a89ff4118b04a5e323a555bd1818c20218f24 commit a65ee4d018fb7d0218a22bece5c722b8086fa094 Author: Dan Callaghan Date: Tue Nov 27 16:16:14 2012 +1000 Lab controller daemons now use python-daemon Based on a patch contributed by James de Vries . Bug: 813574 Change-Id: I2bb089b512e5753e9de05d82b0d675c8af67281f commit 82666e25032bd19a0c8ff36d780b3403e67cbd1a Author: Dan Callaghan Date: Tue Nov 27 14:35:17 2012 +1000 checkbugs.py: no trailing .0 on milestones Change-Id: If5813356a3517e80beff2b782185e983f2792bde commit 18a996e7907f0302bc89efd37bc04ecd4a9be341 Author: Dan Callaghan Date: Tue Nov 27 14:17:39 2012 +1000 escape shell metachars when writing to /etc/yum.repos.d Bug: 880039 Change-Id: I55d4606204fc443836f8dce9f853883a7c69fcf1 commit 7c5ab3eec2bea11ae591a96f0c3acddc982f6602 Author: Dan Callaghan Date: Tue Nov 27 14:04:49 2012 +1000 exclude repo URLs containing $ from Anaconda Bug: 869758 Change-Id: I8fd3b0513ae332a81e92adee3617b16c11e84b99 commit 0eafa0c772d32ebda994077dd0b850f8a59c8ef5 Author: Dan Callaghan Date: Tue Nov 27 13:33:44 2012 +1000 linkdelay kickstart metadata variable, for adding LINKDELAY to ifcfg-* Bug: 865680 Change-Id: I5e12c025593f166e45b01aa542110da812849f91 commit b537b76599c6a82e682b9f6da821c1b75416a66a Author: Dan Callaghan Date: Tue Nov 27 11:17:50 2012 +1000 fstype kickstart metadata The part command in kickstarts will not use the --fstype option unless it's explicitly set in kickstart metadata variables. Based on a patch contributed by Jun'ichi NOMURA . Bug: 865679 Change-Id: I3ca7fe991961d46c7b48ee8c21daf39d3063c486 commit e726909d6395e94e86942de4107240caecdcd34c Author: Dan Callaghan Date: Tue Nov 27 10:27:24 2012 +1000 identity.provider should not be set in server config Bug: 880424 Change-Id: I4dc5bd76ced172403bc68ecc738b81e1fb69b307 commit 977deee6cc3a9da323671a60b08ba36411cc907d Author: Dan Callaghan Date: Mon Nov 12 09:56:30 2012 +1000 fix typos in CPU flag filter Bug: 875535 Change-Id: I1489f89740a7e5c9bf3161ac13ec0a17153c7ce2 commit 125db0d23e37b8258914221dc52fca9673a994ef Author: Dan Callaghan Date: Fri Nov 9 08:40:23 2012 +1000 checkbugs.py: update for new bug states Change-Id: Icc6e1b7ef58bedd28bbf6ef72e4be94f1a8183f6 commit 3ad3f7d611c10635f73edc95f2e12fd7adb02bab Author: Dan Callaghan Date: Fri Nov 9 08:37:10 2012 +1000 checkbugs.py: check target milestone is set correctly Change-Id: Ib1c6c9cef4c4594d747759d2efb511b24a3d8eb9