[ovirt-devel] setting up moVirt devel env

Tomas Jelinek tjelinek at redhat.com
Tue Feb 10 09:58:02 UTC 2015


moving the thread to devel at ovirt.org and changing the subject

----- Original Message -----
> From: "Doron Fediuck" <dfediuck at redhat.com>
> To: "Yair Zaslavsky" <yzaslavs at redhat.com>
> Cc: "Martin Polednik" <mpolednik at redhat.com>, "Greg Sheremeta" <gshereme at redhat.com>, "Martin Betak"
> <mbetak at redhat.com>, "Doron Fediuck" <doron at redhat.com>, "sphoorti joglekar" <sphoorti.joglekar at gmail.com>,
> movirt at ovirt.org, "Tomas Jelinek" <tjelinek at redhat.com>
> Sent: Tuesday, February 10, 2015 10:51:04 AM
> Subject: Re: Some thoughts about moVirt
> 
> Any reason not to take this thread to devel at ovirt.org?

no reason - moving

> 
> On 10/02/15 11:01, Yair Zaslavsky wrote:
> >
> >
> > ----- Original Message -----
> > > From: "Tomas Jelinek" <tjelinek at redhat.com>
> > > To: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > > Cc: "Martin Polednik" <mpolednik at redhat.com>, "Greg Sheremeta"
> > > <gshereme at redhat.com>, "Martin Betak"
> > > <mbetak at redhat.com>, "Doron Fediuck" <doron at redhat.com>, "sphoorti
> > > joglekar" <sphoorti.joglekar at gmail.com>,
> > > movirt at ovirt.org
> > > Sent: Tuesday, February 10, 2015 10:05:47 AM
> > > Subject: Re: Some thoughts about moVirt
> > >
> > >
> > >
> > > ----- Original Message -----
> > >> From: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > >> To: "Tomas Jelinek" <tjelinek at redhat.com>
> > >> Cc: "Martin Polednik" <mpolednik at redhat.com>, "Greg Sheremeta"
> > >> <gshereme at redhat.com>, "Martin Betak"
> > >> <mbetak at redhat.com>, "Doron Fediuck" <doron at redhat.com>, "sphoorti
> > >> joglekar" <sphoorti.joglekar at gmail.com>,
> > >> movirt at ovirt.org
> > >> Sent: Tuesday, February 10, 2015 8:50:31 AM
> > >> Subject: Re: Some thoughts about moVirt
> > >>
> > >> Ok, so I'm waiting for some documentation on how I can start working on
> > >> movirt
> > >
> > > good start is this - a step by step how to setup the devel env:
> > > https://github.com/matobet/movirt
> > >
> > >> - i.e - I'm at my other in law's house - we have DSL modem  +
> > >> wireless network at home.
> > >> I have Galaxy note S4, linux machine
> > >
> > > this is fine
> > >
> > >> + eclipse  + android plugin. Now what?
> > >
> > > this is not :) eclipse has been pretty much abandoned by google and
> > > setting
> > > up the devel env in it is somewhere in between impossible and totally
> > > impossible.
> > > Just follow the description from the page above - you need the
> > > http://tools.android.com/download/studio/canary/1-0-0
> > >
> > > Than you can use this IDE to either open an emulator of the android
> > > device
> > > (if you have strong machine it is fine) or you can connect your phone
> > > using
> > > USB to the machine and
> > > deploy movirt to it directly (it supports also remote debug, logs etc).
> > >
> > >> How can I "surf" from my mobile device to a local oVirt installation?
> > >
> > > so, if the machine with ovirt is connected to the wifi router and your
> > > mobile
> > > is connected to the same router, you are on the same network. So lets say
> > > the engine's ip is:
> > > 192.169.122.2
> > > and it is listening on https, than in movirt in settings page fill
> > > something
> > > like this:
> > > https://192.169.122.2:443/ovirt-engine/api
> > > and in the same settings pick "Disable HTTPS" to avoid to play with the
> > > certs.
> > >
> > > Tomas
> >
> > I feel so ashamed now :) I should have realized by myself about the surfing
> > part. This is similar to how my engine connects to my host at home :)
> >
> > >
> > >>
> > >> Cheers,
> > >> Yair
> > >>
> > >>
> > >> ----- Original Message -----
> > >>> From: "Tomas Jelinek" <tjelinek at redhat.com>
> > >>> To: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > >>> Cc: "Martin Polednik" <mpolednik at redhat.com>, "Greg Sheremeta"
> > >>> <gshereme at redhat.com>, "Martin Betak"
> > >>> <mbetak at redhat.com>, "Doron Fediuck" <doron at redhat.com>, "sphoorti
> > >>> joglekar" <sphoorti.joglekar at gmail.com>,
> > >>> movirt at ovirt.org
> > >>> Sent: Tuesday, February 10, 2015 9:39:14 AM
> > >>> Subject: Re: Some thoughts about moVirt
> > >>>
> > >>>
> > >>>
> > >>> ----- Original Message -----
> > >>>> From: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > >>>> To: "Tomas Jelinek" <tjelinek at redhat.com>
> > >>>> Cc: "Martin Polednik" <mpolednik at redhat.com>, "Greg Sheremeta"
> > >>>> <gshereme at redhat.com>, "Martin Betak"
> > >>>> <mbetak at redhat.com>, "Doron Fediuck" <doron at redhat.com>, "sphoorti
> > >>>> joglekar" <sphoorti.joglekar at gmail.com>,
> > >>>> movirt at ovirt.org
> > >>>> Sent: Tuesday, February 10, 2015 6:21:18 AM
> > >>>> Subject: Re: Some thoughts about moVirt
> > >>>>
> > >>>>
> > >>>>
> > >>>> ----- Original Message -----
> > >>>>> From: "Tomas Jelinek" <tjelinek at redhat.com>
> > >>>>> To: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > >>>>> Cc: "Martin Polednik" <mpolednik at redhat.com>, "Greg Sheremeta"
> > >>>>> <gshereme at redhat.com>, "Martin Betak"
> > >>>>> <mbetak at redhat.com>, "Doron Fediuck" <doron at redhat.com>, "sphoorti
> > >>>>> joglekar" <sphoorti.joglekar at gmail.com>,
> > >>>>> movirt at ovirt.org
> > >>>>> Sent: Monday, February 9, 2015 3:56:39 PM
> > >>>>> Subject: Re: Some thoughts about moVirt
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> ----- Original Message -----
> > >>>>>> From: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > >>>>>> To: "Martin Polednik" <mpolednik at redhat.com>
> > >>>>>> Cc: "Tomas Jelinek" <tjelinek at redhat.com>, "Greg Sheremeta"
> > >>>>>> <gshereme at redhat.com>, "Martin Betak"
> > >>>>>> <mbetak at redhat.com>, "Doron Fediuck" <doron at redhat.com>, "sphoorti
> > >>>>>> joglekar" <sphoorti.joglekar at gmail.com>,
> > >>>>>> movirt at ovirt.org
> > >>>>>> Sent: Monday, February 9, 2015 2:31:08 PM
> > >>>>>> Subject: Re: Some thoughts about moVirt
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> ----- Original Message -----
> > >>>>>>> From: "Martin Polednik" <mpolednik at redhat.com>
> > >>>>>>> To: "Tomas Jelinek" <tjelinek at redhat.com>
> > >>>>>>> Cc: "Yair Zaslavsky" <yzaslavs at redhat.com>, "Greg Sheremeta"
> > >>>>>>> <gshereme at redhat.com>, "Martin Betak"
> > >>>>>>> <mbetak at redhat.com>, "Doron Fediuck" <doron at redhat.com>,
> > >>>>>>> "sphoorti
> > >>>>>>> joglekar" <sphoorti.joglekar at gmail.com>,
> > >>>>>>> movirt at ovirt.org
> > >>>>>>> Sent: Monday, February 9, 2015 12:58:36 PM
> > >>>>>>> Subject: Re: Some thoughts about moVirt
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> ----- Original Message -----
> > >>>>>>>> From: "Tomas Jelinek" <tjelinek at redhat.com>
> > >>>>>>>> To: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > >>>>>>>> Cc: "Greg Sheremeta" <gshereme at redhat.com>, "Martin Betak"
> > >>>>>>>> <mbetak at redhat.com>, "Doron Fediuck" <doron at redhat.com>,
> > >>>>>>>> "sphoorti joglekar" <sphoorti.joglekar at gmail.com>, "Martin
> > >>>>>>>> Polednik"
> > >>>>>>>> <mpoledni at redhat.com>, movirt at ovirt.org
> > >>>>>>>> Sent: Monday, February 9, 2015 8:03:19 AM
> > >>>>>>>> Subject: Re: Some thoughts about moVirt
> > >>>>>>>>
> > >>>>>>>> (adding martin and movirt list - rest inline)
> > >>>>>>>>
> > >>>>>>>> ----- Original Message -----
> > >>>>>>>>> From: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > >>>>>>>>> To: "Greg Sheremeta" <gshereme at redhat.com>
> > >>>>>>>>> Cc: "Martin Betak" <mbetak at redhat.com>, "Doron Fediuck"
> > >>>>>>>>> <doron at redhat.com>,
> > >>>>>>>>> "sphoorti joglekar"
> > >>>>>>>>> <sphoorti.joglekar at gmail.com>, "Tomas Jelinek"
> > >>>>>>>>> <tjelinek at redhat.com>
> > >>>>>>>>> Sent: Sunday, February 8, 2015 3:37:46 PM
> > >>>>>>>>> Subject: Re: Some thoughts about moVirt
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>> ----- Original Message -----
> > >>>>>>>>>> From: "Greg Sheremeta" <gshereme at redhat.com>
> > >>>>>>>>>> To: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > >>>>>>>>>> Cc: "Martin Betak" <mbetak at redhat.com>, "Doron Fediuck"
> > >>>>>>>>>> <doron at redhat.com>,
> > >>>>>>>>>> "sphoorti joglekar"
> > >>>>>>>>>> <sphoorti.joglekar at gmail.com>, "Tomas Jelinek"
> > >>>>>>>>>> <tjelinek at redhat.com>
> > >>>>>>>>>> Sent: Sunday, February 8, 2015 4:27:22 PM
> > >>>>>>>>>> Subject: Re: Some thoughts about moVirt
> > >>>>>>>>>>
> > >>>>>>>>>> ----- Original Message -----
> > >>>>>>>>>>> From: "Yair Zaslavsky" <yzaslavs at redhat.com>
> > >>>>>>>>>>> To: "Martin Betak" <mbetak at redhat.com>, "Greg Sheremeta"
> > >>>>>>>>>>> <gshereme at redhat.com>
> > >>>>>>>>>>> Cc: "Doron Fediuck" <doron at redhat.com>
> > >>>>>>>>>>> Sent: Sunday, February 8, 2015 2:12:20 AM
> > >>>>>>>>>>> Subject: Some thoughts about moVirt
> > >>>>>>>>>>>
> > >>>>>>>>>>> 1. I will be glad to see a wiki page on how I can get
> > >>>>>>>>>>> involved
> > >>>>>>>>>>> with
> > >>>>>>>>>>> moVirt.
> > >>>>>>>>>>> For example, I have a new galaxy note4 phone. I will get
> > >>>>>>>>>>> soon
> > >>>>>>>>>>> a
> > >>>>>>>>>>> "monster
> > >>>>>>>>>>> machine" with 16 gigs, and some SSD, and 1 TB disk on it.
> > >>>>>>>>>>> Ok,
> > >>>>>>>>>>> I
> > >>>>>>>>>>> can
> > >>>>>>>>>>> install
> > >>>>>>>>>>> ovirt all-in-one on it, now what?
> > >>>>>>>>>>> I don't even know how to configure browsing via the
> > >>>>>>>>>>> mobile
> > >>>>>>>>>>> device
> > >>>>>>>>>>> to
> > >>>>>>>>>>> my
> > >>>>>>>>>>> home
> > >>>>>>>>>>> network (i.e - access my mahcine) - yes, i know this is
> > >>>>>>>>>>> not
> > >>>>>>>>>>> a
> > >>>>>>>>>>> "strictly
> > >>>>>>>>>>> moVirt" problem, but if you provide this info it will
> > >>>>>>>>>>> ease
> > >>>>>>>>>>> others
> > >>>>>>>>>>> to
> > >>>>>>>>>>> start
> > >>>>>>>>>>> developing. I would like to know how I can start
> > >>>>>>>>>>> contributing
> > >>>>>>>>>>> to
> > >>>>>>>>>>> moVirt.
> > >>>>>>>>>>>
> > >>>>>>>>>>> 2. Maybe I missed it - what is the decision about the
> > >>>>>>>>>>> technology?
> > >>>>>>>>>>> Native
> > >>>>>>>>>>> Java
> > >>>>>>>>>>> ? Cordova? Something else? If native, maybe we should
> > >>>>>>>>>>> encourage
> > >>>>>>>>>>> somehow
> > >>>>>>>>>>> others to start porting to IOS/ Windows Phone, etc?
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>> Cheers,
> > >>>>>>>>>>> Yair
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>> Adding Sphoorti and Tomas, as they are running this show :)
> > >>>>>>>>>
> > >>>>>>>>> Oops, sorry for that.
> > >>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>> 1. 16 GB is not "monster" -- better put 32 or 64 in it :D
> > >>>>>>>>>> I think Sphoorti has already worked on some documentation,
> > >>>>>>>>>> and
> > >>>>>>>>>> may
> > >>>>>>>>>> have
> > >>>>>>>>>> plans
> > >>>>>>>>>> to do more?
> > >>>>>>>>>
> > >>>>>>>>> Yeah, so as I wrote down, if I have let's say some modem +
> > >>>>>>>>> router
> > >>>>>>>>> at
> > >>>>>>>>> home,
> > >>>>>>>>> how can I work against my "all-in-one" ovirt installation?
> > >>>>>>>>
> > >>>>>>>> Well, if both your phone and your monster machine is connected
> > >>>>>>>> to
> > >>>>>>>> the
> > >>>>>>>> same
> > >>>>>>>> router you are both on the same network. So if you can not see
> > >>>>>>>> oVirt
> > >>>>>>>> from
> > >>>>>>>> mobile, there is some problem with firewall on the all-in-one.
> > >>>>>>>>  
> > >>>>>>>> On https://github.com/matobet/moVirt is the project page. It
> > >>>>>>>> contains
> > >>>>>>>> the
> > >>>>>>>> sources, an unsigned build you can install to play with, some
> > >>>>>>>> documentation
> > >>>>>>>> on how to setup movirt and also how to setup the devel env.
> > >>>>>>>> Ping us all the time if you have any issues setting it up. But
> > >>>>>>>> please
> > >>>>>>>> make
> > >>>>>>>> sure you are using exactly the versions of everything as stated
> > >>>>>>>> on
> > >>>>>>>> wiki
> > >>>>>>>> -
> > >>>>>>>> any change in gradle or android-studio can have fatal
> > >>>>>>>> consequences
> > >>>>>>>> :D
> > >>>>>>>>
> > >>>>>>>> Connecting to your environment - well, you need to have access
> > >>>>>>>> to
> > >>>>>>>> the
> > >>>>>>>> engine's REST API from your phone. Than in the moVirt you just
> > >>>>>>>> need
> > >>>>>>>> to
> > >>>>>>>> fill
> > >>>>>>>> the API URL, name and password.
> > >>>>>>>> Connecting securely using https is a bit tricky - you need to
> > >>>>>>>> have
> > >>>>>>>> the
> > >>>>>>>> CA
> > >>>>>>>> cert imported to your phone and connect to REST using the
> > >>>>>>>> proper
> > >>>>>>>> URL
> > >>>>>>>> as
> > >>>>>>>> stated in the cert.
> > >>>>>>>> For devel env you can use the HTTPS and pick the "Disable
> > >>>>>>>> HTTPS"
> > >>>>>>>> -
> > >>>>>>>> it
> > >>>>>>>> will
> > >>>>>>>> not check the cert and will work without proper url (e.g. with
> > >>>>>>>> IP)
> > >>>>>>>> and
> > >>>>>>>> without cert imported.
> > >>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>> 2. The decision was native Java. For now, afaik, iOS isn't
> > >>>>>>>>>> being
> > >>>>>>>>>> considered.
> > >>>>>>>>>> Windows Phone is not popular, but it might be more popular
> > >>>>>>>>>> among
> > >>>>>>>>>> server
> > >>>>>>>>>> admin types? Not sure.
> > >>>>>>>>
> > >>>>>>>> Currently Android and surprisingly it works nice as-is on
> > >>>>>>>> blackberry
> > >>>>>>>> :)
> > >>>>>>>> Even
> > >>>>>>>> the devel env with debugger etc(!!!)
> > >>>>>>>> Martin (Polednik) was considering to port it to iOS, not sure -
> > >>>>>>>> Martin?
> > >>>>>>>> Also a friend of Sphoorti (the current OPW intern) is very
> > >>>>>>>> insterested
> > >>>>>>>> in
> > >>>>>>>> porting it to iOS as a different OPW. But this is very
> > >>>>>>>> uncertain
> > >>>>>>>> -
> > >>>>>>>> not
> > >>>>>>>> sure
> > >>>>>>>> who could lead her and not sure about funding etc...
> > >>>>>>>
> > >>>>>>> Heya,
> > >>>>>>> I'm looking into building native iOS oVirt app, so far I've
> > >>>>>>> started
> > >>>>>>> designing
> > >>>>>>> the storyboard (UI) and interaction. Some of the decisions were
> > >>>>>>> going
> > >>>>>>> with
> > >>>>>>> objective-C (due to internal hate for swift) and going iPhone
> > >>>>>>> only
> > >>>>>>> as
> > >>>>>>> the
> > >>>>>>> first
> > >>>>>>> iteration target in order to get the UI as iOSy as possible.
> > >>>>>>>
> > >>>>>>> But I have to admit that my experience with iOS or mobile
> > >>>>>>> development
> > >>>>>>> overall
> > >>>>>>> is quite limited, so I see no issues with either joint efforts or
> > >>>>>>> developing
> > >>>>>>> two apps and seeing which one is more suited for iVirt. :)
> > >>>>>>
> > >>>>>> What about porting of spice client to IOS?
> > >>>>>
> > >>>>> there are issues even on android with it :) I'd say it would be a lot
> > >>>>> of
> > >>>>> work
> > >>>>> porting it for not too much gain - we have the option of VNC.
> > >>>>
> > >>>> Cool! I did not think about it :)
> > >>>> Is there a VNC project for IOS that can be used? has anyone checked?
> > >>>
> > >>> Honestly not :) I have only googled it and there are tons of VNC
> > >>> clients
> > >>> for
> > >>> iOS so I hope some of them are usable for us.
> > >>> But I would be very surprised if none...
> > >>>
> > >>>>
> > >>>>> And until we don't have the client itself, I don't see too much point
> > >>>>> in
> > >>>>> porting a console for it.
> > >>>>>
> > >>>>>>
> > >>>>>>>
> > >>>>>>>>>
> > >>>>>>>>> Ok, good to know.
> > >>>>>>>>>>
> > >>>>>>>>>> Greg
> > >>>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>
> > >>>>>>>
> > >>>>>>
> > >>>>>
> > >>>>
> > >>>
> > >>
> > >
> 
> 



More information about the Devel mailing list