search for: get_cachedir

Displaying 20 results from an estimated 156 matches for "get_cachedir".

2015 Oct 21
2
[PATCH] v2v: use open_guestfs everywhere
...=direct\n\nand then rerun the virt-v2v command.") ) diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml index cd26160..f2dc28b 100644 --- a/v2v/input_ova.ml +++ b/v2v/input_ova.ml @@ -26,7 +26,7 @@ open Utils class input_ova ova = let tmpdir = - let base_dir = (new Guestfs.guestfs ())#get_cachedir () in + let base_dir = (open_guestfs ())#get_cachedir () in let t = Mkdtemp.temp_dir ~base_dir "ova." "" in rmdir_on_exit t; t in diff --git a/v2v/output_glance.ml b/v2v/output_glance.ml index e775229..ddcd771 100644 --- a/v2v/output_glance.ml +++ b/v2v/output_...
2012 Dec 31
1
err from guestfs_launch
This error is with libguestfs 1.20. Calling guestfs_launch() with tracing on: supermin helper [00065ms] finished creating appliance libguestfs: checksum of existing appliance: 2bd6811426e14b6fb661b4d52cebd6c21a41df1a068e8acf6a7a08e3b3bd4ada libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: [00071ms] begin building supermin appliance libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: [00071ms] run febootstrap-supermin-helper libguestfs: command: run: febootstrap-supermin-...
2013 Jul 23
2
Re: [libvirt-users] Resize errors with virt-resize/vgchange
...trace: add_drive "prop-expand.img" "readonly:false" >> > libguestfs: trace: add_drive = 0 >> > libguestfs: trace: launch >> > libguestfs: trace: get_tmpdir >> > libguestfs: trace: get_tmpdir = "/tmp" >> > libguestfs: trace: get_cachedir >> > libguestfs: trace: get_cachedir = "/var/tmp" >> > libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img" >> > libguestfs: trace: disk_format = "raw" >> > libguestfs: trace: get_cachedir >> > libguestfs...
2013 Jul 22
2
Resize errors with virt-resize/vgchange
..."readonly:true" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive "prop-expand.img" "readonly:false" libguestfs: trace: add_drive = 0 libguestfs: trace: launch libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img" libguestfs: trace: disk_format = "raw" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" [...] 100% --:-- libguest...
2013 Jul 22
2
Resize errors with virt-resize/vgchange
..."readonly:true" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive "prop-expand.img" "readonly:false" libguestfs: trace: add_drive = 0 libguestfs: trace: launch libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img" libguestfs: trace: disk_format = "raw" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" [...] 100% --:-- libguest...
2013 Jul 23
2
Re: [libvirt-users] Resize errors with virt-resize/vgchange
..."readonly:false" >> >> > libguestfs: trace: add_drive = 0 >> >> > libguestfs: trace: launch >> >> > libguestfs: trace: get_tmpdir >> >> > libguestfs: trace: get_tmpdir = "/tmp" >> >> > libguestfs: trace: get_cachedir >> >> > libguestfs: trace: get_cachedir = "/var/tmp" >> >> > libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img" >> >> > libguestfs: trace: disk_format = "raw" >> >> > libguestfs: trace: g...
2015 Oct 21
0
Re: [PATCH] v2v: use open_guestfs everywhere
...ot;) > ) > diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml > index cd26160..f2dc28b 100644 > --- a/v2v/input_ova.ml > +++ b/v2v/input_ova.ml > @@ -26,7 +26,7 @@ open Utils > > class input_ova ova = > let tmpdir = > - let base_dir = (new Guestfs.guestfs ())#get_cachedir () in > + let base_dir = (open_guestfs ())#get_cachedir () in > let t = Mkdtemp.temp_dir ~base_dir "ova." "" in > rmdir_on_exit t; > t in > diff --git a/v2v/output_glance.ml b/v2v/output_glance.ml > index e775229..ddcd771 100644 > --- a/v2v...
2013 Jul 22
1
Re: [libvirt-users] Resize errors with virt-resize/vgchange
...uestfs: trace: add_drive = 0 > libguestfs: trace: add_drive "prop-expand.img" "readonly:false" > libguestfs: trace: add_drive = 0 > libguestfs: trace: launch > libguestfs: trace: get_tmpdir > libguestfs: trace: get_tmpdir = "/tmp" > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img" > libguestfs: trace: disk_format = "raw" > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp"...
2020 Apr 06
0
[PATCH virt-v2v v2 2/2] v2v: Allow large temporary directory to be set on a global basis.
Previously we placed large files in g#get_cachedir () (usually /var/tmp). However the problem is this ties the libguestfs appliance and the virt-v2v overlay files to the same location. When virt-v2v is run in a container, or any other situation where local storage is limited, it's helpful to be able to put the overlay files on an externally m...
2020 Apr 06
6
[PATCH virt-v2v v2 0/2] v2v: Large temporary directory handling.
v1 was here: https://www.redhat.com/archives/libguestfs/2020-April/msg00007.html There's a BZ for this now which I forgot to add to the commit message: https://bugzilla.redhat.com/show_bug.cgi?id=1814611 For v2: - Fix incorrect reference to $TMPDIR in existing manual. - Separate handling for small temporary files and large temporary files. Small temporary files go into $TMPDIR
2020 Apr 06
4
[v2v PATCH 1/2] v2v: nbdkit: change base dir for nbdkit sockets/pidfiles
...and PID file. *) + (* Create a temporary directory where we place the socket and PID file. + * Use the libguestfs socket directory, so it is more likely the full path + * of the UNIX sockets will fit in the (limited) socket pathname. + *) let tmpdir = - let base_dir = (open_guestfs ())#get_cachedir () in + let base_dir = (open_guestfs ())#get_sockdir () in let t = Mkdtemp.temp_dir ~base_dir "v2vnbdkit." in (* tmpdir must be readable (but not writable) by "other" so that * qemu can open the sockets. -- 2.25.1
2020 Apr 06
0
[v2v PATCH 2/2] Consolidate handling of temporary files/dirs
...hrefs referencing snapshots. The href will be something @@ -132,9 +133,7 @@ class input_ova ova = object (* The spec allows the file to be gzip-compressed, in * which case we must uncompress it into a temporary. *) - let temp_dir = (open_guestfs ())#get_cachedir () in - let new_filename = Filename.temp_file ~temp_dir "ova" ".vmdk" in - unlink_on_exit new_filename; + let new_filename = Filename.temp_file ~temp_dir:cachedir "ova" ".vmdk" in let cmd = sprintf &quot...
2013 Jul 23
0
Resize errors with virt-resize/vgchange
..."readonly:true" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive "prop-expand.img" "readonly:false" libguestfs: trace: add_drive = 0 libguestfs: trace: launch libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img" libguestfs: trace: disk_format = "raw" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" [...] 100% --:-- libguest...
2013 Jul 23
0
Re: [libvirt-users] Resize errors with virt-resize/vgchange
...gt; > libguestfs: trace: add_drive "prop-expand.img" "readonly:false" > > libguestfs: trace: add_drive = 0 > > libguestfs: trace: launch > > libguestfs: trace: get_tmpdir > > libguestfs: trace: get_tmpdir = "/tmp" > > libguestfs: trace: get_cachedir > > libguestfs: trace: get_cachedir = "/var/tmp" > > libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img" > > libguestfs: trace: disk_format = "raw" > > libguestfs: trace: get_cachedir > > libguestfs: trace: get_cachedi...
2013 Jul 23
0
Re: [libvirt-users] Resize errors with virt-resize/vgchange
...rop-expand.img" "readonly:false" > >> > libguestfs: trace: add_drive = 0 > >> > libguestfs: trace: launch > >> > libguestfs: trace: get_tmpdir > >> > libguestfs: trace: get_tmpdir = "/tmp" > >> > libguestfs: trace: get_cachedir > >> > libguestfs: trace: get_cachedir = "/var/tmp" > >> > libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img" > >> > libguestfs: trace: disk_format = "raw" > >> > libguestfs: trace: get_cachedir >...
2014 Jan 20
2
guestfish and luks-format
Is "luks-format" supposed to work with guestfish? Like guestfish <<EOF luks-format /dev/sda4 0 EOF Appearently it lacks an option to give the passphrase programmatically. Was this option skipped on purpose? Olaf
2014 Jan 20
0
Re: guestfish and luks-format
...sda1 0 libguestfs: trace: add_drive "test1.img" "format:raw" libguestfs: trace: add_drive = 0 libguestfs: trace: is_config libguestfs: trace: is_config = 1 libguestfs: trace: launch libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: trace: launch = 0 libguestfs: trace: part_disk "/dev/sda" "mbr" libguestfs: trace: part_disk = 0 libguestfs: trace: luks_form...
2014 Jul 01
3
libguestfs on proxmox
...tfs: trace: shutdown = 0 libguestfs: trace: close libguestfs: trace: add_drive "vm-2000-disk-1.qcow2.out" "readonly:false" libguestfs: trace: add_drive = 0 libguestfs: trace: launch libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" 100% ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 00:00 libgues...
2017 Apr 07
2
difficulty using virt-v2v with OVA
...from the rawhide attempt happens for any OVA file I try: # virt-v2v -v -x -i ova graylog.ova -o qemu -of qcow2 -os /var/tmp --qemu-boot libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: create: flags = 0, handle = 0x1e984e0, program = virt-v2v libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: create: flags = 0, handle = 0x1e988d0, program = virt-v2v libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: trac...
2020 Jan 08
0
Re: bug report
...et_autosync: 1 > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > guestfs_get_backend: libvirt > libguestfs: trace: get_backend_settings > libguestfs: trace: get_backend_settings = [] > guestfs_get_backend_settings: [] > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > guestfs_get_cachedir: /var/tmp > libguestfs: trace: get_hv > libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" > guestfs_get_hv: /usr/libexec/qemu-kvm > libguestfs: trace: get_memsize > libguestfs: trace: ge...