-
1. Re: Error Building a new appliance
goldmann Jan 2, 2012 1:49 PM (in response to asmicom)Hi Michael,
We need to have the full trace log (enable with --trace or see log/boxgrinder.log) and full BoxGrinder configuration (~/.boxgrinder/config) and invocation information to help you.
--Marek
-
2. Re: Error Building a new appliance
asmicom Jan 3, 2012 5:06 AM (in response to goldmann)I was trying to use libvirt (VMM in Fedora 16) to start a new virtual mechine. But that seemed to be working to some extent. I can't remember how an image got created. But this is what its output now look likes - http://postimage.org/image/du2tne9f1/
On the otherhand, I installed boxgrinder build and tried to build Fedora 16. I could see its raw file (
/opt/boxgrinder/appliances/build/appances/x86_64/fedora/16/f16-basic/1.0/fedora-plugin/tmp/f16-basic-sda.raw) but i don't know why am getting the below error.
Please respond to the two questions. Thanks
@Marek Goldmann: I don't have var/ log/boxgrinder.log (i didn't use --trace), and the full BoxGrinder configuration (~/.boxgrinder/config) doesn't exist. I installed boxgrinder-build using yum install...... But that directory doesn't exist.
[root@micadeyeye appliances]# boxgrinder-build f16-basic.appl
I, [2012-01-02T22:44:54.427149 #18116] INFO -- : Validating appliance definition from f16-basic.appl file...
I, [2012-01-02T22:44:54.430891 #18116] INFO -- : Appliance definition is valid.
I, [2012-01-02T22:44:54.447212 #18116] INFO -- : Building 'f16-basic' appliance for x86_64 architecture.
I, [2012-01-02T22:44:54.457653 #18116] INFO -- : Resolving packages added to f16-basic appliance definition file...
I, [2012-01-02T22:54:11.852009 #18116] INFO -- : All additional packages for f16-basic appliance successfully resolved.
I, [2012-01-02T22:54:11.852225 #18116] INFO -- : Building f16-basic appliance...
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/3.1.6-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.6-1.fc16.x86_64 because modpath /lib/modules/3.1.6-1.fc16.x86_64 exists
checking modpath /lib/modules/3.1.5-6.fc16.x86_64 is a directory
picked vmlinuz-3.1.5-6.fc16.x86_64 because modpath /lib/modules/3.1.5-6.fc16.x86_64 exists
checking modpath /lib/modules/3.1.4-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.4-1.fc16.x86_64 because modpath /lib/modules/3.1.4-1.fc16.x86_64 exists
supermin helper [00085ms] finished creating kernel
supermin helper [00085ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [00117ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [00205ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [00217ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [03373ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [04272ms] finished creating appliance
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /tmp/guestfs.7oKtAg/kernel, initrd = /tmp/guestfs.7oKtAg/initrd, appliance = /tmp/guestfs.7oKtAg/root
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
checking modpath /lib/modules/3.1.6-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.6-1.fc16.x86_64 because modpath /lib/modules/3.1.6-1.fc16.x86_64 exists
checking modpath /lib/modules/3.1.5-6.fc16.x86_64 is a directory
picked vmlinuz-3.1.5-6.fc16.x86_64 because modpath /lib/modules/3.1.5-6.fc16.x86_64 exists
checking modpath /lib/modules/3.1.4-1.fc16.x86_64 is a directory
picked vmlinuz-3.1.4-1.fc16.x86_64 because modpath /lib/modules/3.1.4-1.fc16.x86_64 exists
supermin helper [00000ms] finished creating kernel
supermin helper [02784ms] finished mke2fs
supermin helper [02785ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [02785ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [05522ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [05570ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [20869ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [45431ms] finished creating appliance
W, [2012-01-03T00:01:08.193205 #18116] WARN -- : Loading SELinux policy failed. SELinux may be not fully initialized.
F, [2012-01-03T00:01:25.975161 #18116] FATAL -- : Guestfs::Error: sh:
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:184:in `sh'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:184:in `disable_firewall'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:87:in `build_with_appliance_creator'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/image-helper.rb:130:in `customize'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:176: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/os/rpm-based/rpm-based-os-plugin.rb:76:in `build_with_appliance_creator'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/fedora/fedora-plugin.rb:47: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
[root@micadeyeye appliances]#
-
3. Re: Error Building a new appliance
goldmann Jan 3, 2012 5:14 AM (in response to asmicom)Michael,
Again, you posted an output of INFO log level, we need to have TRACE. See my first post on how to enable it. Please provide also the info on how did you executed the build (exact command line).
Unfortunately I cannot say anything about your boot issue either because I don't have the logs and I don't have the information how did you installed the appliance using libvirt plugin.
Please provide detailed info so I can help you further.
--Marek
-
4. Re: Error Building a new appliance
asmicom Jan 3, 2012 5:50 AM (in response to goldmann)This is what I got with a trace after running [micadeyeye@micadeyeye appliances]$ boxgrinder-build --trace f16-basic.appl
scsi_transport_spi 24946 1 sym53c8xx crc8 1436 0 crc7 1309 0 crc_ccitt T, [2012-01-03T12:43:36.411782 #31568] TRACE -- : GFS: 1557 0 crc_itu_t 1563 0 libcrc32c 1179 0 T, [2012-01-03T12:43:36.442524 #31568] TRACE -- : GFS: Tue Jan 3 12:43:34 SAST 2012
T, [2012-01-03T12:43:36.447064 #31568] TRACE -- : GFS: uptime:
T, [2012-01-03T12:43:36.463491 #31568] TRACE -- : GFS: 12.32 0.43
T, [2012-01-03T12:43:36.608244 #31568] TRACE -- : GFS: verbose daemon enabled
T, [2012-01-03T12:43:36.610159 #31568] TRACE -- : GFS: linux commmand line: panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=1 enforcing=0 guestfs_verbose=1 TERM=xterm noapic
T, [2012-01-03T12:43:36.611620 #31568] TRACE -- : GFS:
T, [2012-01-03T12:43:36.709250 #31568] TRACE -- : GFS: [72240ms] appliance is up
D, [2012-01-03T12:43:36.709570 #31568] DEBUG -- : GFS: launch = 0
D, [2012-01-03T12:43:36.744808 #31568] DEBUG -- : GFS: list_devices
T, [2012-01-03T12:43:36.749073 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:43:36.759749 #31568] DEBUG -- : GFS: list_devices = ["/dev/vda"]
D, [2012-01-03T12:43:36.760045 #31568] DEBUG -- : GFS: list_partitions
T, [2012-01-03T12:43:36.761371 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds
T, [2012-01-03T12:43:36.763178 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:43:36.765239 #31568] DEBUG -- : GFS: list_partitions = ["/dev/vda1", "/dev/vda2"]
T, [2012-01-03T12:43:36.766171 #31568] TRACE -- : Mounting partitions...
D, [2012-01-03T12:43:36.766343 #31568] DEBUG -- : GFS: list_partitions
T, [2012-01-03T12:43:36.767657 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds
T, [2012-01-03T12:43:36.769527 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:43:36.771243 #31568] DEBUG -- : GFS: list_partitions = ["/dev/vda1", "/dev/vda2"]
D, [2012-01-03T12:43:36.773065 #31568] DEBUG -- : GFS: vfs_type "/dev/vda1"
T, [2012-01-03T12:43:36.774383 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds
T, [2012-01-03T12:43:36.776288 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
T, [2012-01-03T12:43:36.779559 #31568] TRACE -- : GFS: blkid -c /dev/null -o value -s TYPE /dev/vda1
D, [2012-01-03T12:43:36.881406 #31568] DEBUG -- : GFS: vfs_type = ""
D, [2012-01-03T12:43:36.881891 #31568] DEBUG -- : GFS: vfs_type "/dev/vda2"
T, [2012-01-03T12:43:36.883325 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 198 (vfs_type) took 0.10 seconds
T, [2012-01-03T12:43:36.885196 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
T, [2012-01-03T12:43:36.886731 #31568] TRACE -- : GFS: blkid -c /dev/null -o value -s TYPE /dev/vda2
D, [2012-01-03T12:43:37.026144 #31568] DEBUG -- : GFS: vfs_type = "ext4"
D, [2012-01-03T12:43:37.026458 #31568] DEBUG -- : GFS: vfs_type "/dev/vda2"
T, [2012-01-03T12:43:37.027883 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 198 (vfs_type) took 0.14 seconds
T, [2012-01-03T12:43:37.030281 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
T, [2012-01-03T12:43:37.031859 #31568] TRACE -- : GFS: blkid -c /dev/null -o value -s TYPE /dev/vda2
D, [2012-01-03T12:43:37.210432 #31568] DEBUG -- : GFS: vfs_type = "ext4"
T, [2012-01-03T12:43:37.211007 #31568] TRACE -- : Mounting /dev/vda2 partition to /...
D, [2012-01-03T12:43:37.211452 #31568] DEBUG -- : GFS: mount_options "" "/dev/vda2" "/"
T, [2012-01-03T12:43:37.212983 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 198 (vfs_type) took 0.17 seconds
T, [2012-01-03T12:43:37.215859 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x44
T, [2012-01-03T12:43:37.218180 #31568] TRACE -- : GFS: mount -o /dev/vda2 /sysroot/
T, [2012-01-03T12:43:37.627100 #31568] TRACE -- : GFS: [ 13.461702] EXT4-fs (vda2): mounted filesystem with ordered data mode. Opts: (null)
D, [2012-01-03T12:43:37.659191 #31568] DEBUG -- : GFS: mount_options = 0
D, [2012-01-03T12:43:37.679407 #31568] DEBUG -- : GFS: set_e2label "/dev/vda2" "79d3d2d4"
T, [2012-01-03T12:43:37.680834 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 74 (mount_options) took 0.42 seconds
T, [2012-01-03T12:43:37.682807 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x44
T, [2012-01-03T12:43:37.689301 #31568] TRACE -- : GFS: e2label /dev/vda2 79d3d2d4
D, [2012-01-03T12:43:37.945293 #31568] DEBUG -- : GFS: set_e2label = 0
T, [2012-01-03T12:43:37.945741 #31568] TRACE -- : Partition mounted.
D, [2012-01-03T12:43:37.946039 #31568] DEBUG -- : GFS: exists "/etc/sysconfig/selinux"
T, [2012-01-03T12:43:37.947571 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 80 (set_e2label) took 0.26 seconds
T, [2012-01-03T12:43:37.949951 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x44
D, [2012-01-03T12:43:38.052257 #31568] DEBUG -- : GFS: exists = 1
T, [2012-01-03T12:43:38.052512 #31568] TRACE -- : Loading SElinux policy...
D, [2012-01-03T12:43:38.052758 #31568] DEBUG -- : GFS: aug_init "/" 32
T, [2012-01-03T12:43:38.054347 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 36 (exists) took 0.10 seconds
T, [2012-01-03T12:43:38.056105 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x34
D, [2012-01-03T12:43:45.237977 #31568] DEBUG -- : GFS: aug_init = 0
D, [2012-01-03T12:43:45.238274 #31568] DEBUG -- : GFS: aug_rm "/augeas/load//incl[. != '/etc/sysconfig/selinux']"
T, [2012-01-03T12:43:45.239587 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 16 (aug_init) took 6.82 seconds
T, [2012-01-03T12:43:45.241736 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x60
D, [2012-01-03T12:43:45.253890 #31568] DEBUG -- : GFS: aug_rm = 195
D, [2012-01-03T12:43:45.254176 #31568] DEBUG -- : GFS: aug_load
T, [2012-01-03T12:43:45.255482 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 22 (aug_rm) took 0.01 seconds
T, [2012-01-03T12:43:45.257130 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:43:45.605070 #31568] DEBUG -- : GFS: aug_load = 0
D, [2012-01-03T12:43:45.605369 #31568] DEBUG -- : GFS: aug_get "/files/etc/sysconfig/selinux/SELINUX"
T, [2012-01-03T12:43:45.606712 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 27 (aug_load) took 0.33 seconds
T, [2012-01-03T12:43:45.608647 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x50
D, [2012-01-03T12:43:45.609076 #31568] DEBUG -- : GFS: aug_get = "permissive"
D, [2012-01-03T12:43:45.979736 #31568] DEBUG -- : GFS: sh "/usr/sbin/load_policy"
T, [2012-01-03T12:43:45.981128 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 19 (aug_get) took 0.00 seconds
T, [2012-01-03T12:43:45.982873 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x44
T, [2012-01-03T12:43:45.986016 #31568] TRACE -- : GFS: mount --bind /dev /sysroot/dev
T, [2012-01-03T12:43:46.110003 #31568] TRACE -- : GFS: mount --bind /dev/pts /sysroot/dev/pts
T, [2012-01-03T12:43:46.245018 #31568] TRACE -- : GFS: mount --bind /proc /sysroot/proc
T, [2012-01-03T12:43:46.379683 #31568] TRACE -- : GFS: mount --bind /selinux /sysroot/selinux
T, [2012-01-03T12:43:46.473917 #31568] TRACE -- : GFS: mount: mount point /sysroot/selinux does not exist
T, [2012-01-03T12:43:46.477606 #31568] TRACE -- : GFS:
T, [2012-01-03T12:43:46.485393 #31568] TRACE -- : GFS: mount --bind /sys /sysroot/sys
T, [2012-01-03T12:43:46.725299 #31568] TRACE -- : GFS: /bin/sh -c /usr/sbin/load_policy
T, [2012-01-03T12:43:51.758287 #31568] TRACE -- : GFS: SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.26, searching for an older version.
T, [2012-01-03T12:43:51.765445 #31568] TRACE -- : GFS:
T, [2012-01-03T12:43:51.990094 #31568] TRACE -- : GFS: SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.26: No such file or directory
T, [2012-01-03T12:43:51.992892 #31568] TRACE -- : GFS: /usr/sbin/load_policy: Can't load policy: No such file or directory
T, [2012-01-03T12:43:52.014983 #31568] TRACE -- : GFS: umount /sysroot/sys
T, [2012-01-03T12:43:52.016442 #31568] TRACE -- : GFS:
T, [2012-01-03T12:43:52.201965 #31568] TRACE -- : GFS: umount /sysroot/proc
T, [2012-01-03T12:43:52.354319 #31568] TRACE -- : GFS: umount /sysroot/dev/pts
T, [2012-01-03T12:43:52.506944 #31568] TRACE -- : GFS: umount /sysroot/dev
T, [2012-01-03T12:43:52.649592 #31568] TRACE -- : GFS: guestfsd: error: SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.26, searching for an older version.
SELinux: Could not open policy file <= /etc/selinux/targeted
T, [2012-01-03T12:43:52.650971 #31568] TRACE -- : GFS: /policy/policy.26: No such file or directory
/usr/sbin/load_policy: Can't load policy: No such file or directory
D, [2012-01-03T12:43:52.652979 #31568] DEBUG -- : GFS: sh = NULL (error)
W, [2012-01-03T12:43:52.653290 #31568] WARN -- : Loading SELinux policy failed. SELinux may be not fully initialized.
D, [2012-01-03T12:43:52.653495 #31568] DEBUG -- : GFS: aug_close
T, [2012-01-03T12:43:52.656875 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 111 (sh) took 6.33 seconds
T, [2012-01-03T12:43:52.658244 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:43:52.926536 #31568] DEBUG -- : GFS: aug_close = 0
T, [2012-01-03T12:43:52.926970 #31568] TRACE -- : Guestfs launched.
D, [2012-01-03T12:43:52.927231 #31568] DEBUG -- : Uploading '/etc/resolv.conf'...
D, [2012-01-03T12:43:52.927431 #31568] DEBUG -- : GFS: upload "/etc/resolv.conf" "/etc/resolv.conf"
T, [2012-01-03T12:43:52.928745 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 26 (aug_close) took 0.24 seconds
T, [2012-01-03T12:43:52.936312 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x3c
T, [2012-01-03T12:43:52.987055 #31568] TRACE -- : GFS: guestfsd: receive_file: reading length word
T, [2012-01-03T12:43:52.989553 #31568] TRACE -- : GFS: guestfsd: receive_file: got chunk: cancel = 0x0, len = 50, buf = 0x5eb1590
T, [2012-01-03T12:43:52.992679 #31568] TRACE -- : GFS: guestfsd: receive_file: reading length word
guestfsd: re
T, [2012-01-03T12:43:52.994330 #31568] TRACE -- : GFS: ceive_file: got chunk: cancel = 0x0, len = 0, buf = (nil)
guestfsd: receive_file: end of file, leaving function
T, [2012-01-03T12:43:52.995908 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 66 (upload) took 0.05 seconds
D, [2012-01-03T12:43:52.996336 #31568] DEBUG -- : GFS: upload = 0
D, [2012-01-03T12:43:52.996477 #31568] DEBUG -- : '/etc/resolv.conf' uploaded.
D, [2012-01-03T12:43:52.996635 #31568] DEBUG -- : Changing configuration files using augeas...
D, [2012-01-03T12:43:52.996808 #31568] DEBUG -- : GFS: exists "/etc/ssh/sshd_config"
T, [2012-01-03T12:43:52.998844 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x40
D, [2012-01-03T12:43:53.019800 #31568] DEBUG -- : GFS: exists = 1
D, [2012-01-03T12:43:53.021047 #31568] DEBUG -- : GFS: exists "/etc/sysconfig/selinux"
T, [2012-01-03T12:43:53.026177 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 36 (exists) took 0.02 seconds
T, [2012-01-03T12:43:53.028636 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x44
D, [2012-01-03T12:43:53.031209 #31568] DEBUG -- : GFS: exists = 1
D, [2012-01-03T12:43:53.031509 #31568] DEBUG -- : GFS: debug "help" ""
T, [2012-01-03T12:43:53.032830 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 36 (exists) took 0.00 seconds
T, [2012-01-03T12:43:53.034785 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x34
D, [2012-01-03T12:43:53.036594 #31568] DEBUG -- : GFS: debug = "Commands supported: help binaries core_pattern env fds ldd ls ll progress qtrace segv sh"
T, [2012-01-03T12:43:53.036820 #31568] TRACE -- : Enabling coredump catching for augeas...
D, [2012-01-03T12:43:53.036984 #31568] DEBUG -- : GFS: debug "core_pattern" "/sysroot/core"
T, [2012-01-03T12:43:53.038424 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 76 (debug) took 0.00 seconds
T, [2012-01-03T12:43:53.040879 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x50
D, [2012-01-03T12:43:53.043848 #31568] DEBUG -- : GFS: debug = "ok"
D, [2012-01-03T12:43:53.044296 #31568] DEBUG -- : GFS: aug_init "/" 32
T, [2012-01-03T12:43:53.045753 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 76 (debug) took 0.00 seconds
T, [2012-01-03T12:43:53.047721 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x34
D, [2012-01-03T12:43:59.722746 #31568] DEBUG -- : GFS: aug_init = 0
D, [2012-01-03T12:43:59.723337 #31568] DEBUG -- : GFS: aug_rm "/augeas/load//incl[. != '/etc/ssh/sshd_config' and . != '/etc/sysconfig/selinux']"
T, [2012-01-03T12:43:59.724649 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 16 (aug_init) took 6.31 seconds
T, [2012-01-03T12:43:59.726559 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x80
D, [2012-01-03T12:43:59.741752 #31568] DEBUG -- : GFS: aug_rm = 194
D, [2012-01-03T12:43:59.742149 #31568] DEBUG -- : GFS: aug_load
T, [2012-01-03T12:43:59.743572 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 22 (aug_rm) took 0.01 seconds
T, [2012-01-03T12:43:59.745464 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:44:00.292409 #31568] DEBUG -- : GFS: aug_load = 0
D, [2012-01-03T12:44:00.292913 #31568] DEBUG -- : GFS: aug_set "/files/etc/ssh/sshd_config/UseDNS" "no"
T, [2012-01-03T12:44:00.294316 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 27 (aug_load) took 0.51 seconds
T, [2012-01-03T12:44:00.296194 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x58
D, [2012-01-03T12:44:00.297282 #31568] DEBUG -- : GFS: aug_set = 0
D, [2012-01-03T12:44:00.297643 #31568] DEBUG -- : GFS: aug_set "/files/etc/sysconfig/selinux/SELINUX" "permissive"
T, [2012-01-03T12:44:00.299067 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 20 (aug_set) took 0.00 seconds
T, [2012-01-03T12:44:00.300800 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x60
D, [2012-01-03T12:44:00.301117 #31568] DEBUG -- : GFS: aug_set = 0
D, [2012-01-03T12:44:00.301294 #31568] DEBUG -- : GFS: aug_save
T, [2012-01-03T12:44:00.302595 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 20 (aug_set) took 0.00 seconds
T, [2012-01-03T12:44:00.304428 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:44:00.824114 #31568] DEBUG -- : GFS: aug_save = 0
D, [2012-01-03T12:44:00.824703 #31568] DEBUG -- : GFS: aug_close
T, [2012-01-03T12:44:00.826150 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 25 (aug_save) took 0.49 seconds
T, [2012-01-03T12:44:00.828000 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:44:00.965829 #31568] DEBUG -- : GFS: aug_close = 0
D, [2012-01-03T12:44:00.966063 #31568] DEBUG -- : Augeas changes saved.
D, [2012-01-03T12:44:00.966196 #31568] DEBUG -- : Applying root password...
D, [2012-01-03T12:44:00.966334 #31568] DEBUG -- : GFS: sh "/usr/bin/passwd -d root"
T, [2012-01-03T12:44:00.968400 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 26 (aug_close) took 0.13 seconds
guestfsd: main_loop: new request, len 0x44
T, [2012-01-03T12:44:00.972128 #31568] TRACE -- : GFS: mount --bind /dev /sysroot/dev
T, [2012-01-03T12:44:01.083760 #31568] TRACE -- : GFS: mount --bind /dev/pts /sysroot/dev/pts
T, [2012-01-03T12:44:01.204514 #31568] TRACE -- : GFS: mount --bind /proc /sysroot/proc
T, [2012-01-03T12:44:01.312793 #31568] TRACE -- : GFS: mount --bind /selinux /sysroot/selinux
T, [2012-01-03T12:44:01.399377 #31568] TRACE -- : GFS: mount: mount point /sysroot/selinux does not exist
T, [2012-01-03T12:44:01.403960 #31568] TRACE -- : GFS:
T, [2012-01-03T12:44:01.410843 #31568] TRACE -- : GFS: mount --bind /sys /sysroot/sys
T, [2012-01-03T12:44:01.519475 #31568] TRACE -- : GFS: /bin/sh -c /usr/bin/passwd -d root
T, [2012-01-03T12:44:03.090466 #31568] TRACE -- : GFS: umount /sysroot/sys
T, [2012-01-03T12:44:03.220145 #31568] TRACE -- : GFS: umount /sysroot/proc
T, [2012-01-03T12:44:03.332181 #31568] TRACE -- : GFS: umount /sysroot/dev/pts
T, [2012-01-03T12:44:03.443505 #31568] TRACE -- : GFS: umount /sysroot/dev
D, [2012-01-03T12:44:03.553209 #31568] DEBUG -- : GFS: sh = "Removing password for user root.
passwd: Success
"
D, [2012-01-03T12:44:03.569062 #31568] DEBUG -- : GFS: sh "/usr/sbin/usermod -p 'UBbxZuwvxuo4Y' root"
T, [2012-01-03T12:44:03.570461 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 111 (sh) took 2.54 seconds
T, [2012-01-03T12:44:03.572248 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x58
T, [2012-01-03T12:44:03.585615 #31568] TRACE -- : GFS: mount --bind /dev /sysroot/dev
T, [2012-01-03T12:44:03.699296 #31568] TRACE -- : GFS: mount --bind /dev/pts /sysroot/dev/pts
T, [2012-01-03T12:44:03.818239 #31568] TRACE -- : GFS: mount --bind /proc /sysroot/proc
T, [2012-01-03T12:44:03.935285 #31568] TRACE -- : GFS: mount --bind /selinux /sysroot/selinux
T, [2012-01-03T12:44:04.022138 #31568] TRACE -- : GFS: mount: mount point /sysroot/selinux does not exist
T, [2012-01-03T12:44:04.025164 #31568] TRACE -- : GFS:
T, [2012-01-03T12:44:04.031995 #31568] TRACE -- : GFS: mount --bind /sys /sysroot/sys
T, [2012-01-03T12:44:04.153275 #31568] TRACE -- : GFS: /bin/sh -c /usr/sbin/usermod -p 'UBbxZuwvxuo4Y' root
T, [2012-01-03T12:44:05.048937 #31568] TRACE -- : GFS: umount /sysroot/sys
T, [2012-01-03T12:44:05.166796 #31568] TRACE -- : GFS: umount /sysroot/proc
T, [2012-01-03T12:44:05.292490 #31568] TRACE -- : GFS: umount /sysroot/dev/pts
T, [2012-01-03T12:44:05.409300 #31568] TRACE -- : GFS: umount /sysroot/dev
D, [2012-01-03T12:44:05.559062 #31568] DEBUG -- : GFS: sh = ""
D, [2012-01-03T12:44:05.559722 #31568] DEBUG -- : Password applied.
T, [2012-01-03T12:44:05.559971 #31568] TRACE -- : Searching for swap partition to set label...
D, [2012-01-03T12:44:05.560209 #31568] DEBUG -- : GFS: list_devices
T, [2012-01-03T12:44:05.563004 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 111 (sh) took 1.93 seconds
guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:44:05.580093 #31568] DEBUG -- : GFS: list_devices = ["/dev/vda"]
D, [2012-01-03T12:44:05.580347 #31568] DEBUG -- : GFS: list_partitions
T, [2012-01-03T12:44:05.582372 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 7 (list_devices) took 0.01 seconds
guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:44:05.585095 #31568] DEBUG -- : GFS: list_partitions = ["/dev/vda1", "/dev/vda2"]
D, [2012-01-03T12:44:05.585985 #31568] DEBUG -- : GFS: vfs_type "/dev/vda1"
T, [2012-01-03T12:44:05.587272 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds
T, [2012-01-03T12:44:05.589039 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
T, [2012-01-03T12:44:05.592136 #31568] TRACE -- : GFS: blkid -c /dev/null -o value -s TYPE /dev/vda1
D, [2012-01-03T12:44:05.797064 #31568] DEBUG -- : GFS: vfs_type = ""
D, [2012-01-03T12:44:05.797533 #31568] DEBUG -- : GFS: vfs_type "/dev/vda2"
T, [2012-01-03T12:44:05.798934 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 198 (vfs_type) took 0.20 seconds
T, [2012-01-03T12:44:05.801087 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
T, [2012-01-03T12:44:05.803005 #31568] TRACE -- : GFS: blkid -c /dev/null -o value -s TYPE /dev/vda2
D, [2012-01-03T12:44:05.850554 #31568] DEBUG -- : GFS: vfs_type = "ext4"
D, [2012-01-03T12:44:05.851017 #31568] DEBUG -- : GFS: vfs_type "/dev/vda2"
T, [2012-01-03T12:44:05.852613 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 198 (vfs_type) took 0.04 seconds
T, [2012-01-03T12:44:05.854605 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
T, [2012-01-03T12:44:05.856637 #31568] TRACE -- : GFS: blkid -c /dev/null -o value -s TYPE /dev/vda2
D, [2012-01-03T12:44:05.896047 #31568] DEBUG -- : GFS: vfs_type = "ext4"
D, [2012-01-03T12:44:05.896458 #31568] DEBUG -- : GFS: vfs_type "/dev/vda2"
T, [2012-01-03T12:44:05.898116 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 198 (vfs_type) took 0.04 seconds
T, [2012-01-03T12:44:05.899963 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
T, [2012-01-03T12:44:05.901497 #31568] TRACE -- : GFS: blkid -c /dev/null -o value -s TYPE /dev/vda2
D, [2012-01-03T12:44:05.941709 #31568] DEBUG -- : GFS: vfs_type = "ext4"
D, [2012-01-03T12:44:05.942368 #31568] DEBUG -- : Using labels for partitions...
D, [2012-01-03T12:44:05.942638 #31568] DEBUG -- : GFS: list_devices
T, [2012-01-03T12:44:05.944115 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 198 (vfs_type) took 0.04 seconds
T, [2012-01-03T12:44:05.945960 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x28
D, [2012-01-03T12:44:05.949048 #31568] DEBUG -- : GFS: list_devices = ["/dev/vda"]
D, [2012-01-03T12:44:05.949471 #31568] DEBUG -- : GFS: read_file "/etc/fstab"
T, [2012-01-03T12:44:05.950809 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds
T, [2012-01-03T12:44:05.952710 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
D, [2012-01-03T12:44:05.981798 #31568] DEBUG -- : GFS: read_file = "/dev/sda2 / ext4 defaults,noatime 0 0\x0a/dev/sda1 biosboot biosboot defaults,noatime 0 0\x0adevpts /dev/pts devpts gid=5,mode=620 0 0\x0atmpfs /dev/shm tmpfs defaults 0 0\x0aproc /proc proc defaults 0 0\x0asysfs "<truncated, original size 295 bytes> D, [2012-01-03T12:44:05.982181 #31568] DEBUG -- : GFS: vfs_label "/dev/vda2"
T, [2012-01-03T12:44:05.983494 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 150 (read_file) took 0.02 seconds
T, [2012-01-03T12:44:05.985475 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
T, [2012-01-03T12:44:05.986977 #31568] TRACE -- : GFS: blkid -c /dev/null -o value -s LABEL /dev/vda2
D, [2012-01-03T12:44:06.028513 #31568] DEBUG -- : GFS: vfs_label = "79d3d2d4"
D, [2012-01-03T12:44:06.029121 #31568] DEBUG -- : GFS: vfs_label "/dev/vda1"
T, [2012-01-03T12:44:06.030524 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 253 (vfs_label) took 0.04 seconds
T, [2012-01-03T12:44:06.032467 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x38
T, [2012-01-03T12:44:06.034512 #31568] TRACE -- : GFS: blkid -c /dev/null -o value -s LABEL /dev/vda1
D, [2012-01-03T12:44:06.115825 #31568] DEBUG -- : GFS: vfs_label = ""
D, [2012-01-03T12:44:06.116318 #31568] DEBUG -- : GFS: write_file "/etc/fstab" "LABEL=79d3d2d4 / ext4 defaults,noatime 0 0 LABEL= biosboot biosboot defaults,noatime 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 " 0
T, [2012-01-03T12:44:06.117866 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 253 (vfs_label) took 0.08 seconds
T, [2012-01-03T12:44:06.119668 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x16c
D, [2012-01-03T12:44:06.125884 #31568] DEBUG -- : GFS: write_file = 0
D, [2012-01-03T12:44:06.126158 #31568] DEBUG -- : GFS: exists "/boot/grub/grub.conf"
T, [2012-01-03T12:44:06.128343 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 44 (write_file) took 0.00 seconds
guestfsd: main_loop: new request, len 0x40
D, [2012-01-03T12:44:06.193254 #31568] DEBUG -- : GFS: exists = 0
D, [2012-01-03T12:44:06.193660 #31568] DEBUG -- : Done.
D, [2012-01-03T12:44:06.193933 #31568] DEBUG -- : Disabling firewall...
D, [2012-01-03T12:44:06.194081 #31568] DEBUG -- : GFS: sh "lokkit -q --disabled"
T, [2012-01-03T12:44:06.195369 #31568] TRACE -- : GFS: guestfsd: main_loop: proc 36 (exists) took 0.06 seconds
T, [2012-01-03T12:44:06.197140 #31568] TRACE -- : GFS: guestfsd: main_loop: new request, len 0x40
T, [2012-01-03T12:44:06.199935 #31568] TRACE -- : GFS: mount --bind /dev /sysroot/dev
T, [2012-01-03T12:44:06.317880 #31568] TRACE -- : GFS: mount --bind /dev/pts /sysroot/dev/pts
T, [2012-01-03T12:44:06.437783 #31568] TRACE -- : GFS: mount --bind /proc /sysroot/proc
T, [2012-01-03T12:44:06.560574 #31568] TRACE -- : GFS: mount --bind /selinux /sysroot/selinux
T, [2012-01-03T12:44:06.652980 #31568] TRACE -- : GFS: mount: mount point /sysroot/selinux does not exist
T, [2012-01-03T12:44:06.656657 #31568] TRACE -- : GFS:
T, [2012-01-03T12:44:06.663908 #31568] TRACE -- : GFS: mount --bind /sys /sysroot/sys
T, [2012-01-03T12:44:06.784878 #31568] TRACE -- : GFS: /bin/sh -c lokkit -q --disabled
T, [2012-01-03T12:44:13.528311 #31568] TRACE -- : GFS: umount /sysroot/sys
T, [2012-01-03T12:44:13.651784 #31568] TRACE -- : GFS: umount /sysroot/proc
T, [2012-01-03T12:44:13.777031 #31568] TRACE -- : GFS: umount /sysroot/dev/pts
T, [2012-01-03T12:44:14.040832 #31568] TRACE -- : GFS: umount /sysroot/dev
T, [2012-01-03T12:44:14.221357 #31568] TRACE -- : GFS: guestfsd: error:
D, [2012-01-03T12:44:14.224385 #31568] DEBUG -- : GFS: sh = NULL (error)
F, [2012-01-03T12:44:14.225030 #31568] FATAL -- : Guestfs::Error: sh:
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:184:in `sh'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:184:in `disable_firewall'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:87:in `build_with_appliance_creator'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/image-helper.rb:130:in `customize'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:176: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/os/rpm-based/rpm-based-os-plugin.rb:76:in `build_with_appliance_creator'
/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.10.0/lib/boxgrinder-build/plugins/os/fedora/fedora-plugin.rb:47: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
[micadeyeye@micadeyeye appliances]$
-
5. Re: Error Building a new appliance
goldmann Jan 3, 2012 11:21 AM (in response to asmicom)Hmm, we need to take a look at this. I'm wondering why it happens because our CI builds run just fine on a Fedora 16 JEOS. Could you please paste the .appl file content?
--Marek
P.S Please mark the pasted code as plain text in the future so it'll be not formatted.
-
6. Re: Error Building a new appliance
asmicom Jan 3, 2012 11:29 AM (in response to goldmann)name: f16-basic
summary: Just Enough Operating System based on Fedora 16
os:
name: fedora
version: 16
hardware:
partitions:
"/":
size: 2
packages:
- @core
-
7. Re: Error Building a new appliance
goldmann Jan 3, 2012 11:46 AM (in response to asmicom)I was able to build the appliance just fine with provided definition.
--Marek
-
8. Re: Error Building a new appliance
msavy Jan 3, 2012 11:50 AM (in response to asmicom)Just a few suggestions:
* Run `yum update` on your system as a whole
* Are you using Fedora 15 or 16 to build?
* Try building with --force to clear out any old builds
* As a last resort you could flush out the RPM cache, /var/cache/boxgrinder and start again, just in case something is funny in there.
-
9. Re: Error Building a new appliance
msavy Jan 3, 2012 11:54 AM (in response to asmicom)Btw we are *very* interested in hearing about any problems you (and other people) have with the libvirt tech-preview plugin. Let us know any issues so we can improve future versions.
I've already had some positive feedback, but if it breaks with your setup we're very keen to find out what is happening!
-
10. Re: Error Building a new appliance
asmicom Jan 4, 2012 8:51 AM (in response to msavy)The libvirt plugin works with the default settings and I am sure it would for other settings. I saw the image pushed to the default dir. When I tried to use the openstack plug-in, i saw that BG pushed and registered the image. But I could not find it in the default directory - /var/lib/nova/images. Where can it be?
[2012-01-04T15:22:22.348864 #7580] DEBUG -- : - s3 plugin for Amazon Simple Storage Service (Amazon S3).
D, [2012-01-04T15:22:22.348930 #7580] DEBUG -- : - openstack plugin for OpenStack.
D, [2012-01-04T15:22:22.349013 #7580] DEBUG -- : - cloudfront plugin for Amazon Simple Storage Service (Amazon S3).
D, [2012-01-04T15:22:22.349080 #7580] DEBUG -- : - local plugin for Local file system.
D, [2012-01-04T15:22:22.349160 #7580] DEBUG -- : - ami plugin for Amazon Simple Storage Service (Amazon S3).
D, [2012-01-04T15:22:22.349224 #7580] DEBUG -- : Plugins loaded.
I, [2012-01-04T15:22:22.372857 #7580] INFO -- : Validating appliance definition from f16-basic.appl file...
I, [2012-01-04T15:22:22.393915 #7580] INFO -- : Appliance definition is valid.
D, [2012-01-04T15:22:22.394104 #7580] DEBUG -- : Adding packages to appliance...
D, [2012-01-04T15:22:22.394188 #7580] DEBUG -- : 1 package(s) added to appliance.
I, [2012-01-04T15:22:22.430661 #7580] INFO -- : Building 'f16-basic' appliance for x86_64 architecture.
I, [2012-01-04T15:22:22.484290 #7580] INFO -- : Deliverables for fedora os plugin exists, skipping.
D, [2012-01-04T15:22:22.496591 #7580] DEBUG -- : Lowering from root to user.
D, [2012-01-04T15:22:22.496801 #7580] DEBUG -- : Executing delivery plugin...
D, [2012-01-04T15:22:22.501656 #7580] DEBUG -- : Checking if 'f16-basic-1.0-raw' appliance is already registered...
T, [2012-01-04T15:22:22.501857 #7580] TRACE -- : Listing images with params = {"name":"f16-basic-1.0-raw"}...
T, [2012-01-04T15:22:22.536619 #7580] TRACE -- : Listing done.
I, [2012-01-04T15:22:22.536885 #7580] INFO -- : Uploading and registering 'f16-basic-1.0-raw' appliance in OpenStack...
T, [2012-01-04T15:22:22.537007 #7580] TRACE -- : Disk format: raw, container format: bare, public: false, size: 2152726528.
I, [2012-01-04T15:23:42.927953 #7580] INFO -- : Appliance registered under id = 5.
D, [2012-01-04T15:23:43.156252 #7580] DEBUG -- : Delivery plugin executed.
[micadeyeye@micadeyeye ~]$ glance index
ID Name Disk Format Container Format Size
---------------- ------------------------------ -------------------- -------------------- --------------
3 ami-tty ami ami 25165824
2 aki-tty aki aki 4404752
1 ari-tty ari ari 5882349
[micadeyeye@micadeyeye ~]$
-
11. Re: Error Building a new appliance
goldmann Jan 4, 2012 8:49 AM (in response to asmicom)Michael,
Did my suggestion on IRC for setting selinux to permissive mode helped?
--Marek
-
12. Re: Error Building a new appliance
goldmann Jan 4, 2012 8:51 AM (in response to asmicom)Michael,
Refer to your OpenStack installation for the location where them images sent via REST api are stored.
P.S. Please don't mix questions in one post.
--Marek
-
13. Re: Error Building a new appliance
asmicom Jan 4, 2012 8:57 AM (in response to goldmann)Yes Marek, it worked.
-
14. Re: Error Building a new appliance
asmicom Jan 13, 2012 12:13 PM (in response to asmicom)please see http://ngportal.com/dump/Screenshot.png. I can't log into the kernel. I used BG to create an image and pushed it to OpenStack. But I couldn't log on to the kernel, when I tried to run an instance of the image.
I asked the guys at Fedora and OpenStack, but they couldn't resolve it. Since I used a meta appliance and the raw file was pulled from your server, I guess you tweaked the source. So, you would know the username & pwd.