Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. add affinity label to some vm 2. run for the specific vm: curl -k -u admin@internal:123456 -H "Prefer: persistent-auth" https://engine/ovirt-engine/api/vms/<vm_id>/affinitylabels Actual results: affinity_label without links to vms and hosts <affinity_label href="/ovirt-engine/api/affinitylabels/9a443202-2349-40a2-bff6-320d569aeb26" id="9a443202-2349-40a2-bff6-320d569aeb26"> <name>test</name> <read_only>false</read_only> </affinity_label> Expected results: the same as in main affinitylabels result curl -k -u admin@internal:123456 -H "Prefer: persistent-auth" https://engine/ovirt-engine/api/affinitylabels <affinity_label href="/ovirt-engine/api/affinitylabels/9a443202-2349-40a2-bff6-320d569aeb26" id="9a443202-2349-40a2-bff6-320d569aeb26"> <name>test</name> <link href="/ovirt-engine/api/affinitylabels/9a443202-2349-40a2-bff6-320d569aeb26/hosts" rel="hosts"/> <link href="/ovirt-engine/api/affinitylabels/9a443202-2349-40a2-bff6-320d569aeb26/vms" rel="vms"/> <read_only>false</read_only> </affinity_label>
I'm sorry, I accidentally submit it too early. Description of problem: Element affinity_label is not the same from specific vm as the one in main affinitylabels result. Version-Release number of selected component (if applicable): ovirt-engine-restapi-4.2.3.5-0.1.el7.noarch How reproducible: always
Elements <affinity_label> are the same now. verified in ovirt-engine-restapi-4.2.4.1-0.1.el7.noarch
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.4 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.