Bug 1056501
| Summary: | Updating a network on nic via 3.0 api fails | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Moti Asayag <masayag> |
| Component: | ovirt-engine-core | Assignee: | Moti Asayag <masayag> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Pavlik <mpavlik> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.4 | CC: | acathrow, gcheresh, gklein, iheim, mpavlik, myakove, yeylon |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 3.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | network | ||
| Fixed In Version: | ovirt-3.4.0-beta2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-31 12:25:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1024889 | ||
*** Bug 1059222 has been marked as a duplicate of this bug. *** verified on oVirt Engine Version: 3.4.0-0.7.beta2.el6 2014-02-17 17:03:42,595 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.EditNetworkVDSCommand] (ajp--127.0.0.1-8702-13) [2d7318ef] START, EditNetworkVDSCommand(HostName = dell-07, HostId = 2e7cf93e-3ccf-4b17-8476-96c5684bd3fa, networkName=NET1, oldNetworkName=NET1, hostAddr=10.34.63.100, checkConnectivity=false, connectionTimeout=120, vlanId=null, bondName=null, nics=[em2], inetAddr=10.34.67.4, networkMask=255.255.255.254, gateway=, stp=false, bondingOptions=null, bootProtocol=STATIC_IP, vmNetwork=false, network=null), log id: 6ad9f75f 2014-02-17 17:03:45,363 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.EditNetworkVDSCommand] (ajp--127.0.0.1-8702-13) [2d7318ef] FINISH, EditNetworkVDSCommand, log id: 6ad9f75f 2014-02-17 17:03:45,459 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-13) [2d7318ef] Correlation ID: 2d7318ef, Job ID: 2103a9c4-1044-4726-8852-098d66e1235c, Call Stack: null, Custom Event ID: -1, Message: Attach network: NET1 to Host: dell-07 by admin. this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released |
Description of problem: Updating the network on nic via 3.0 api which uses the former update network on interface command fails to refresh the data with an exception to the engine log. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Send PUT request to 'api/hosts/{host:id}/nics/{nic:id}/ Actual results: Exception appears in the log: 2014-01-22 12:25:23,677 ERROR [org.ovirt.engine.core.bll.network.host.UpdateNetworkToVdsInterfaceCommand] (http--0.0.0.0-8080-3) [6f337847] Command org.ovirt.engine.core.bll.network.host.UpdateNetworkToVdsInterfaceCommand throw exception: java.lang.NullPointerException at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:115) [bll.jar:] at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33) [bll.jar:] at org.ovirt.engine.core.bll.network.host.UpdateNetworkToVdsInterfaceCommand.executeCommand(UpdateNetworkToVdsInterfaceCommand.java:88) [bll.jar:] ... The changed data doesn't preserves and the action eventually fails. Expected results: The update should succeed. Additional info: