Re: [ovirt-users] How does VDSM-Fake actually work?

This is a multi-part message in MIME format. --------------010201090807080708080104 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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. 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
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,<nicolas@devels.es> 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] SelectChannelConnector@0.0.0.0: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
Links: ------ [1]INFO::jetty-6.1.26 [2]INFO::No [3]INFO::Started [4]http://www.ovirt.org/REST_API_Using_BASH_Automation
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------010201090807080708080104 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> 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.<br> <br> <div class="moz-cite-prefix">El 04/02/16 a las 13:49, emarcian escribió:<br> </div> <blockquote cite="mid:56B356F8.3010107@redhat.com" type="cite"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <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 style="font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);"><font face="Helvetica, Arial, sans-serif">update vdc_options set option_value='false' where option_name='InstallVds'; </font></span><br> <span style="font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);"><font face="Helvetica, Arial, sans-serif">follow the instructions here:</font></span><br> <span style="font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);"><font face="Helvetica, Arial, sans-serif"><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://mojo.redhat.com/docs/DOC-990399"><a class="moz-txt-link-freetext" href="https://mojo.redhat.com/docs/DOC-990399">https://mojo.redhat.com/docs/DOC-990399</a></a></font></span><br> <span style="font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);"></span><br> <span style="font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);"><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 style="font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);"></span></small><br> <span style="font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);"><font face="Helvetica, Arial, sans-serif">-Eldad</font></span></font> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <br> <span style="color: rgb(61, 61, 61); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 255);"></span><span style="color: rgb(61, 61, 61); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 255);"><br> </span><br> <div class="moz-cite-prefix">On 02/04/2016 03:04 PM, Piotr Kliczewski wrote:<br> </div> <blockquote cite="mid:CAKU0_rk-R1OcSKW5xBD3o3wTZw83XR0Jy0bF1SJ73=kDZwO0DA@mail.gmail.com" type="cite"> <pre wrap="">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 moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:nicolas@devels.es"><nicolas@devels.es></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Anything? El 2016-02-02 10:18, Nicolás escribió: </pre> <blockquote type="cite"> <pre wrap="">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: </pre> <blockquote type="cite"> <pre wrap="">2016-02-02 11:01:51.957:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="INFO::jetty-6.1.26">INFO::jetty-6.1.26</a> [1] 2016-02-02 11:01:52.804:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="INFO::No">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 moz-do-not-send="true" class="moz-txt-link-freetext" href="INFO::Started">INFO::Started</a> [3] <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:SelectChannelConnector@0.0.0.0:54321">SelectChannelConnector@0.0.0.0:54321</a> [INFO] Started Jetty Server [INFO] Starting scanner at interval of 10 seconds. </pre> </blockquote> <pre wrap=""> I could indeed verify it's listening on the VDSM port: </pre> <blockquote type="cite"> <pre wrap="">[root@host ovirt-vdsmfake]# netstat -atpn | grep 54321 tcp6 0 0 :::54321 :::* LISTEN 44870/java </pre> </blockquote> <pre wrap=""> 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 Links: ------ [1] <a moz-do-not-send="true" class="moz-txt-link-freetext" href="INFO::jetty-6.1.26">INFO::jetty-6.1.26</a> [2] <a moz-do-not-send="true" class="moz-txt-link-freetext" href="INFO::No">INFO::No</a> [3] <a moz-do-not-send="true" class="moz-txt-link-freetext" href="INFO::Started">INFO::Started</a> [4] <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.ovirt.org/REST_API_Using_BASH_Automation">http://www.ovirt.org/REST_API_Using_BASH_Automation</a> _______________________________________________ Users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <pre wrap="">_______________________________________________ Users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> </blockquote> <br> </blockquote> <br> </body> </html> --------------010201090807080708080104--

--Apple-Mail=_C2AC11B5-D337-4EFB-B298-BD899D583E02 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8
On 09 Feb 2016, at 12:15, Nicol=C3=A1s <nicolas@devels.es> wrote: =20 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.
=20 El 04/02/16 a las 13:49, emarcian escribi=C3=B3:
Hi, Seems like you need to change this settings update vdc_options set =
follow the instructions here: = <https://mojo.redhat.com/docs/DOC-990399>https://mojo.redhat.com/docs/DOC-= 990399 <https://mojo.redhat.com/docs/DOC-990399> =20 in case you using 3.6 there is a new war (if you run the simulator as = standalone). =20 -Eldad=20 =20 =20 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. =20 On Wed, Feb 3, 2016 at 12:33 PM, <nicolas@devels.es> = <mailto:nicolas@devels.es> wrote:
Anything? =20 El 2016-02-02 10:18, Nicol=C3=A1s escribi=C3=B3:
2016-02-02 11:01:51.957:INFO::jetty-6.1.26 <info::jetty-6.1.26> = [1] 2016-02-02 11:01:52.804:INFO::No <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 <info::Started> [3] SelectChannelConnector@0.0.0.0:54321 = <mailto:SelectChannelConnector@0.0.0.0:54321> [INFO] Started Jetty Server [INFO] Starting scanner at interval of 10 seconds. I could indeed verify it's listening on the VDSM port: =20 [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
Hi, =20 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). =20 Once built, I run mvn jetty:run and the server started correctly: =20 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 =
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. =20 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. =20 I feel like I'm missing something here. Could someone shed some =
yes it is Eldad, would you please move it to ovirt.org instead? Thanks, michal option_value=3D'false' where option_name=3D'InstallVds';=20 packages light
on what's wrong? =20 Thanks. =20 Nicol=C3=A1s =20 =20 Links: ------ [1] INFO::jetty-6.1.26 <info::jetty-6.1.26> [2] INFO::No <info::No> [3] INFO::Started <info::Started> [4] http://www.ovirt.org/REST_API_Using_BASH_Automation = <http://www.ovirt.org/REST_API_Using_BASH_Automation> =20 _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users>
Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> =20 =20
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_C2AC11B5-D337-4EFB-B298-BD899D583E02 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On 09 Feb 2016, at 12:15, Nicol=C3=A1s <<a = href=3D"mailto:nicolas@devels.es" class=3D"">nicolas@devels.es</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""> =20 <meta content=3D"text/html; charset=3Dutf-8" = http-equiv=3D"Content-Type" class=3D""> =20 <div text=3D"#000000" bgcolor=3D"#FFFFFF" class=3D""> Is there a way to get an account on <a href=3D"http://mojo.redhat.com"= class=3D"">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 = class=3D""></div></div></blockquote><div><br class=3D""></div>yes it = is</div><div><br class=3D""></div><div>Eldad, would you please move it = to <a href=3D"http://ovirt.org" class=3D"">ovirt.org</a> = instead?</div><div><br = class=3D""></div><div>Thanks,</div><div>michal</div><div><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div = text=3D"#000000" bgcolor=3D"#FFFFFF" class=3D""> <br class=3D""> <div class=3D"moz-cite-prefix">El 04/02/16 a las 13:49, emarcian escribi=C3=B3:<br class=3D""> </div> <blockquote cite=3D"mid:56B356F8.3010107@redhat.com" type=3D"cite" = class=3D""> <meta content=3D"text/html; charset=3Dutf-8" = http-equiv=3D"Content-Type" class=3D""> <font color=3D"#333333" class=3D""><small class=3D""><font = face=3D"Helvetica, Arial, sans-serif" class=3D"">Hi,</font><br class=3D""> <font face=3D"Helvetica, Arial, sans-serif" class=3D"">Seems = like you need to change this settings </font><span style=3D"font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);" class=3D""><font face=3D"Helvetica, Arial, = sans-serif" class=3D"">update vdc_options set option_value=3D'false' where option_name=3D'InstallVds'; </font></span><br class=3D""> <span style=3D"font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);" class=3D""><font face=3D"Helvetica, Arial, = sans-serif" class=3D"">follow the instructions here:</font></span><br class=3D""> <span style=3D"font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);" class=3D""><font face=3D"Helvetica, Arial, = sans-serif" class=3D""><a moz-do-not-send=3D"true" = class=3D"moz-txt-link-freetext" = href=3D"https://mojo.redhat.com/docs/DOC-990399"></a><a = class=3D"moz-txt-link-freetext" = href=3D"https://mojo.redhat.com/docs/DOC-990399">https://mojo.redhat.com/d= ocs/DOC-990399</a></font></span><br class=3D""> <span style=3D"font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);" class=3D""></span><br class=3D""> <span style=3D"font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);" class=3D""><font face=3D"Helvetica, Arial, = sans-serif" class=3D"">in case you using 3.6 there is a new war (if you run the simulator as standalone).</font></span><br class=3D""> <span style=3D"font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);" class=3D""></span></small><br class=3D""> <span style=3D"font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none; background-color: rgb(255, 255, 255);" class=3D""><font = face=3D"Helvetica, Arial, sans-serif" class=3D"">-Eldad</font></span></font> <meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8" class=3D""> <br class=3D""> <span style=3D"color: rgb(61, 61, 61); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 255);" = class=3D""></span><span style=3D"color: rgb(61, 61, 61); font-family: = 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.0909px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 255);" class=3D""><br= class=3D""> </span><br class=3D""> <div class=3D"moz-cite-prefix">On 02/04/2016 03:04 PM, Piotr Kliczewski wrote:<br class=3D""> </div> <blockquote = cite=3D"mid:CAKU0_rk-R1OcSKW5xBD3o3wTZw83XR0Jy0bF1SJ73=3DkDZwO0DA@mail.gma= il.com" type=3D"cite" class=3D""> <pre wrap=3D"" class=3D"">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 moz-do-not-send=3D"true" = class=3D"moz-txt-link-rfc2396E" = href=3D"mailto:nicolas@devels.es"><nicolas@devels.es></a> wrote: </pre> <blockquote type=3D"cite" class=3D""> <pre wrap=3D"" class=3D"">Anything? El 2016-02-02 10:18, Nicol=C3=A1s escribi=C3=B3: </pre> <blockquote type=3D"cite" class=3D""> <pre wrap=3D"" class=3D"">Hi, I'm trying to set up VDSM-Fake (<a href=3D"git://gerrit.ovirt.org/ovirt-vdsmfake.git" = class=3D"">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=3D"cite" class=3D""> <pre wrap=3D"" class=3D"">2016-02-02 11:01:51.957:<a = moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" = href=3D"info::jetty-6.1.26">INFO::jetty-6.1.26</a> [1] 2016-02-02 11:01:52.804:<a moz-do-not-send=3D"true" = class=3D"moz-txt-link-freetext" href=3D"info::No">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 moz-do-not-send=3D"true" = class=3D"moz-txt-link-freetext" href=3D"info::Started">INFO::Started</a> = [3] <a moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated" = href=3D"mailto:SelectChannelConnector@0.0.0.0:54321">SelectChannelConnecto= r@0.0.0.0:54321</a> [INFO] Started Jetty Server [INFO] Starting scanner at interval of 10 seconds. </pre> </blockquote> <pre wrap=3D"" class=3D""> I could indeed verify it's = listening on the VDSM port: </pre> <blockquote type=3D"cite" class=3D""> <pre wrap=3D"" class=3D"">[root@host ovirt-vdsmfake]# = netstat -atpn | grep 54321 tcp6 0 0 :::54321 :::* LISTEN 44870/java </pre> </blockquote> <pre wrap=3D"" class=3D""> 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=C3=A1s Links: ------ [1] <a moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" = href=3D"info::jetty-6.1.26">INFO::jetty-6.1.26</a> [2] <a moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" = href=3D"info::No">INFO::No</a> [3] <a moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" = href=3D"info::Started">INFO::Started</a> [4] <a moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" = href=3D"http://www.ovirt.org/REST_API_Using_BASH_Automation">http://www.ov= irt.org/REST_API_Using_BASH_Automation</a> _______________________________________________ Users mailing list <a moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated" = href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a> <a moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" = href=3D"http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.= org/mailman/listinfo/users</a> </pre> </blockquote> <pre wrap=3D"" = class=3D"">_______________________________________________ Users mailing list <a moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated" = href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a> <a moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" = href=3D"http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.= org/mailman/listinfo/users</a> </pre> </blockquote> </blockquote> <br class=3D""> </blockquote> <br class=3D""> </div> _______________________________________________<br class=3D"">Users = mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org" = class=3D"">Users@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br = class=3D""></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_C2AC11B5-D337-4EFB-B298-BD899D583E02--

On Fri, Feb 12, 2016 at 12:45 PM, Michal Skrivanek < michal.skrivanek@redhat.com> wrote:
On 09 Feb 2016, at 12:15, Nicolás <nicolas@devels.es> 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, <nicolas@devels.es> <nicolas@devels.es> 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]SelectChannelConnector@0.0.0.0: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 <http://lists.ovirt.org/mailman/listinfo/users>
[1]
https://gerrit.ovirt.org/#/q/status:open+project:ovirt-vdsmfake+branch:maste... [2] https://gerrit.ovirt.org/#/c/53570/ [3] https://gerrit.ovirt.org/#/c/53570/2/README

This is a multi-part message in MIME format. --------------020302010009040007090805 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Roman, El 16/02/16 a las 10:27, Roman Mohr escribió:
On Fri, Feb 12, 2016 at 12:45 PM, Michal Skrivanek <michal.skrivanek@redhat.com <mailto:michal.skrivanek@redhat.com>> wrote:
On 09 Feb 2016, at 12:15, Nicolás <nicolas@devels.es <mailto:nicolas@devels.es>> wrote:
Is there a way to get an account on mojo.redhat.com <http://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 <http://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
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,<nicolas@devels.es> <mailto:nicolas@devels.es> 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] > SelectChannelConnector@0.0.0.0:54321 > <mailto:SelectChannelConnector@0.0.0.0: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 <http://gerrit.ovirt.org/ovirt-vdsmfake> cd ovirt-vdsmfake git fetch git://gerrit.ovirt.org/ovirt-vdsmfake <http://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:maste... [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. Will this be merged into master? Thanks. --------------020302010009040007090805 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> Hi Roman,<br> <br> <div class="moz-cite-prefix">El 16/02/16 a las 10:27, Roman Mohr escribió:<br> </div> <blockquote cite="mid:CALDPj7sW0FuV+1jeqAAREkQOAhAdzeFb0Uq6hkXOeqST-aoYag@mail.gmail.com" type="cite"> <div dir="ltr">On Fri, Feb 12, 2016 at 12:45 PM, Michal Skrivanek <span dir="ltr"><<a moz-do-not-send="true" 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 class=""> <blockquote type="cite"> <div>On 09 Feb 2016, at 12:15, Nicolás <<a moz-do-not-send="true" href="mailto:nicolas@devels.es" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:nicolas@devels.es">nicolas@devels.es</a></a>> wrote:</div> <br> <div> <div text="#000000" bgcolor="#FFFFFF"> Is there a way to get an account on <a moz-do-not-send="true" 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 moz-do-not-send="true" 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 class="h5"> <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 moz-do-not-send="true" href="https://mojo.redhat.com/docs/DOC-990399" target="_blank"><a class="moz-txt-link-freetext" href="https://mojo.redhat.com/docs/DOC-990399">https://mojo.redhat.com/docs/DOC-990399</a></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 style="color:rgb(61,61,61);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:19.0909px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"><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 moz-do-not-send="true" 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 moz-do-not-send="true">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 moz-do-not-send="true">INFO::jetty-6.1.26</a> [1] 2016-02-02 11:01:52.804:<a moz-do-not-send="true">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 moz-do-not-send="true">INFO::Started</a> [3] <a moz-do-not-send="true" 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 moz-do-not-send="true" href="http://gerrit.ovirt.org/ovirt-vdsmfake">gerrit.ovirt.org/ovirt-vdsmfake</a><br> cd ovirt-vdsmfake<br> git fetch git://<a moz-do-not-send="true" href="http://gerrit.ovirt.org/ovirt-vdsmfake">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 moz-do-not-send="true" href="https://gerrit.ovirt.org/#/q/status:open+project:ovirt-vdsmfake+branch:master+topic:easy_access">https://gerrit.ovirt.org/#/q/status:open+project:ovirt-vdsmfake+branch:master+topic:easy_access</a><br> [2] <a moz-do-not-send="true" href="https://gerrit.ovirt.org/#/c/53570/">https://gerrit.ovirt.org/#/c/53570/</a><br> [3] <a moz-do-not-send="true" href="https://gerrit.ovirt.org/#/c/53570/2/README">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> </body> </html> --------------020302010009040007090805--

On Wed, Feb 17, 2016 at 7:28 PM, Nicolás <nicolas@devels.es> 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 < michal.skrivanek@redhat.com> wrote:
On 09 Feb 2016, at 12:15, Nicolás < <nicolas@devels.es>nicolas@devels.es> 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, <nicolas@devels.es> <nicolas@devels.es> 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]SelectChannelConnector@0.0.0.0: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:maste... [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
participants (3)
-
Michal Skrivanek
-
Nicolás
-
Roman Mohr