Re: [ovirt-users] Access VM Console on a Smart Phone with User Permission

2017-07-10 Thread Filip Krepinsky
On Thu, Jul 6, 2017 at 11:36 AM, Jerome R <jerzkie102...@gmail.com> wrote:

> Hello everyone! I haven't tried your uploaded app yet. I just want to ask
> regarding this experimental, with just user role only it can logon to
> moVirt and see its VM? no admin role to be
>

It worked for me just fine.

Thanks!
>
> Best Regards,
>
> On Tue, Jul 4, 2017 at 5:39 PM, Filip Krepinsky <fkrep...@redhat.com>
> wrote:
>
>>
>>
>> On Tue, Jun 27, 2017 at 12:26 PM, Tomas Jelinek <tjeli...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Tue, Jun 27, 2017 at 12:08 PM, Jerome R <jerzkie102...@gmail.com>
>>> wrote:
>>>
>>>> I tried this workaround, I tried to logon the user acct to moVirt with
>>>> 1 of the admin permission resources, it works I can access to the VM
>>>> assigned however I'm able to see what Admin can see in the portal though
>>>> not able to perform action. So far that's one of my concern the user should
>>>> be able to see just his/her VM assigned.
>>>>
>>>
>>> yes, this is a consequence of using the admin API - you can see all the
>>> entities and do actions only on the ones you have explicit rights to.
>>>
>>> Unfortunately, until the https://github.com/oVirt/moVirt/issues/282 is
>>> done, there is nothing better I can offer you.
>>>
>>> We can try to give that item a priority, just need to get the current RC
>>> out of the door (hopefully soon).
>>>
>>>
>>>>
>>>> Thanks,
>>>> Jerome
>>>>
>>>> On Tue, Jun 27, 2017 at 3:20 PM, Tomas Jelinek <tjeli...@redhat.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Tue, Jun 27, 2017 at 10:13 AM, Jerome Roque <
>>>>> jerzkie102...@gmail.com> wrote:
>>>>>
>>>>>> Hi Tomas,
>>>>>>
>>>>>> Thanks for your response. What do you mean by "removing the support
>>>>>> for user permissions"? I'm using
>>>>>>
>>>>>
>>>>> The oVirt permission model expects to be told explicitly by one header
>>>>> if the logged in user has some admin permissions or not. In the past the
>>>>> API behaved differently in this two cases so we needed to remove the 
>>>>> option
>>>>> to use it without admin permissions.
>>>>>
>>>>> Now the situation is better so we may be able to bring this support
>>>>> back, but it will require some testing.
>>>>>
>>>>
>> I created an experimental apk here https://github.com/suomiy/moVi
>> rt/raw/user-roles/moVirt/moVirt-release.apk
>> It has some limitations for user roles, so entity events and event search
>> query are disabled. Also the apk has not been tested thoroughly.
>>
>>
>>>
>>>>>
>>>>>> the latest version of moVirt 1.7.1, and ovirt-engine 4.1.
>>>>>> Is there anyone tried running user role in moVirt?
>>>>>>
>>>>>
>> Please let us know if this works for you or if you encounter any bugs.
>>
>> Regards
>> Filip
>>
>>
>>>>> you will get permission denied from the API if you try to log in with
>>>>> a user which has no admin permission. If you give him any admin permission
>>>>> on any resource, it might work as a workaround.
>>>>>
>>>>>
>>>>>>
>>>>>> Best Regards,
>>>>>> Jerome
>>>>>>
>>>>>> On Tue, Jun 20, 2017 at 5:14 PM, Tomas Jelinek <tjeli...@redhat.com>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jun 16, 2017 at 6:14 AM, Jerome Roque <
>>>>>>> jerzkie102...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Good day oVirt Users,
>>>>>>>>
>>>>>>>> I need some little help. I have a KVM and used oVirt for the
>>>>>>>> management of VMs. What I want is that my client will log on to their
>>>>>>>> account and access their virtual machine using their Smart phone. I 
>>>>>>>> tried
>>>>>>>> to install mOvirt and yes can connect to the console of my machine, 
>>>>>>>> but 

