On Mon, Nov 18, 2019 at 3:44 PM Jamie Holohan <james.holohan@oracle.com> wrote:I am having an issue. I am building a test case and one step involves adding a network to a NIC object. When I perform this step in the UI by navigating from Hosts -> hostToAttachNetwork -> Network Interfaces -> Setup Host Networks . And I drag the required network to NIC object and press ok, after the operation is complete, an event log is registered in the engine.log containing this text: "Network changes were saved on host"
When I perform the same step in the automated test case, using the following code:
hostService.setupNetworks().modifiedNetworkAttachments(
networkAttachment()
.network(
network()
.id(netToAdd.id())
.name(netToAdd.name())
)
.hostNic(
hostNic()
.id(hsNicId)
))
.send();
The operation is performed correctly, the network is attached to the appropriate NIC, but there is no log registered in the engine.log.
I am wondering is there a better way to perform the above task that will register an event in the log file. Or is it possible that this a bug in the SDK?
This would be a bug in Engine.Can you please re-check the engine.log and check also the related vdsm.log and supervdsm.log for traces of this action?
_______________________________________________Thanks
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/S2OEWFITZFH2WJTQKIV6O2RJ7SPP35HN/
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/SCB33M33KV6EQVVWJMQRLBUPE2RJMXTB/
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV