Il giorno mer 20 nov 2019 alle ore 08:35 Dominik Holler <dholler@redhat.com> ha scritto:


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?



Jamie any update?
 
 
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/


--