On Wed, Feb 17, 2016 at 7:28 PM, Nicolás <[email protected]> wrote: > Hi Roman, > > El 16/02/16 a las 10:27, Roman Mohr escribió: > > On Fri, Feb 12, 2016 at 12:45 PM, Michal Skrivanek < > [email protected]> wrote: > >> >> On 09 Feb 2016, at 12:15, Nicolás < <[email protected]>[email protected]> >> wrote: >> >> Is there a way to get an account on mojo.redhat.com or is it internal? >> I'm trying to open the document but credentials are required and I see no >> option to create an account. >> >> >> yes it is >> >> Eldad, would you please move it to ovirt.org instead? >> >> > 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]. > > >> Thanks, >> michal >> >> >> El 04/02/16 a las 13:49, emarcian escribió: >> >> Hi, >> Seems like you need to change this settings update vdc_options set >> option_value='false' where option_name='InstallVds'; >> follow the instructions here: >> <https://mojo.redhat.com/docs/DOC-990399> >> https://mojo.redhat.com/docs/DOC-990399 >> >> in case you using 3.6 there is a new war (if you run the simulator as >> standalone). >> >> -Eldad >> >> >> On 02/04/2016 03:04 PM, Piotr Kliczewski wrote: >> >> 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, <[email protected]> <[email protected]> >> wrote: >> >> Anything? >> >> El 2016-02-02 10:18, Nicolás escribió: >> >> Hi, >> >> I'm trying to set up VDSM-Fake >> (git://gerrit.ovirt.org/ovirt-vdsmfake.git) 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: >> >> >> 2016-02-02 11:01:51.957:INFO::jetty-6.1.26 [1] >> 2016-02-02 11:01:52.804:INFO::No [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:INFO::Started [3][email protected]:54321 >> [INFO] Started Jetty Server >> [INFO] Starting scanner at interval of 10 seconds. >> >> I could indeed verify it's listening on the VDSM port: >> >> >> [root@host ovirt-vdsmfake]# netstat -atpn | grep 54321 >> tcp6 0 0 >> :::54321 >> :::* LISTEN >> 44870/java >> >> 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 >> >> > @Nicolas I would recommend you to use the top of my gerrit patches to run > vdsmake: > > git clone git://gerrit.ovirt.org/ovirt-vdsmfake > cd ovirt-vdsmfake > git fetch git://gerrit.ovirt.org/ovirt-vdsmfake refs/changes/70/53570/2 > && git checkout FETCH_HEAD > > then follow the instructions in the README of the checked out repository > [3]. > > Hope that helps. > > Best Regards, > Roman > >> >> [1] > https://gerrit.ovirt.org/#/q/status:open+project:ovirt-vdsmfake+branch:master+topic:easy_access > [2] https://gerrit.ovirt.org/#/c/53570/ > [3] https://gerrit.ovirt.org/#/c/53570/2/README > > > 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. >
An obvious error might be that you wrote 127.0.0.1 to /etc/hosts on the ovirt-engine host instead of the remote host. For everything else the more detailed answer from @emarcian might help you. > > Will this be merged into master? > It is already. :) You can check it out from github [4] or gerrit [5]. > > Thanks. > [4] https://github.com/oVirt/ovirt-vdsmfake/ [5] git://gerrit.ovirt.org/ovirt-vdsmfake
_______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

