Bug 1338522
| Summary: | REST-API | Missing '/' in HostNIC labels link | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Meni Yakove <myakove> |
| Component: | RestAPI | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Meni Yakove <myakove> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0.0 | CC: | bugs, danken, juan.hernandez, myakove, oliel, stirabos |
| Target Milestone: | ovirt-4.0.0-rc | Keywords: | Automation, Regression |
| Target Release: | 4.0.0 | Flags: | rule-engine:
ovirt-4.0.0+
rule-engine: blocker+ rule-engine: planning_ack+ juan.hernandez: devel_ack+ rule-engine: testing_ack+ |
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-05 07:42:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Meni Yakove
2016-05-22 13:09:10 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. oVirt 4.0 beta has been released, moving to RC milestone. Just to make sure, you request: GET .../api/hosts/xxx/nics/ and in the received NIC the link to the Labels sub-collection is malformed, is that correct? Looks like the bug is somewhere in here: AbstractBaseHostNicLabelsResource.addLinks() yes, missing '/' before the word 'labels' Meni, can you state the REST url that presents this bug? What do you mean? Just go to /ovirt-engine/api/hosts/<host_id>/nics/<nic_id> and check the label href on clean engine install This regression was introduced by the change that renamed "Label" to "NetworkLabel", in order to introduce the new "AffinityLabel" concept. I'm moving to the infra team. In the latest nightly I have '/' before labels but when I go to: network-ge-1.scl.lab.tlv.redhat.com/ovirt-engine/api/hosts/<host_id>/nics/<nic_id>/labels the label href is: /ovirt-engine/api/hosts/<host_id>/nics/<nic_id>/networklabels/lb1" In the href 'networklabels' should be 'labels' Juan, did you saw my last comment? Yes Meni, patch 58595 should address that issue. rhevm-4.0.0.5-0.1.el7ev.noarch oVirt 4.0.0 has been released, closing current release. |