Re: [ovirt-users] Access VM Console on a Smart Phone with User Permission

2017-07-04 Thread Filip Krepinsky
On Tue, Jun 27, 2017 at 12:26 PM, Tomas Jelinek  wrote:

>
>
> On Tue, Jun 27, 2017 at 12:08 PM, Jerome R 
> wrote:
>
>> I tried this workaround, I tried to logon the user acct to moVirt with 1
>> of the admin permission resources, it works I can access to the VM assigned
>> however I'm able to see what Admin can see in the portal though not able to
>> perform action. So far that's one of my concern the user should be able to
>> see just his/her VM assigned.
>>
>
> yes, this is a consequence of using the admin API - you can see all the
> entities and do actions only on the ones you have explicit rights to.
>
> Unfortunately, until the https://github.com/oVirt/moVirt/issues/282 is
> done, there is nothing better I can offer you.
>
> We can try to give that item a priority, just need to get the current RC
> out of the door (hopefully soon).
>
>
>>
>> Thanks,
>> Jerome
>>
>> On Tue, Jun 27, 2017 at 3:20 PM, Tomas Jelinek 
>> wrote:
>>
>>>
>>>
>>> On Tue, Jun 27, 2017 at 10:13 AM, Jerome Roque 
>>> wrote:
>>>
 Hi Tomas,

 Thanks for your response. What do you mean by "removing the support for
 user permissions"? I'm using

>>>
>>> The oVirt permission model expects to be told explicitly by one header
>>> if the logged in user has some admin permissions or not. In the past the
>>> API behaved differently in this two cases so we needed to remove the option
>>> to use it without admin permissions.
>>>
>>> Now the situation is better so we may be able to bring this support
>>> back, but it will require some testing.
>>>
>>
I created an experimental apk here
https://github.com/suomiy/moVirt/raw/user-roles/moVirt/moVirt-release.apk
It has some limitations for user roles, so entity events and event search
query are disabled. Also the apk has not been tested thoroughly.


>
>>>
 the latest version of moVirt 1.7.1, and ovirt-engine 4.1.
 Is there anyone tried running user role in moVirt?

>>>
Please let us know if this works for you or if you encounter any bugs.

Regards
Filip


>>> you will get permission denied from the API if you try to log in with a
>>> user which has no admin permission. If you give him any admin permission on
>>> any resource, it might work as a workaround.
>>>
>>>

 Best Regards,
 Jerome

 On Tue, Jun 20, 2017 at 5:14 PM, Tomas Jelinek 
 wrote:

>
>
> On Fri, Jun 16, 2017 at 6:14 AM, Jerome Roque  > wrote:
>
>> Good day oVirt Users,
>>
>> I need some little help. I have a KVM and used oVirt for the
>> management of VMs. What I want is that my client will log on to their
>> account and access their virtual machine using their Smart phone. I tried
>> to install mOvirt and yes can connect to the console of my machine, but 
>> it
>> is only accessible for admin console.
>>
>
> moVirt originally worked both with admin and user permissions. We had
> to remove the support for user permissions since the oVirt API did not
> provide all features moVirt needed for user permissions (search for
> example). But the API moved significantly since then (the search works 
> also
> for users now for one) so we can move it back. I have opened an issue 
> about
> it: https://github.com/oVirt/moVirt/issues/282 - we can try to do it
> in next version.
>
>
>> Tried to use web console, it downloaded console.vv but can't open it.
>> By any chance could make this thing possible?
>>
>
> If you want to use a web console for users, I would suggest to try the
> new ovirt-web-ui [1] - you have a link to it from oVirt landing page and
> since 4.1 it is installed by default with oVirt.
>
> The .vv file can not be opened using aSPICE AFAIK - adding Iordan as
> the author of aSPICE to comment on this.
>
> [1]: https://github.com/oVirt/ovirt-web-ui
>
>
>>
>> Thank you,
>> Jerome
>>
>> ___
>> 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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] moVirt 2.0 released!

