Bug 2080728 - [CBT] [REST-API] Actions and backup disks link for hybrid backups are sometimes missing in /api/vms/<vm-id>/backups
Summary: [CBT] [REST-API] Actions and backup disks link for hybrid backups are sometim...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.5.0.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.5.1
: ---
Assignee: Benny Zlotnik
QA Contact: sshmulev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-01 11:20 UTC by Evelina Shames
Modified: 2022-06-23 05:54 UTC (History)
7 users (show)

Fixed In Version: ovirt-engine-4.5.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-23 05:54:58 UTC
oVirt Team: Storage
Embargoed:
pm-rhel: ovirt-4.5?
lsvaty: blocker-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 320 0 None open restapi: prefer parentType over subclasses in getParent 2022-05-01 12:17:42 UTC
Red Hat Issue Tracker RHV-45894 0 None None None 2022-05-01 11:46:27 UTC

Description Evelina Shames 2022-05-01 11:20:31 UTC
Description of problem:
Actions and backup disks link for hybrid backups are sometimes missing in /api/vms/<vm-id>/backups


Version-Release number of selected component (if applicable):
ovirt-engine-4.5.0.5-0.7.el8ev

How reproducible:
not sure yet, but I managed to reproduce it several times.

Steps to Reproduce:
1. Start backup
2. Check /api/vms/<vm-id>/backups


Actual results:
<backups>
  <backup id="2ceb523e-7a1a-44bb-818e-727f5956a3f8">
    <creation_date>2022-05-01T13:53:42.227+03:00</creation_date>
    <modification_date>2022-05-01T13:53:52.798+03:00</modification_date>
    <phase>ready</phase>
    <to_checkpoint_id>db6dff86-1360-4832-8b49-618f12d6b767</to_checkpoint_id>
    <snapshot id="5076ac87-4de6-4343-98c5-8d8707e3a5c9"/>
    <vm href="/ovirt-engine/api/vms/61d1a6b0-2dcb-45ff-bb59-4f65e41aa94d" id="61d1a6b0-2dcb-45ff-bb59-4f65e41aa94d"/>
  </backup>
</backups>

Expected results:
/api/vms/<vm-id>/backups should include also:
<actions>
  <link href="/ovirt-engine/api/vms/<vm-id>/backups/<backup-id>/finalize" rel="finalize"/>
</actions>
<link href="/ovirt-engine/api/vms/<vm-id>/backups/<backup-id>/disks" rel="disks"/>

Additional info:

Comment 1 RHEL Program Management 2022-05-02 14:29:34 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Avihai 2022-05-12 13:06:34 UTC
This issue is casuing duplicate storage connections which leads to non-operational hosts and fails many QE test cases on multiple regressions runs on all Tiers.
Marking this one as automation blocker.

Comment 3 Avihai 2022-05-12 13:07:36 UTC
(In reply to Avihai from comment #2)
> This issue is casuing duplicate storage connections which leads to
> non-operational hosts and fails many QE test cases on multiple regressions
> runs on all Tiers.
> Marking this one as automation blocker.

Wrong bug, disregard please

Comment 5 sshmulev 2022-06-09 14:02:12 UTC
Verified.

Couldn't reproduce it on a non fixed version, So based on tier1 and tier2 runs, seems like this issue doesn't reproduce (The 18 TCs that failed passed this time on tier2).

Versions:
vdsm-4.50.1.1-1.el8ev.x86_64
ovirt-engine-4.5.1-0.62.el8ev.noarch

Comment 6 Sandro Bonazzola 2022-06-23 05:54:58 UTC
This bugzilla is included in oVirt 4.5.1 release, published on June 22nd 2022.
Since the problem described in this bug report should be resolved in oVirt 4.5.1 release, it has been closed with a resolution of CURRENT RELEASE.
If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.