-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I was testing oz/imagefactory on 32 bit arm, you have to have
kernel-lpae installed to run kvm. while you can have the regular
kernel installed also. You end up having the system booting the regular
kernel and you do not get kvm. Ideally supermin will work with the lpae
kernel.
https://github.com/libguestfs/supermin/blob/master/src/kernel.ml#L112
explictly removes it.
the result is that if you have a system setup to run kvm ou get the
following.
Dennis
[root@cubietruck01 ~]# LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
imagefactory --debug base_image tdl-armv7hl.xml --file-parameter
install_script fedora-docker-base-66b3b50.ks 2015-03-03 17:02:51,968
DEBUG root thread(MainThread) Message: Unable to find python module,
faulthandler... multi-thread tracebacks will not be available. See
http://pypi.python.org/pypi/faulthandler/ for more information.
2015-03-03 17:02:51,972 INFO imgfac.PluginManager.PluginManager
thread(MainThread) Message: Plugin (TinMan) loaded... 2015-03-03
17:02:51,975 INFO imgfac.PluginManager.PluginManager thread(MainThread)
Message: Plugin (Docker) loaded... 2015-03-03 17:02:51,977 INFO
imgfac.PluginManager.PluginManager thread(MainThread) Message: Plugin
(OpenStack) loaded... 2015-03-03 17:02:51,979 DEBUG root
thread(MainThread) Message: Parameters are: 2015-03-03 17:02:52,004
DEBUG root thread(MainThread) Message: {'install_script':
'#version=DEVEL\n# Keyboard layouts\nkeyboard \'us\'\n# Reboot after
installation\nreboot\n# Root password\nrootpw --plaintext qweqwe\n#
System timezone\ntimezone Etc/UTC --isUtc --nontp\n# Firewall
configuration\nfirewall --disabled\n# Network information\nnetwork
- --bootproto=dhcp --device=link --activate\ncmdline\n\n# System
bootloader configuration\nbootloader --location=none\n# Clear the
Master Boot Record\nzerombr\n# Partition clearing
information\nclearpart --all\n# Disk partitioning information\npart /
- --fstype="ext4" --size=3000\n\n%post
- --logfile /tmp/anaconda-post.log\n# Set the language rpm nodocs
transaction flag persistently in the\n# image yum.conf and rpm
macros\n\nLANG="en_US"\necho "%_install_lang $LANG"
/etc/rpm/macros.image-language-conf\n\nawk
\'(NF==0&&!done){print
"override_install_langs=\'$LANG\'\\ntsflags=nodocs";done=1}{print}\'
\\\n < /etc/yum.conf
> /etc/yum.conf.new\nmv /etc/yum.conf.new /etc/yum.conf\n\necho
> "Import RPM GPG key"\nreleasever=$(rpm -q --qf \'%{version}\\n\'
> fedora-release)\nbasearch=$(uname -i)\nrpm
> --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch\n\nrm
> -f /usr/lib/locale/locale-archive\n\n#Setup locale
> properly\nlocaledef -v -c -i en_US -f UTF-8 en_US.UTF-8\n\nrm
> -rf /var/cache/yum/*\nrm -f /tmp/ks-script*\n\n#Make it easier for
> systemd to run in Docker
> container\ncp /usr/lib/systemd/system/dbus.service /etc/systemd/system/\nsed
> -i
> \'s/OOMScoreAdjust=-900//\' /etc/systemd/system/dbus.service\n\n#Mask
> mount units and getty service so that we don\'t get login
> prompt\nsystemctl mask systemd-remount-fs.service
> dev-hugepages.mount sys-fs-fuse-connections.mount
> systemd-logind.service getty.target console-getty.service\n\nrm
> -f /etc/machine-id\n\n%end\n\n%packages --excludedocs --nocore
>
--instLangs=en\nbash\nfedora-release\nrootfiles\nvim-minimal\nyum\n-kernel\n\n%end\nurl
>
--url=http://dl.fedoraproject.org/pub/alt/stage/22_Alpha_TC8/Cloud/armhfp/os/\n'}
> 2015-03-03 17:02:52,011 DEBUG imgfac.Builder.Builder
> thread(MainThread) Message: No SecondaryDispatcher present - Use of
> secondary factories is not enabled 2015-03-03 17:02:52,015 DEBUG
> imgfac.FilePersistentImageManager.FilePersistentImageManager
> thread(MainThread) Message: Created
> file /var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.meta
> 2015-03-03 17:02:52,018 DEBUG
> imgfac.FilePersistentImageManager.FilePersistentImageManager
> thread(MainThread) Message: Created
> file /var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.body
> 2015-03-03 17:02:52,020 DEBUG imgfac.PersistentImage.BaseImage
> thread(MainThread) Message: Getting metadata in class (<class
> 'imgfac.BaseImage.BaseImage'>) my metadata is (()) 2015-03-03
> 17:02:52,021 DEBUG imgfac.PersistentImage.BaseImage
> thread(MainThread) Message: Executing metadata in class (<class
> 'imgfac.BaseImage.BaseImage'>) my metadata is (('identifier',
> 'data', 'template', 'icicle', 'status_detail',
'status',
> 'percent_complete', 'parameters', 'properties')) 2015-03-03
> 17:02:52,025 DEBUG
> imgfac.FilePersistentImageManager.FilePersistentImageManager
> thread(MainThread) Message: Saved metadata for image
> (03355f6f-33f4-410f-824a-eaddf3fb1767): {'status': 'NEW',
> 'identifier': '03355f6f-33f4-410f-824a-eaddf3fb1767',
'parameters':
> {'install_script': '#version=DEVEL\n# Keyboard layouts\nkeyboard
> \'us\'\n# Reboot after installation\nreboot\n# Root
> password\nrootpw --plaintext qweqwe\n# System timezone\ntimezone
> Etc/UTC --isUtc --nontp\n# Firewall configuration\nfirewall
> --disabled\n# Network information\nnetwork --bootproto=dhcp
> --device=link --activate\ncmdline\n\n# System bootloader
> configuration\nbootloader --location=none\n# Clear the Master Boot
> Record\nzerombr\n# Partition clearing information\nclearpart
> --all\n# Disk partitioning information\npart / --fstype="ext4"
> --size=3000\n\n%post --logfile /tmp/anaconda-post.log\n# Set the
> language rpm nodocs transaction flag persistently in the\n# image
> yum.conf and rpm macros\n\nLANG="en_US"\necho "%_install_lang
> $LANG" > /etc/rpm/macros.image-language-conf\n\nawk
> \'(NF==0&&!done){print
>
"override_install_langs=\'$LANG\'\\ntsflags=nodocs";done=1}{print}\'
> \\\n < /etc/yum.conf
> > /etc/yum.conf.new\nmv /etc/yum.conf.new /etc/yum.conf\n\necho
> > "Import RPM GPG key"\nreleasever=$(rpm -q --qf
\'%{version}\\n\'
> > fedora-release)\nbasearch=$(uname -i)\nrpm
> > --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch\n\nrm
> > -f /usr/lib/locale/locale-archive\n\n#Setup locale
> > properly\nlocaledef -v -c -i en_US -f UTF-8 en_US.UTF-8\n\nrm
> > -rf /var/cache/yum/*\nrm -f /tmp/ks-script*\n\n#Make it easier
> > for systemd to run in Docker
> > container\ncp /usr/lib/systemd/system/dbus.service /etc/systemd/system/\nsed
> > -i
> > \'s/OOMScoreAdjust=-900//\' /etc/systemd/system/dbus.service\n\n#Mask
> > mount units and getty service so that we don\'t get login
> > prompt\nsystemctl mask systemd-remount-fs.service
> > dev-hugepages.mount sys-fs-fuse-connections.mount
> > systemd-logind.service getty.target console-getty.service\n\nrm
> > -f /etc/machine-id\n\n%end\n\n%packages --excludedocs --nocore
> >
--instLangs=en\nbash\nfedora-release\nrootfiles\nvim-minimal\nyum\n-kernel\n\n%end\nurl
> >
--url=http://dl.fedoraproject.org/pub/alt/stage/22_Alpha_TC8/Cloud/armhfp/os/\n'},
> > 'icicle': None, 'data':
> >
'/var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.body',
> > 'status_detail': {'error': None, 'activity':
'Initializing image
> > prior to Cloud/OS customization'}, 'template':
"<template>\n
> > <name>Fedora-Docker-Base-22_Alpha_TC8-20150302.armv7l</name>\n
> > <os>\n <name>Fedora</name>\n
> > <version>20</version>\n
> > <arch>armv7l</arch>\n <install
> > type='url'>\n
> >
<
url>http://dl.fedoraproject.org/pub/alt/stage/22_Alpha_TC8/Cloud/armhf...
> > </install>\n <icicle>\n
<extra_command>rpm
> > -qa --qf
> >
'%{NAME},%{VERSION},%{RELEASE},%{ARCH},%{EPOCH},%{SIZE},%{SIGMD5},%{BUILDTIME}\n'</extra_command>\n
> > </icicle>\n </os>\n
> > <description>Fedora-Docker-Base-22_Alpha_TC8-20150302.armv7hl
> > OS</description>\n <disk>\n
<size>3G</size>\n
> > </disk>\n</template>\n", 'percent_complete': 0,
'type':
> > 'BaseImage', 'properties': {}} 2015-03-03 17:02:52,033 DEBUG
> > imgfac.PersistentImage.BaseImage thread(MainThread) Message:
> > Getting metadata in class (<class 'imgfac.BaseImage.BaseImage'>)
> > my metadata is (()) 2015-03-03 17:02:52,046 DEBUG
> > imgfac.PluginManager.PluginManager thread(d367f895) Message:
> > Attempting to match list target (['Fedora', '20',
'armv7l'])
> > 2015-03-03 17:02:52,047 DEBUG imgfac.PersistentImage.BaseImage
> > thread(MainThread) Message: Executing metadata in class (<class
> > 'imgfac.BaseImage.BaseImage'>) my metadata is
(('identifier',
> > 'data', 'template', 'icicle', 'status_detail',
'status',
> > 'percent_complete', 'parameters', 'properties'))
2015-03-03
> > 17:02:52,522 INFO imagefactory_plugins.TinMan.TinMan.TinMan
> > thread(d367f895) Message: create_base_image() called for TinMan
> > plugin - creating a BaseImage =============== Final Oz Config
> > ================ [ paths ] output_dir
> > = /var/lib/imagefactory/images data_dir = /var/lib/oz
> > screenshot_dir = /var/lib/oz/screenshots [ libvirt ] uri =
> > qemu:///system image_type = raw type = kvm
bridge_name = br0
cpus = 2
memory = 1024
[ cache ]
original_media = yes
modified_media = no
jeos = no
[ icicle ]
safe_generation = no
2015-03-03 17:02:52,791 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: libvirt bridge name is br0 2015-03-03 17:02:52,793 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Libvirt type is kvm
2015-03-03 17:02:53,134 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: Name: factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767,
UUID: 9f3f0ebb-90a8-4650-864e-c51a904f3a4b 2015-03-03 17:02:53,135
DEBUG oz.Guest.FedoraGuest thread(d367f895) Message: MAC:
52:54:00:ac:75:ee, distro: Fedora 2015-03-03 17:02:53,137 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: update: 20, arch:
armv7l,
diskimage:
/var/lib/imagefactory/images/factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767.dsk
2015-03-03 17:02:53,138 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: nicmodel: virtio, clockoffset: utc 2015-03-03 17:02:53,139
DEBUG oz.Guest.FedoraGuest thread(d367f895) Message: mousetype: ps2,
disk_bus: virtio, disk_dev: vda 2015-03-03 17:02:53,140 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message:
icicletmp: /var/lib/oz/icicletmp/factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767,
listen_port: 48054 2015-03-03 17:02:53,141 DEBUG oz.Guest.FedoraGuest
thread(d367f895) Message: Original ISO
path: /var/lib/oz/isos/Fedora20armv7l-url.iso 2015-03-03 17:02:53,143
DEBUG oz.Guest.FedoraGuest thread(d367f895) Message: Modified ISO
cache: /var/lib/oz/isos/Fedora20armv7l-url-oz.iso 2015-03-03
17:02:53,144 DEBUG oz.Guest.FedoraGuest thread(d367f895) Message:
Output ISO
path:
/var/lib/imagefactory/images/factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767-url-oz.iso
2015-03-03 17:02:53,145 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: ISO content
path: /var/lib/oz/isocontent/factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767-url
2015-03-03 17:02:53,147 DEBUG imagefactory_plugins.TinMan.TinMan.TinMan
thread(d367f895) Message: Cleaning up any old Oz guest 2015-03-03
17:02:53,148 INFO oz.Guest.FedoraGuest thread(d367f895) Message:
Cleaning up guest named
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 2015-03-03
17:02:53,152 DEBUG imagefactory_plugins.TinMan.TinMan.TinMan
thread(d367f895) Message: Generating JEOS install media 2015-03-03
17:02:53,154 DEBUG imgfac.ReservationManager.ReservationManager
thread(d367f895) Message: Grabbing named lock (Fedora-20-armv7l-url)
2015-03-03 17:02:53,155 DEBUG
imgfac.ReservationManager.ReservationManager thread(d367f895) Message:
Got named lock (Fedora-20-armv7l-url) 2015-03-03 17:02:53,156 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Installtype is URL,
trying to do direct kernel boot 2015-03-03 17:02:53,326 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Going to write treeinfo
to /var/lib/oz/icicletmp/factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767/treeinfo
2015-03-03 17:02:53,329 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: Trying to get treeinfo from
http://dl.fedoraproject.org/pub/alt/stage/22_Alpha_TC8/Cloud/armhfp/os//....
2015-03-03 17:02:53,675 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: Got treeinfo, parsing 2015-03-03 17:02:53,738 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Kernel was None, trying
images/pxeboot/vmlinuz 2015-03-03 17:02:53,739 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Initrd was None, trying
images/pxeboot/initrd.img 2015-03-03 17:02:53,741 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Attempting to get the
lock for /var/lib/oz/kernels/Fedora20armv7l-kernel 2015-03-03
17:02:53,743 DEBUG oz.Guest.FedoraGuest thread(d367f895) Message: Got
the lock for /var/lib/oz/kernels/Fedora20armv7l-kernel 2015-03-03
17:02:53,744 INFO oz.Guest.FedoraGuest thread(d367f895) Message:
Fetching the original media 2015-03-03 17:02:53,918 INFO
oz.Guest.FedoraGuest thread(d367f895) Message: Original install media
available, using cached version 2015-03-03 17:02:54,028 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Attempting to get the
lock for /var/lib/oz/kernels/Fedora20armv7l-ramdisk 2015-03-03
17:02:54,029 DEBUG oz.Guest.FedoraGuest thread(d367f895) Message: Got
the lock for /var/lib/oz/kernels/Fedora20armv7l-ramdisk 2015-03-03
17:02:54,031 INFO oz.Guest.FedoraGuest thread(d367f895) Message:
Fetching the original media 2015-03-03 17:02:54,200 INFO
oz.Guest.FedoraGuest thread(d367f895) Message: Original install media
available, using cached version 2015-03-03 17:02:54,201 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Putting the kickstart in
place 2015-03-03 17:02:54,205 DEBUG oz.Guest.FedoraGuest
thread(d367f895) Message: Writing cpio
to /var/lib/oz/icicletmp/factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767/extra.cpio
2015-03-03 17:02:54,797 DEBUG
imgfac.ReservationManager.ReservationManager thread(d367f895) Message:
Releasing named lock (Fedora-20-armv7l-url) 2015-03-03 17:02:54,799
DEBUG imagefactory_plugins.TinMan.TinMan.TinMan thread(d367f895)
Message: Generating JEOS disk image 2015-03-03 17:02:54,801 INFO
oz.Guest.FedoraGuest thread(d367f895) Message: Generating 3GB diskimage
for factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 2015-03-03
17:02:54,837 DEBUG imagefactory_plugins.TinMan.TinMan.TinMan
thread(d367f895) Message: Execute JEOS install 2015-03-03 17:02:54,839
INFO oz.Guest.FedoraGuest thread(d367f895) Message: Running install for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 2015-03-03
17:02:54,841 INFO oz.Guest.FedoraGuest thread(d367f895) Message:
Generate XML for guest
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 with bootdev None
2015-03-03 17:02:54,845 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: Generated XML: <domain type="kvm">
<name>factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767</name>
<memory>1048576</memory> <currentMemory>1048576</currentMemory>
<uuid>9f3f0ebb-90a8-4650-864e-c51a904f3a4b</uuid> <clock
offset="utc"/>
<vcpu>2</vcpu> <features> <acpi/> <apic/> <pae/>
</features> <cpu
mode="custom" match="exact"> <model
fallback="allow">host</model>
</cpu> <os> <type machine="virt"
arch="armv7l">hvm</type>
<kernel>/var/lib/imagefactory/images/factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767-kernel</kernel>
<initrd>/var/lib/imagefactory/images/factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767-ramdisk</initrd>
<
cmdline>method=http://dl.fedoraproject.org/pub/alt/stage/22_Alpha_TC8/...
ks=file:/ks.cfg console=ttyAMA0</cmdline> </os>
<on_poweroff>destroy</on_poweroff> <on_reboot>destroy</on_reboot>
<on_crash>destroy</on_crash> <devices> <interface
type="bridge">
<source bridge="br0"/> <mac address="52:54:00:ac:75:ee"/>
<model
type="virtio"/> </interface> <input bus="ps2"
type="mouse"/> <serial
type="pty"> <target port="0"/> </serial> <serial
type="tcp"> <source
host="127.0.0.1" mode="bind" service="7126"/>
<protocol type="raw"/>
<target port="1"/> </serial> <disk device="disk"
type="file"> <target
bus="virtio" dev="vda"/> <source
file="/var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.body"/>
<driver type="raw" name="qemu"/> </disk> </devices>
</domain>
2015-03-03 17:02:58,962 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: Waiting for factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767
to finish installing, 3600/3600 2015-03-03 17:03:09,070 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3590/3600 2015-03-03 17:03:19,181 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3580/3600 2015-03-03 17:03:29,292 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3570/3600 2015-03-03 17:03:39,406 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3560/3600 2015-03-03 17:03:49,509 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3550/3600 2015-03-03 17:03:59,613 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3540/3600 2015-03-03 17:04:09,713 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3530/3600 2015-03-03 17:04:19,814 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3520/3600 2015-03-03 17:04:29,918 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3510/3600 2015-03-03 17:04:40,034 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3500/3600 2015-03-03 17:04:50,302 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3490/3600 2015-03-03 17:05:00,565 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3480/3600 2015-03-03 17:05:10,862 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3470/3600 2015-03-03 17:05:21,211 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3460/3600 2015-03-03 17:05:31,400 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3450/3600 2015-03-03 17:05:41,511 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3440/3600 2015-03-03 17:05:51,621 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3430/3600 2015-03-03 17:06:01,722 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3420/3600 2015-03-03 17:06:11,825 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3410/3600 2015-03-03 17:06:21,937 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3400/3600 2015-03-03 17:06:32,046 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3390/3600 2015-03-03 17:06:42,149 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3380/3600 2015-03-03 17:06:52,261 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3370/3600 2015-03-03 17:07:02,369 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3360/3600 2015-03-03 17:07:12,472 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3350/3600 2015-03-03 17:07:22,576 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3340/3600 2015-03-03 17:07:32,682 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3330/3600 2015-03-03 17:07:42,795 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3320/3600 2015-03-03 17:07:52,902 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3310/3600 2015-03-03 17:08:03,016 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3300/3600 2015-03-03 17:08:13,130 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3290/3600 2015-03-03 17:08:23,261 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3280/3600 2015-03-03 17:08:33,386 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3270/3600 2015-03-03 17:08:43,501 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3260/3600 2015-03-03 17:08:53,719 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3250/3600 2015-03-03 17:09:03,834 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3240/3600 2015-03-03 17:09:13,995 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3230/3600 2015-03-03 17:09:24,162 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3220/3600 2015-03-03 17:09:34,380 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3210/3600 2015-03-03 17:09:44,515 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3200/3600 2015-03-03 17:09:54,627 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3190/3600 2015-03-03 17:10:04,744 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3180/3600 2015-03-03 17:10:14,862 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3170/3600 2015-03-03 17:10:25,001 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3160/3600 2015-03-03 17:10:35,120 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3150/3600 2015-03-03 17:10:45,274 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3140/3600 2015-03-03 17:10:55,390 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3130/3600 2015-03-03 17:11:05,503 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3120/3600 2015-03-03 17:11:15,616 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3110/3600 2015-03-03 17:11:25,772 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3100/3600 2015-03-03 17:11:35,887 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3090/3600 2015-03-03 17:11:45,998 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3080/3600 2015-03-03 17:11:56,123 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3070/3600 2015-03-03 17:12:06,238 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3060/3600 2015-03-03 17:12:16,357 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3050/3600 2015-03-03 17:12:26,473 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3040/3600 2015-03-03 17:12:36,588 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3030/3600 2015-03-03 17:12:46,712 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3020/3600 2015-03-03 17:12:56,822 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3010/3600 2015-03-03 17:13:06,937 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 3000/3600 2015-03-03 17:13:17,075 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2990/3600 2015-03-03 17:13:27,194 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2980/3600 2015-03-03 17:13:37,320 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2970/3600 2015-03-03 17:13:47,441 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2960/3600 2015-03-03 17:13:57,583 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2950/3600 2015-03-03 17:14:07,715 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2940/3600 2015-03-03 17:14:17,857 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2930/3600 2015-03-03 17:14:27,979 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2920/3600 2015-03-03 17:14:38,099 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2910/3600 2015-03-03 17:14:48,215 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2900/3600 2015-03-03 17:14:58,332 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2890/3600 2015-03-03 17:15:08,429 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to finish
installing, 2880/3600 2015-03-03 17:15:12,257 DEBUG
oz.Guest.FedoraGuest thread(d367f895) Message: Waiting for
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 to complete
shutdown, 10/10 2015-03-03 17:15:12,743 INFO oz.Guest.FedoraGuest
thread(d367f895) Message: Install of
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 succeeded 2015-03-03
17:15:12,744 INFO oz.Guest.FedoraGuest thread(d367f895) Message:
Generate XML for guest
factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767 with bootdev hd
2015-03-03 17:15:12,748 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: Generated XML: <domain type="kvm">
<name>factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767</name>
<memory>1048576</memory> <currentMemory>1048576</currentMemory>
<uuid>9f3f0ebb-90a8-4650-864e-c51a904f3a4b</uuid> <clock
offset="utc"/>
<vcpu>2</vcpu> <features> <acpi/> <apic/> <pae/>
</features> <cpu
mode="custom" match="exact"> <model
fallback="allow">host</model>
</cpu> <os> <type machine="virt"
arch="armv7l">hvm</type> <boot
dev="hd"/> </os> <on_poweroff>destroy</on_poweroff>
<on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash>
<devices>
<interface type="bridge"> <source bridge="br0"/> <mac
address="52:54:00:ac:75:ee"/> <model type="virtio"/>
</interface>
<input bus="ps2" type="mouse"/> <serial
type="pty"> <target port="0"/>
</serial> <serial type="tcp"> <source host="127.0.0.1"
mode="bind"
service="7126"/> <protocol type="raw"/> <target
port="1"/> </serial>
<disk device="disk" type="file"> <target
bus="virtio" dev="vda"/>
<source
file="/var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.body"/>
<driver type="raw" name="qemu"/> </disk> </devices>
</domain>
2015-03-03 17:15:12,751 DEBUG imagefactory_plugins.TinMan.TinMan.TinMan
thread(d367f895) Message: Base install complete - Doing customization
and ICICLE generation 2015-03-03 17:15:12,753 INFO oz.Guest.FedoraGuest
thread(d367f895) Message: Customizing image 2015-03-03 17:15:12,754
DEBUG oz.Guest.FedoraGuest thread(d367f895) Message: Asked to
gen_and_mod but no mods are present - changing action to gen_only
2015-03-03 17:15:12,759 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: Generated XML: <domain type="kvm">
<name>factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767</name>
<memory>1048576</memory> <currentMemory>1048576</currentMemory>
<uuid>9f3f0ebb-90a8-4650-864e-c51a904f3a4b</uuid> <clock
offset="utc"/>
<vcpu>2</vcpu> <features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu mode="custom" match="exact">
<model fallback="allow">host</model>
</cpu>
<os>
<type machine="virt" arch="armv7l">hvm</type>
<boot dev="hd"/>
</os>
<on_poweroff>destroy</on_poweroff>
<on_reboot>destroy</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<interface type="bridge">
<source bridge="br0"/>
<mac address="52:54:00:ac:75:ee"/>
<model type="virtio"/>
</interface>
<input bus="ps2" type="mouse"/>
<serial type="pty">
<target port="0"/>
</serial>
<disk device="disk" type="file">
<target bus="virtio" dev="vda"/>
<source
file="/var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.body"/>
<driver type="raw" name="qemu"/> </disk>
<serial type="tcp"><source host="127.0.0.1"
mode="bind"
service="7126"/><protocol type="raw"/><target
port="1"/></serial></devices> </domain>
2015-03-03 17:15:12,761 INFO oz.Guest.FedoraGuest thread(d367f895)
Message: Collection Setup 2015-03-03 17:15:12,766 INFO
oz.Guest.FedoraGuest thread(d367f895) Message: Setting up guestfs
handle for factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767
libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0xb46bf4d8, program = python
2015-03-03 17:15:12,775 DEBUG oz.Guest.FedoraGuest thread(d367f895)
Message: Adding disk
image /var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.body
libguestfs: trace: add_drive
"/var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.body"
"format:raw" libguestfs: trace: add_drive = 0 2015-03-03 17:15:12,779
DEBUG oz.Guest.FedoraGuest thread(d367f895) Message: Launching guestfs
2015-03-03 17:15:12,780 DEBUG
imgfac.ReservationManager.ReservationManager thread(d367f895) Message:
Grabbing named lock (libguestfs_launch) 2015-03-03 17:15:12,782 DEBUG
imgfac.ReservationManager.ReservationManager thread(d367f895) Message:
Got named lock (libguestfs_launch) libguestfs: trace: launch
libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: version libguestfs: trace: version = <struct
guestfs_version *> libguestfs: trace: get_backend libguestfs: trace:
get_backend = "libvirt" libguestfs: launch: program=python libguestfs:
launch: version=1.28.6fedora=21,release=1.fc21,libvirt libguestfs:
launch: backend registered: unix libguestfs: launch: backend
registered: uml libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct libguestfs: launch:
backend=libvirt libguestfs: launch: tmpdir=/tmp/libguestfsC2X4U2
libguestfs: launch: umask=0022 libguestfs: launch: euid=0
libguestfs: libvirt version = 1002009 (1.2.9)
libguestfs: guest random name = guestfs-wl207gj2w60ea2b1
libguestfs: [00007ms] connect to libvirt
libguestfs: opening libvirt handle: URI = qemu:///system, auth =
default+wrapper, flags = 0 libguestfs: successfully opened libvirt
handle: conn = 0xb46bf738 libguestfs: qemu version (reported by
libvirt) = 2001003 (2.1.3) libguestfs: [00027ms] get libvirt
capabilities libguestfs: [00044ms] parsing capabilities XML
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_backend_setting "internal_libvirt_label"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_backend_setting
"internal_libvirt_norelabel_disks" libguestfs: trace:
get_backend_setting = NULL (error) libguestfs: [00053ms] build appliance
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/tmp"
libguestfs: [00054ms] begin building supermin appliance
libguestfs: [00055ms] run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /tmp/.guestfs-0/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu armv7hl
libguestfs: command: run: \ --dtb vexpress*a15-tc1.dtb
libguestfs: command: run: \ /usr/lib/guestfs/supermin.d
libguestfs: command: run: \ -o /tmp/.guestfs-0/appliance.d
supermin: version: 5.1.10
supermin: rpm: detected RPM version 4.12
supermin: package handler: fedora/rpm
supermin: acquiring lock on /tmp/.guestfs-0/lock
supermin: build: /usr/lib/guestfs/supermin.d
supermin: build: visiting /usr/lib/guestfs/supermin.d/base.tar.gz type
gzip base image (tar) supermin: build:
visiting /usr/lib/guestfs/supermin.d/daemon.tar.gz type gzip base image
(tar) supermin: build:
visiting /usr/lib/guestfs/supermin.d/excludefiles type uncompressed
excludefiles supermin: build:
visiting /usr/lib/guestfs/supermin.d/hostfiles type uncompressed
hostfiles supermin: build:
visiting /usr/lib/guestfs/supermin.d/init.tar.gz type gzip base image
(tar) supermin: build: visiting /usr/lib/guestfs/supermin.d/packages
type uncompressed packages supermin: build:
visiting /usr/lib/guestfs/supermin.d/udev-rules.tar.gz type gzip base
image (tar) supermin: build: 190 packages, including dependencies
supermin: build: 27460 files supermin: build: 13234 files, after
removing unreadable files supermin: build: 7225 files, after matching
excludefiles supermin: build: 7232 files, after adding hostfiles
supermin: build: 7254 files, after munging supermin: failed to find a
suitable kernel (host_cpu=armv7hl).
I looked for kernels in /boot and modules in /lib/modules.
If this is a Xen guest, and you only have Xen domU kernels
installed, try installing a fullvirt kernel (only for
supermin use, you shouldn't boot the Xen guest with it).
libguestfs: trace: launch = -1 (error)
2015-03-03 17:16:34,204 DEBUG
imgfac.ReservationManager.ReservationManager thread(d367f895) Message:
Releasing named lock (libguestfs_launch) 2015-03-03 17:16:34,207 DEBUG
imagefactory_plugins.TinMan.TinMan.TinMan thread(d367f895) Message:
Cleaning up install artifacts 2015-03-03 17:16:34,210 INFO
oz.Guest.FedoraGuest thread(d367f895) Message: Cleaning up after
install 2015-03-03 17:16:34,260 DEBUG
imgfac.BuildDispatcher.BuildDispatcher thread(d367f895) Message:
Removed builder from BuildDispatcher on notification from image
03355f6f-33f4-410f-824a-eaddf3fb1767: FAILED 2015-03-03 17:16:34,262
DEBUG imgfac.PersistentImage.BaseImage thread(d367f895) Message:
Getting metadata in class (<class 'imgfac.BaseImage.BaseImage'>) my
metadata is (()) 2015-03-03 17:16:34,264 DEBUG
imgfac.PersistentImage.BaseImage thread(d367f895) Message: Executing
metadata in class (<class 'imgfac.BaseImage.BaseImage'>) my metadata is
(('identifier', 'data', 'template', 'icicle',
'status_detail',
'status', 'percent_complete', 'parameters', 'properties'))
2015-03-03
17:16:34,269 DEBUG
imgfac.FilePersistentImageManager.FilePersistentImageManager
thread(d367f895) Message: Saved metadata for image
(03355f6f-33f4-410f-824a-eaddf3fb1767): {'status': 'FAILED',
'identifier': '03355f6f-33f4-410f-824a-eaddf3fb1767',
'parameters':
{'libvirt_xml': '<domain type="kvm">\n
<name>factory-build-03355f6f-33f4-410f-824a-eaddf3fb1767</name>\n
<memory>1048576</memory>\n
<currentMemory>1048576</currentMemory>\n
<uuid>9f3f0ebb-90a8-4650-864e-c51a904f3a4b</uuid>\n <clock
offset="utc"/>\n <vcpu>2</vcpu>\n <features>\n
<acpi/>\n
<apic/>\n <pae/>\n </features>\n <cpu mode="custom"
match="exact">\n <model
fallback="allow">host</model>\n </cpu>\n
<os>\n <type machine="virt"
arch="armv7l">hvm</type>\n <boot
dev="hd"/>\n </os>\n
<on_poweroff>destroy</on_poweroff>\n
<on_reboot>destroy</on_reboot>\n <on_crash>destroy</on_crash>\n
<devices>\n <interface type="bridge">\n <source
bridge="br0"/>\n <mac address="52:54:00:ac:75:ee"/>\n
<model
type="virtio"/>\n </interface>\n <input bus="ps2"
type="mouse"/>\n <serial type="pty">\n <target
port="0"/>\n
</serial>\n <serial type="tcp">\n <source
host="127.0.0.1"
mode="bind" service="7126"/>\n <protocol
type="raw"/>\n
<target port="1"/>\n </serial>\n <disk
device="disk"
type="file">\n <target bus="virtio"
dev="vda"/>\n <source
file="/var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.body"/>\n
<driver type="raw" name="qemu"/>\n </disk>\n
</devices>\n</domain>\n', 'install_script': '#version=DEVEL\n#
Keyboard
layouts\nkeyboard \'us\'\n# Reboot after installation\nreboot\n# Root
password\nrootpw --plaintext qweqwe\n# System timezone\ntimezone
Etc/UTC --isUtc --nontp\n# Firewall configuration\nfirewall
- --disabled\n# Network information\nnetwork --bootproto=dhcp
- --device=link --activate\ncmdline\n\n# System bootloader
configuration\nbootloader --location=none\n# Clear the Master Boot
Record\nzerombr\n# Partition clearing information\nclearpart --all\n#
Disk partitioning information\npart / --fstype="ext4"
- --size=3000\n\n%post --logfile /tmp/anaconda-post.log\n# Set the
language rpm nodocs transaction flag persistently in the\n# image
yum.conf and rpm macros\n\nLANG="en_US"\necho "%_install_lang $LANG"
/etc/rpm/macros.image-language-conf\n\nawk
\'(NF==0&&!done){print
"override_install_langs=\'$LANG\'\\ntsflags=nodocs";done=1}{print}\'
\\\n < /etc/yum.conf
> /etc/yum.conf.new\nmv /etc/yum.conf.new /etc/yum.conf\n\necho
> "Import RPM GPG key"\nreleasever=$(rpm -q --qf \'%{version}\\n\'
> fedora-release)\nbasearch=$(uname -i)\nrpm
> --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch\n\nrm
> -f /usr/lib/locale/locale-archive\n\n#Setup locale
> properly\nlocaledef -v -c -i en_US -f UTF-8 en_US.UTF-8\n\nrm
> -rf /var/cache/yum/*\nrm -f /tmp/ks-script*\n\n#Make it easier for
> systemd to run in Docker
> container\ncp /usr/lib/systemd/system/dbus.service /etc/systemd/system/\nsed
> -i
> \'s/OOMScoreAdjust=-900//\' /etc/systemd/system/dbus.service\n\n#Mask
> mount units and getty service so that we don\'t get login
> prompt\nsystemctl mask systemd-remount-fs.service
> dev-hugepages.mount sys-fs-fuse-connections.mount
> systemd-logind.service getty.target console-getty.service\n\nrm
> -f /etc/machine-id\n\n%end\n\n%packages --excludedocs --nocore
>
--instLangs=en\nbash\nfedora-release\nrootfiles\nvim-minimal\nyum\n-kernel\n\n%end\nurl
>
--url=http://dl.fedoraproject.org/pub/alt/stage/22_Alpha_TC8/Cloud/armhfp/os/\n'},
> 'icicle': None, 'data':
> '/var/lib/imagefactory/storage/03355f6f-33f4-410f-824a-eaddf3fb1767.body',
> 'status_detail': {'error': '/usr/bin/supermin exited with error
> status 1, see debug messages above', 'activity': 'Base Image build
> failed with exception.'}, 'template': "<template>\n
> <name>Fedora-Docker-Base-22_Alpha_TC8-20150302.armv7l</name>\n
> <os>\n <name>Fedora</name>\n
> <version>20</version>\n <arch>armv7l</arch>\n
> <install type='url'>\n
>
<
url>http://dl.fedoraproject.org/pub/alt/stage/22_Alpha_TC8/Cloud/armhf...
> </install>\n <icicle>\n <extra_command>rpm
> -qa --qf
>
'%{NAME},%{VERSION},%{RELEASE},%{ARCH},%{EPOCH},%{SIZE},%{SIGMD5},%{BUILDTIME}\n'</extra_command>\n
> </icicle>\n </os>\n
> <description>Fedora-Docker-Base-22_Alpha_TC8-20150302.armv7hl
> OS</description>\n <disk>\n <size>3G</size>\n
> </disk>\n</template>\n", 'percent_complete': 0,
'type':
> 'BaseImage', 'properties': {}} 2015-03-03 17:16:34,272 ERROR
> imgfac.Builder.Builder thread(d367f895) Message: Exception
> encountered in _build_image_from_template thread 2015-03-03
> 17:16:34,273 ERROR imgfac.Builder.Builder thread(d367f895)
> Message: /usr/bin/supermin exited with error status 1, see debug
> messages above Traceback (most recent call last): File
> "/usr/lib/python2.7/site-packages/imgfac/Builder.py", line 132, in
> _build_image_from_template self.os_plugin.create_base_image(self,
> template, parameters) File
> "/usr/lib/python2.7/site-packages/imagefactory_plugins/TinMan/TinMan.py",
> line 365, in create_base_image builder.base_image.icicle =
> self.guest.customize_and_generate_icicle(libvirt_xml) File
> "/usr/lib/python2.7/site-packages/oz/Linux.py", line 353, in
> customize_and_generate_icicle return
> self._internal_customize(libvirt_xml, "gen_and_mod") File
> "/usr/lib/python2.7/site-packages/oz/Linux.py", line 303, in
> _internal_customize self._collect_setup(modified_xml) File
> "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 421, in
> _collect_setup g_handle = self._guestfs_handle_setup(libvirt_xml)
> File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1037, in
> _guestfs_handle_setup g.launch() File "/usr/bin/imagefactory", line
> 54, in launch _GuestFS.launch(self) File
> "/usr/lib/python2.7/site-packages/guestfs.py", line 4785, in launch
> r = libguestfsmod.launch (self._o) RuntimeError: /usr/bin/supermin
> exited with error status 1, see debug messages above libguestfs:
> trace: close libguestfs: closing guestfs handle 0xb46bf4d8 (state
> 0) libguestfs: command: run: rm libguestfs: command: run: \
> -rf /tmp/libguestfsC2X4U2
Image build FAILED with error: /usr/bin/supermin exited with error
status 1, see debug messages above
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBAgAGBQJU9mHvAAoJEH7ltONmPFDRaBEP/2qz7FbUebQpHh7w7CO6QG7N
IgDPsk3leOgqb+TaOKDmLqjFzDzljvP0EbDX2YrKneMyE30RljVA6tLGmZWp3Jit
+qXavrLDRsjTTPZFRfLzDB6QApPSeQ22MTSb2M4d2iQcsn5DpElDP0B/amyHQNX0
01cLy+LHKjE7r1pat4IEjKHn+UbGD0Q+HovLGpuSkNvforpbs+fNlPxARWluWFS0
QYAJ0PzgmPON4YJchb/530Ase09CAiqLut6Ux18RKsdWFV6N5jVBMcIKog7Mpv5x
2yRcK6WdopemGxxF0wD5SFxzd92ryr6kZUyU3qYRc8it/nP/WPNYEdmQJPW53IM0
wFR4KPpwkdHTtJAGIHrL5nhqCcS2mv46fJOEbvVtxVOtgHKOJitQnCZ1Eyfg2VGC
IkqC55IiIu4YRqwRlX7+jsN0g7p6T4VvnnheCOF1u4a3uvjgfFnd4fwxAvBtcqH+
onP/iekn+SSBHm6aV2kL/SgJw8eUXWc3+786ELW7vodDYvd+nM4iXTW39CbFWwcZ
gly/QiELrhUYmK4Af5lYzHhtLZ8M7vA1M9xzTzVbhOdHzd9tx0dgKlMGhMu17mmz
nVOJTRsVgmtb2W2pjvStbpPlexqWYNZzhM76jlcxPvdT7MsdDIE5WccWJzen3GR6
6z0Ld5eOuzkEFaOHpGg0
=JwKp
-----END PGP SIGNATURE-----