2017-06-30 Thread Filip Krepinsky
Hello everyone,

moVirt 2.0 has just been released and should arrive to your devices soon!
You can also get the apk from our GitHub [1].

The main feature of this release is managing multiple oVirt installations +
many other cool features [2].

Thanks everybody who helped with testing and especially big thanks to Shira
who gave us lots of valuable input.

Have a nice day
Filip

[1]: https://github.com/oVirt/moVirt/releases/tag/v2.0
[2]: https://github.com/oVirt/moVirt/wiki/Changelog
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] moVirt 2.0 RC 1 released!

2017-06-15 Thread Filip Krepinsky
Hia,

the first RC of moVirt 2.0 has been released!

You can get it from our GitHub [1]; the play store will be upgraded after
considered stable.

The main feature of this release is a support for managing multiple oVirt
installations from one moVirt.

Other changes:
- actions/lists/dashboard are now filtered by selecting accounts/clusters
in the left drawer
- event lists now correctly working for single vm, host, etc..
- better syncing and network detection
- cleaner ui design and connection settings
- enhanced security and support for certificates (import from file)
- sorting and filtering made more usable
- more descriptive errors
- other small enhancements and bug fixes


We would greatly appreciate if you could try it and share your feedback
with us. [2]
Let us know about any suggestions you might have; and as usual, patches are
also welcome :)

Have a great day

Filip


[1]:
https://github.com/oVirt/moVirt/releases/download/v2.0-rc1/moVirt-release.apk
[2]: https://github.com/oVirt/moVirt
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] mOvirt 1.7 - Engine 4.0.6 - No disks per VM

2017-03-29 Thread Filip Krepinsky
On Wed, Mar 29, 2017 at 2:29 PM, Filip Krepinsky <fkrep...@redhat.com>
wrote:

>
>
>
>
> On Mon, Mar 27, 2017 at 1:15 PM, Markus Stockhausen <
> stockhau...@collogia.de> wrote:
>
>> Hi there,
>>
>> my smartphone updated mOvirt these days to 1.7. Since then I always
>> get errors when trying to access the disks dialogue of a VM in mOVirt.
>> It boils down to the URL https:///ovirt-en
>> gine/api/vms//disks
>> Result is always 404.
>>
>>
> Hi,
>
> thanks a lot for reporting this. Yes, these are wrong calls from moVirt
> and the affected oVirt versions are 4.0.1- 4.0.9.
> We will release a fix soon.
>

Fixed version should be available on Google Play in several hours.
Can you check if it helps?


>
> Best regards
>
> Filip
>
>
>> A simple cross check in the webbrowser returns the same result.
>> At least we can get to the predecessor item without trouble.
>> https:///ovirt-engine/api/vms/
>> Looking at that output I'd say that the url should be diskattachment
>> instead of disks:
>>
>> 
>>   ...
>> 
>> ...
>> > href="/ovirt-engine/api/vms/542affb0-7a2f-4297-84f4-728a315a6abd/diskattachments"
>> rel="diskattachments"/>
>> ...
>>
>> Our cluster is still 4.0.6 - maybe some incompatibility?
>>
>> Best regards.
>>
>> Markus
>>
>> ___
>> 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


Re: [ovirt-users] R: moVirt 1.6 released!

2016-09-26 Thread Filip Krepinsky


- Original Message -
> From: "NUNIN Roberto" 
> To: "Karli Sjöberg" 
> Cc: users@ovirt.org, suo...@gmail.com
> Sent: Saturday, September 24, 2016 11:17:30 AM
> Subject: Re: [ovirt-users] R:  moVirt 1.6 released!
> 
> 
> 
> 
> 
> Well, that depends on the console settings on the VM. Do you have a VM with
> SPICE console configured?
> 
> /K
> 
> 
> Yes, you're right. But in oVirt browser GUI I have SPICE protocol, instead
> In moVirt setting for that vm I read VNC.
> 
> So tried another vm reported as SPICE also in moVirt, and this works fine,
> the only initial exception is certificate related, like you've described.


