From c09e8b254126b1a95eaf79d85e87711a607f11e6 Mon Sep 17 00:00:00 2001 From: Marc Savy Date: Thu, 22 Mar 2012 01:34:09 +0000 Subject: [PATCH 1/2] 0.10.1 blogpost --- _config/releases.yml | 1 + ...-03-19-boxgrinder-build-0-10-1-released.md | 66 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 blog/2012-03-19-boxgrinder-build-0-10-1-released.md diff --git a/_config/releases.yml b/_config/releases.yml index 1e7c92c..3b1582a 100644 --- a/_config/releases.yml +++ b/_config/releases.yml @@ -1,3 +1,4 @@ +- version: 0.10.1 - version: 0.10.0 - version: 0.9.8 - version: 0.9.7 diff --git a/blog/2012-03-19-boxgrinder-build-0-10-1-released.md b/blog/2012-03-19-boxgrinder-build-0-10-1-released.md new file mode 100644 index 0000000..55fcb78 --- /dev/null +++ b/blog/2012-03-19-boxgrinder-build-0-10-1-released.md @@ -0,0 +1,66 @@ +--- +title: "BoxGrinder 0.10.1 Released" +author: 'Marc Savy' +layout: blog +version: 0.10.1 +timestamp: 2012-03-22t15:00:00.10+00:00 +tags: [ boxgrinder_build ] +--- + +The long-awaited BoxGrinder Build 0.10.1 bugfix release is now available; with a variety of irritation eliminating alterations behaviour should be more consistent, and no longer prone to permissions errors. + +## Permission denied, log shifting errors +If you have seen any errors akin to: + + FATAL -- : Logger::ShiftingError: Shifting failed. Permission denied - log/boxgrinder.log.2 or log/boxgrinder.log.3 + +The problem was caused when BoxGrinder switched to a local user from root, but the log file could still be owned by root. The issue was only apparent on certain systems, and even then often only occasionally. + +## Ruby 1.9 +We've made some changes to ensure BoxGrinder runs correctly under Ruby 1.9, with a particular eye towards the forthcoming release of Fedora 17. You can see our earlier [musings](/blog/2012/02/29/preparing-for-fedora-17/) on the changes required. + +## Scientific Linux EBS AMIs +OS constraints on the EBS plugin have been removed, so you can now create a Scientific Linux EBS AMIs. As the limitation is generally eliminated, any community OS plugin is also be able to use the EBS plugin. + +## Bash tab completions +Basic bash tab completions have been sneaked into this release. Give it a try: + + [root@localhost ~]# boxgrinder-build my.appl -- + --backtrace --delivery-config --os-config --plugins + --debug --force --platform --trace + --delivery --help --platform-config --version + +## Other +Snapshots with the S3 plugin are working correctly again, and some simple testing issues were fixed. + +# Release notes + +## Bug + +* [[BGBUILD-337]] - In SL if default repos are disabled, /etc/yum.repos.d folder is not created +* [[BGBUILD-338]] - Weed out non-deterministic tests +* [[BGBUILD-344]] - Builds on some platforms impossible due to log (and/or other) files still being owned by root after boxgrinder switches to user +* [[BGBUILD-351]] - s3 plugin attempts to create bucket with whole pathname during snapshot + +## Enhancement + +* [[BGBUILD-349]] - Use RbConfig instead of obsolete and deprecated + Config deprecation warning with Ruby 1.9.3 + +## Task + +* [[BGBUILD-332]] - Add support for bash completion +* [[BGBUILD-346]] - Confirm Ruby 1.9.3 support + +# Sub-task + +* [[BGBUILD-348]] - Simplecov coverage testing for Ruby >=1.9z + +[BGBUILD-337]: https://issues.jboss.org/browse/BGBUILD-337 +[BGBUILD-338]: https://issues.jboss.org/browse/BGBUILD-338 +[BGBUILD-344]: https://issues.jboss.org/browse/BGBUILD-344 +[BGBUILD-351]: https://issues.jboss.org/browse/BGBUILD-351 +[BGBUILD-349]: https://issues.jboss.org/browse/BGBUILD-349 +[BGBUILD-332]: https://issues.jboss.org/browse/BGBUILD-332 +[BGBUILD-346]: https://issues.jboss.org/browse/BGBUILD-346 +[BGBUILD-348]: https://issues.jboss.org/browse/BGBUILD-348 From 14a46dfa426ff3ac7a9f3f06d1fa473b7efc01b5 Mon Sep 17 00:00:00 2001 From: Adam Huffman Date: Wed, 4 Apr 2012 13:11:10 +0200 Subject: [PATCH 2/2] Add warning about possible failure to detect KVM-capable CPUs and mention setting domain_type: kvm manually as a workaround --- tutorials/boxgrinder-build-plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/boxgrinder-build-plugins.md b/tutorials/boxgrinder-build-plugins.md index afa4d27..1dfa74f 100644 --- a/tutorials/boxgrinder-build-plugins.md +++ b/tutorials/boxgrinder-build-plugins.md @@ -740,7 +740,7 @@ All operating systems are supported. # Default: name-version-release-os_name-os_version-arch-platform appliance_name: boxgrinder-f16-rocks -***domain_type (String)*** — Libvirt domain type. Default is a calculated value. Unless you are using xml_only the remote instance will be contacted and an attempt to determine the best value will be made. If xml_only is set then a safe pre-determined default is used. User-set values take precedence. See type: [Domain format](http://libvirt.org/formatdomain.html#elements). +***domain_type (String)*** — Libvirt domain type. Default is a calculated value. Unless you are using xml_only the remote instance will be contacted and an attempt to determine the best value will be made. If xml_only is set then a safe pre-determined default is used. User-set values take precedence. Owing to limitations in the library being used to discover hypervisor characteristics, in some cases KVM-capable CPUs may not be detected as such, with the result that the slower QEMU driver will be used. In this situation, users can override the auto-detected value and set it to KVM as shown in the example below. See type: [Domain format](http://libvirt.org/formatdomain.html#elements). # Default: calculated value, as described above # Examples: domain_type: kvm