
Hi, A small heads up regarding to ovirt-vdsmfake. We merged some changes today which add support for oVirt 4.0 and make it much easier to get started with vdsmfake. With the changes, now it is enough to just run `mvn jetty:run` to have a working vdsmfake. Have a look at the new quickstart guide in the README.md [1] to see how to get started.. Best regards, Roman [1] https://github.com/oVirt/ovirt-vdsmfake

On Tue, Feb 16, 2016 at 2:45 PM, Roman Mohr <rmohr@redhat.com> wrote:
Hi,
A small heads up regarding to ovirt-vdsmfake. We merged some changes today which add support for oVirt 4.0 and make it much easier to get started with vdsmfake.
With the changes, now it is enough to just run `mvn jetty:run` to have a working vdsmfake. Have a look at the new quickstart guide in the README.md [1] to see how to get started..
Best regards, Roman
Thanks, nice for a real quick start. I can add that I also use dnsmasq to resolve any address to an IP *dnsmasq --address=/vdsm.simulator/127.0.0.1 <http://127.0.0.1>* and that will resolve *XXX.vdsm.simulator* to 127.0.0.1. Just need to add nameserver to /etc/resolv.conf I'll add that to the README as well

On Thu, Feb 18, 2016 at 10:44 AM, Roy Golan <rgolan@redhat.com> wrote:
On Tue, Feb 16, 2016 at 2:45 PM, Roman Mohr <rmohr@redhat.com> wrote:
Hi,
A small heads up regarding to ovirt-vdsmfake. We merged some changes today which add support for oVirt 4.0 and make it much easier to get started with vdsmfake.
With the changes, now it is enough to just run `mvn jetty:run` to have a working vdsmfake. Have a look at the new quickstart guide in the README.md [1] to see how to get started..
Best regards, Roman
Thanks, nice for a real quick start.
I can add that I also use dnsmasq to resolve any address to an IP
*dnsmasq --address=/vdsm.simulator/127.0.0.1 <http://127.0.0.1>*
and that will resolve *XXX.vdsm.simulator* to 127.0.0.1. Just need to add nameserver to /etc/resolv.conf
I'll add that to the README as well
Very useful. Thanks for sharing!

