Il giorno mer 20 nov 2019 alle ore 08:35 Dominik Holler <dholler(a)redhat.com>
ha scritto:
On Mon, Nov 18, 2019 at 3:44 PM Jamie Holohan <james.holohan(a)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?
Jamie any update?
> Thanks
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-leave(a)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/S2OEWFITZFH...
>
_______________________________________________
Devel mailing list -- devel(a)ovirt.org
To unsubscribe send an email to devel-leave(a)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/SCB33M33KV6...
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <
https://www.redhat.com/>
sbonazzo(a)redhat.com
<
https://www.redhat.com/>*Red Hat respects your work life balance.
Therefore there is no need to answer this email out of your office hours.
<
https://mojo.redhat.com/docs/DOC-1199578>*