From Fedora Project Wiki
No edit summary
mNo edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 18: Line 18:
== Current status ==
== Current status ==
* Targeted release: [[Releases/15 | Fedora 15 ]]  
* Targeted release: [[Releases/15 | Fedora 15 ]]  
* Last updated: 2010-11-12
* Last updated: 2011-01-30
* Percentage of completion: 60%
* Percentage of completion: 100%
* Packages submitted for review:
* Packages submitted for review:
** [https://bugzilla.redhat.com/show_bug.cgi?id=652396 rubygem-boxgrinder-core] (NEW)  
** [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] (NEW)
** [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] (NEW)
** [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] (NEW)
** [https://bugzilla.redhat.com/show_bug.cgi?id=652406 rubygem-boxgrinder-build-fedora-os-plugin] ('''done''' – in stable for all OS versions)
** [https://bugzilla.redhat.com/show_bug.cgi?id=652408 rubygem-boxgrinder-build-vmware-platform-plugin] (NEW)
** [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] (NEW)
** [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] (NEW)
** [https://bugzilla.redhat.com/show_bug.cgi?id=663983 rubygem-boxgrinder-build-ec2-platform-plugin] ('''done''' – in stable for all OS versions)
** rubygem-boxgrinder-build-s3-delivery-plugin (need to fix [https://jira.jboss.org/browse/BGBUILD-55 BGBUILD-55] first)
** [https://bugzilla.redhat.com/show_bug.cgi?id=664111 rubygem-boxgrinder-build-s3-delivery-plugin] ('''done''' – in stable for all OS versions)
** rubygem-boxgrinder-build-ec2-platform-plugin (waiting for S3 delivery plugin)
** [https://bugzilla.redhat.com/show_bug.cgi?id=664113 rubygem-boxgrinder-build-ebs-delivery-plugin] ('''done''' – in stable for all OS versions)
** rubygem-boxgrinder-build-ebs-delivery-plugin (waiting for S3 delivery plugin)
** [https://bugzilla.redhat.com/show_bug.cgi?id=652414 rubygem-boxgrinder-build-sftp-delivery-plugin] ('''done''' – in stable for all OS versions)


<!-- CHANGE THE "FedoraVersion" TEMPLATES ABOVE TO PLAIN NUMBERS WHEN YOU COMPLETE YOUR PAGE. -->
=== Updates: ===
 
* '''As of 2011-03-11 with [https://admin.fedoraproject.org/updates/rubygem-boxgrinder-build-0.9.0-3.fc15,rubygem-boxgrinder-core-0.3.0-1.fc15 this update] - plugin packages are now removed and only rubygem-boxgrinder-core and rubygem-boxgrinder-build packages are required. All plugins are now included in rubygem-boxgrinder-build package.''' --[[User:Goldmann|Goldmann]] 17:32, 21 March 2011 (UTC)
* All packages available in stable repo! --[[User:Goldmann|Goldmann]] 17:29, 30 January 2011 (UTC)
* All packages available in stable or testing repos --[[User:Goldmann|Goldmann]] 08:05, 22 January 2011 (UTC)
* One plugin (SFTP) left in review queue --[[User:Goldmann|Goldmann]] 16:36, 17 January 2011 (UTC)
* Three plugins (S3, EBS, SFTP) left in review queue, other plugins in stable --[[User:Goldmann|Goldmann]] 19:49, 28 December 2010 (UTC)
* 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)
* Most of packages were approved. Doing last cleanups in spec files. --[[User:Goldmann|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. --[[User:Goldmann|Goldmann]] 11:09, 26 November 2010 (UTC)


== Detailed Description ==
== Detailed Description ==
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->


[http://www.jboss.org/boxgrinder BoxGrinder] is a set of tools used for building appliances (virtual machines) for various platforms (KVM, Xen, VMware, EC2).
[http://boxgrinder.org 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:
BoxGrinder creates appliances (images/virtual machines) from simple plain text Appliance Definition Files. There are only two simple steps to create an appliance:


# [http://community.jboss.org/docs/DOC-14359 Create Appliance Definition File]
# [http://boxgrinder.org/tutorials/appliance-definition/ Create Appliance Definition File]
# 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!
# 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 [http://community.jboss.org/docs/DOC-15080 Quick start] page for more info.
See [http://boxgrinder.org/tutorials/boxgrinder-build-quick-start/ Quick start] page for more info.


=== Appliance definition file ===
=== Appliance definition file ===
Line 52: Line 62:
<pre>
<pre>
name: f14-jeos
name: f14-jeos
summary: Just Enough Operating System based on Fedora 14
summary: Just Enough Operating System based on Fedora 14 with PostgreSQL
os:
os:
   name: fedora
   name: fedora
Line 61: Line 71:
       size: 2
       size: 2
packages:
packages:
   includes:
   - @core
    - @core
  - postgresql-server
</pre>
</pre>


Line 86: Line 96:


# Save sample [[#Appliance definition file|appliance definition file]] as '''f14-jeos.appl'''.
# Save sample [[#Appliance definition file|appliance definition file]] as '''f14-jeos.appl'''.
# Create local delivery plugin configuration file, and store it as '''$HOME/.boxgrinder/plugins/local'''.
# Create BoxGrinder configuration file '''$HOME/.boxgrinder/config'''.
# Install and run BoxGrinder.
# Install and run BoxGrinder.


=== Sample local delivery plugin configuration file ===
=== Sample BoxGrinder configuration file ===


<pre>
<pre>
path: /home/goldmann/builds
log_level: debug
overwrite: false              # default: false
plugins:
package: true                  # default: true
  local:
    path: /home/goldmann/builds
    overwrite: false              # default: false
    package: true                  # default: true
  vmware:
    type: personal
    thin_disk: true                # default: false
</pre>
</pre>


Line 100: Line 116:


<pre>
<pre>
yum install rubygem-boxgrinder-build-fedora-os-plugin rubygem-boxgrinder-build-vmware-platform-plugin
yum install rubygem-boxgrinder-build
boxgrinder-build jeos-f14.appl -p vmware -d local
boxgrinder-build jeos-f14.appl -p vmware -d local
</pre>
</pre>
Line 116: Line 132:
* yum-utils
* yum-utils
* various rubygems
* various rubygems
** [https://bugzilla.redhat.com/show_bug.cgi?id=653407 rubygem-hashery] (NEW)
** [https://bugzilla.redhat.com/show_bug.cgi?id=653407 rubygem-hashery] (CLOSED, pushed to F13/F14/rawhide)


== Contingency Plan ==
== Contingency Plan ==
Line 123: Line 139:
== Documentation ==
== Documentation ==


* [http://community.jboss.org/docs/DOC-14358 Main BoxGrinder documentation page]
* [http://boxgrinder.org/tutorials/ Main BoxGrinder documentation page]
* [http://community.jboss.org/docs/DOC-15214 BoxGrinder Build plugins]
* [http://boxgrinder.org/tutorials/boxgrinder-build-plugins/ BoxGrinder Build plugins]
* [http://community.jboss.org/docs/DOC-15080 BoxGrinder Build Quick start]
* [http://boxgrinder.org/tutorials/boxgrinder-build-quick-start/ BoxGrinder Build Quick start]
* [http://community.jboss.org/docs/DOC-14359 BoxGrinder appliance definition file explained]
* [http://boxgrinder.org/tutorials/appliance-definition/ BoxGrinder appliance definition file explained]


== Release Notes ==
== Release Notes ==
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ -->
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ -->
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this feature, indicate them here.  You can also link to upstream documentation if it satisfies this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this feature, indicate them here.  You can also link to upstream documentation if it satisfies this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
* [https://jira.jboss.org/secure/ReleaseNote.jspa?projectId=12310920&version=12315624 0.6.3 Release notes]
 
* [https://jira.jboss.org/browse/BGBUILD#selectedTab=com.atlassian.jira.plugin.system.project%3Aversions-panel Previous versions]
BoxGrinder Build is an easy to use command line tool to create appliances (virtual images) from simple plaintext appliance definition files. BoxGrinder can produce appliances for a variety of virtual and cloud platforms using plugins supporting technologies such as VMware or EC2.


== Comments and Discussion ==
== Comments and Discussion ==
Line 140: Line 156:
If you need help – please contact us. We're available on IRC (#boxgrinder/irc.freenode.net) and on [http://community.jboss.org/en/boxgrinder?view=discussions forums].
If you need help – please contact us. We're available on IRC (#boxgrinder/irc.freenode.net) and on [http://community.jboss.org/en/boxgrinder?view=discussions forums].


[[Category:FeatureReadyForFesco]]
[[Category:FeatureAcceptedF15]] [[Category:JBoss]]
<!-- When your feature page is completed and ready for review -->
<!-- When your feature page is completed and ready for review -->
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

Latest revision as of 07:22, 4 August 2011


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:

  • As of 2011-03-11 with this update - plugin packages are now removed and only rubygem-boxgrinder-core and rubygem-boxgrinder-build packages are required. All plugins are now included in rubygem-boxgrinder-build package. --Goldmann 17:32, 21 March 2011 (UTC)
  • All packages available in stable repo! --Goldmann 17:29, 30 January 2011 (UTC)
  • All packages available in stable or testing repos --Goldmann 08:05, 22 January 2011 (UTC)
  • One plugin (SFTP) left in review queue --Goldmann 16:36, 17 January 2011 (UTC)
  • Three plugins (S3, EBS, SFTP) left in review queue, other plugins in stable --Goldmann 19:49, 28 December 2010 (UTC)
  • 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 with PostgreSQL
os:
  name: fedora
  version: 14
hardware:
  partitions:
    "/":
      size: 2
packages:
  - @core
  - postgresql-server

BoxGrinder Build architecture

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 BoxGrinder configuration file $HOME/.boxgrinder/config.
  3. Install and run BoxGrinder.

Sample BoxGrinder configuration file

log_level: debug
plugins:
  local:
    path: /home/goldmann/builds
    overwrite: false               # default: false
    package: true                  # default: true
  vmware:
    type: personal
    thin_disk: true                # default: false

Commands to execute

yum install rubygem-boxgrinder-build
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

BoxGrinder Build is an easy to use command line tool to create appliances (virtual images) from simple plaintext appliance definition files. BoxGrinder can produce appliances for a variety of virtual and cloud platforms using plugins supporting technologies such as VMware or EC2.

Comments and Discussion

Help

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