--Apple-Mail=_90DDD819-9637-4894-A93E-D960882A1CF1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8
On 18 Feb 2016, at 10:44, Roy Golan <rgolan@redhat.com> wrote: =20 =20 =20 On Tue, Feb 16, 2016 at 2:45 PM, Roman Mohr <rmohr@redhat.com = <mailto:rmohr@redhat.com>> wrote: Hi, =20 A small heads up regarding to ovirt-vdsmfake. We merged some changes = today which add support for oVirt 4.0 and make it much easier to get = started with vdsmfake. =20 With the changes, now it is enough to just run `mvn jetty:run` to have = a working vdsmfake. Have a look at the new quickstart guide in the README.md [1] to see = how to get started.. =20 Best regards, Roman =20 [1] https://github.com/oVirt/ovirt-vdsmfake =20 =20 Thanks, nice for a real quick start.=20 =20 I can add that I also use dnsmasq to resolve any address to an IP =20 dnsmasq --address=3D/vdsm.simulator/127.0.0.1 <http://127.0.0.1/> =20 and that will resolve XXX.vdsm.simulator to 127.0.0.1. Just need to = add nameserver to /etc/resolv.conf =20 I'll add that to the README as well
please make it the favorite solution. It=E2=80=99s way more clean than = messing with /etc/hosts
=20 _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
--Apple-Mail=_90DDD819-9637-4894-A93E-D960882A1CF1 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 18 Feb 2016, at 10:44, Roy Golan <<a = href=3D"mailto:rgolan@redhat.com" class=3D"">rgolan@redhat.com</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div = dir=3D"ltr" class=3D""><br class=3D""><div class=3D"gmail_extra"><br = class=3D""><div class=3D"gmail_quote">On Tue, Feb 16, 2016 at 2:45 PM, = Roman Mohr <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:rmohr@redhat.com" target=3D"_blank" = class=3D"">rmohr@redhat.com</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div = dir=3D"ltr" class=3D""><div class=3D""><div class=3D""><div = class=3D""><div class=3D""><div class=3D"">Hi,<br class=3D""><br = class=3D""></div>A small heads up regarding to <span = class=3D"">ovirt</span>-<span class=3D"">vdsmfake</span>. We merged some = changes today which add support for <span class=3D"">oVirt</span> 4.0 = and make it much easier to get started with <span = class=3D"">vdsmfake</span>.<br class=3D""><br class=3D""></div>With the = changes, now it is enough to just run `<span class=3D"">mvn</span> = jetty:run` to have a working <span class=3D"">vdsmfake</span>.<br = class=3D""></div>Have a look at the new <span class=3D"">quickstart</span>= guide in the <span class=3D"">README</span>.<span class=3D"">md</span> = [1] to see how to get started..<br class=3D""><br class=3D""></div>Best = regards,<br class=3D""></div>Roman<br class=3D""><div class=3D""><div = class=3D""><div class=3D""><div class=3D""><div class=3D""><div = class=3D""><div class=3D""><div class=3D""><br class=3D""><div = class=3D""><div class=3D"">[1] https://<span = class=3D"">github</span>.com/<span class=3D"">oVirt</span>/<span = class=3D"">ovirt</span>-<span class=3D"">vdsmfake</span><br = class=3D""></div></div></div></div></div></div></div></div></div></div></d= iv> </blockquote></div><br class=3D""></div><div class=3D"gmail_extra"><br = class=3D""></div><div class=3D"gmail_extra">Thanks, nice for a real = quick start. <br class=3D""><br class=3D""></div><div = class=3D"gmail_extra">I can add that I also use dnsmasq to resolve any = address to an IP<br class=3D""><br class=3D""> <i class=3D""><b = class=3D"">dnsmasq --address=3D/vdsm.simulator/<a = href=3D"http://127.0.0.1/" class=3D"">127.0.0.1</a></b></i><br = class=3D""><br class=3D""></div><div class=3D"gmail_extra">and that will = resolve <b class=3D"">XXX.vdsm.simulator</b> to 127.0.0.1. Just need to = add nameserver to /etc/resolv.conf<br class=3D""><br class=3D""></div><div= class=3D"gmail_extra">I'll add that to the README as well<br = class=3D""></div></div></div></blockquote><div><br class=3D""></div>please= make it the favorite solution. It=E2=80=99s way more clean than messing = with /etc/hosts</div><div><br class=3D""><blockquote type=3D"cite" = class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div = class=3D"gmail_extra"><br class=3D""></div></div> _______________________________________________<br class=3D"">Devel = mailing list<br class=3D""><a href=3D"mailto:Devel@ovirt.org" = class=3D"">Devel@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/devel</div></blockquote=
</div><br class=3D""></body></html>=
--Apple-Mail=_90DDD819-9637-4894-A93E-D960882A1CF1--

Am 18.02.2016 12:36 schrieb "Michal Skrivanek" <michal.skrivanek@redhat.com
:
On 18 Feb 2016, at 10:44, Roy Golan <rgolan@redhat.com> wrote:
On Tue, Feb 16, 2016 at 2:45 PM, Roman Mohr <rmohr@redhat.com> wrote:
Hi,
A small heads up regarding to ovirt-vdsmfake. We merged some changes
today which add support for oVirt 4.0 and make it much easier to get started with vdsmfake.
With the changes, now it is enough to just run `mvn jetty:run` to have
a working vdsmfake.
Have a look at the new quickstart guide in the README.md [1] to see how to get started..
Best regards, Roman
Thanks, nice for a real quick start.
I can add that I also use dnsmasq to resolve any address to an IP
dnsmasq --address=/vdsm.simulator/127.0.0.1
and that will resolve XXX.vdsm.simulator to 127.0.0.1. Just need to add nameserver to /etc/resolv.conf
I'll add that to the README as well
please make it the favorite solution. It’s way more clean than messing with /etc/hosts
+1
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

Just make sure you add it properly, because resolv.conf can be overwritten by network manager. Something like: nmcli con mod <net interface> +ipv4.dns "127.0.0.1" Martin On Thu, Feb 18, 2016 at 12:35 PM, Michal Skrivanek <michal.skrivanek@redhat.com> wrote:
On 18 Feb 2016, at 10:44, Roy Golan <rgolan@redhat.com> wrote:
On Tue, Feb 16, 2016 at 2:45 PM, Roman Mohr <rmohr@redhat.com> wrote:
Hi,
A small heads up regarding to ovirt-vdsmfake. We merged some changes today which add support for oVirt 4.0 and make it much easier to get started with vdsmfake.
With the changes, now it is enough to just run `mvn jetty:run` to have a working vdsmfake. Have a look at the new quickstart guide in the README.md [1] to see how to get started..
Best regards, Roman
Thanks, nice for a real quick start.
I can add that I also use dnsmasq to resolve any address to an IP
dnsmasq --address=/vdsm.simulator/127.0.0.1
and that will resolve XXX.vdsm.simulator to 127.0.0.1. Just need to add nameserver to /etc/resolv.conf
I'll add that to the README as well
please make it the favorite solution. It’s way more clean than messing with /etc/hosts
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

