Displaying 20 results from an estimated 177 matches for "nsoffer".
Did you mean:
soffer
2019 Nov 01
3
[PATCH] v2v: Optimize convert for images with small holes
...is an example converting Fedora 30 image:
$ virt-builder fedora-30 -o src.img
...
$ qemu-img map -f raw --output json src.img | wc -l
213
$ qemu-img convert -f raw -O raw -t none -T none src.img dst.img
$ qemu-img map -f raw --output json dst.img | wc -l
1443
$ ls -lhs *.img
1.2G -rw-r--r--. 1 nsoffer nsoffer 6.0G Nov ?1 21:48 dst.img
1.2G -rw-r--r--. 1 nsoffer nsoffer 6.0G Nov ?1 21:46 src.img
Qemu did 1443 writes instead of 213 (5.8X). Lets repeat this conversion
with the -S option:
$ qemu-img convert -f raw -O raw -t none -T none -S 64k src.img dst.img
$ qemu-img map -f raw --output json d...
2019 Nov 21
1
[PATCH] rhv-upload: Handle any error in NBD handlers
...errors in imageio server:
## Error in flush()
nbdkit: python[1]: debug: pwrite count=65536 offset=6442385408 fua=0
(100.00/100%)
nbdkit: python[1]: debug: flush
unexpected response from imageio server:
could not flush
403: Forbidden
b'no flush for you!'
nbdkit: python[1]: error: /home/nsoffer/src/virt-v2v/tmp/rhvupload.bwlJfk/rhv-upload-plugin.py: flush: error: ['Traceback (most recent call last):\n', ' File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.bwlJfk/rhv-upload-plugin.py", line 86, in wrapper\n return func(h, *args)\n', ' File "/home/nsoffer...
2019 Nov 18
4
Re: How to build virt-v2v after the project was separated
...n
├── mlgettext
│ └── common_gettext.ml
└── mlstdutils
I tried you other suggests for git submodules:
$ git submodule init
Submodule 'common' (https://github.com/libguestfs/libguestfs-common)
registered for path 'common'
$ git submodule update
fatal: destination path '/home/nsoffer/src/virt-v2v/common' already
exists and is not an empty directory.
fatal: clone of 'https://github.com/libguestfs/libguestfs-common' into
submodule path '/home/nsoffer/src/virt-v2v/common' failed
Failed to clone 'common'. Retry scheduled
fatal: destination path '/hom...
Building virt-v2v - Error: guestfs_config.cmi: is not a compiled interface for this version of OCaml
2020 Jul 08
1
Building virt-v2v - Error: guestfs_config.cmi: is not a compiled interface for this version of OCaml
I did not touch virt-v2v for a while, and I cannot build it now.
There are not instructions in the README on under docs, so I tried the common
stuff:
$ ./autogen.sh
...
Next you should type 'make' to build the package,
...
$ make
make all-recursive
make[1]: Entering directory '/home/nsoffer/src/virt-v2v'
Making all in common/mlstdutils
make[2]: Entering directory '/home/nsoffer/src/virt-v2v/common/mlstdutils'
OCAMLOPT guestfs_config.cmx
File "guestfs_config.ml", line 1:
Error: guestfs_config.cmi
is not a compiled interface for this version of OCaml.
It s...
2019 Nov 19
5
[PATCH 0/2] rhv-upload: Complete refactoring
Fix NameError introduced by inocomplete change to extract create_transfer() by
extracting cancel_transfer() function.
Finally extract finallize_transfer() function, dealing with the poorly
documented and over complicated oVirt SDK.
Tested with:
libguestfs-1.40.2-4.fc30.x86_64
nbdkit-1.12.8-1.fc30.x86_64
Tested flows:
- Successful import
- Error in close() - by injecting long sleep in vdsm
2019 Nov 28
3
[PATCH] rhv-upload: Fix waiting for transfer
...ase (cancel required)
- Timeout waiting for TRANSFERRING state (cancel required)
Reported-by: Xiaodai Wang
---
I could easy simulate the case when the system paused the transfer by
injecting an error in vdsm, failing transfer initialization.
The import fail with:
nbdkit: python[1]: error: /home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py: open: error: Traceback (most recent call last):
File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py", line 109, in open
transfer = create_transfer(connection, disk, host)
File "/home/nsoffer/src/...
2019 Nov 18
0
Re: How to build virt-v2v after the project was separated
On Mon, Nov 18, 2019 at 03:03:10AM +0200, Nir Soffer wrote:
> $ git submodule update
> fatal: destination path '/home/nsoffer/src/virt-v2v/common' already
> exists and is not an empty directory.
> fatal: clone of 'https://github.com/libguestfs/libguestfs-common' into
> submodule path '/home/nsoffer/src/virt-v2v/common' failed
> Failed to clone 'common'. Retry scheduled
> fatal: d...
2018 Aug 21
2
Re: [PATCH 1/2] v2v: rhv-upload-plugin: Handle send send failures
On Tue, Aug 21, 2018 at 03:55:50PM +0300, Nir Soffer wrote:
> On Tue, Aug 21, 2018 at 2:49 PM Richard W.M. Jones <rjones@redhat.com>
> wrote:
> > It seems more likely that whatever version of nbdkit being used does
> > not include:
> >
> >
> > https://github.com/libguestfs/nbdkit/commit/72c0d64a47db642cafa89884f2ee554bd0b8e822
> >
> > This has
2019 Nov 17
3
How to build virt-v2v after the project was separated
Looks like virt-v2v cannot be built now, since it requires non-existing version
of libguestfs-devel.
Based on (no README or any instructions in virt-v2v)
http://libguestfs.org/guestfs-building.1.html
I tried this:
git clean -dxf
./autogen.sh
And it fails with:
--- Checking for libraries used by virt-v2v ---
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version
2019 Nov 26
6
[PATCH v2 0/3] rhv-upload: Support import to qcow2 disk
...-on v2v \
-os nfs1-export2 \
-of qcow2 \
-oa sparse \
-oo rhv-cafile=/etc/pki/vdsm/certs/cacert.pem \
-oo rhv-cluster=fc30 \
-oo rhv-direct=true
...
[ 71.2] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/home/nsoffer/src/virt-v2v/tmp/rhvupload.6EmoNE/nbdkit0.sock", "file.export": "/" } (qcow2)
overlay file: /home/nsoffer/src/virt-v2v/tmp/v2vovl7fefa6.qcow2
overlay device name: sda
overlay virtual disk size: 6442450944
overlay source qemu URI: /var/tmp/fedora-30.img...
2019 Dec 10
1
Re: [PATCH] rhv-upload: Fix waiting for transfer
...> Reported-by: Xiaodai Wang
> > ---
> >
> > I could easy simulate the case when the system paused the transfer by
> > injecting an error in vdsm, failing transfer initialization.
> >
> > The import fail with:
> >
> > nbdkit: python[1]: error: /home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py: open: error: Traceback (most recent call last):
> > File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py", line 109, in open
> > transfer = create_transfer(connection, disk, host)
> >...
2020 Jul 09
2
Re: [PATCH] RFC: rhv-upload-plugin: Use imageio client
...ature will not work on Fedora. A bit
> surprised though - wouldn't you want people to be able to upload disk
> images to oVirt from their Fedora clients?
Sure I do, this is a major issue with this change.
Currently imageio is available via:
copr: https://copr.fedorainfracloud.org/coprs/nsoffer/ovirt-imageio-preview/
fedora, centos, centos-stream
ovit repositories: https://resources.ovirt.org/pub/ovirt-4.4/
el8/x86_64/ppc64le
I'll try to get this into Fedora.
> ...
> > > In RHEL I can see the package and the
> > > dependencies look quite light, basicall...
2019 Nov 28
2
Re: [PATCH] rhv-upload: Fix waiting for transfer
...> Reported-by: Xiaodai Wang
> > ---
> >
> > I could easy simulate the case when the system paused the transfer by
> > injecting an error in vdsm, failing transfer initialization.
> >
> > The import fail with:
> >
> > nbdkit: python[1]: error: /home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py: open: error: Traceback (most recent call last):
> > File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py", line 109, in open
> > transfer = create_transfer(connection, disk, host)
> >...
2018 Jun 16
0
IRC question - failing tests
23:01 < nsoffer> Is this test know to fail? libguestfs/tests/c-api/.libs/lt-tests
23:01 < nsoffer> running make check on fedora 28
23:05 < nsoffer> seems like lvm issue: libguestfs: error: lvcreate: Volume group "VG1" has insufficient free space (6 extents): 13 required
23:06 < nsoffe...
2016 Apr 26
0
Re: stream finish throws exception via python API
...estimate (e.g. capacity * 1.1), or maybe someone have
a better idea how to estimate the download size?
A second issue, libvirt does not seem to understand sparseness, so we
are copying
around gigabytes of zeros.
For example, I created 102M empty image (using virt manager):
$ qemu-img info /home/nsoffer/var/libvirt/images/tiny.qcow2
image: /home/nsoffer/var/libvirt/images/tiny.qcow2
file format: qcow2
virtual size: 102M (107374592 bytes)
disk size: 304K
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: true
refcount bits: 16
corrupt: false
Downloading it...
2020 Jul 19
3
Re: [ovirt-devel] [ARM64] Possiblity to support oVirt on ARM64
...y.
Regarding hardware support we depend mostly on libvirt and qemu, and I
don't know
that is the status. Adding relevant lists and people.
I don't know about any effort on oVirt side, but last week I added
arm builds for
ovirt-imageio and it works:
https://copr.fedorainfracloud.org/coprs/nsoffer/ovirt-imageio-preview/build/1555705/
We have many dependendencies, but oVirt itself is mostly python and java, with
tiny bits in C or using ctypes, so it should not be too hard.
I think the first thing is getting some hardware for testing. Do you
have such hardware,
or have some contacts that can...
2020 Jul 09
0
Re: [PATCH] RFC: rhv-upload-plugin: Use imageio client
On Thu, Jul 9, 2020 at 4:49 PM Nir Soffer <nsoffer@redhat.com> wrote:
>
> On Thu, Jul 9, 2020 at 4:12 PM Richard W.M. Jones <rjones@redhat.com> wrote:
> >
> > On Thu, Jul 09, 2020 at 03:30:22PM +0300, Nir Soffer wrote:
> > > Testing with a real server is easy. I have incomplete patch using
> > > imageio...
2018 Aug 21
0
Re: [PATCH 1/2] v2v: rhv-upload-plugin: Handle send send failures
...536
403: Forbidden
b'{"explanation": "Access was denied to this resource.", "code": 403,
"detail": "Ticket u\'acdad591-f29e-4d85-bf41-046e250aa015\' expired",
"title": "Forbidden"}'
nbdkit: python[1]: error:
/home/nsoffer/src/libguestfs/tmp/v2v.ayEM8r/rhv-upload-plugin.py: pwrite:
error: ['Traceback (most recent call last):\n', ' File
"/home/nsoffer/src/libguestfs/tmp/v2v.ayEM8r/rhv-upload-plugin.py", line
373, in pwrite\n (offset, count))\n', ' File
"/home/nsoffer/src/libgues...
2018 Aug 18
2
Re: [PATCH v2 1/4] file: Avoid unsupported fallocate() calls
On Mon, Aug 13, 2018 at 11:58 PM Nir Soffer <nsoffer@redhat.com> wrote:
> On Mon, Aug 13, 2018 at 8:44 PM Eric Blake <eblake@redhat.com> wrote:
>
>> > #ifdef FALLOC_FL_ZERO_RANGE
>> > - r = do_fallocate (h->fd, FALLOC_FL_ZERO_RANGE, offset, count);
>> > - if (r == -1 && errno != EOPNOTSUPP) {...
2023 Apr 17
2
[PATCH libnbd v2] README: Document additional packages
When building from git we need autoconf, automake and libtool.
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
Changes sinve v1:
- Remove `,` between package namses (Laszlo)
README.md | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/README.md b/README.md
index c7166613..7eed0e31 100644
--- a/README.md
+++ b/README.md
@@ -32,10 +32,17 @@ ## License
very liberal license....