Displaying 7 results from an estimated 7 matches for "finalizing_success".
2019 Mar 17
2
[PATCH] v2v: rhv-upload-plugin - improve wait logic after finalize (RHBZ#1680361)
...K:
+ continue
+
+ if transfer.phase == types.ImageTransferPhase.FINISHED_SUCCESS:
+ debug("finalized after %s seconds", time.time() - start)
+ break
+
+ if transfer.phase ==
types.ImageTransferPhase.FINALIZING_SUCCESS:
+ if time.time() > start + timeout:
+ raise RuntimeError("timed out waiting for transfer "
+ "to finalize")
+ continue
+
+ raise RuntimeError("Unexpecte...
2018 Sep 20
0
[PATCH v2 3/3] v2v: -o rhv-upload: Add a test.
...provisioned_size = None,
+ sparse = False,
+ storage_domains = None
+ ):
+ pass
+
+ id = 123
+ status = DiskStatus.OK
+
+class ImageTransferPhase(Enum):
+ CANCELLED = 'cancelled'
+ FINALIZING_FAILURE = 'finalizing_failure'
+ FINALIZING_SUCCESS = 'finalizing_success'
+ FINISHED_FAILURE = 'finished_failure'
+ FINISHED_SUCCESS = 'finished_success'
+ INITIALIZING = 'initializing'
+ PAUSED_SYSTEM = 'paused_system'
+ PAUSED_USER = 'paused_user'
+ RESUMING = 'resuming'
+...
2018 Sep 20
7
[PATCH v2 0/3] v2v: -o rhv-upload: Add a test.
v1 was here:
https://www.redhat.com/archives/libguestfs/2018-September/msg00121.html
v2:
- Rewrote patch 2 from scratch so it incorporates Nir's suggestions.
- Add fake module to EXTRA_DIST.
- Retested.
Unfortunately I am no longer able to test the ordinary conversion path
because ovirtsdk4 is incompatible with Fedora 29 / Python 3.7:
2019 Mar 17
0
Re: [PATCH] v2v: rhv-upload-plugin - improve wait logic after finalize (RHBZ#1680361)
...gt; + if transfer.phase ==
> types.ImageTransferPhase.FINISHED_SUCCESS:
> + debug("finalized after %s seconds", time.time() -
> start)
> + break
> +
> + if transfer.phase ==
> types.ImageTransferPhase.FINALIZING_SUCCESS:
> + if time.time() > start + timeout:
> + raise RuntimeError("timed out waiting for
> transfer "
> + "to finalize")
> + continue
> +
> +...
2018 Sep 19
4
[PATCH 0/3] v2v: -o rhv-upload: Add a test.
This adds a test of -o rhv-upload.
Obviously for an upstream test we cannot require a working oVirt
server. This test works by faking the ovirtsdk4 Python module,
setting PYTHONPATH so that the fake module is picked up instead of the
real module (if installed).
However it's more complex than that because the nbdkit plugin also
expects to talk to a working imageio HTTPS server. Therefore
2018 Oct 09
2
Re: [PATCH v2 3/3] v2v: -o rhv-upload: Add a test.
...e = False,
> + storage_domains = None
> + ):
> + pass
> +
> + id = 123
> + status = DiskStatus.OK
> +
> +class ImageTransferPhase(Enum):
> + CANCELLED = 'cancelled'
> + FINALIZING_FAILURE = 'finalizing_failure'
> + FINALIZING_SUCCESS = 'finalizing_success'
> + FINISHED_FAILURE = 'finished_failure'
> + FINISHED_SUCCESS = 'finished_success'
> + INITIALIZING = 'initializing'
> + PAUSED_SYSTEM = 'paused_system'
> + PAUSED_USER = 'paused_user'
> + RE...
2019 Mar 17
2
Re: [PATCH] v2v: rhv-upload-plugin - improve wait logic after finalize (RHBZ#1680361)
...if transfer.phase == types.ImageTransferPhase.FINISHED_SUCCESS:
>> + debug("finalized after %s seconds", time.time() - start)
>> + break
>> +
>> + if transfer.phase ==
>> types.ImageTransferPhase.FINALIZING_SUCCESS:
>> + if time.time() > start + timeout:
>> + raise RuntimeError("timed out waiting for transfer "
>> + "to finalize")
>> + continue
>> +
>&g...