Commit f797221
core: Fail when getVolumeInfo fails during OVF read
In a scenario where we managed to list the images on the storage, but
failed to read get their information from vdsm, we will end up with
engine assuming the OVF_STOREs are missing.
Instead this patch treats a failure to retrieve the infromation as a
failure to force the user to retry.
Bug-Url: https://bugzilla.redhat.com/2244641
Signed-off-by: Benny Zlotnik <[email protected]>1 parent 9fa9d7d commit f797221
File tree
2 files changed
+15
-1
lines changed- backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image
2 files changed
+15
-1
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
| |||
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
82 | 89 | | |
83 | 90 | | |
84 | 91 | | |
| |||
0 commit comments