Here is a solution that should play nice with Network Manager: /etc/NetworkManager/dnsmasq.d/10-vdsmfake.conf address=/vdsm.simulator/127.0.0.1 /etc/NetworkManager/conf.d/20-dnsmasq.conf [main] dns=dnsmasq $ yum install dnsmasq $ systemctl disable dnsmasq $ systemctl restart NetworkManager Regards Martin On Thu, Feb 18, 2016 at 12:52 PM, Martin Sivak <msivak@redhat.com> wrote:
Just make sure you add it properly, because resolv.conf can be overwritten by network manager.
Something like:
nmcli con mod <net interface> +ipv4.dns "127.0.0.1"
Martin
On Thu, Feb 18, 2016 at 12:35 PM, Michal Skrivanek <michal.skrivanek@redhat.com> wrote:
On 18 Feb 2016, at 10:44, Roy Golan <rgolan@redhat.com> wrote:
On Tue, Feb 16, 2016 at 2:45 PM, Roman Mohr <rmohr@redhat.com> wrote:
Hi,
A small heads up regarding to ovirt-vdsmfake. We merged some changes today which add support for oVirt 4.0 and make it much easier to get started with vdsmfake.
With the changes, now it is enough to just run `mvn jetty:run` to have a working vdsmfake. Have a look at the new quickstart guide in the README.md [1] to see how to get started..
Best regards, Roman
Thanks, nice for a real quick start.
I can add that I also use dnsmasq to resolve any address to an IP
dnsmasq --address=/vdsm.simulator/127.0.0.1
and that will resolve XXX.vdsm.simulator to 127.0.0.1. Just need to add nameserver to /etc/resolv.conf
I'll add that to the README as well
please make it the favorite solution. It’s way more clean than messing with /etc/hosts
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Mon, Feb 22, 2016 at 1:31 PM, Martin Sivak <msivak@redhat.com> wrote:
Here is a solution that should play nice with Network Manager:
+1 for a steady stable solution like this
+Eldad I'm sure this may come in handy for you
/etc/NetworkManager/dnsmasq.d/10-vdsmfake.conf
address=/vdsm.simulator/127.0.0.1
/etc/NetworkManager/conf.d/20-dnsmasq.conf
[main] dns=dnsmasq
$ yum install dnsmasq $ systemctl disable dnsmasq $ systemctl restart NetworkManager
Regards
Martin
On Thu, Feb 18, 2016 at 12:52 PM, Martin Sivak <msivak@redhat.com> wrote:
Just make sure you add it properly, because resolv.conf can be overwritten by network manager.
Something like:
nmcli con mod <net interface> +ipv4.dns "127.0.0.1"
Martin
On Thu, Feb 18, 2016 at 12:35 PM, Michal Skrivanek <michal.skrivanek@redhat.com> wrote:
On 18 Feb 2016, at 10:44, Roy Golan <rgolan@redhat.com> wrote:
On Tue, Feb 16, 2016 at 2:45 PM, Roman Mohr <rmohr@redhat.com> wrote:
Hi,
A small heads up regarding to ovirt-vdsmfake. We merged some changes
today
which add support for oVirt 4.0 and make it much easier to get started with vdsmfake.
With the changes, now it is enough to just run `mvn jetty:run` to have a working vdsmfake. Have a look at the new quickstart guide in the README.md [1] to see how to get started..
Best regards, Roman
Thanks, nice for a real quick start.
I can add that I also use dnsmasq to resolve any address to an IP
dnsmasq --address=/vdsm.simulator/127.0.0.1
and that will resolve XXX.vdsm.simulator to 127.0.0.1. Just need to add nameserver to /etc/resolv.conf
I'll add that to the README as well
please make it the favorite solution. It’s way more clean than messing with /etc/hosts
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
participants (4)
-
Martin Sivak
-
Michal Skrivanek
-
Roman Mohr
-
Roy Golan