Bug 1277496
| Summary: | remove oldest network api (3.0? — preceding existence of setsupnetworks) and internal usage thereof | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Martin Mucha <mmucha> |
| Component: | RestAPI | Assignee: | Martin Mucha <mmucha> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0.0 | CC: | amureini, bugs, danken, mburman, myakove, ylavi |
| Target Milestone: | ovirt-4.0.0-alpha | Keywords: | Reopened |
| Target Release: | 4.0.0 | Flags: | rule-engine:
ovirt-4.0.0+
ylavi: planning_ack+ danken: devel_ack+ myakove: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt 4.0.0 alpha1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-05 07:57:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Martin Mucha
2015-11-03 13:19:52 UTC
*** This bug has been marked as a duplicate of bug 1277495 *** It is still possible to use the old api for attaching network to an interface:
http://<server_address>:8080/ovirt-engine/api/hosts/<host_id>/nics/<interface_id>/attach
with body:
<action>
<network id="<network_id>"/>
</action>
(also for detach)
(more details in the following link: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/html-single/REST_API_Guide/#sect-REST_API_Guide-Hosts-Network_Interfaces-Attach ).
===========================================================================
Please note that the action eventually failed as GetAllChildVlanInterfacesQuery is being called and it's missing a constructor with EngineContext as an argument.
2015-11-15 12:38:10,689 ERROR [org.ovirt.engine.core.bll.network.host.AttachNetworkToVdsInterfaceCommand] (default task-8) [5ee3b8fa] Error during CanDoActionFailure.: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.RuntimeException: could not find matching constructor for Command class class org.ovirt.engine.core.bll.network.host.GetAllChildVlanInterfacesQuery
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone. oVirt 4.0.0 has been released, closing current release. |