Features/BoxGrinder

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(Current status)
(last plugins submitted for review)
Line 18: Line 18:
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/15 | Fedora 15 ]]  
 
* Targeted release: [[Releases/15 | Fedora 15 ]]  
* Last updated: 2010-12-09
+
* Last updated: 2010-12-18
* Percentage of completion: 85%
+
* Percentage of completion: 88%
 
* Packages submitted for review:
 
* Packages submitted for review:
 
** [https://bugzilla.redhat.com/show_bug.cgi?id=652396 rubygem-boxgrinder-core] ('''done''' – in stable for all OS versions)  
 
** [https://bugzilla.redhat.com/show_bug.cgi?id=652396 rubygem-boxgrinder-core] ('''done''' – in stable for all OS versions)  
 
** [https://bugzilla.redhat.com/show_bug.cgi?id=652400 rubygem-boxgrinder-build] ('''done''' – in stable for all OS versions)
 
** [https://bugzilla.redhat.com/show_bug.cgi?id=652400 rubygem-boxgrinder-build] ('''done''' – in stable for all OS versions)
** [https://bugzilla.redhat.com/show_bug.cgi?id=652403 rubygem-boxgrinder-build-rpm-based-os-plugin] ('''done''' – in testing/stable for all OS versions)
+
** [https://bugzilla.redhat.com/show_bug.cgi?id=652403 rubygem-boxgrinder-build-rpm-based-os-plugin] ('''done''' – in stable for all OS versions)
** [https://bugzilla.redhat.com/show_bug.cgi?id=652406 rubygem-boxgrinder-build-fedora-os-plugin] ('''almost done''' – waiting for rubygem-boxgrinder-build-rpm-based-os-plugin to be propagated in F13/F14)
+
** [https://bugzilla.redhat.com/show_bug.cgi?id=652406 rubygem-boxgrinder-build-fedora-os-plugin] ('''almost done''' – in testing/stable for all OS versions)
** [https://bugzilla.redhat.com/show_bug.cgi?id=652408 rubygem-boxgrinder-build-vmware-platform-plugin] ('''done''' – in testing/stable for all OS versions)
+
** [https://bugzilla.redhat.com/show_bug.cgi?id=652408 rubygem-boxgrinder-build-vmware-platform-plugin] ('''done''' – in stable for all OS versions)
** [https://bugzilla.redhat.com/show_bug.cgi?id=652412 rubygem-boxgrinder-build-local-delivery-plugin] ('''done''' – in testing/stable for all OS versions)
+
** [https://bugzilla.redhat.com/show_bug.cgi?id=652412 rubygem-boxgrinder-build-local-delivery-plugin] ('''done''' – in stable for all OS versions)
 
** [https://bugzilla.redhat.com/show_bug.cgi?id=652414 rubygem-boxgrinder-build-sftp-delivery-plugin] ('''in review''')
 
** [https://bugzilla.redhat.com/show_bug.cgi?id=652414 rubygem-boxgrinder-build-sftp-delivery-plugin] ('''in review''')
** rubygem-boxgrinder-build-s3-delivery-plugin (need to fix [https://jira.jboss.org/browse/BGBUILD-55 BGBUILD-55] first – a patch was posted: https://bugs.launchpad.net/euca2ools/+bug/665667)
+
** [https://bugzilla.redhat.com/show_bug.cgi?id=664111 rubygem-boxgrinder-build-s3-delivery-plugin] ('''in review''')
** rubygem-boxgrinder-build-ec2-platform-plugin (waiting for S3 delivery plugin)
+
** [https://bugzilla.redhat.com/show_bug.cgi?id=663983 rubygem-boxgrinder-build-ec2-platform-plugin] ('''in review''')
** rubygem-boxgrinder-build-ebs-delivery-plugin (waiting for S3 delivery plugin)
+
** [https://bugzilla.redhat.com/show_bug.cgi?id=664113 rubygem-boxgrinder-build-ebs-delivery-plugin] ('''in review''')
  
 
=== Updates: ===
 
=== Updates: ===
  
 +
* Most plugins are in stable. [https://jira.jboss.org/browse/BGBUILD-55 BGBUILD-55] was fixed! I submitted last plugins now. --[[User:Goldmann|Goldmann]] 10:24, 18 December 2010 (UTC)
 
* Almost all packages are in stable or testing repos now. --[[User:Goldmann|Goldmann]] 13:09, 9 December 2010 (UTC)
 
* Almost all packages are in stable or testing repos now. --[[User:Goldmann|Goldmann]] 13:09, 9 December 2010 (UTC)
 
* Most of packages were approved. Doing last cleanups in spec files. --[[User:Goldmann|Goldmann]] 11:06, 29 November 2010 (UTC)
 
* Most of packages were approved. Doing last cleanups in spec files. --[[User:Goldmann|Goldmann]] 11:06, 29 November 2010 (UTC)

Revision as of 10:24, 18 December 2010


Contents

Feature Name BoxGrinder

Summary

BoxGrinder creates appliances (virtual machines) from simple plain text appliance definition files for various virtual platforms.

Owner

  • Email: mgoldman@redhat.com

Current status

Updates:

  • Most plugins are in stable. BGBUILD-55 was fixed! I submitted last plugins now. --Goldmann 10:24, 18 December 2010 (UTC)
  • Almost all packages are in stable or testing repos now. --Goldmann 13:09, 9 December 2010 (UTC)
  • Most of packages were approved. Doing last cleanups in spec files. --Goldmann 11:06, 29 November 2010 (UTC)
  • All spec files recreated and all review requests updated with new files. Everything builds fine in my mock environment now. --Goldmann 11:09, 26 November 2010 (UTC)

Detailed Description

BoxGrinder is a set of tools used for building appliances (virtual machines) for various platforms (KVM, Xen, VMware, EC2).

BoxGrinder creates appliances (images/virtual machines) from simple plain text Appliance Definition Files. There are only two simple steps to create an appliance:

  1. Create Appliance Definition File
  2. Run BoxGrinder. BoxGrinder will download all necessary artifact, build the instance, convert it to selected platform and upload it to selected destination. All in one process!

See Quick start page for more info.

Appliance definition file

Example appliance definition file:

name: f14-jeos
summary: Just Enough Operating System based on Fedora 14
os:
  name: fedora
  version: 14
hardware:
  partitions:
    "/":
      size: 2
packages:
  includes:
    - @core

BoxGrinder Build architecture

BoxGrinderBuild-architecture.png

How it works

BoxGrinder Build has a plugin architecture. We can distinguish three types:

  1. Operating System plugins – generating base appliance for selected OS,
  2. Platform plugins – creating converted base appliance for selected platform (VMware, EC2),
  3. Delivery plugins – designed to deliver your new appliance to a specified location. For example as a tar file to a remote server or just register as AMI on EC2.

Benefit to Fedora

Creating and delivering Fedora-based appliances to various virtual platforms like KVM, VMware, EC2.

Scope

Watch review request, fix all specs to meets Fedora Guidelines.

How To Test

  1. Save sample appliance definition file as f14-jeos.appl.
  2. Create local delivery plugin configuration file, and store it as $HOME/.boxgrinder/plugins/local.
  3. Install and run BoxGrinder.

Sample local delivery plugin configuration file

path: /home/goldmann/builds
overwrite: false               # default: false
package: true                  # default: true

Commands to execute

yum install rubygem-boxgrinder-build-fedora-os-plugin rubygem-boxgrinder-build-vmware-platform-plugin
boxgrinder-build jeos-f14.appl -p vmware -d local

It should produce a virtual machine, convert it to VMware format and store in /home/goldmann/builds dir as tarred file.

User Experience

BoxGrinder will allow for easy and fast appliance creation and delivery.

Dependencies

  • ruby
  • appliance-tools
  • libguestfs
  • yum-utils
  • various rubygems

Contingency Plan

BoxGrinder is already released and packaged. It only needs to be reviewed and included, but if this fails we're still able to install BoxGrinder using RubyGems and gem install command.

Documentation

Release Notes

Comments and Discussion

Help

If you need help – please contact us. We're available on IRC (#boxgrinder/irc.freenode.net) and on forums.