Vm certificates of v4 API don't work properly in moVirt yet.
There is also a bug in the new API of a feature moVirt is using: 
https://bugzilla.redhat.com/show_bug.cgi?id=1378933

> 
> Thanks to pointed me in the right direction !
> 
> Roberto
> 
> 
> Questo messaggio e' indirizzato esclusivamente al destinatario indicato e
> potrebbe contenere informazioni confidenziali, riservate o proprietarie.
> Qualora la presente venisse ricevuta per errore, si prega di segnalarlo
> immediatamente al mittente, cancellando l'originale e ogni sua copia e
> distruggendo eventuali copie cartacee. Ogni altro uso e' strettamente
> proibito e potrebbe essere fonte di violazione di legge.
> 
> This message is for the designated recipient only and may contain privileged,
> proprietary, or otherwise private information. If you have received it in
> error, please notify the sender immediately, deleting the original and all
> copies and destroying any hard copies. Any other use is strictly prohibited
> and may be unlawful.
> 
> ___
> 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


Re: [ovirt-users] moVirt 1.4 RC1 (Android client for oVirt)

2016-05-26 Thread Filip Krepinsky






- Original Message -
> 
> 
> On Wed, May 25, 2016 at 6:32 PM, Michal Skrivanek < mskri...@redhat.com >
> wrote:
> 
> 
> 
> > On 25 May 2016, at 13:50, Tomas Jelinek < tjeli...@redhat.com > wrote:
> > 
> > Hey All,
> > 
> > the first RC of moVirt 1.4 has been released!
> > 
> > It can be downloaded only using direct link[1] - the play store will be
> > upgraded after considered stable.
> > 
> > The most important feature of this release was to enhance the dashboard so
> > it will look similar to the one coming to oVirt 4.0.
> > Screenshot attached.
> > 
> > Other changes:
> > - Added new dashboard functionality (virtual/physical consumption,
> > clickable cpu/memory consumption)
> > - Better UI (dashboard, adding/editing triggers)
> > - Better sorting in lists
> > - Memory units are now displayed correctly
> > - Fixed crashing bugs when looking at hosted engine
> > 
> > Would you like to help/contribute?
> > Sure, for example you can:
> > - give feedback on the new dashboard (the one from the attachment)
> 
> Looks great!

Thanks for the feedback everyone.

> 
> 
> 
> I guess the two lists in portrait mode are truncated all the time, it would
> probably make more sense to show only one column and switch hosts/vms via
> real/virtual toggle
> 
> Or show the top 5 VMs and below it, the top 5 hosts. This way the text isn't
> cut:

I think we should show only one list (hosts/vms) depending on the state of the 
view (physical/virtual), which I think will make more sense from UI perspective.

> 
> Most utilized VMs:
> abc-vm 107%
> def-vm 105%
> this-and-that-vm 44%
> 
> Most utilized hosts:
> this-host 27%
> that-host 30%
> 
> ...
> 
> 
> 
> 
> 
> > - download RC [1], test it and report bugs
> 
> Small nitpick - the color of the warning icon should not be yellow if there
> are no warnings.
> Y.

Yes this would be better for warnings and error events.

> 
> 
> > - patches are also welcome :)
> > 
> > have a nice day,
> > Tomas
> > 
> > [1]:
> > https://github.com/matobet/moVirt/blob/master/moVirt/moVirt-release.apk?raw=true
> > ___

The link to the APK has been updated to RC2 (units were changed to display by 
IEC standard - KiB, MiB, etc.)

> > Users mailing list

I will start working on the changes mentioned.
Filip

> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> ___
> 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users