<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 11:26 AM, emarcian <span dir="ltr"><<a href="mailto:emarcian@redhat.com" target="_blank">emarcian@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
for remote simulator make sure you<br>
<ul>
<li> /etc/hosts file is correct.</li>
<li> 54321 54322 are open in firewall in both sides.</li>
<li>engine p12 key is placed in the remote machine (in case using
SSL)</li>
<li>java certs are place as well (in case using SSL).</li>
</ul>
<p>please see this cod:<br>
<a href="http://ur1.ca/ojcv5" target="_blank">http://ur1.ca/ojcv5</a> (pass is ovirt123)<br></p></div></blockquote><div>Nice.<br><br>Could you make that a more copy/paste like manual and update README.ssl?<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><p>
</p><div><div class="h5">
<br>
<div>On 02/17/2016 08:28 PM, Nicolás wrote:<br>
</div>
<blockquote type="cite">
Hi Roman,<br>
<br>
<div>El 16/02/16 a las 10:27, Roman Mohr
escribió:<br>
</div>
<blockquote type="cite">
<div dir="ltr">On Fri, Feb 12, 2016 at 12:45 PM, Michal
Skrivanek <span dir="ltr"><<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@redhat.com</a>></span>
wrote:<br>
<div>
<div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word"><br>
<div><span>
<blockquote type="cite">
<div>On 09 Feb 2016, at 12:15, Nicolás <<a href="mailto:nicolas@devels.es" target="_blank"></a><a href="mailto:nicolas@devels.es" target="_blank">nicolas@devels.es</a>>
wrote:</div>
<br>
<div>
<div text="#000000" bgcolor="#FFFFFF"> Is
there a way to get an account on <a href="http://mojo.redhat.com" target="_blank">mojo.redhat.com</a> or
is it internal? I'm trying to open the
document but credentials are required
and I see no option to create an
account.<br>
</div>
</div>
</blockquote>
<div><br>
</div>
</span>yes it is</div>
<div><br>
</div>
<div>Eldad, would you please move it to <a href="http://ovirt.org" target="_blank">ovirt.org</a> instead?</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>I recently played with fakevdsm myself. The
result was the patch series in [1]. At least an
updated README for the result of my patches can be
found in [2].<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word">
<div>Thanks,</div>
<div>michal</div>
<div>
<div>
<div><br>
<blockquote type="cite">
<div>
<div text="#000000" bgcolor="#FFFFFF"> <br>
<div>El 04/02/16 a las 13:49, emarcian
escribió:<br>
</div>
<blockquote type="cite"> <font color="#333333"><small><font face="Helvetica, Arial,
sans-serif">Hi,</font><br>
<font face="Helvetica, Arial,
sans-serif">Seems like you
need to change this settings </font><span><font face="Helvetica, Arial,
sans-serif">update
vdc_options set
option_value='false' where
option_name='InstallVds'; </font></span><br>
<span><font face="Helvetica,
Arial, sans-serif">follow
the instructions here:</font></span><br>
<span><font face="Helvetica,
Arial, sans-serif"><a href="https://mojo.redhat.com/docs/DOC-990399" target="_blank"></a><a href="https://mojo.redhat.com/docs/DOC-990399" target="_blank">https://mojo.redhat.com/docs/DOC-990399</a></font></span><br>
<span></span><br>
<span><font face="Helvetica,
Arial, sans-serif">in case
you using 3.6 there is a new
war (if you run the
simulator as standalone).</font></span><br>
<span></span></small><br>
<span><font face="Helvetica,
Arial, sans-serif">-Eldad</font></span></font>
<br>
<span></span><span><br>
</span><br>
<div>On 02/04/2016 03:04 PM, Piotr
Kliczewski wrote:<br>
</div>
<blockquote type="cite">
<pre>Eldad is working on making it working with engine 3.6. He should be able to
give you information you need.
On Wed, Feb 3, 2016 at 12:33 PM, <a href="mailto:nicolas@devels.es" target="_blank"><nicolas@devels.es></a> wrote:
</pre>
<blockquote type="cite">
<pre>Anything?
El 2016-02-02 10:18, Nicolás escribió:
</pre>
<blockquote type="cite">
<pre>Hi,
I'm trying to set up VDSM-Fake
(<a>git://gerrit.ovirt.org/ovirt-vdsmfake.git</a>) for some tests, however,
I'm a bit confused about how does it actually work. As the
instructions say, I was able to build the project with Maven (however,
the org.ovirt.vdsm-jsonrpc-java dependency version had to be changed
to 1.1.5 instead of 1.1.2-SNAPSHOT in pom.xml as this latter is no
longer provided at the repository).
Once built, I run mvn jetty:run and the server started correctly:
</pre>
<blockquote type="cite">
<pre>2016-02-02 11:01:51.957:<a>INFO::jetty-6.1.26</a> [1]
2016-02-02 11:01:52.804:<a>INFO::No</a> [2] Transaction manager found - if
your webapp requires one, please configure one.
2016-02-02 11:01:53,424 Application initialized.
2016-02-02 11:01:53,442 Opening a Stomp server localhost:54322
2016-02-02 11:01:53.702:<a>INFO::Started</a> [3]
<a href="mailto:SelectChannelConnector@0.0.0.0:54321" target="_blank">SelectChannelConnector@0.0.0.0:54321</a>
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 10 seconds.
</pre>
</blockquote>
<pre> I could indeed verify it's listening on the VDSM port:
</pre>
<blockquote type="cite">
<pre>[root@host ovirt-vdsmfake]# netstat -atpn | grep 54321
tcp6 0 0
:::54321
:::* LISTEN
44870/java
</pre>
</blockquote>
<pre> So the next step is to add a fake host via REST. I used scripts
provided here [4] and I successfully added the host, however, it
starts installing all the VDSM packages as it were a normal host and
therefore it tries to start vdsmd as well, which throws an error as
the Jetty Server is already listening on the 54321 port. I shut down
the Jetty Server and allowed oVirt Manager to install all the packages
properly, then stopped vdsmd and started the Jetty Server, but
expectedly oVirt Engine fails with message "Host xxx is non
responsive", so what I actually got is a real VDSM host and not a fake
one.
FWIW, the fake VDSM runs on a different host, ports are reacheable
from the oVirt engine, proper /etc/hosts has been added to the engine
to reach the host, and no further customization of web.xml has been
done.
I feel like I'm missing something here. Could someone shed some light
on what's wrong?
Thanks.
Nicolás
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>@Nicolas I would recommend you to use the top of
my gerrit patches to run vdsmake:<br>
<br>
git clone git://<a href="http://gerrit.ovirt.org/ovirt-vdsmfake" target="_blank">gerrit.ovirt.org/ovirt-vdsmfake</a><br>
cd ovirt-vdsmfake<br>
git fetch git://<a href="http://gerrit.ovirt.org/ovirt-vdsmfake" target="_blank">gerrit.ovirt.org/ovirt-vdsmfake</a>
refs/changes/70/53570/2 && git checkout
FETCH_HEAD<br>
</div>
<div> <br>
</div>
<div>then follow the instructions in the README of the
checked out repository [3].<br>
<br>
</div>
<div>Hope that helps. <br>
<br>
</div>
<div>Best Regards,<br>
</div>
<div>Roman<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
</blockquote>
<div>[1] <a href="https://gerrit.ovirt.org/#/q/status:open+project:ovirt-vdsmfake+branch:master+topic:easy_access" target="_blank">https://gerrit.ovirt.org/#/q/status:open+project:ovirt-vdsmfake+branch:master+topic:easy_access</a><br>
[2] <a href="https://gerrit.ovirt.org/#/c/53570/" target="_blank">https://gerrit.ovirt.org/#/c/53570/</a><br>
[3] <a href="https://gerrit.ovirt.org/#/c/53570/2/README" target="_blank">https://gerrit.ovirt.org/#/c/53570/2/README</a>
<br>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
I could finally make fakevdsm work with your changes. Maybe I'm
missing something but this works if the engine and the fake host
are run on the same server - when I tried to run the fake host on
a different host I wasn't seeing any responses from the host (the
firewall was vanilla clean). In any case, I'm ok with both running
on the same machine.<br>
<br>
Will this be merged into master?<br>
<br>
Thanks.<br>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div>