Bug 1718141
Summary: | Cannot retrieve Host NIC VF configuration via REST API | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Germano Veit Michel <gveitmic> | |
Component: | ovirt-engine-sdk-python | Assignee: | Ori Liel <oliel> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Guilherme Santos <gdeolive> | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | 4.3.0 | CC: | amashah, dagur, dholler, emarcus, lleistne, mburman, mperina, oliel, omachace, pelauter, rdlugyhe, Rhev-m-bugs | |
Target Milestone: | ovirt-4.4.0 | Keywords: | ZStream | |
Target Release: | --- | Flags: | lsvaty:
testing_plan_complete-
|
|
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | rhv-4.4.0-29 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, the python3-ovirt-engine-sdk4 package did not include the all_content attribute of the HostNicService and HostNicsService. As a result, this attribute was effectively unavailable to python3-ovirt-engine-sdk4 users. The current release fixes this issue by adding the all_content parameter to the python3-ovirt-engine-sdk4.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1725660 (view as bug list) | Environment: | ||
Last Closed: | 2020-04-16 10:36:27 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1725660 |
Description
Germano Veit Michel
2019-06-07 04:32:03 UTC
We need to add this to module documentation. It should be populated in case you send header 'All-content: true'. Actually I see customer reported it on SDK, usually if it defined in model, and documented, you can use all_content as follows: my_service.list(search='name=myentity', all_content=True) but it's not for the host nics service. So you can workaround it using: my_service.list(search='name=myentity', headers={'All-content': True}) Hi Ondra, Thanks for the quick response, the workaround works for the customer. Cheers, Amar (In reply to Ondra Machacek from comment #3) > but it's not for the host nics service. So you can workaround it using: > > my_service.list(search='name=myentity', headers={'All-content': True}) Its only for vms_service() right? I did try on nics_service and it indeed is not implemented there. I think you had a few bugs from me where the problem is all_content. Maybe we should review everything that might be missing it? Thanks (In reply to Germano Veit Michel from comment #5) > > Maybe we should review everything that might be missing it? > Yeah, in order to not have similar bugs in future, it would be good to review all places and fix them if needed. Dominik, is this a bug in REST-API or in SDK? (In reply to Dominik Holler from comment #7) > Dominik, is this a bug in REST-API or in SDK? REST-API. If this bug is fixed, the virtual_functions_configuration will be included, if the HTTP request contains the header "All-Content: True". Please note that the query string ?all_content=true is ignored because of bug 1383746. Michael, can you please formally ack the bug? sync2jira sync2jira Closing low severity bugs, based on QE capacity, if you would like to still verify this issue please reopen. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |