[PATCH] gui: fix a syntax-check issue of bindtextdomain
by Chen Hanxiao
Signed-off-by: Hu Tao <hutao(a)cn.fujitsu.com>
Signed-off-by: Chen Hanxiao <chenhanxiao(a)cn.fujitsu.com>
---
p2v/gui.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/p2v/gui.c b/p2v/gui.c
index 60f226e..f661f49 100644
--- a/p2v/gui.c
+++ b/p2v/gui.c
@@ -70,7 +70,7 @@ static GtkWidget *run_dlg,
*cancel_button, *reboot_button;
/* The entry point from the main program.
- * Note that gtk_init etc have already been called in main().
+ * Note that gtk_init etc have already been called in main.
*/
void
gui_application (struct config *config)
--
2.1.0
9 years, 7 months
[PATCH 0/2] btrfs: add support to btrfs-image
by Chen Hanxiao
This series adds new APIs to support btrfstune.
Chen Hanxiao (2):
New API: btrfs-image
New API: btrfs_image_restore
daemon/btrfs.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 45 +++++++++++++++++++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 133 insertions(+), 1 deletion(-)
--
2.1.0
9 years, 8 months
[PATCH] customize: add --truncate-recursive option
by Maros Zatko
Allows user to recursively truncate all files in a directory.
Related to RHBZ#119673
Maros Zatko (1):
customize: add --truncate-recursive option
builder/cmdline.ml | 3 ++-
customize/customize_run.ml | 6 ++++++
generator/customize.ml | 8 ++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
--
1.9.3
9 years, 8 months
[PATCH v2] RFE: journal reader in guestfish
by Maros Zatko
This implements new guestfish only command called journal-view.
There seems to be a minor issue when user wants to run it through pager (more)
and wants cancel it. User will end up with stuck guestfish until journal-view
transfers all journal items.
Output is now configurable, it's the same format as virt-log has, since both
uses same code now.
Maros Zatko (1):
fish: add journal-view command
cat/Makefile.am | 1 +
cat/log.c | 112 +-------------------------------
fish/Makefile.am | 1 +
fish/fish.h | 3 +
fish/journal.c | 178 +++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 9 +++
6 files changed, 194 insertions(+), 110 deletions(-)
create mode 100644 fish/journal.c
--
1.9.3
9 years, 8 months
[PATCH] actions: improve man page links
by Pino Toscano
Switch from C<> to L<> for links to man pages, where wasn't done before.
---
generator/actions.ml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/generator/actions.ml b/generator/actions.ml
index 9f32cb5..fb971d3 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -683,7 +683,7 @@ calls, parameters and return values are traced.
If you want to trace C API calls into libguestfs (and
other libraries) then possibly a better way is to use
-the external ltrace(1) command.
+the external L<ltrace(1)> command.
Command traces are disabled unless the environment variable
C<LIBGUESTFS_TRACE> is defined and set to C<1>.
@@ -2700,10 +2700,10 @@ On return you get a list of strings, with a one-to-one
correspondence to the C<names> list. Each string is the
value of the symbolic link.
-If the C<readlink(2)> operation fails on any name, then
+If the L<readlink(2)> operation fails on any name, then
the corresponding result string is the empty string C<\"\">.
However the whole operation is completed even if there
-were C<readlink(2)> errors, and so you can call this
+were L<readlink(2)> errors, and so you can call this
function with names where you don't know if they are
symbolic links already (albeit slightly less efficient).
@@ -3276,7 +3276,7 @@ See L<guestfs(3)/BACKEND>, L<guestfs(3)/BACKEND SETTINGS>." };
longdesc = "\
Returns file information for the given C<path>.
-This is the same as the C<stat(2)> system call." };
+This is the same as the L<stat(2)> system call." };
{ defaults with
name = "lstat";
@@ -3294,7 +3294,7 @@ This is the same as C<guestfs_stat> except that if C<path>
is a symbolic link, then the link is stat-ed, not the file it
refers to.
-This is the same as the C<lstat(2)> system call." };
+This is the same as the L<lstat(2)> system call." };
{ defaults with
name = "c_pointer";
@@ -4475,7 +4475,7 @@ Returns file system statistics for any mounted file system.
C<path> should be a file or directory in the mounted file system
(typically it is the mount point itself, but it doesn't need to be).
-This is the same as the C<statvfs(2)> system call." };
+This is the same as the L<statvfs(2)> system call." };
{ defaults with
name = "tune2fs_l";
@@ -7640,10 +7640,10 @@ On return you get a list of strings, with a one-to-one
correspondence to the C<names> list. Each string is the
value of the symbolic link.
-If the C<readlink(2)> operation fails on any name, then
+If the L<readlink(2)> operation fails on any name, then
the corresponding result string is the empty string C<\"\">.
However the whole operation is completed even if there
-were C<readlink(2)> errors, and so you can call this
+were L<readlink(2)> errors, and so you can call this
function with names where you don't know if they are
symbolic links already (albeit slightly less efficient).
@@ -12052,7 +12052,7 @@ Get the realtime (wallclock) timestamp of the current journal entry." };
longdesc = "\
Returns file information for the given C<path>.
-This is the same as the C<stat(2)> system call." };
+This is the same as the L<stat(2)> system call." };
{ defaults with
name = "lstatns";
@@ -12070,7 +12070,7 @@ This is the same as C<guestfs_statns> except that if C<path>
is a symbolic link, then the link is stat-ed, not the file it
refers to.
-This is the same as the C<lstat(2)> system call." };
+This is the same as the L<lstat(2)> system call." };
{ defaults with
name = "internal_lstatnslist";
--
2.1.0
9 years, 8 months
[PATCH] builder: add build script for ppc64 fedora
by Maros Zatko
Build script is based on fedora-aarch64.sh. This managed to build and compress
an image, but it seems the process itself is not completely unattended.
>From some strange reason I had to manually power off the VM after install.
Maros Zatko (1):
builder: add build script for PPC64 Fedora
builder/website/fedora-ppc64.sh | 97 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 97 insertions(+)
create mode 100755 builder/website/fedora-ppc64.sh
--
1.9.3
9 years, 8 months
supermin on arm
by Dennis Gilmore
-----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/armhfp/os/</url>\n
> > > </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/Cloud/armhf...
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/armhfp/os/</url>\n
> > </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-----
9 years, 8 months
[PATCH] add --truncate to virt-customize
by Maros Zatko
Fixes RHBZ#119673.
Maros Zatko (1):
customize: add --truncate option (RHBZ#119673)
builder/cmdline.ml | 2 +-
customize/customize_run.ml | 4 ++++
generator/customize.ml | 9 +++++++++
3 files changed, 14 insertions(+), 1 deletion(-)
--
1.9.3
9 years, 8 months
[PATCH v5 REBASE 0/4] virt-resize: add support for resizing logical
by Hu Tao
Hi Rich,
This is rebase of v5 series. Meanwhile, I found a bug when shrinking
partitions, and the fix is incuded in this version (patch 2).
Regards,
Hu
changes to v4:
1. add support to resize extended partition (--resize or --expand extended partition)
2. fix the problem of deficit of 512 bytes when expanding a logical partition
(this problem can be reproduced in v4 by only expanding a logical partition, without resizing any other partitions)
3. update the test script to support logical partitions and extended partition
changes to v3:
1. merge patch 1 and patch 3 in v3
2. let mbr_part_type return 'primary' for GPT partitions
3. add test for resizing logical partitions
4. fix extending the extended partition (yet). see patch 7.
changes to v2:
1. remove p_part_num
2. remove filter_parts
3. name the function calculate_target_partitions
4. remove the code to restart guest introduced in v2
changes to v1:
1. spit the patches so it's easier to review
2. fix the parted error caused by unaligned logical partitions
3. extend the content of logical partitions
4. refactor to make logical partitions a seperate list
Hu Tao (4):
resize: add partition type LogicalPartition
resize: add support to resize logical partitions
resize: support resize extended partition
resize: test: add support for resizing extended and logical partitions
resize/resize.ml | 123 +++++++++++++++++++++++++++++++++++++++------
resize/test-virt-resize.pl | 32 ++----------
2 files changed, 112 insertions(+), 43 deletions(-)
--
1.9.3
9 years, 8 months
[PATCH] actions.ml: fix a typo
by Chen Hanxiao
s/tto/to
Signed-off-by: Chen Hanxiao <chenhanxiao(a)cn.fujitsu.com>
---
generator/actions.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generator/actions.ml b/generator/actions.ml
index 448dc4f..9f32cb5 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12490,7 +12490,7 @@ Show status of running or finished scrub on a btrfs filesystem." };
shortdesc = "enable or disable seeding of a btrfs device";
longdesc = "\
Enable seeding of a btrfs device, this will force a fs readonly
-so that you can use it tto build other filesystems." };
+so that you can use it to build other filesystems." };
{ defaults with
name = "btrfstune_enable_extended_inode_refs";
--
2.1.0
9 years, 8 months