<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 18, 2016 at 10:04 AM, <span dir="ltr"><<a href="mailto:joost@familiealbers.nl" target="_blank">joost@familiealbers.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Roman, thanks for the quick response, i have followed your advice but still see the following fakevdsm console.<br>
<br>
<br></blockquote><div><br></div><div>Could it be that you did not disable the SSL encryption on the engine side? Did you follow the steps in [15] and restarted ovirt-engine?</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
2016-10-18 07:49:34,105 Message sent: null<br>
2016-10-18 07:49:34,105 Unable to process messages<span class="gmail-"><br>
java.io.IOException: Broken pipe<br>
at sun.nio.ch.FileDispatcherImpl.<wbr>write0(Native Method)<br>
at sun.nio.ch.SocketDispatcher.wr<wbr>ite(SocketDispatcher.java:47)<br>
at sun.nio.ch.IOUtil.writeFromNat<wbr>iveBuffer(IOUtil.java:93)<br>
at sun.nio.ch.IOUtil.write(IOUtil<wbr>.java:65)<br>
at sun.nio.ch.SocketChannelImpl.w<wbr>rite(SocketChannelImpl.java:49<wbr>2)<br>
at org.ovirt.vdsm.jsonrpc.client.<wbr>reactors.PlainClient.write(Pla<wbr>inClient.java:55)<br></span>
at org.ovirt.vdsm.jsonrpc.client.<wbr>reactors.ReactorClient.process<wbr>Outgoing(ReactorClient.java:<wbr>241)<br>
at org.ovirt.vdsm.jsonrpc.client.<wbr>reactors.ReactorClient.process<wbr>(ReactorClient.java:204)<span class="gmail-"><br>
at org.ovirt.vdsm.jsonrpc.client.<wbr>reactors.Reactor.processChanne<wbr>ls(Reactor.java:89)<br>
at org.ovirt.vdsm.jsonrpc.client.<wbr>reactors.Reactor.run(Reactor.j<wbr>ava:65)<br></span>
2016-10-18 07:49:34,106<br>
<br>
2016-10-18 07:49:34,106 Message sent: null<br>
2016-10-18 07:49:34,107 Failure in processing request<span class="gmail-"><br>
java.lang.IllegalArgumentExcep<wbr>tion: 'method' field missing in node<br>
at org.ovirt.vdsm.jsonrpc.client.<wbr>JsonRpcRequest.fromJsonNode(Js<wbr>onRpcRequest.java:79)<br>
at org.ovirt.vdsm.jsonrpc.client.<wbr>JsonRpcRequest.fromByteArray(J<wbr>sonRpcRequest.java:103)<br>
at org.ovirt.vdsmfake.rpc.json.Js<wbr>onRpcServer$MessageHandler.run<wbr>(JsonRpcServer.java:122)<br>
at java.util.concurrent.Executors<wbr>$RunnableAdapter.call(<wbr>Executors.java:471)<br>
at java.util.concurrent.FutureTas<wbr>k.run(FutureTask.java:262)<br>
at java.util.concurrent.ThreadPoo<wbr>lExecutor.runWorker(ThreadPool<wbr>Executor.java:1145)<br>
at java.util.concurrent.ThreadPoo<wbr>lExecutor$Worker.run(ThreadPoo<wbr>lExecutor.java:615)<br>
at java.lang.Thread.run(Thread.ja<wbr>va:745)<br></span>
2016-10-18 07:49:37,095 CONNECT<span class="gmail-"><br>
accept-version:1.2<br>
heart-beat:0,21234<br>
host:null<br>
<br>
<br>
<br>
<br></span>
Roman Mohr schreef op 2016-10-18 09:06:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<span class="gmail-"><br>
<br>
On Tue, Oct 18, 2016 at 12:28 AM, <<a href="mailto:joost@familiealbers.nl" target="_blank">joost@familiealbers.nl</a> [13]> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi All,<br>
I am trying to start load tests against my newly installed ovirt<br>
engine version 4.0.4<br>
</blockquote>
<br>
Note that latest fakevdsm is currently broken when using it with 4.0<br>
releases, it only works on master.<br>
<br>
You can check out the code from here<br>
<br>
</span><a href="https://gerrit.ovirt.org/#/c/65333/" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/6<wbr>5333/</a> [14]<span class="gmail-"><br>
<br>
to get a working version for 4.0.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I can run fakevdsm as follows (minor changes to pom.xml (mainly<br>
jetty plugin version)<br>
i also changed vdsm-jsonrpc-java-client to match that of the<br>
server.<br>
<br>
<br>
<groupId>org.ovirt.vdsm-jsonrp<wbr>c-java</groupId><br>
<br>
<artifactId>vdsm-jsonrpc-java-<wbr>client</artifactId><br>
<version>1.2.5</version><br>
<br>
i can run the app using<br>
<br>
mvn jetty:run -Dfake.host=0.0.0.0 -DjsonListenPort=54321<br>
-DvdsmPort=54322<br>
</blockquote>
<br>
could you try running "mvn clean" before starting it again? Fakevdsm<br>
has a cache and if something is wrong with that data there (e.g. a bug<br>
or switching between engine versions) you can end up in such<br></span>
situations. Running "mvn clean" cleans the cache too.Roman<br>
<br>
Links:<br>
------<br>
[1] <a href="http://iqn.1994-05.com" rel="noreferrer" target="_blank">http://iqn.1994-05.com</a><br>
[2] <a href="http://52.25.68.41" rel="noreferrer" target="_blank">http://52.25.68.41</a><br>
[3] <a href="http://52.25.68.41" rel="noreferrer" target="_blank">http://52.25.68.41</a><br>
[4] <a href="http://r.monitoring.HostMonitoring.re" rel="noreferrer" target="_blank">http://r.monitoring.HostMonito<wbr>ring.re</a><br>
[5] <a href="http://org.quartz.core.JobRunShell.ru" rel="noreferrer" target="_blank">http://org.quartz.core.JobRunS<wbr>hell.ru</a><br>
[6] <a href="http://52.25.68.41" rel="noreferrer" target="_blank">http://52.25.68.41</a><br>
[7] <a href="http://52.25.68.41" rel="noreferrer" target="_blank">http://52.25.68.41</a><br>
[8] <a href="http://r.monitoring.HostMonitoring.re" rel="noreferrer" target="_blank">http://r.monitoring.HostMonito<wbr>ring.re</a><br>
[9] <a href="http://org.quartz.core.JobRunShell.ru" rel="noreferrer" target="_blank">http://org.quartz.core.JobRunS<wbr>hell.ru</a><br>
[10] <a href="http://52.25.68.41" rel="noreferrer" target="_blank">http://52.25.68.41</a><br>
[11] mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
[12] <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
[13] mailto:<a href="mailto:joost@familiealbers.nl" target="_blank">joost@familiealbers.nl</a><br>
[14] <a href="https://gerrit.ovirt.org/#/c/65333/" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/6<wbr>5333/</a></blockquote></blockquote><div><br></div><div>[15] <a href="https://github.com/oVirt/ovirt-vdsmfake#prepare-ovirt-engine">https://github.com/oVirt/ovirt-vdsmfake#prepare-ovirt-engine</a> </div></div><br></div></div>