-
-
Save msavy/549993f30527141bd67a to your computer and use it in GitHub Desktop.
#3 uses root btw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ec2-user@ip-10-168-114-201 data]$ setarch i686 boxgrinder-build ~/boxgrinder-meta.appl --os-config format:qcow2 -p ec2 -d ebs | |
Currently running as non-root user, BoxGrinder will attempt to re-launch under 'sudo -E' | |
I, [2011-12-21T19:35:59.337295 #24200] INFO -- : Validating appliance definition from /home/ec2-user/boxgrinder-meta.appl file... | |
I, [2011-12-21T19:35:59.348956 #24200] INFO -- : Appliance definition is valid. | |
I, [2011-12-21T19:35:59.351238 #24200] INFO -- : Validating appliance definition from /home/ec2-user/boxgrinder-base.appl file... | |
I, [2011-12-21T19:35:59.358017 #24200] INFO -- : Appliance definition is valid. | |
I, [2011-12-21T19:35:59.413102 #24200] INFO -- : Building 'boxgrinder-meta' appliance for i686 architecture. | |
I, [2011-12-21T19:35:59.413516 #24200] INFO -- : Deliverables for fedora os plugin exists, skipping. | |
I, [2011-12-21T19:35:59.417879 #24200] INFO -- : Converting boxgrinder-meta appliance image to EC2 format... | |
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) | |
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d | |
checking modpath /lib/modules/2.6.41.4-1.fc15.x86_64 is a directory | |
picked vmlinuz-2.6.41.4-1.fc15.x86_64 because modpath /lib/modules/2.6.41.4-1.fc15.x86_64 exists | |
supermin helper [00000ms] finished creating kernel | |
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/base.img | |
supermin helper [00005ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img | |
supermin helper [00005ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles | |
supermin helper [00034ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [00165ms] finished creating appliance | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
F, [2011-12-21T19:36:29.122445 #24200] FATAL -- : Logger::ShiftingError: Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
/usr/lib/ruby/1.8/logger.rb:500:in `write' | |
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
/usr/lib/ruby/1.8/logger.rb:495:in `write' | |
/usr/lib/ruby/1.8/logger.rb:325:in `add' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:38:in `trace' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `send' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `method_missing' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:205:in `execute' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:174:in `customize' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:169:in `prepare_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:77:in `log_callback' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:173:in `customize' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/image-helper.rb:129:in `customize' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/platform/ec2/ec2-plugin.rb:43:in `execute' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/base-plugin.rb:172:in `run' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:174:in `execute_plugin' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `execute_plugin_chain' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `each' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `execute_plugin_chain' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:154:in `create' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/bin/boxgrinder-build:189 | |
Usage: boxgrinder-build [appliance definition file] [options] | |
A tool for building VM images from simple definition files. | |
Homepage: | |
http://boxgrinder.org/ | |
Documentation: | |
http://boxgrinder.org/tutorials/ | |
Examples: | |
$ boxgrinder-build jeos.appl # Build KVM image for jeos.appl | |
$ boxgrinder-build jeos.appl -f # Build KVM image for jeos.appl with removing previous build for this image | |
$ boxgrinder-build jeos.appl --os-config format:qcow2 # Build KVM image for jeos.appl with a qcow2 disk | |
$ boxgrinder-build jeos.appl -p vmware --platform-config type:personal,thin_disk:true # Build VMware image for VMware Server, Player, Fusion using thin (growing) disk | |
$ boxgrinder-build jeos.appl -p ec2 -d ami # Build and register AMI for jeos.appl | |
$ boxgrinder-build jeos.appl -p vmware -d local # Build VMware image for jeos.appl and deliver it to local directory | |
Options: | |
-p, --platform [TYPE] The name of platform you want to convert to. | |
-d, --delivery [METHOD] The delivery method for selected appliance. | |
-f, --force Force image creation - removes all previous builds for selected appliance. Default: false. | |
Plugin configuration options: | |
-l, --plugins [PLUGINS] Comma separated list of additional plugins. Default: empty. | |
--os-config [CONFIG] Operating system plugin configuration in format: key1:value1,key2:value2. | |
--platform-config [CONFIG] Platform plugin configuration in format: key1:value1,key2:value2. | |
--delivery-config [CONFIG] Delivery plugin configuration in format: key1:value1,key2:value2. | |
Logging options: | |
--debug Prints debug information while building. Default: false. | |
--trace Prints trace information while building. Default: false. | |
-b, --backtrace Prints full backtrace if errors occur whilst building. Default: true if console log is set to debug or trace, otherwise false. | |
Common options: | |
--help Show this message. | |
--version Print the version. | |
Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 | |
/usr/lib/ruby/1.8/logger.rb:500:in `write': Shifting failed. Permission denied - log/boxgrinder.log.0 or log/boxgrinder.log.1 (Logger::ShiftingError) | |
from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
from /usr/lib/ruby/1.8/logger.rb:495:in `write' | |
from /usr/lib/ruby/1.8/logger.rb:325:in `add' | |
from /usr/lib/ruby/1.8/logger.rb:400:in `fatal' | |
from /usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `send' | |
from /usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `method_missing' | |
from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/bin/boxgrinder-build:193 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ec2-user@ip-10-50-34-32 data]$ boxgrinder-build ~/boxgrinder-meta.appl --os-config format:qcow2 -p ec2 -d ebs --delivery-config overwrite:true | |
Currently running as non-root user, BoxGrinder will attempt to re-launch under 'sudo -E' | |
I, [2011-12-21T18:27:06.119757 #910] INFO -- : Validating appliance definition from /home/ec2-user/boxgrinder-meta.appl file... | |
I, [2011-12-21T18:27:06.131319 #910] INFO -- : Appliance definition is valid. | |
I, [2011-12-21T18:27:06.133628 #910] INFO -- : Validating appliance definition from /home/ec2-user/boxgrinder-base.appl file... | |
I, [2011-12-21T18:27:06.140548 #910] INFO -- : Appliance definition is valid. | |
I, [2011-12-21T18:27:06.192687 #910] INFO -- : Building 'boxgrinder-meta' appliance for x86_64 architecture. | |
I, [2011-12-21T18:27:06.228458 #910] INFO -- : Resolving packages added to boxgrinder-meta appliance definition file... | |
I, [2011-12-21T18:27:22.139612 #910] INFO -- : All additional packages for boxgrinder-meta appliance successfully resolved. | |
I, [2011-12-21T18:27:22.139964 #910] INFO -- : Building boxgrinder-meta appliance... | |
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) | |
supermin helper [00003ms] inputs[0] = /usr/lib64/guestfs/supermin.d | |
checking modpath /lib/modules/2.6.41.4-1.fc15.x86_64 is a directory | |
picked vmlinuz-2.6.41.4-1.fc15.x86_64 because modpath /lib/modules/2.6.41.4-1.fc15.x86_64 exists | |
supermin helper [00022ms] finished creating kernel | |
supermin helper [00023ms] visiting /usr/lib64/guestfs/supermin.d | |
supermin helper [00023ms] visiting /usr/lib64/guestfs/supermin.d/base.img | |
supermin helper [00037ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img | |
supermin helper [00067ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles | |
supermin helper [00566ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [00882ms] finished creating appliance | |
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /tmp/guestfs.iH0i0Z/kernel, initrd = /tmp/guestfs.iH0i0Z/initrd, appliance = /tmp/guestfs.iH0i0Z/root | |
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d | |
checking modpath /lib/modules/2.6.41.4-1.fc15.x86_64 is a directory | |
picked vmlinuz-2.6.41.4-1.fc15.x86_64 because modpath /lib/modules/2.6.41.4-1.fc15.x86_64 exists | |
supermin helper [00000ms] finished creating kernel | |
supermin helper [01011ms] finished mke2fs | |
supermin helper [01012ms] visiting /usr/lib64/guestfs/supermin.d | |
supermin helper [01012ms] visiting /usr/lib64/guestfs/supermin.d/base.img | |
supermin helper [05329ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img | |
supermin helper [05351ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles | |
supermin helper [11421ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [16810ms] finished creating appliance | |
I, [2011-12-21T18:37:44.806013 #910] INFO -- : Executing post operations after build... | |
I, [2011-12-21T18:44:53.210719 #910] INFO -- : Base image for boxgrinder-meta appliance was built successfully. | |
I, [2011-12-21T18:44:53.349535 #910] INFO -- : Converting boxgrinder-meta appliance image to EC2 format... | |
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) | |
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d | |
checking modpath /lib/modules/2.6.41.4-1.fc15.x86_64 is a directory | |
picked vmlinuz-2.6.41.4-1.fc15.x86_64 because modpath /lib/modules/2.6.41.4-1.fc15.x86_64 exists | |
supermin helper [00021ms] finished creating kernel | |
supermin helper [00021ms] visiting /usr/lib64/guestfs/supermin.d | |
supermin helper [00021ms] visiting /usr/lib64/guestfs/supermin.d/base.img | |
supermin helper [00021ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img | |
supermin helper [00021ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles | |
supermin helper [00058ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [00223ms] finished creating appliance | |
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /tmp/guestfs.KCnv2r/kernel, initrd = /tmp/guestfs.KCnv2r/initrd, appliance = /tmp/guestfs.KCnv2r/root | |
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d | |
checking modpath /lib/modules/2.6.41.4-1.fc15.x86_64 is a directory | |
picked vmlinuz-2.6.41.4-1.fc15.x86_64 because modpath /lib/modules/2.6.41.4-1.fc15.x86_64 exists | |
supermin helper [00000ms] finished creating kernel | |
supermin helper [00652ms] finished mke2fs | |
supermin helper [00653ms] visiting /usr/lib64/guestfs/supermin.d | |
supermin helper [00653ms] visiting /usr/lib64/guestfs/supermin.d/base.img | |
supermin helper [04792ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img | |
supermin helper [04797ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles | |
supermin helper [08038ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [12147ms] finished creating appliance | |
I, [2011-12-21T18:45:53.303891 #910] INFO -- : Synchronizing filesystems... | |
I, [2011-12-21T18:51:56.993572 #910] INFO -- : Filesystems synchronized. | |
I, [2011-12-21T18:52:41.035859 #910] INFO -- : Image converted to EC2 format. | |
I, [2011-12-21T18:52:41.399971 #910] INFO -- : Creating new EBS volume... | |
I, [2011-12-21T18:52:41.786440 #910] INFO -- : Attaching created volume... | |
I, [2011-12-21T18:52:49.064133 #910] INFO -- : Copying data to EBS volume... | |
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) | |
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d | |
checking modpath /lib/modules/2.6.41.4-1.fc15.x86_64 is a directory | |
picked vmlinuz-2.6.41.4-1.fc15.x86_64 because modpath /lib/modules/2.6.41.4-1.fc15.x86_64 exists | |
supermin helper [00001ms] finished creating kernel | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/base.img | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles | |
supermin helper [00030ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [00131ms] finished creating appliance | |
libguestfs: exception in callback: Shifting failed. Permission denied - log/boxgrinder.log or log/boxgrinder.log.0 | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
libguestfs: exception in callback: Shifting failed. closed stream | |
F, [2011-12-21T18:53:18.530788 #910] FATAL -- : Logger::ShiftingError: Shifting failed. closed stream | |
/usr/lib/ruby/1.8/logger.rb:500:in `write' | |
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
/usr/lib/ruby/1.8/logger.rb:495:in `write' | |
/usr/lib/ruby/1.8/logger.rb:325:in `add' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:38:in `trace' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `send' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `method_missing' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:205:in `execute' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:174:in `customize' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:169:in `prepare_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:77:in `log_callback' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:173:in `customize' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/image-helper.rb:129:in `customize' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/delivery/ebs/ebs-plugin.rb:128:in `execute' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/base-plugin.rb:172:in `run' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:174:in `execute_plugin' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `execute_plugin_chain' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `each' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `execute_plugin_chain' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:154:in `create' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/bin/boxgrinder-build:189 | |
Usage: boxgrinder-build [appliance definition file] [options] | |
A tool for building VM images from simple definition files. | |
Homepage: | |
http://boxgrinder.org/ | |
Documentation: | |
http://boxgrinder.org/tutorials/ | |
Examples: | |
$ boxgrinder-build jeos.appl # Build KVM image for jeos.appl | |
$ boxgrinder-build jeos.appl -f # Build KVM image for jeos.appl with removing previous build for this image | |
$ boxgrinder-build jeos.appl --os-config format:qcow2 # Build KVM image for jeos.appl with a qcow2 disk | |
$ boxgrinder-build jeos.appl -p vmware --platform-config type:personal,thin_disk:true # Build VMware image for VMware Server, Player, Fusion using thin (growing) disk | |
$ boxgrinder-build jeos.appl -p ec2 -d ami # Build and register AMI for jeos.appl | |
$ boxgrinder-build jeos.appl -p vmware -d local # Build VMware image for jeos.appl and deliver it to local directory | |
Options: | |
-p, --platform [TYPE] The name of platform you want to convert to. | |
-d, --delivery [METHOD] The delivery method for selected appliance. | |
-f, --force Force image creation - removes all previous builds for selected appliance. Default: false. | |
Plugin configuration options: | |
-l, --plugins [PLUGINS] Comma separated list of additional plugins. Default: empty. | |
--os-config [CONFIG] Operating system plugin configuration in format: key1:value1,key2:value2. | |
--platform-config [CONFIG] Platform plugin configuration in format: key1:value1,key2:value2. | |
--delivery-config [CONFIG] Delivery plugin configuration in format: key1:value1,key2:value2. | |
Logging options: | |
--debug Prints debug information while building. Default: false. | |
--trace Prints trace information while building. Default: false. | |
-b, --backtrace Prints full backtrace if errors occur whilst building. Default: true if console log is set to debug or trace, otherwise false. | |
Common options: | |
--help Show this message. | |
--version Print the version. | |
Shifting failed. closed stream | |
/usr/lib/ruby/1.8/logger.rb:500:in `write': Shifting failed. closed stream (Logger::ShiftingError) | |
from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
from /usr/lib/ruby/1.8/logger.rb:495:in `write' | |
from /usr/lib/ruby/1.8/logger.rb:325:in `add' | |
from /usr/lib/ruby/1.8/logger.rb:400:in `fatal' | |
from /usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `send' | |
from /usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `method_missing' | |
from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/bin/boxgrinder-build:193 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ip-10-50-34-32 data]# boxgrinder-build ~/boxgrinder-meta.appl --os-config format:qcow2 -p ec2 -d ebs --delivery-config overwrite:trueI, [2011-12-21T19:59:22.885621 #24753] INFO -- : Validating appliance definition from /home/ec2-user/boxgrinder-meta.appl file... | |
I, [2011-12-21T19:59:22.896859 #24753] INFO -- : Appliance definition is valid. | |
I, [2011-12-21T19:59:22.898975 #24753] INFO -- : Validating appliance definition from /home/ec2-user/boxgrinder-base.appl file... | |
I, [2011-12-21T19:59:22.905541 #24753] INFO -- : Appliance definition is valid. | |
I, [2011-12-21T19:59:23.064742 #24753] INFO -- : Building 'boxgrinder-meta' appliance for x86_64 architecture. | |
I, [2011-12-21T19:59:23.159972 #24753] INFO -- : Resolving packages added to boxgrinder-meta appliance definition file... | |
I, [2011-12-21T19:59:42.639994 #24753] INFO -- : All additional packages for boxgrinder-meta appliance successfully resolved. | |
I, [2011-12-21T19:59:42.640348 #24753] INFO -- : Building boxgrinder-meta appliance... | |
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) | |
supermin helper [00003ms] inputs[0] = /usr/lib64/guestfs/supermin.d | |
checking modpath /lib/modules/2.6.41.4-1.fc15.x86_64 is a directory | |
picked vmlinuz-2.6.41.4-1.fc15.x86_64 because modpath /lib/modules/2.6.41.4-1.fc15.x86_64 exists | |
supermin helper [00039ms] finished creating kernel | |
supermin helper [00039ms] visiting /usr/lib64/guestfs/supermin.d | |
supermin helper [00040ms] visiting /usr/lib64/guestfs/supermin.d/base.img | |
supermin helper [00077ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img | |
supermin helper [00098ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles | |
supermin helper [00402ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [00642ms] finished creating appliance | |
I, [2011-12-21T20:10:03.751037 #24753] INFO -- : Executing post operations after build... | |
I, [2011-12-21T20:17:26.830493 #24753] INFO -- : Base image for boxgrinder-meta appliance was built successfully. | |
I, [2011-12-21T20:17:26.918612 #24753] INFO -- : Converting boxgrinder-meta appliance image to EC2 format... | |
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) | |
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d | |
checking modpath /lib/modules/2.6.41.4-1.fc15.x86_64 is a directory | |
picked vmlinuz-2.6.41.4-1.fc15.x86_64 because modpath /lib/modules/2.6.41.4-1.fc15.x86_64 exists | |
supermin helper [00000ms] finished creating kernel | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/base.img | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles | |
supermin helper [00034ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [00139ms] finished creating appliance | |
I, [2011-12-21T20:18:24.997668 #24753] INFO -- : Synchronizing filesystems... | |
I, [2011-12-21T20:26:56.155968 #24753] INFO -- : Filesystems synchronized. | |
I, [2011-12-21T20:27:45.547190 #24753] INFO -- : Image converted to EC2 format. | |
I, [2011-12-21T20:27:45.966704 #24753] INFO -- : Overwrite is enabled. Stomping existing assets. | |
I, [2011-12-21T20:27:46.074310 #24753] INFO -- : Finding the primary snapshot associated with ami-bd704fc9. | |
I, [2011-12-21T20:27:46.418348 #24753] INFO -- : De-registering the EBS AMI. | |
I, [2011-12-21T20:27:46.815331 #24753] INFO -- : Deleting the primary snapshot. | |
I, [2011-12-21T20:27:46.913148 #24753] INFO -- : Creating new EBS volume... | |
I, [2011-12-21T20:27:47.286678 #24753] INFO -- : Attaching created volume... | |
I, [2011-12-21T20:27:55.661336 #24753] INFO -- : Copying data to EBS volume... | |
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) | |
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d | |
checking modpath /lib/modules/2.6.41.4-1.fc15.x86_64 is a directory | |
picked vmlinuz-2.6.41.4-1.fc15.x86_64 because modpath /lib/modules/2.6.41.4-1.fc15.x86_64 exists | |
supermin helper [00001ms] finished creating kernel | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/base.img | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img | |
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles | |
supermin helper [00031ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [00162ms] finished creating appliance | |
I, [2011-12-21T20:28:45.793696 #24753] INFO -- : Synchronizing filesystems... | |
I, [2011-12-21T20:36:00.970831 #24753] INFO -- : Filesystems synchronized. | |
F, [2011-12-21T20:36:05.131951 #24753] FATAL -- : Logger::ShiftingError: Shifting failed. Permission denied - log/boxgrinder.log or log/boxgrinder.log.0 | |
/usr/lib/ruby/1.8/logger.rb:500:in `write' | |
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
/usr/lib/ruby/1.8/logger.rb:495:in `write' | |
/usr/lib/ruby/1.8/logger.rb:325:in `add' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:38:in `trace' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `send' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `method_missing' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:238:in `clean_close' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:178:in `customize' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:169:in `prepare_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:77:in `log_callback' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:123:in `initialize_guestfs' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:173:in `customize' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/image-helper.rb:129:in `customize' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/delivery/ebs/ebs-plugin.rb:128:in `execute' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/base-plugin.rb:172:in `run' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:174:in `execute_plugin' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `execute_plugin_chain' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `each' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:121:in `execute_plugin_chain' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:154:in `create' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/bin/boxgrinder-build:189 | |
/usr/bin/boxgrinder-build:19:in `load' | |
/usr/bin/boxgrinder-build:19 | |
Usage: boxgrinder-build [appliance definition file] [options] | |
A tool for building VM images from simple definition files. | |
Homepage: | |
http://boxgrinder.org/ | |
Documentation: | |
http://boxgrinder.org/tutorials/ | |
Examples: | |
$ boxgrinder-build jeos.appl # Build KVM image for jeos.appl | |
$ boxgrinder-build jeos.appl -f # Build KVM image for jeos.appl with removing previous build for this image | |
$ boxgrinder-build jeos.appl --os-config format:qcow2 # Build KVM image for jeos.appl with a qcow2 disk | |
$ boxgrinder-build jeos.appl -p vmware --platform-config type:personal,thin_disk:true # Build VMware image for VMware Server, Player, Fusion using thin (growing) disk | |
$ boxgrinder-build jeos.appl -p ec2 -d ami # Build and register AMI for jeos.appl | |
$ boxgrinder-build jeos.appl -p vmware -d local # Build VMware image for jeos.appl and deliver it to local directory | |
Options: | |
-p, --platform [TYPE] The name of platform you want to convert to. | |
-d, --delivery [METHOD] The delivery method for selected appliance. | |
-f, --force Force image creation - removes all previous builds for selected appliance. Default: false. | |
Plugin configuration options: | |
-l, --plugins [PLUGINS] Comma separated list of additional plugins. Default: empty. | |
--os-config [CONFIG] Operating system plugin configuration in format: key1:value1,key2:value2. | |
--platform-config [CONFIG] Platform plugin configuration in format: key1:value1,key2:value2. | |
--delivery-config [CONFIG] Delivery plugin configuration in format: key1:value1,key2:value2. | |
Logging options: | |
--debug Prints debug information while building. Default: false. | |
--trace Prints trace information while building. Default: false. | |
-b, --backtrace Prints full backtrace if errors occur whilst building. Default: true if console log is set to debug or trace, otherwise false. | |
Common options: | |
--help Show this message. | |
--version Print the version. | |
Shifting failed. closed stream | |
/usr/lib/ruby/1.8/logger.rb:500:in `write': Shifting failed. closed stream (Logger::ShiftingError) | |
from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
from /usr/lib/ruby/1.8/logger.rb:495:in `write' | |
from /usr/lib/ruby/1.8/logger.rb:325:in `add' | |
from /usr/lib/ruby/1.8/logger.rb:400:in `fatal' | |
from /usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `send' | |
from /usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.10/lib/boxgrinder-core/helpers/log-helper.rb:88:in `method_missing' | |
from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/bin/boxgrinder-build:193 | |
from /usr/bin/boxgrinder-build:19:in `load' | |
from /usr/bin/boxgrinder-build:19 | |
[root@ip-10-50-34-32 data]# sudo boxgrinder-build ~/boxgrinder-meta.appl --os-config format:qcow2 -p ec2 -d ebs --delivery-config overwrite:true | |
I, [2011-12-21T20:40:24.600897 #3674] INFO -- : Validating appliance definition from /home/ec2-user/boxgrinder-meta.appl file... | |
I, [2011-12-21T20:40:24.682655 #3674] INFO -- : Appliance definition is valid. | |
I, [2011-12-21T20:40:24.685135 #3674] INFO -- : Validating appliance definition from /home/ec2-user/boxgrinder-base.appl file... | |
I, [2011-12-21T20:40:24.737928 #3674] INFO -- : Appliance definition is valid. | |
F, [2011-12-21T20:40:24.938558 #3674] FATAL -- : BoxGrinder::PluginValidationError: Please specify a valid 'access_key' key in BoxGrinder configuration file: '/root/.boxgrinder/config' or use CLI '--delivery-config access_key:DATA' argument. See http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#EBS_Delivery_Plugin for more info | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/base-plugin.rb:152:in `validate_plugin_config' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/base-plugin.rb:151:in `each' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/base-plugin.rb:151:in `validate_plugin_config' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/delivery/ebs/ebs-plugin.rb:55:in `validate' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:100:in `send' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:100:in `initialize_plugin' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:99:in `each' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:99:in `initialize_plugin' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:77:in `initialize_plugins' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/appliance.rb:150:in `create' | |
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/bin/boxgrinder-build:189 | |
/usr/bin/boxgrinder-build:19:in `load' | |
/usr/bin/boxgrinder-build:19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment