[ovirt-users] Difference between Template and Clone in oVirt

2018-11-19 Thread Hari Prasanth Loganathan
Hi Team,

Could someone let me know the difference between creating VM from clone and
template in oVirt?
It really looks the same.

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PZWXKDICL5DDHRTRYKPMW6PZWEKUW3NE/


[ovirt-users] Re: Ovirt VNC Server

2018-11-16 Thread Hari Prasanth Loganathan
Hi all,

I installed the VNC server in one of the VM created via Ovirt.
Now when I try to take the remote for it, It is showing only a blank black
screen.

Could someone help me with this?

[image: image.png]

Thanks,
Hari


On Fri, Nov 16, 2018 at 2:48 AM Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Wesley,
>
> I described my query clearly here,
> https://stackoverflow.com/questions/53328028/tight-vnc-server-and-gucamole
>
> Please check this.
>
> Thanks,
> Hari
>
> On Fri, Nov 16, 2018 at 2:30 AM Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Thanks Wesley,
>>
>> I followed the step:
>> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04
>> provided in this link to install tight VNC.
>> I can see the 5901 port is used for VNC server in my VM
>>
>> Now As per the link you provided, I tried
>>
>> ssh -L 5901:127.0.0.1:5901 -C -N -l test 172.1.1.1
>>
>> Now when I tried with Remmina Desktop client (VNC), It is showing only a 
>> blank page.
>>
>> Also after this bonding, Do I need to use the IP address as 127.0.0.1 and 
>> port as 5901 in guacamole?
>>
>> Thanks,
>>
>> Hari
>>
>>
>>
>>
>>
>>
>>
>> On Fri, Nov 16, 2018 at 12:45 AM Wesley Stewart 
>> wrote:
>>
>>> Whoops, I realize now that you are trying to connect to the oVirt VNC
>>> server to see the guest?
>>>
>>> Maybe it would be easier to just run VNC on the server you want?
>>>
>>> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04
>>>
>>>
>>> On Thu, Nov 15, 2018 at 2:13 PM Wesley Stewart 
>>> wrote:
>>>
>>>> So your VM has IP address 172.1.1.1 and it is running a VNC server?  I
>>>> do not believe this is an oVirt issue, it sounds like a VNC issue.
>>>>
>>>> On the VM hosting the VNC server, try checking Netstat to make sure
>>>> that VNC is listening.
>>>>
>>>> netstat -tulpn
>>>>
>>>>
>>>> Once you get the port number, make sure your firewall is allowing the
>>>> port as well.
>>>>
>>>> You can also setup the VNC configuration in Guacamole's web interface.
>>>> I run CoreOS as a guest and I have a guacamole instance setup in docker
>>>> that I use.
>>>>
>>>>
>>>> On Thu, Nov 15, 2018 at 2:05 PM Hari Prasanth Loganathan <
>>>> hariprasant...@msystechnologies.com> wrote:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> I have a VM for which I applied the console configuration as VNC.
>>>>> Now I have installed a tool Guacamole to connect to this VM from
>>>>> outside.
>>>>> As per Guacamole, It expects the following parameter to connect to the
>>>>> VM using VNC,
>>>>>
>>>>> 
>>>>> vnc
>>>>> 172.1.1.1
>>>>> *5901*
>>>>> 
>>>>>
>>>>> I understand that the IP Address is VM's IP address but what is the port 
>>>>> I need to use for connecting to the VM? What is the  VNC server port in 
>>>>> ovirt?
>>>>>
>>>>> Anyhelp is appreciated.
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Hari
>>>>>
>>>>>
>>>>> DISCLAIMER - *MSysTechnologies LLC*
>>>>>
>>>>> This email message, contents and its attachments may contain
>>>>> confidential, proprietary or legally privileged information and is 
>>>>> intended
>>>>> solely for the use of the individual or entity to whom it is actually
>>>>> intended. If you have erroneously received this message, please 
>>>>> permanently
>>>>> delete it immediately and notify the sender. If you are not the intended
>>>>> recipient of the email message,you are notified strictly not to
>>>>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>>>>> guaranteed to be secure or error-free as Information could be intercepted,
>>>>> corrupted, lost, destroyed, incomplete or contain viruses and
>>>>> MSysTechnologies LLC accepts no liability for the contents and integrity 
>>>>> of
>>>>> this

[ovirt-users] Re: Ovirt VNC Server

2018-11-15 Thread Hari Prasanth Loganathan
Hi Wesley,

I described my query clearly here,
https://stackoverflow.com/questions/53328028/tight-vnc-server-and-gucamole

Please check this.

Thanks,
Hari

On Fri, Nov 16, 2018 at 2:30 AM Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Thanks Wesley,
>
> I followed the step:
> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04
> provided in this link to install tight VNC.
> I can see the 5901 port is used for VNC server in my VM
>
> Now As per the link you provided, I tried
>
> ssh -L 5901:127.0.0.1:5901 -C -N -l test 172.1.1.1
>
> Now when I tried with Remmina Desktop client (VNC), It is showing only a 
> blank page.
>
> Also after this bonding, Do I need to use the IP address as 127.0.0.1 and 
> port as 5901 in guacamole?
>
> Thanks,
>
> Hari
>
>
>
>
>
>
>
> On Fri, Nov 16, 2018 at 12:45 AM Wesley Stewart 
> wrote:
>
>> Whoops, I realize now that you are trying to connect to the oVirt VNC
>> server to see the guest?
>>
>> Maybe it would be easier to just run VNC on the server you want?
>>
>> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04
>>
>>
>> On Thu, Nov 15, 2018 at 2:13 PM Wesley Stewart 
>> wrote:
>>
>>> So your VM has IP address 172.1.1.1 and it is running a VNC server?  I
>>> do not believe this is an oVirt issue, it sounds like a VNC issue.
>>>
>>> On the VM hosting the VNC server, try checking Netstat to make sure that
>>> VNC is listening.
>>>
>>> netstat -tulpn
>>>
>>>
>>> Once you get the port number, make sure your firewall is allowing the
>>> port as well.
>>>
>>> You can also setup the VNC configuration in Guacamole's web interface.
>>> I run CoreOS as a guest and I have a guacamole instance setup in docker
>>> that I use.
>>>
>>>
>>> On Thu, Nov 15, 2018 at 2:05 PM Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I have a VM for which I applied the console configuration as VNC.
>>>> Now I have installed a tool Guacamole to connect to this VM from
>>>> outside.
>>>> As per Guacamole, It expects the following parameter to connect to the
>>>> VM using VNC,
>>>>
>>>> 
>>>> vnc
>>>> 172.1.1.1
>>>> *5901*
>>>> 
>>>>
>>>> I understand that the IP Address is VM's IP address but what is the port I 
>>>> need to use for connecting to the VM? What is the  VNC server port in 
>>>> ovirt?
>>>>
>>>> Anyhelp is appreciated.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Hari
>>>>
>>>>
>>>> DISCLAIMER - *MSysTechnologies LLC*
>>>>
>>>> This email message, contents and its attachments may contain
>>>> confidential, proprietary or legally privileged information and is intended
>>>> solely for the use of the individual or entity to whom it is actually
>>>> intended. If you have erroneously received this message, please permanently
>>>> delete it immediately and notify the sender. If you are not the intended
>>>> recipient of the email message,you are notified strictly not to
>>>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>>>> guaranteed to be secure or error-free as Information could be intercepted,
>>>> corrupted, lost, destroyed, incomplete or contain viruses and
>>>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>>>> this mail or for any damage caused by the limitations of the e-mail
>>>> transmission.
>>>>
>>>> ___
>>>> Users mailing list -- users@ovirt.org
>>>> To unsubscribe send an email to users-le...@ovirt.org
>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>> oVirt Code of Conduct:
>>>> https://www.ovirt.org/community/about/community-guidelines/
>>>> List Archives:
>>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/FAZ2GBSMJFW7DUKS5V6QVLFO6DA4LQR6/
>>>>
>>>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended sol

[ovirt-users] Re: Ovirt VNC Server

2018-11-15 Thread Hari Prasanth Loganathan
Thanks Wesley,

I followed the step:
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04
provided in this link to install tight VNC.
I can see the 5901 port is used for VNC server in my VM

Now As per the link you provided, I tried

ssh -L 5901:127.0.0.1:5901 -C -N -l test 172.1.1.1

Now when I tried with Remmina Desktop client (VNC), It is showing only
a blank page.

Also after this bonding, Do I need to use the IP address as 127.0.0.1
and port as 5901 in guacamole?

Thanks,

Hari







On Fri, Nov 16, 2018 at 12:45 AM Wesley Stewart  wrote:

> Whoops, I realize now that you are trying to connect to the oVirt VNC
> server to see the guest?
>
> Maybe it would be easier to just run VNC on the server you want?
>
> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04
>
>
> On Thu, Nov 15, 2018 at 2:13 PM Wesley Stewart 
> wrote:
>
>> So your VM has IP address 172.1.1.1 and it is running a VNC server?  I do
>> not believe this is an oVirt issue, it sounds like a VNC issue.
>>
>> On the VM hosting the VNC server, try checking Netstat to make sure that
>> VNC is listening.
>>
>> netstat -tulpn
>>
>>
>> Once you get the port number, make sure your firewall is allowing the
>> port as well.
>>
>> You can also setup the VNC configuration in Guacamole's web interface.  I
>> run CoreOS as a guest and I have a guacamole instance setup in docker that
>> I use.
>>
>>
>> On Thu, Nov 15, 2018 at 2:05 PM Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> I have a VM for which I applied the console configuration as VNC.
>>> Now I have installed a tool Guacamole to connect to this VM from outside.
>>> As per Guacamole, It expects the following parameter to connect to the
>>> VM using VNC,
>>>
>>> 
>>> vnc
>>> 172.1.1.1
>>> *5901*
>>> 
>>>
>>> I understand that the IP Address is VM's IP address but what is the port I 
>>> need to use for connecting to the VM? What is the  VNC server port in ovirt?
>>>
>>> Anyhelp is appreciated.
>>>
>>>
>>> Thanks,
>>>
>>> Hari
>>>
>>>
>>> DISCLAIMER - *MSysTechnologies LLC*
>>>
>>> This email message, contents and its attachments may contain
>>> confidential, proprietary or legally privileged information and is intended
>>> solely for the use of the individual or entity to whom it is actually
>>> intended. If you have erroneously received this message, please permanently
>>> delete it immediately and notify the sender. If you are not the intended
>>> recipient of the email message,you are notified strictly not to
>>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>>> guaranteed to be secure or error-free as Information could be intercepted,
>>> corrupted, lost, destroyed, incomplete or contain viruses and
>>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>>> this mail or for any damage caused by the limitations of the e-mail
>>> transmission.
>>>
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct:
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/FAZ2GBSMJFW7DUKS5V6QVLFO6DA4LQR6/
>>>
>>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XGOSU4F3ZBN7E6ODXD3GTQKKGYE4A6AJ/


[ovirt-users] Ovirt VNC Server

2018-11-15 Thread Hari Prasanth Loganathan
Hi Team,

I have a VM for which I applied the console configuration as VNC.
Now I have installed a tool Guacamole to connect to this VM from outside.
As per Guacamole, It expects the following parameter to connect to the VM
using VNC,


vnc
172.1.1.1
*5901*


I understand that the IP Address is VM's IP address but what is the
port I need to use for connecting to the VM? What is the  VNC server
port in ovirt?

Anyhelp is appreciated.


Thanks,

Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FAZ2GBSMJFW7DUKS5V6QVLFO6DA4LQR6/


[ovirt-users] Re: Ovirt VDI

2018-11-13 Thread Hari Prasanth Loganathan
It is perfect, It creates new disk, uses the configuration of CPU and also
assigns separate memory.

Thanks, both of you.

On Wed, Nov 14, 2018 at 12:47 PM Rabin Yasharzadehe  wrote:

> From a quick overview on the project, is seems like openuds will create
> new VMs based on another machine VM (a template)
> so I don't see why a file on machine1 should be on machine2 unless you
> using a shared storages with is mounted to both machines like a network
> drive and you write the file there ...
>
> please  correct me if i misunderstood your question.
>
>
> Regards, Rabin
>
>
>
> On Tue, 13 Nov 2018 at 16:49, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I created a VM which has one disk.
>> For this VM,  I created two Virtual Desktop (VDI_1 and VDI_2) using
>> open-UDS and it created successfully.
>>
>> *Consider the following scenario* :
>>
>> 1) I took a console for VDI_1 and created a file in it using the console
>> 2) I took the console for VDI_2 and checked whether the file created in
>> VDI_1 is available in it but as per the VDI concept it is not available
>>
>> Could someone clarify the below use case,
>>
>> Now when I looked at the Disk associated with the VDI, It seems the Disk
>> of the VM is same for the VDI_1 and VDI_2, so How does the file created in
>> VDI_1 is not reflecting in VDI_2?
>>
>> Thanks,
>> Hari
>>
>>
>>
>>
>> DISCLAIMER - *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary or legally privileged information and is intended
>> solely for the use of the individual or entity to whom it is actually
>> intended. If you have erroneously received this message, please permanently
>> delete it immediately and notify the sender. If you are not the intended
>> recipient of the email message,you are notified strictly not to
>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>> guaranteed to be secure or error-free as Information could be intercepted,
>> corrupted, lost, destroyed, incomplete or contain viruses and
>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>> this mail or for any damage caused by the limitations of the e-mail
>> transmission.
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/D3IL6EXK56FX57CDMJFLTHI6WLYK32IP/
>>
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WP5PBRBERIR76GGPY4RBOI2E2M4INKUL/


[ovirt-users] Ovirt VDI

2018-11-13 Thread Hari Prasanth Loganathan
Hi Team,

I created a VM which has one disk.
For this VM,  I created two Virtual Desktop (VDI_1 and VDI_2) using
open-UDS and it created successfully.

*Consider the following scenario* :

1) I took a console for VDI_1 and created a file in it using the console
2) I took the console for VDI_2 and checked whether the file created in
VDI_1 is available in it but as per the VDI concept it is not available

Could someone clarify the below use case,

Now when I looked at the Disk associated with the VDI, It seems the Disk of
the VM is same for the VDI_1 and VDI_2, so How does the file created in
VDI_1 is not reflecting in VDI_2?

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/D3IL6EXK56FX57CDMJFLTHI6WLYK32IP/


[ovirt-users] Re: Ovirt Python - SDK

2018-11-13 Thread Hari Prasanth Loganathan
Thanks, Valentin and Brad.

I modified the UDS code to support ovirtSDK4, so everything works as
expected now.
Your thoughts are much appreciated.

On Tue, Nov 13, 2018 at 3:23 PM Valentin Bajrami <
valentin.bajr...@target-holding.nl> wrote:

> Hi Hari,
>
> It would be best to create a venv(virtual environment) as follows:
>
> python3 -m venv ovirtsdk
>
> Then while in ovirtsdk venv directory you can use pip to install the
> following packages:
>
> - ovirt-engine-sdk-python==4.2.9
> - pycurl==7.43.0.2
>
> Install these packages using:
>
> pip install ovirt-engine-sdk-python==4.2.9 pycurl==7.43.0.2
>
>
> Then, when you run your code use,  ovirtsdk/bin/python yourcode_py
>
> Let me know if this works for you!
> On 11/13/18 4:37 AM, Hari Prasanth Loganathan wrote:
>
> Also, If I downgrade the
>
> pip install ovirt-engine-sdk-python==3.6.9.2
>
> then I get this error : ImportError: No module named ovirtsdk4
>
> Thanks,
> Hari
>
> On Tue, Nov 13, 2018 at 8:57 AM Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Brad,
>> ovirt-engine-sdk-python 4.2.9
>> It is running in the non-ovirt environment. No Ovirt Packages are
>> installed in this.
>>
>> Thanks,
>> Hari
>>
>>
>>
>> On Tue, 13 Nov 2018 at 2:50 AM, Brad Riemann 
>> wrote:
>>
>>> What version of the sdk are you using? Are you running this on an
>>> non-ovirt server/workstation? Can you list out the packages installed for *
>>> *ovirt** ?
>>>
>>>
>>>
>>> Brad Riemann
>>>
>>> Sr. System Architect
>>>
>>> Cloud5 Communications
>>>
>>> brad.riem...@cloud5.com
>>>
>>
> DISCLAIMER - *MSysTechnologies LLC*
>
> This email message, contents and its attachments may contain confidential,
> proprietary or legally privileged information and is intended solely for
> the use of the individual or entity to whom it is actually intended. If you
> have erroneously received this message, please permanently delete it
> immediately and notify the sender. If you are not the intended recipient of
> the email message,you are notified strictly not to disseminate,distribute
> or copy this e-mail.E-mail transmission cannot be guaranteed to be secure
> or error-free as Information could be intercepted, corrupted, lost,
> destroyed, incomplete or contain viruses and MSysTechnologies LLC accepts
> no liability for the contents and integrity of this mail or for any damage
> caused by the limitations of the e-mail transmission.
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/LBLFNSDKR75L4LIF6BDD2BNB5OL42PCB/
>
> --
> Met vriendelijke groeten,
>
> Valentin Bajrami
> Target Holding
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/FIV6RDKMW6LDOJCRAHS5E6NR2BY4MKFR/
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Q5EK75TAKAJAGADAFGDJRF7OXEPCOZA4/


[ovirt-users] Re: Ovirt Python - SDK

2018-11-12 Thread Hari Prasanth Loganathan
Also, If I downgrade the

pip install ovirt-engine-sdk-python==3.6.9.2

then I get this error : ImportError: No module named ovirtsdk4

Thanks,
Hari

On Tue, Nov 13, 2018 at 8:57 AM Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Brad,
> ovirt-engine-sdk-python 4.2.9
> It is running in the non-ovirt environment. No Ovirt Packages are
> installed in this.
>
> Thanks,
> Hari
>
>
>
> On Tue, 13 Nov 2018 at 2:50 AM, Brad Riemann 
> wrote:
>
>> What version of the sdk are you using? Are you running this on an
>> non-ovirt server/workstation? Can you list out the packages installed for *
>> *ovirt** ?
>>
>>
>>
>> Brad Riemann
>>
>> Sr. System Architect
>>
>> Cloud5 Communications
>>
>> brad.riem...@cloud5.com
>>
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LBLFNSDKR75L4LIF6BDD2BNB5OL42PCB/


[ovirt-users] Re: Ovirt Python - SDK

2018-11-12 Thread Hari Prasanth Loganathan
Hi Brad,
ovirt-engine-sdk-python 4.2.9
It is running in the non-ovirt environment. No Ovirt Packages are installed
in this.

Thanks,
Hari



On Tue, 13 Nov 2018 at 2:50 AM, Brad Riemann 
wrote:

> What version of the sdk are you using? Are you running this on an
> non-ovirt server/workstation? Can you list out the packages installed for *
> *ovirt** ?
>
>
>
> Brad Riemann
>
> Sr. System Architect
>
> Cloud5 Communications
>
> brad.riem...@cloud5.com
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZDS7LAAD4J2U6PNVCZPLR5U6L3CZWLBL/


[ovirt-users] Ovirt Python - SDK

2018-11-12 Thread Hari Prasanth Loganathan
Hi Team,

I get the following error, How to rectify this issue?

 from ovirtsdk.xml import params
 ImportError: No module named ovirtsdk.xml

*This is the complete log file, Why I get this error and How to rectify it?*

python manage.py createcachetableTraceback (most recent call last):
  File "manage.py", line 9, in 
execute_from_command_line(sys.argv)
  File 
"/home/hari/openuds/testuds-master/Python-2.7.14/env/lib/python2.7/site-packages/django/core/management/__init__.py",
line 353, in execute_from_command_line
utility.execute()
  File 
"/home/hari/openuds/testuds-master/Python-2.7.14/env/lib/python2.7/site-packages/django/core/management/__init__.py",
line 327, in execute
django.setup()
  File 
"/home/hari/openuds/testuds-master/Python-2.7.14/env/lib/python2.7/site-packages/django/__init__.py",
line 18, in setup
apps.populate(settings.INSTALLED_APPS)
  File 
"/home/hari/openuds/testuds-master/Python-2.7.14/env/lib/python2.7/site-packages/django/apps/registry.py",
line 115, in populate
app_config.ready()
  File "/home/hari/openuds/testuds-master/server/src/uds/__init__.py",
line 72, in ready
from . import services  # to make sure that the packages are
initialized at this point
  File "/home/hari/openuds/testuds-master/server/src/uds/services/__init__.py",
line 73, in 
__init__()
  File "/home/hari/openuds/testuds-master/server/src/uds/services/__init__.py",
line 63, in __init__
__import__('uds.services.' + name, globals(), locals(), [])
  File 
"/home/hari/openuds/testuds-master/server/src/uds/services/OVirt/__init__.py",
line 31, in 
from .OVirtProvider import Provider
  File 
"/home/hari/openuds/testuds-master/server/src/uds/services/OVirt/OVirtProvider.py",
line 44, in 
from . import client
  File 
"/home/hari/openuds/testuds-master/server/src/uds/services/OVirt/client/__init__.py",
line 33, in 
from . import oVirtClient3;
  File 
"/home/hari/openuds/testuds-master/server/src/uds/services/OVirt/client/oVirtClient3.py",
line 7, in 
from ovirtsdk.xml import params

*ImportError: No module named ovirtsdk.xml*


*Thanks,*


*Hari *

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YX3XFHKZW6GQEFG4TU2VJB2WNAG72W4W/


[ovirt-users] Open UDS and Ovirt

2018-10-31 Thread Hari Prasanth Loganathan
Hi Team,

I come across one interesting article:
https://www.udsenterprise.com/en/blog/2018/05/24/uds-enterprise-supports-ovirt-42/

which talks about the integration of UDS with Ovirt.

My question is as a default ovirt provides the way to create the VM and
take the console of it using virt-viewer then why we need the open UDS to
be integrated with ovirt? Am I missing something?

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NW22VD72RFHQZ3BJ25PSSBN5YADKU2CT/


[ovirt-users] Re: Force VM delete API

2018-10-26 Thread Hari Prasanth Loganathan
Hi Benny,

As per the doc, I did the following, Is this the correct way to unlock the
VM ?

cd /usr/share/ovirt-engine/setup/dbutils
./unlock_entity.sh -t vm c002bf24-bd34-4954-83ce-03619d7438fd
Caution, this operation may lead to data corruption and should be used with
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_entity('vm', 'c002bf24-bd34-4954-83ce-03619d7438fd',
false);


INSERT 0 1
unlock vm c002bf24-bd34-4954-83ce-03619d7438fd completed successfully.
[root@qcvm dbutils]# ./unlock_entity.sh -t vm
c002bf24-bd34-4954-83ce-03619d7438fd
Caution, this operation may lead to data corruption and should be used with
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_entity('vm', 'c002bf24-bd34-4954-83ce-03619d7438fd',
false);


INSERT 0 1
unlock vm c002bf24-bd34-4954-83ce-03619d7438fd completed successfully.




But now when I try to delete the VM using ovirt rest API, I face the
following issue,




*{"detail": "[Cannot remove VM: VM is locked. Please try again in a few
minutes.]","reason": "Operation Failed"}*

NOTE : I used the force way to bring down


true


Could you let me know the reason for the issue?


On Fri, Oct 26, 2018 at 9:27 AM Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Thank you so much Benny,
>
> I see a way to use the unlock_entity.sh, Could you provide the right
> method to remove the virtual machine which is there in some locked state?
>
> ./unlock_entity.sh -u "${ENGINE_DB_USER}" -d "${ENGINE_DB_DATABASE}" -t all
>
>
> On Thu, Oct 25, 2018 at 4:16 PM Benny Zlotnik  wrote:
>
>> You can use /us/share/ovirt-engine/setup/dbutils/unlock_entity.sh to
>> unlock it first, before removing
>> On Thu, Oct 25, 2018 at 1:40 PM Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> Any update on this ?
>>>
>>> On Tue, Oct 23, 2018 at 9:22 PM Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> I see an API in this doc for FORCE delete :
>>>> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/version_3_rest_api_guide/sect-actions
>>>>
>>>> DELETE /ovirt-engine/api/vms/5114bb3e-a4e6-44b2-b783-b3eea7d84720 HTTP/1.1
>>>> Accept: application/xml
>>>> Content-type: application/xml
>>>>
>>>> 
>>>> true
>>>> 
>>>>
>>>> I tried apply the same, but it doesn't seem to be working, I get the 
>>>> following error message
>>>>
>>>> {
>>>> "detail": "[Cannot remove VM. Template is being created from this 
>>>> VM.]",
>>>> "reason": "Operation Failed"
>>>> }
>>>>
>>>> But it's status is there in IMAGE_LOCKED state so I need to delete it.
>>>>
>>>>
>>>> Thanks,
>>>> Hari
>>>>
>>>> On Tue, Oct 23, 2018 at 8:29 PM Hari Prasanth Loganathan <
>>>> hariprasant...@msystechnologies.com> wrote:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> I have a VM which is moved to Image locked state in ovirt, I am not
>>>>> able to remove this VM from ovirt,
>>>>>
>>>>> So Is there a way to perform force delete of VM using ovirt API?
>>>>>
>>>>> Thanks,
>>>>> Hari
>>>>>
>>>>
>>> DISCLAIMER - *MSysTechnologies LLC*
>>>
>>> This email message, contents and its attachments may contain
>>> confidential, proprietary or legally privileged information and is intended
>>> solely for the use of the individual or entity to whom it is actually
>>> intended. If you have erroneously received this message, please permanently
>>> delete it immediately and notify the sender. If you are not the intended
>>> recipient of the email message,you are notified strictly not to
>>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>>> guaranteed to be secure or error-free as Information could be intercepted,
>>> corrupted, lost, destroyed, incomplete or contain viruses and
>>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>>> this mail or for any damage caused by the limitations of the e-mail
>>> transmission.
>>>
>>> _

[ovirt-users] Re: Force VM delete API

2018-10-25 Thread Hari Prasanth Loganathan
Thank you so much Benny,

I see a way to use the unlock_entity.sh, Could you provide the right method
to remove the virtual machine which is there in some locked state?

./unlock_entity.sh -u "${ENGINE_DB_USER}" -d "${ENGINE_DB_DATABASE}" -t all


On Thu, Oct 25, 2018 at 4:16 PM Benny Zlotnik  wrote:

> You can use /us/share/ovirt-engine/setup/dbutils/unlock_entity.sh to
> unlock it first, before removing
> On Thu, Oct 25, 2018 at 1:40 PM Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> Any update on this ?
>>
>> On Tue, Oct 23, 2018 at 9:22 PM Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> I see an API in this doc for FORCE delete :
>>> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/version_3_rest_api_guide/sect-actions
>>>
>>> DELETE /ovirt-engine/api/vms/5114bb3e-a4e6-44b2-b783-b3eea7d84720 HTTP/1.1
>>> Accept: application/xml
>>> Content-type: application/xml
>>>
>>> 
>>> true
>>> 
>>>
>>> I tried apply the same, but it doesn't seem to be working, I get the 
>>> following error message
>>>
>>> {
>>> "detail": "[Cannot remove VM. Template is being created from this VM.]",
>>> "reason": "Operation Failed"
>>> }
>>>
>>> But it's status is there in IMAGE_LOCKED state so I need to delete it.
>>>
>>>
>>> Thanks,
>>> Hari
>>>
>>> On Tue, Oct 23, 2018 at 8:29 PM Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I have a VM which is moved to Image locked state in ovirt, I am not
>>>> able to remove this VM from ovirt,
>>>>
>>>> So Is there a way to perform force delete of VM using ovirt API?
>>>>
>>>> Thanks,
>>>> Hari
>>>>
>>>
>> DISCLAIMER - *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary or legally privileged information and is intended
>> solely for the use of the individual or entity to whom it is actually
>> intended. If you have erroneously received this message, please permanently
>> delete it immediately and notify the sender. If you are not the intended
>> recipient of the email message,you are notified strictly not to
>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>> guaranteed to be secure or error-free as Information could be intercepted,
>> corrupted, lost, destroyed, incomplete or contain viruses and
>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>> this mail or for any damage caused by the limitations of the e-mail
>> transmission.
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/3ES6M3SCBP7HLSNRYMI2GGKF3O2J7JWO/
>>
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PMAQ66Y755L3RVFPAQYCRYF3VSV7PL7K/


[ovirt-users] Re: Force VM delete API

2018-10-25 Thread Hari Prasanth Loganathan
Hi Team,

Any update on this ?

On Tue, Oct 23, 2018 at 9:22 PM Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> I see an API in this doc for FORCE delete :
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/version_3_rest_api_guide/sect-actions
>
> DELETE /ovirt-engine/api/vms/5114bb3e-a4e6-44b2-b783-b3eea7d84720 HTTP/1.1
> Accept: application/xml
> Content-type: application/xml
>
> 
> true
> 
>
> I tried apply the same, but it doesn't seem to be working, I get the 
> following error message
>
> {
> "detail": "[Cannot remove VM. Template is being created from this VM.]",
> "reason": "Operation Failed"
> }
>
> But it's status is there in IMAGE_LOCKED state so I need to delete it.
>
>
> Thanks,
> Hari
>
> On Tue, Oct 23, 2018 at 8:29 PM Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I have a VM which is moved to Image locked state in ovirt, I am not able
>> to remove this VM from ovirt,
>>
>> So Is there a way to perform force delete of VM using ovirt API?
>>
>> Thanks,
>> Hari
>>
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3ES6M3SCBP7HLSNRYMI2GGKF3O2J7JWO/


[ovirt-users] Import VM from VMware OVA

2018-10-23 Thread Hari Prasanth Loganathan
Hi Team,

1) I exported a ovf file from VMware
2) I converted the ovf file to ova using ovftool successfully.
3) I imported the ova using the VM Import -> VMware appliance OVA ->
provided the path of the ova (copied in ovirt location)
4) VM is successfully imported into the ovirt and I see the disk is also
successfully imported

BUT the disk is stored as image disk, What is the possible way to import
the VM (as mentioned above) and store the disk as Cinder disk (currently
always it is storing as image disk type)

Any help is much appreciated.

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JONBHJW3OCPD6DAIGXAQDCINDCVWUNBG/


[ovirt-users] Re: Force VM delete API

2018-10-23 Thread Hari Prasanth Loganathan
I see an API in this doc for FORCE delete :
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/version_3_rest_api_guide/sect-actions

DELETE /ovirt-engine/api/vms/5114bb3e-a4e6-44b2-b783-b3eea7d84720 HTTP/1.1
Accept: application/xml
Content-type: application/xml


true


I tried apply the same, but it doesn't seem to be working, I get the
following error message

{
"detail": "[Cannot remove VM. Template is being created from this VM.]",
"reason": "Operation Failed"
}

But it's status is there in IMAGE_LOCKED state so I need to delete it.


Thanks,
Hari

On Tue, Oct 23, 2018 at 8:29 PM Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> I have a VM which is moved to Image locked state in ovirt, I am not able
> to remove this VM from ovirt,
>
> So Is there a way to perform force delete of VM using ovirt API?
>
> Thanks,
> Hari
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7GSU7GU4TUMLVODT2TKXQPLHVCWCNZYA/


[ovirt-users] Force VM delete API

2018-10-23 Thread Hari Prasanth Loganathan
Hi Team,

I have a VM which is moved to Image locked state in ovirt, I am not able to
remove this VM from ovirt,

So Is there a way to perform force delete of VM using ovirt API?

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LBUDTN24X64IPJEI3PQ4O7C4VPMXGRXF/


[ovirt-users] Re: Affinity rules in ovirt

2018-10-16 Thread Hari Prasanth Loganathan
Awesome, this is what I am looking for.

On Tue, Oct 16, 2018 at 8:07 PM Andrej Krejcir  wrote:

> Hi,
>
> A new parameter will be added to endpoint '/ovirt-engine/api/hosts' in
> 4.3, 'migration_target_of' which lists exactly that.
> Here is the documentation:
> http://ovirt.github.io/ovirt-engine-api-model/4.3/#services/hosts/methods/list/parameters/migration_target_of
>
> I don't think it can be done using the 4.2 API.
>
>
> Andrej
>
> On Tue, 16 Oct 2018 at 14:00, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Guys,
>>
>> 1) I have an use case in affinity rule, say
>>   i) I have two VMs and two Hosts
>>  ii) I created a affinity group, which has the Vm to Vm affinity rule as
>> negative
>>
>>   so when I start the both the VMs, One Vm settled in one Host and
>> another VM settled in another Host
>>
>> 2) Now I try to migrate one of the VM from Host 1 to Host 2, It is
>> throwing an error saying It violates affinity rule (since Vm to Vm affinity
>> rule as negative)
>>
>> I agree the use case is correct and working as expected.
>>
>> I see the ovirt API as https://{BASE_URL}/ovirt-engine/api/hosts, which
>> list all the hosts available, Is there an API which list only the host
>> applicable for VM migration for the VM ?
>>
>> Thanks,
>> Hari
>>
>>
>>
>>
>> I need an API to
>>
>>
>>
>>
>> On Tue, Oct 16, 2018 at 12:52 PM Martin Sivak  wrote:
>>
>>> Hi,
>>>
>>> > "hosts_rule": {"enabled": "true", "enforcing": "true", "positive":
>>> "false" },
>>>
>>> Notice positive: false. You created a rule which repels those VMs from
>>> the host you selected.
>>>
>>> Martin
>>>
>>> On Tue, Oct 16, 2018 at 7:47 AM, Hari Prasanth Loganathan
>>>  wrote:
>>> > Hi Team,
>>> >
>>> > Affinity rule is not working as expected, I created a affinity group
>>> and
>>> > added two VMs and one host (say TestHost2) (NOTE : two hosts
>>> available) with
>>> > following configuration
>>> >
>>> >"enforcing": "true",
>>> > "hosts_rule": {
>>> > "enabled": "true",
>>> > "enforcing": "true",
>>> > "positive": "false"
>>> > },
>>> > "positive": "true",
>>> > "vms_rule": {
>>> > "enabled": "true",
>>> > "enforcing": "true",
>>> > "positive": "true"
>>> > },
>>> >
>>> > But both the VMs are coming up in TestHost1, Am I missing something?
>>> >
>>> > Thanks,
>>> > Hari
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > On Mon, Oct 15, 2018 at 4:05 PM Martin Sivak 
>>> wrote:
>>> >>
>>> >> > I have found that migration doesn't  work when using
>>> >> > vms_rule Enforcing Hard.
>>> >> > Scenario vms in an affinity group with Enforcing Hard no host
>>> members
>>> >> > when trying to migrate vms it comes back with no host to migrate to
>>> even
>>> >> > when selecting all vms in the affinity group.
>>> >>
>>> >> Yes you are right, the engine checks one by one. We do not support
>>> >> group migration in the scheduler. It was never considered important
>>> >> enough to offset the development costs (the internal architecture
>>> >> would have to change significantly). The workaround is to relax the
>>> >> affinity rule a bit first, do the migration and restore the affinity
>>> >> rule.
>>> >>
>>> >> Martin Sivak
>>> >>
>>> >> On Mon, Oct 15, 2018 at 12:13 PM, Staniforth, Paul
>>> >>  wrote:
>>> >> > Hello,
>>> >> > I have found that migration doesn't  work when using
>>> >> > vms_rule Enforcing Hard.
>>> >> > Scenario vms in a

[ovirt-users] Re: Affinity rules in ovirt

2018-10-16 Thread Hari Prasanth Loganathan
Hi Guys,

1) I have an use case in affinity rule, say
  i) I have two VMs and two Hosts
 ii) I created a affinity group, which has the Vm to Vm affinity rule as
negative

  so when I start the both the VMs, One Vm settled in one Host and another
VM settled in another Host

2) Now I try to migrate one of the VM from Host 1 to Host 2, It is throwing
an error saying It violates affinity rule (since Vm to Vm affinity rule as
negative)

I agree the use case is correct and working as expected.

I see the ovirt API as https://{BASE_URL}/ovirt-engine/api/hosts, which
list all the hosts available, Is there an API which list only the host
applicable for VM migration for the VM ?

Thanks,
Hari




I need an API to




On Tue, Oct 16, 2018 at 12:52 PM Martin Sivak  wrote:

> Hi,
>
> > "hosts_rule": {"enabled": "true", "enforcing": "true", "positive":
> "false" },
>
> Notice positive: false. You created a rule which repels those VMs from
> the host you selected.
>
> Martin
>
> On Tue, Oct 16, 2018 at 7:47 AM, Hari Prasanth Loganathan
>  wrote:
> > Hi Team,
> >
> > Affinity rule is not working as expected, I created a affinity group and
> > added two VMs and one host (say TestHost2) (NOTE : two hosts available)
> with
> > following configuration
> >
> >"enforcing": "true",
> > "hosts_rule": {
> > "enabled": "true",
> > "enforcing": "true",
> > "positive": "false"
> > },
> > "positive": "true",
> > "vms_rule": {
> > "enabled": "true",
> > "enforcing": "true",
> > "positive": "true"
> > },
> >
> > But both the VMs are coming up in TestHost1, Am I missing something?
> >
> > Thanks,
> > Hari
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Oct 15, 2018 at 4:05 PM Martin Sivak  wrote:
> >>
> >> > I have found that migration doesn't  work when using
> >> > vms_rule Enforcing Hard.
> >> > Scenario vms in an affinity group with Enforcing Hard no host members
> >> > when trying to migrate vms it comes back with no host to migrate to
> even
> >> > when selecting all vms in the affinity group.
> >>
> >> Yes you are right, the engine checks one by one. We do not support
> >> group migration in the scheduler. It was never considered important
> >> enough to offset the development costs (the internal architecture
> >> would have to change significantly). The workaround is to relax the
> >> affinity rule a bit first, do the migration and restore the affinity
> >> rule.
> >>
> >> Martin Sivak
> >>
> >> On Mon, Oct 15, 2018 at 12:13 PM, Staniforth, Paul
> >>  wrote:
> >> > Hello,
> >> > I have found that migration doesn't  work when using
> >> > vms_rule Enforcing Hard.
> >> > Scenario vms in an affinity group with Enforcing Hard no host members
> >> > when trying to migrate vms it comes back with no host to migrate to
> even
> >> > when selecting all vms in the affinity group.
> >> >
> >> > Regards,
> >> >   Paul S.
> >> > 
> >> > From: Martin Sivak 
> >> > Sent: 15 October 2018 09:43
> >> > To: Darrell Budic
> >> > Cc: Ovirt Users
> >> > Subject: [ovirt-users] Re: Affinity rules in ovirt
> >> >
> >> > Hi,
> >> >
> >> >> 3) What is the difference between VM to VM affinity and VM to Host
> >> >> affinity?
> >> >
> >> > - VM - VM rule expresses the relationship of all running VMs from the
> >> > specified list to each other.
> >> > - VM - Host rule describes the relationship of all running VMs from
> >> > the list to the selected hosts
> >> >
> >> >> Say I have 2 hosts, so what happens in case of failure of host
> running
> >> >> the VMs?
> >> >
> >> > VMs that are not up are not considered by scheduler. So it will
> >> > (assuming those are highly available VMs) start the first VM somewhere
> >> > and then the second VM will be started 

[ovirt-users] Re: Affinity rules in ovirt

2018-10-15 Thread Hari Prasanth Loganathan
Hi Team,

Affinity rule is not working as expected, I created a affinity group and
added two VMs and one host (say TestHost2) (NOTE : two hosts available)
with following configuration

   "enforcing": "true",
"hosts_rule": {
"enabled": "true",
"enforcing": "true",
"positive": "false"
},
"positive": "true",
"vms_rule": {
"enabled": "true",
"enforcing": "true",
"positive": "true"
},

But both the VMs are coming up in TestHost1, Am I missing something?

Thanks,
Hari









On Mon, Oct 15, 2018 at 4:05 PM Martin Sivak  wrote:

> > I have found that migration doesn't  work when using
> vms_rule Enforcing Hard.
> > Scenario vms in an affinity group with Enforcing Hard no host members
> when trying to migrate vms it comes back with no host to migrate to even
> when selecting all vms in the affinity group.
>
> Yes you are right, the engine checks one by one. We do not support
> group migration in the scheduler. It was never considered important
> enough to offset the development costs (the internal architecture
> would have to change significantly). The workaround is to relax the
> affinity rule a bit first, do the migration and restore the affinity
> rule.
>
> Martin Sivak
>
> On Mon, Oct 15, 2018 at 12:13 PM, Staniforth, Paul
>  wrote:
> > Hello,
> > I have found that migration doesn't  work when using
> vms_rule Enforcing Hard.
> > Scenario vms in an affinity group with Enforcing Hard no host members
> when trying to migrate vms it comes back with no host to migrate to even
> when selecting all vms in the affinity group.
> >
> > Regards,
> >   Paul S.
> > 
> > From: Martin Sivak 
> > Sent: 15 October 2018 09:43
> > To: Darrell Budic
> > Cc: Ovirt Users
> > Subject: [ovirt-users] Re: Affinity rules in ovirt
> >
> > Hi,
> >
> >> 3) What is the difference between VM to VM affinity and VM to Host
> affinity?
> >
> > - VM - VM rule expresses the relationship of all running VMs from the
> > specified list to each other.
> > - VM - Host rule describes the relationship of all running VMs from
> > the list to the selected hosts
> >
> >> Say I have 2 hosts, so what happens in case of failure of host running
> the VMs?
> >
> > VMs that are not up are not considered by scheduler. So it will
> > (assuming those are highly available VMs) start the first VM somewhere
> > and then the second VM will be started at the same host where the
> > first one is running.
> >
> >> Enforcing will keep the scheduler from launching a VM if it can’t meet
> those
> >> criteria, and will try and make changes to which hosts are running
> where if
> >> it can. If you don’t set it, it will still try and launch VMs on
> different
> >> hosts, but if it can’t, it will still launch the VM.
> >
> > Correct.
> >
> >> It also won’t make
> >> changes to bring all VMs into compliance with the Affinity rules, from
> what
> >> I can tel.
> >
> > It will try that too, but rather less aggressively.
> >
> >
> > Best regards
> >
> > Martin Sivak
> >
> > On Sun, Oct 14, 2018 at 7:59 PM, Darrell Budic 
> wrote:
> >> VM to VM affinity will try and run the VMs on the same host if
> positive, and
> >> different hosts if negative.
> >>
> >> VM to Host affinity will try and run the VM on a specific set of Hosts
> if
> >> positive, and not on those hosts if negative.
> >>
> >> Enforcing will keep the scheduler from launching a VM if it can’t meet
> those
> >> criteria, and will try and make changes to which hosts are running
> where if
> >> it can. If you don’t set it, it will still try and launch VMs on
> different
> >> hosts, but if it can’t, it will still launch the VM. It also won’t make
> >> changes to bring all VMs into compliance with the Affinity rules, from
> what
> >> I can tel.
> >>
> >> On Oct 14, 2018, at 8:15 AM, Hari Prasanth Loganathan
> >>  wrote:
> >>
> >> Hi Team,
> >>
> >> I tried to follow up the affinity rules using this tutorial :
> >> https://www.youtube.com/watch?v=rs_5BSqacWE but I have few
> clarifications in
> >

[ovirt-users] Re: Affinity rules in ovirt

2018-10-14 Thread Hari Prasanth Loganathan
Thanks for your brief explanation. Appreciated.

I have three more queries, please help me with this

1) Say I have only two hosts with vm to vm affinity with negative, so both
vm runs in different host. In this case if one of the host is down then
will the new VM launch in another host with the other VM ?

2) in addition to positive and negative, I see another option called
disabled, what is this option for ?

3) I see affinity labels as one of the option, how is it different from
affinity group ?




On Sun, 14 Oct 2018 at 11:29 PM, Darrell Budic 
wrote:

> VM to VM affinity will try and run the VMs on the same host if positive,
> and different hosts if negative.
>
> VM to Host affinity will try and run the VM on a specific set of Hosts if
> positive, and not on those hosts if negative.
>
> Enforcing will keep the scheduler from launching a VM if it can’t meet
> those criteria, and will try and make changes to which hosts are running
> where if it can. If you don’t set it, it will still try and launch VMs on
> different hosts, but if it can’t, it will still launch the VM. It also
> won’t make changes to bring all VMs into compliance with the Affinity
> rules, from what I can tel.
>
> On Oct 14, 2018, at 8:15 AM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
> Hi Team,
>
> I tried to follow up the affinity rules using this tutorial :
> https://www.youtube.com/watch?v=rs_5BSqacWE but I have few clarifications
> in it.,
>
> 1) I understand the VM to VM affinity, It means both the individual VMs
> needs to run on a single common host, Say I have 2 hosts, so what happens
> in case of failure of host running the VMs?
> 2)  If I create a affinity group and I get the following data,
> i) What is host rule / vms rule - enabled, enforcing and
> positive ?
>
>   "enforcing": "true",
> "hosts_rule": {
> "enabled": "true",
> "enforcing": "true",
> "positive": "false"
> },
> "vms_rule": {
> "enabled": "false",
> "enforcing": "true",
> "positive": "false"
> }
>
> 3) What is the difference between VM to VM affinity and VM to Host
> affinity?
>
> Doc's are not very clear, so please any help is appreciated.
>
> Thanks,
> Hari
>
>
>
> DISCLAIMER - *MSysTechnologies LLC*
>
> This email message, contents and its attachments may contain confidential,
> proprietary or legally privileged information and is intended solely for
> the use of the individual or entity to whom it is actually intended. If you
> have erroneously received this message, please permanently delete it
> immediately and notify the sender. If you are not the intended recipient of
> the email message,you are notified strictly not to disseminate,distribute
> or copy this e-mail.E-mail transmission cannot be guaranteed to be secure
> or error-free as Information could be intercepted, corrupted, lost,
> destroyed, incomplete or contain viruses and MSysTechnologies LLC accepts
> no liability for the contents and integrity of this mail or for any damage
> caused by the limitations of the e-mail transmission.
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/ST35SIO45EO647BJKUVCUZQBRSAHAUSA/
>
>
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PVCFK56PQINPM3RMNUHGLCBHXYQDYWJX/


[ovirt-users] Affinity rules in ovirt

2018-10-14 Thread Hari Prasanth Loganathan
Hi Team,

I tried to follow up the affinity rules using this tutorial :
https://www.youtube.com/watch?v=rs_5BSqacWE but I have few clarifications
in it.,

1) I understand the VM to VM affinity, It means both the individual VMs
needs to run on a single common host, Say I have 2 hosts, so what happens
in case of failure of host running the VMs?
2)  If I create a affinity group and I get the following data,
i) What is host rule / vms rule - enabled, enforcing and
positive ?

  "enforcing": "true",
"hosts_rule": {
"enabled": "true",
"enforcing": "true",
"positive": "false"
},
"vms_rule": {
"enabled": "false",
"enforcing": "true",
"positive": "false"
}

3) What is the difference between VM to VM affinity and VM to Host
affinity?

Doc's are not very clear, so please any help is appreciated.

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ST35SIO45EO647BJKUVCUZQBRSAHAUSA/


[ovirt-users] Ovirt-engine-websocket-proxy

2018-09-26 Thread Hari Prasanth Loganathan
Hi Team,

I was trying to install websocket proxy for ovirt engine using this ovirt
documentation :
https://www.ovirt.org/documentation/install-guide/appe-Installing_the_Websocket_Proxy_on_a_Separate_Machine/

But the ovirt-engine-websocket-proxy doesn't seems to be available in yum

[root@localhost ~]# *yum install ovirt-engine-websocket-proxy*
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB
 00:00
epel/x86_64/metalink | 8.6 kB
 00:00
epel | 3.2 kB
 00:00
extras   | 3.4 kB
 00:00
nodesource   | 2.5 kB
 00:00
treasuredata | 2.9 kB
 00:00
updates  | 3.4 kB
 00:00
(1/4): epel/x86_64/updateinfo  | 943 kB
 00:00
(2/4): extras/7/x86_64/primary_db  | 187 kB
 00:00
(3/4): updates/7/x86_64/primary_db | 5.2 MB
 00:01
(4/4): epel/x86_64/primary | 3.6 MB
 00:05
Determining fastest mirrors
 * base: centos.myfahim.com
 * epel: mirror.lzu.edu.cn
 * extras: centos.myfahim.com
 * updates: centos.myfahim.com
epel
12687/12687
*No package ovirt-engine-websocket-proxy available.*
*Error: Nothing to do*



*Also, If there is any other way to install ovirt-engine-websocket-proxy,
please let me know. *

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CKQR2UW34B2KLVPLHYCTYWNREEPXIZ4Q/


[ovirt-users] Re: Disk Statistics error

2018-08-27 Thread Hari Prasanth Loganathan
Hi Shani,

Thanks for your response, But I need to get the disk statistics of all the
VM's.
Only for this

* /ovirt-engine/api/disks?follow=statistics*
I get this error.

Thanks,
Hari


On Mon, Aug 27, 2018 at 12:31 PM, Shani Leviim  wrote:

> Hi Hari,
> In case you want the statistics of all the VM's disks, send this request:
>
> GET /ovirt-engine/api/vms/123?follow=disk_attachments.disk.statistics
>
>
>
>
> *Regards,*
>
> *Shani Leviim*
>
> On Sun, Aug 26, 2018 at 6:24 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>>
>> I want to get disk statistics of all disks.
>> Not just one disk.
>>
>>
>>
>> On Sun, 26 Aug 2018 at 1:25 PM, Shani Leviim  wrote:
>>
>>> Hi Hari,
>>> According to [1], it seems that the command's syntax is:
>>>
>>> GET /ovirt-engine/api/disks/123/statistics
>>>
>>> Can you give it a try?
>>> Thanks
>>>
>>> [1] http://ovirt.github.io/ovirt-engine-api-model/4.3/#types/dis
>>> k/links/statistics
>>>
>>>
>>> *Regards,*
>>>
>>> *Shani Leviim*
>>>
>>> On Fri, Aug 17, 2018 at 11:19 AM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I try to get the disk statistics using the following
>>>> *Url: *
>>>>
>>>> * /ovirt-engine/api/disks?follow=statistics*
>>>>
>>>> and I get the following error in oVirt,
>>>>
>>>> 2018-08-17 15:34:24,663+08 ERROR [io.undertow.request] (default
>>>> task-815) UT005023: Exception handling request to
>>>> /ovirt-engine/api/v4/disks: java.lang.RuntimeException:
>>>> org.jboss.resteasy.spi.UnhandledException:
>>>> java.lang.IllegalStateException: Problem following 'statistics' link
>>>> in Disks entity.
>>>> at 
>>>> io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:245)
>>>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>>>> at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSe
>>>> tup(RequestDispatcherImpl.java:147) [undertow-servlet-2.0.9.Final.
>>>> jar:2.0.9.Final]
>>>> at 
>>>> io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
>>>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>>>> at 
>>>> org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:180)
>>>> [restapi-jaxrs.jar:]
>>>> at 
>>>> org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:98)
>>>> [restapi-jaxrs.jar:]
>>>> at 
>>>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>>>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>>>> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.d
>>>> oFilter(FilterHandler.java:131) [undertow-servlet-2.0.9.Final.
>>>> jar:2.0.9.Final]
>>>> at 
>>>> org.ovirt.engine.api.restapi.invocation.CurrentFilter.doFilter(CurrentFilter.java:117)
>>>> [restapi-jaxrs.jar:]
>>>> at 
>>>> org.ovirt.engine.api.restapi.invocation.CurrentFilter.doFilter(CurrentFilter.java:72)
>>>> [restapi-jaxrs.jar:]
>>>> at 
>>>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>>>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>>>> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.d
>>>> oFilter(FilterHandler.java:131) [undertow-servlet-2.0.9.Final.
>>>> jar:2.0.9.Final]
>>>> at org.ovirt.engine.core.aaa.filters.RestApiSessionMgmtFilter.d
>>>> oFilter(RestApiSessionMgmtFilter.java:78) [aaa.jar:]
>>>> at 
>>>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>>>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>>>> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.d
>>>> oFilter(FilterHandler.java:131) [undertow-servlet-2.0.9.Final.
>>>> jar:2.0.9.Final]
>>>> at 
>>>> org.ovirt.engine.core.aaa.filters.EnforceAuthFilter.doFilter(EnforceAuthFilter.java:42)
>>>> [aaa.jar:]
>>>> at 
>>>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>>>> [undertow-serv

[ovirt-users] Re: Disk Statistics error

2018-08-26 Thread Hari Prasanth Loganathan
I want to get disk statistics of all disks.
Not just one disk.



On Sun, 26 Aug 2018 at 1:25 PM, Shani Leviim  wrote:

> Hi Hari,
> According to [1], it seems that the command's syntax is:
>
> GET /ovirt-engine/api/disks/123/statistics
>
> Can you give it a try?
> Thanks
>
> [1]
> http://ovirt.github.io/ovirt-engine-api-model/4.3/#types/disk/links/statistics
>
>
> *Regards,*
>
> *Shani Leviim*
>
> On Fri, Aug 17, 2018 at 11:19 AM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I try to get the disk statistics using the following
>> *Url: *
>>
>> * /ovirt-engine/api/disks?follow=statistics*
>>
>> and I get the following error in oVirt,
>>
>> 2018-08-17 15:34:24,663+08 ERROR [io.undertow.request] (default
>> task-815) UT005023: Exception handling request to
>> /ovirt-engine/api/v4/disks: java.lang.RuntimeException:
>> org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalStateException:
>> Problem following 'statistics' link in Disks entity.
>> at
>> io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:245)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(RequestDispatcherImpl.java:147)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:180)
>> [restapi-jaxrs.jar:]
>> at
>> org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:98)
>> [restapi-jaxrs.jar:]
>> at
>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> org.ovirt.engine.api.restapi.invocation.CurrentFilter.doFilter(CurrentFilter.java:117)
>> [restapi-jaxrs.jar:]
>> at
>> org.ovirt.engine.api.restapi.invocation.CurrentFilter.doFilter(CurrentFilter.java:72)
>> [restapi-jaxrs.jar:]
>> at
>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> org.ovirt.engine.core.aaa.filters.RestApiSessionMgmtFilter.doFilter(RestApiSessionMgmtFilter.java:78)
>> [aaa.jar:]
>> at
>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> org.ovirt.engine.core.aaa.filters.EnforceAuthFilter.doFilter(EnforceAuthFilter.java:42)
>> [aaa.jar:]
>> at
>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> org.ovirt.engine.core.aaa.filters.SsoRestApiNegotiationFilter.doFilter(SsoRestApiNegotiationFilter.java:84)
>> [aaa.jar:]
>> at
>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter.doFilter(SsoRestApiAuthFilter.java:47)
>> [aaa.jar:]
>> at
>> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at
>> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>> [undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
>> at 
>> org.ovirt.engine.core.aaa.filters.SessionVa

[ovirt-users] Disk Statistics error

2018-08-17 Thread Hari Prasanth Loganathan
Hi Team,

I try to get the disk statistics using the following
*Url: *

* /ovirt-engine/api/disks?follow=statistics*

and I get the following error in oVirt,

2018-08-17 15:34:24,663+08 ERROR [io.undertow.request] (default task-815)
UT005023: Exception handling request to /ovirt-engine/api/v4/disks:
java.lang.RuntimeException: org.jboss.resteasy.spi.UnhandledException:
java.lang.IllegalStateException: Problem following 'statistics' link in
Disks entity.
at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(
RequestDispatcherImpl.java:245) [undertow-servlet-2.0.9.Final.
jar:2.0.9.Final]
at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(
RequestDispatcherImpl.java:147) [undertow-servlet-2.0.9.Final.
jar:2.0.9.Final]
at io.undertow.servlet.spec.RequestDispatcherImpl.forward(
RequestDispatcherImpl.java:111) [undertow-servlet-2.0.9.Final.
jar:2.0.9.Final]
at org.ovirt.engine.api.restapi.invocation.VersionFilter.
doFilter(VersionFilter.java:180) [restapi-jaxrs.jar:]
at org.ovirt.engine.api.restapi.invocation.VersionFilter.
doFilter(VersionFilter.java:98) [restapi-jaxrs.jar:]
at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
doFilter(FilterHandler.java:131) [undertow-servlet-2.0.9.Final.
jar:2.0.9.Final]
at org.ovirt.engine.api.restapi.invocation.CurrentFilter.
doFilter(CurrentFilter.java:117) [restapi-jaxrs.jar:]
at org.ovirt.engine.api.restapi.invocation.CurrentFilter.
doFilter(CurrentFilter.java:72) [restapi-jaxrs.jar:]
at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
doFilter(FilterHandler.java:131) [undertow-servlet-2.0.9.Final.
jar:2.0.9.Final]
at org.ovirt.engine.core.aaa.filters.RestApiSessionMgmtFilter.
doFilter(RestApiSessionMgmtFilter.java:78) [aaa.jar:]
at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
doFilter(FilterHandler.java:131) [undertow-servlet-2.0.9.Final.
jar:2.0.9.Final]
at org.ovirt.engine.core.aaa.filters.EnforceAuthFilter.
doFilter(EnforceAuthFilter.java:42) [aaa.jar:]
at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
doFilter(FilterHandler.java:131) [undertow-servlet-2.0.9.Final.
jar:2.0.9.Final]
at org.ovirt.engine.core.aaa.filters.SsoRestApiNegotiationFilter.
doFilter(SsoRestApiNegotiationFilter.java:84) [aaa.jar:]
at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
doFilter(FilterHandler.java:131) [undertow-servlet-2.0.9.Final.
jar:2.0.9.Final]
at org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter.
doFilter(SsoRestApiAuthFilter.java:47) [aaa.jar:]
at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-2.0.9.Final.jar:2.0.9.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
doFilter(FilterHandler.java:131) [undertow-servlet-2.0.9.Final.
jar:2.0.9.Final]
at org.ovirt.engine.core.aaa.filters.SessionValidationFilter.
doFilter(SessionValidationFilter.java:59) [aaa.jar:]


Caused by: java.lang.IllegalStateException: Problem following 'statistics'
link in Disks entity.
at org.ovirt.engine.api.restapi.resource.utils.LinkFollower.
fetchData(LinkFollower.java:185) [restapi-jaxrs.jar:]
at org.ovirt.engine.api.restapi.resource.utils.LinkFollower.
followLink(LinkFollower.java:144) [restapi-jaxrs.jar:]
at org.ovirt.engine.api.restapi.resource.utils.LinkFollower.
followLinks(LinkFollower.java:132) [restapi-jaxrs.jar:]
at org.ovirt.engine.api.restapi.resource.utils.LinkFollower.
followLinks(LinkFollower.java:53) [restapi-jaxrs.jar:]
at org.ovirt.engine.api.restapi.resource.BaseBackendResource.
follow(BaseBackendResource.java:412) [restapi-jaxrs.jar:]
at 
org.ovirt.engine.api.resource.DisksResource.doList(DisksResource.java:222)
[restapi-definition.jar:]
at sun.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)
[:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498)
[rt.jar:1.8.0_181]
at 
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
[resteasy-jaxrs-20-3.5.1.Final.jar:3.5.1.Final]
at 

[ovirt-users] Re: Reading an ISO image to identify the Image version and type

2018-08-10 Thread Hari Prasanth Loganathan
Thanks for your update Nir and Wesley.

On Fri, Aug 10, 2018 at 8:19 PM, Nir Soffer  wrote:

> On Wed, Aug 8, 2018 at 2:52 AM Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Nir,
>>
>> Thanks for your response.
>>
>> I tried for linux iso files and I am able to get the OS with version like
>> below,
>>
>> [root@ovirtadmin iso]# iso-info ubuntu-18.04-desktop-amd64.iso
>> iso-info version 0.92 x86_64-redhat-linux-gnu
>> Copyright (c) 2003-2005, 2007-2008, 2011-2013 R. Bernstein
>> This is free software; see the source for copying conditions.
>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR PURPOSE.
>> __
>> ISO 9660 image: ubuntu-18.04-desktop-amd64.iso
>> Preparer: XORRISO-1.2.4 2012.07.20.130001, LIBISOBURN-1.2.4,
>> LIBISOFS-1.2.4, LIBBURN-1.2.4
>> Volume  : Ubuntu 18.04 LTS amd64
>> Joliet Level: 3
>>
>
> The creator of his iso file cares about users...
>
>
>> But when I try for windows, I didn't get the OS and version,
>>
>> iso-info -d -i windows.iso
>> iso-info version 0.92 x86_64-redhat-linux-gnu
>> Copyright (c) 2003-2005, 2007-2008, 2011-2013 R. Bernstein
>> This is free software; see the source for copying conditions.
>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR PURPOSE.
>> __
>> ISO 9660 image: windows.iso
>>
> Application : CDIMAGE 2.54 (01/01/2005 TM)
>> Preparer: MICROSOFT CORPORATION, ONE MICROSOFT WAY, REDMOND WA 98052, 
>> (425)
>> 882-8080
>> Publisher   : MICROSOFT CORPORATION
>> Volume  : GSP1RMCPRXFRER_EN_DVD
>> Volume Set  : GSP1RMCPRXFRER_EN_DVD
>> No Joliet extensions
>>
>
> The creator of this iso clearly does not :-)
>
>
>>
>>
>> Is there a tool which tells us like 'windows 7', 'windows 10' like that?
>>
>
> I don't have any idea.
>
> Nir
>
>
>>
>>
>> On Wed, Aug 8, 2018 at 3:32 AM, Nir Soffer  wrote:
>>
>>> On Tue, Aug 7, 2018 at 1:59 PM Hari Prasanth Loganathan >> msystechnologies.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I have few ISO images, Is there a utility in oVirt which tells us which
>>>> image version it is (like windows / linux version)?
>>>>
>>>
>>> What do you mean by "image version"?
>>>
>>> I think we keep only the image name - either the file name on ISO
>>> domain, or the
>>> disk alias/description when you upload ISO to data domain.
>>>
>>> There are standard tools for ISO files, maybe one of them can help?
>>>
>>> Here is for example isoinfo (provided by genisoimage package)
>>>
>>> $ isoinfo -d -i Fedora-Server-dvd-x86_64-28-1.1.iso
>>> CD-ROM is in ISO 9660 format
>>> System id: LINUX
>>> Volume id: Fedora-S-dvd-x86_64-28
>>> Volume set id:
>>> Publisher id:
>>> Data preparer id:
>>> Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993
>>> E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
>>> Copyright File id:
>>> Abstract File id:
>>> Bibliographic File id:
>>> Volume set size is: 1
>>> Volume set sequence number is: 1
>>> Logical block size is: 2048
>>> Volume size is: 1417496
>>> El Torito VD version 1 found, boot catalog is in sector 499
>>> Joliet with UCS level 3 found
>>> Rock Ridge signatures version 1 found
>>> Eltorito validation header:
>>> Hid 1
>>> Arch 0 (x86)
>>> ID ''
>>> Key 55 AA
>>> Eltorito defaultboot header:
>>> Bootid 88 (bootable)
>>> Boot media 0 (No Emulation Boot)
>>> Load segment 0
>>> Sys type 0
>>> Nsect 4
>>> Bootoff 48C5B 298075
>>>
>>> If you think oVirt should provide such info in the UI or via the SDK,
>>> please open
>>> bug describing the use case.
>>>
>>> Nir
>>>
>>
>>
>> DISCLAIMER - *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary or legally privileged information and is intended
>> solely for the use of the individual or entity to whom it is actually
>> intended. If you have erroneously received this message, please permanently
>> delete it immediately and notify t

[ovirt-users] Re: Reading an ISO image to identify the Image version and type

2018-08-09 Thread Hari Prasanth Loganathan
Hi Nir,

Did you get a chance to look at this?

Thanks,
Hari

On Wed, Aug 8, 2018 at 5:22 AM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Nir,
>
> Thanks for your response.
>
> I tried for linux iso files and I am able to get the OS with version like
> below,
>
> [root@ovirtadmin iso]# iso-info ubuntu-18.04-desktop-amd64.iso
> iso-info version 0.92 x86_64-redhat-linux-gnu
> Copyright (c) 2003-2005, 2007-2008, 2011-2013 R. Bernstein
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> __
> ISO 9660 image: ubuntu-18.04-desktop-amd64.iso
> Preparer: XORRISO-1.2.4 2012.07.20.130001, LIBISOBURN-1.2.4,
> LIBISOFS-1.2.4, LIBBURN-1.2.4
> Volume  : Ubuntu 18.04 LTS amd64
> Joliet Level: 3
>
>
>
>
> But when I try for windows, I didn't get the OS and version,
>
> iso-info -d -i windows.iso
> iso-info version 0.92 x86_64-redhat-linux-gnu
> Copyright (c) 2003-2005, 2007-2008, 2011-2013 R. Bernstein
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> __
> ISO 9660 image: windows.iso
> Application : CDIMAGE 2.54 (01/01/2005 TM)
> Preparer: MICROSOFT CORPORATION, ONE MICROSOFT WAY, REDMOND WA 98052,
> (425) 882-8080
> Publisher   : MICROSOFT CORPORATION
> Volume  : GSP1RMCPRXFRER_EN_DVD
> Volume Set  : GSP1RMCPRXFRER_EN_DVD
> No Joliet extensions
>
>
> Is there a tool which tells us like 'windows 7', 'windows 10' like that?
>
>
> On Wed, Aug 8, 2018 at 3:32 AM, Nir Soffer  wrote:
>
>> On Tue, Aug 7, 2018 at 1:59 PM Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> I have few ISO images, Is there a utility in oVirt which tells us which
>>> image version it is (like windows / linux version)?
>>>
>>
>> What do you mean by "image version"?
>>
>> I think we keep only the image name - either the file name on ISO domain,
>> or the
>> disk alias/description when you upload ISO to data domain.
>>
>> There are standard tools for ISO files, maybe one of them can help?
>>
>> Here is for example isoinfo (provided by genisoimage package)
>>
>> $ isoinfo -d -i Fedora-Server-dvd-x86_64-28-1.1.iso
>> CD-ROM is in ISO 9660 format
>> System id: LINUX
>> Volume id: Fedora-S-dvd-x86_64-28
>> Volume set id:
>> Publisher id:
>> Data preparer id:
>> Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993
>> E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
>> Copyright File id:
>> Abstract File id:
>> Bibliographic File id:
>> Volume set size is: 1
>> Volume set sequence number is: 1
>> Logical block size is: 2048
>> Volume size is: 1417496
>> El Torito VD version 1 found, boot catalog is in sector 499
>> Joliet with UCS level 3 found
>> Rock Ridge signatures version 1 found
>> Eltorito validation header:
>> Hid 1
>> Arch 0 (x86)
>> ID ''
>> Key 55 AA
>> Eltorito defaultboot header:
>> Bootid 88 (bootable)
>> Boot media 0 (No Emulation Boot)
>> Load segment 0
>> Sys type 0
>> Nsect 4
>> Bootoff 48C5B 298075
>>
>> If you think oVirt should provide such info in the UI or via the SDK,
>> please open
>> bug describing the use case.
>>
>> Nir
>>
>
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YZWL7EKIKYY3UAHQL3TI4UGWJJOT5OP5/


[ovirt-users] Re: Space in entity names (VM and Network) in oVirt

2018-08-07 Thread Hari Prasanth Loganathan
Thank you so much.

On Tue, Aug 7, 2018 at 10:36 PM, Greg Sheremeta  wrote:

> Double quotes.
>
> [image: Screenshot from 2018-08-07 13-05-38.png]
>
> On Tue, Aug 7, 2018 at 12:26 PM Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> No wild card can't be an exact search,
>>
>> say I have only name as 'xyz x' and another name as 'xyz xx' then how it
>> works for this case?
>>
>> Any other suggestion?
>>
>>
>> On Tue, Aug 7, 2018 at 9:50 PM, Gobinda Das  wrote:
>>
>>> Hi Hari,
>>>  In this case you can try "xyz*pq*" . It means in each space you can put
>>> * .
>>>
>>> On Tue, Aug 7, 2018 at 9:45 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Thanks for your response, Gobinda,
>>>>
>>>> Yes it is only for network.
>>>> The following will end up with multiple results, say I have a network
>>>> name with 'xyz pq r' and another network name with 'xyz rs t' then the
>>>> search: xyz* will end up fetching both, Is there a way to search a
>>>> particular result.
>>>>
>>>> Network you can search by mentioning first some characters then * , for
>>>> ex: If network name is "xyz pq r" then you can type "xyz*"
>>>> But If you have vm name with space then you can search same like
>>>> network.
>>>>
>>>>
>>>> On Tue, Aug 7, 2018 at 9:36 PM, Gobinda Das  wrote:
>>>>
>>>>> Hi,
>>>>>  How did you create vm with space in name? ovirt-engine UI does not
>>>>> allow vm name with space. It allows only "alphanumeric, '.', '-' and '_'
>>>>> characters.
>>>>> Network you can search by mentioning first some characters then * ,
>>>>> for ex: If network name is "xyz pq r" then you can type "xyz*"
>>>>> But If you have vm name with space then you can search same like
>>>>> network.
>>>>>
>>>>> On Tue, Aug 7, 2018 at 4:22 PM, Hari Prasanth Loganathan <
>>>>> hariprasant...@msystechnologies.com> wrote:
>>>>>
>>>>>> Hi Team,
>>>>>>
>>>>>> I have VM's and Network's in oVirt with space in the name. How can I
>>>>>> perform an exact search for the following name
>>>>>>
>>>>>> *Name1*: Aug X X
>>>>>> *Name2*: Aug X X X
>>>>>>
>>>>>> 1) I try to search with space in the name, It is not working.
>>>>>>
>>>>>> https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug X X
>>>>>>
>>>>>> It is not returning any result.
>>>>>>
>>>>>> 2) I try to search with encoded value for space in the name, It is
>>>>>> not working. (encoded value for space is %20)
>>>>>>
>>>>>> https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug%20X
>>>>>> %20X
>>>>>>
>>>>>> 3) I try to search like below with '*' for space and end up getting
>>>>>> both the values in response,
>>>>>>
>>>>>> https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug*X
>>>>>>
>>>>>> so what is the correct way to search the name with space ?
>>>>>>
>>>>>> Thanks,
>>>>>> Hari
>>>>>>
>>>>>>
>>>>>>
>>>>>> DISCLAIMER - *MSysTechnologies LLC*
>>>>>>
>>>>>> This email message, contents and its attachments may contain
>>>>>> confidential, proprietary or legally privileged information and is 
>>>>>> intended
>>>>>> solely for the use of the individual or entity to whom it is actually
>>>>>> intended. If you have erroneously received this message, please 
>>>>>> permanently
>>>>>> delete it immediately and notify the sender. If you are not the intended
>>>>>> recipient of the email message,you are notified strictly not to
>>>>>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>>>>>> guaranteed to be secure or error-free as Information could be 
>>>>>> intercepted,
>>>>>> corrupted, lost, destroyed, incomplete or contain vir

[ovirt-users] Re: Reading an ISO image to identify the Image version and type

2018-08-07 Thread Hari Prasanth Loganathan
Hi Nir,

Thanks for your response.

I tried for linux iso files and I am able to get the OS with version like
below,

[root@ovirtadmin iso]# iso-info ubuntu-18.04-desktop-amd64.iso
iso-info version 0.92 x86_64-redhat-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2013 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
__
ISO 9660 image: ubuntu-18.04-desktop-amd64.iso
Preparer: XORRISO-1.2.4 2012.07.20.130001, LIBISOBURN-1.2.4,
LIBISOFS-1.2.4, LIBBURN-1.2.4
Volume  : Ubuntu 18.04 LTS amd64
Joliet Level: 3




But when I try for windows, I didn't get the OS and version,

iso-info -d -i windows.iso
iso-info version 0.92 x86_64-redhat-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2013 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
__
ISO 9660 image: windows.iso
Application : CDIMAGE 2.54 (01/01/2005 TM)
Preparer: MICROSOFT CORPORATION, ONE MICROSOFT WAY, REDMOND WA 98052,
(425) 882-8080
Publisher   : MICROSOFT CORPORATION
Volume  : GSP1RMCPRXFRER_EN_DVD
Volume Set  : GSP1RMCPRXFRER_EN_DVD
No Joliet extensions


Is there a tool which tells us like 'windows 7', 'windows 10' like that?


On Wed, Aug 8, 2018 at 3:32 AM, Nir Soffer  wrote:

> On Tue, Aug 7, 2018 at 1:59 PM Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I have few ISO images, Is there a utility in oVirt which tells us which
>> image version it is (like windows / linux version)?
>>
>
> What do you mean by "image version"?
>
> I think we keep only the image name - either the file name on ISO domain,
> or the
> disk alias/description when you upload ISO to data domain.
>
> There are standard tools for ISO files, maybe one of them can help?
>
> Here is for example isoinfo (provided by genisoimage package)
>
> $ isoinfo -d -i Fedora-Server-dvd-x86_64-28-1.1.iso
> CD-ROM is in ISO 9660 format
> System id: LINUX
> Volume id: Fedora-S-dvd-x86_64-28
> Volume set id:
> Publisher id:
> Data preparer id:
> Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993
> E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
> Copyright File id:
> Abstract File id:
> Bibliographic File id:
> Volume set size is: 1
> Volume set sequence number is: 1
> Logical block size is: 2048
> Volume size is: 1417496
> El Torito VD version 1 found, boot catalog is in sector 499
> Joliet with UCS level 3 found
> Rock Ridge signatures version 1 found
> Eltorito validation header:
> Hid 1
> Arch 0 (x86)
> ID ''
> Key 55 AA
> Eltorito defaultboot header:
> Bootid 88 (bootable)
> Boot media 0 (No Emulation Boot)
> Load segment 0
> Sys type 0
> Nsect 4
> Bootoff 48C5B 298075
>
> If you think oVirt should provide such info in the UI or via the SDK,
> please open
> bug describing the use case.
>
> Nir
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Q55U7T76G3MRSIPRWSNWFAO54ZBMYR7H/


[ovirt-users] Re: Space in entity names (VM and Network) in oVirt

2018-08-07 Thread Hari Prasanth Loganathan
No wild card can't be an exact search,

say I have only name as 'xyz x' and another name as 'xyz xx' then how it
works for this case?

Any other suggestion?


On Tue, Aug 7, 2018 at 9:50 PM, Gobinda Das  wrote:

> Hi Hari,
>  In this case you can try "xyz*pq*" . It means in each space you can put *
> .
>
> On Tue, Aug 7, 2018 at 9:45 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Thanks for your response, Gobinda,
>>
>> Yes it is only for network.
>> The following will end up with multiple results, say I have a network
>> name with 'xyz pq r' and another network name with 'xyz rs t' then the
>> search: xyz* will end up fetching both, Is there a way to search a
>> particular result.
>>
>> Network you can search by mentioning first some characters then * , for
>> ex: If network name is "xyz pq r" then you can type "xyz*"
>> But If you have vm name with space then you can search same like network.
>>
>>
>> On Tue, Aug 7, 2018 at 9:36 PM, Gobinda Das  wrote:
>>
>>> Hi,
>>>  How did you create vm with space in name? ovirt-engine UI does not
>>> allow vm name with space. It allows only "alphanumeric, '.', '-' and '_'
>>> characters.
>>> Network you can search by mentioning first some characters then * , for
>>> ex: If network name is "xyz pq r" then you can type "xyz*"
>>> But If you have vm name with space then you can search same like network.
>>>
>>> On Tue, Aug 7, 2018 at 4:22 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I have VM's and Network's in oVirt with space in the name. How can I
>>>> perform an exact search for the following name
>>>>
>>>> *Name1*: Aug X X
>>>> *Name2*: Aug X X X
>>>>
>>>> 1) I try to search with space in the name, It is not working.
>>>>
>>>> https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug X X
>>>>
>>>> It is not returning any result.
>>>>
>>>> 2) I try to search with encoded value for space in the name, It is not
>>>> working. (encoded value for space is %20)
>>>>
>>>> https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug%20X%20X
>>>>
>>>>
>>>> 3) I try to search like below with '*' for space and end up getting
>>>> both the values in response,
>>>>
>>>> https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug*X
>>>>
>>>> so what is the correct way to search the name with space ?
>>>>
>>>> Thanks,
>>>> Hari
>>>>
>>>>
>>>>
>>>> DISCLAIMER - *MSysTechnologies LLC*
>>>>
>>>> This email message, contents and its attachments may contain
>>>> confidential, proprietary or legally privileged information and is intended
>>>> solely for the use of the individual or entity to whom it is actually
>>>> intended. If you have erroneously received this message, please permanently
>>>> delete it immediately and notify the sender. If you are not the intended
>>>> recipient of the email message,you are notified strictly not to
>>>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>>>> guaranteed to be secure or error-free as Information could be intercepted,
>>>> corrupted, lost, destroyed, incomplete or contain viruses and
>>>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>>>> this mail or for any damage caused by the limitations of the e-mail
>>>> transmission.
>>>>
>>>>
>>>> ___
>>>> Users mailing list -- users@ovirt.org
>>>> To unsubscribe send an email to users-le...@ovirt.org
>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>> oVirt Code of Conduct: https://www.ovirt.org/communit
>>>> y/about/community-guidelines/
>>>> List Archives: https://lists.ovirt.org/archiv
>>>> es/list/users@ovirt.org/message/4472PCHJFZHPOTB2TVWFNAPYXHXVE3GI/
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Gobinda
>>>
>>
>>
>> DISCLAIMER - *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary o

[ovirt-users] Re: Space in entity names (VM and Network) in oVirt

2018-08-07 Thread Hari Prasanth Loganathan
Thanks for your response, Gobinda,

Yes it is only for network.
The following will end up with multiple results, say I have a network name
with 'xyz pq r' and another network name with 'xyz rs t' then the search:
xyz* will end up fetching both, Is there a way to search a particular
result.

Network you can search by mentioning first some characters then * , for ex:
If network name is "xyz pq r" then you can type "xyz*"
But If you have vm name with space then you can search same like network.


On Tue, Aug 7, 2018 at 9:36 PM, Gobinda Das  wrote:

> Hi,
>  How did you create vm with space in name? ovirt-engine UI does not allow
> vm name with space. It allows only "alphanumeric, '.', '-' and '_'
> characters.
> Network you can search by mentioning first some characters then * , for
> ex: If network name is "xyz pq r" then you can type "xyz*"
> But If you have vm name with space then you can search same like network.
>
> On Tue, Aug 7, 2018 at 4:22 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I have VM's and Network's in oVirt with space in the name. How can I
>> perform an exact search for the following name
>>
>> *Name1*: Aug X X
>> *Name2*: Aug X X X
>>
>> 1) I try to search with space in the name, It is not working.
>>
>> https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug X X
>>
>> It is not returning any result.
>>
>> 2) I try to search with encoded value for space in the name, It is not
>> working. (encoded value for space is %20)
>>
>> https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug%20X%20X
>>
>> 3) I try to search like below with '*' for space and end up getting both
>> the values in response,
>>
>> https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug*X
>>
>> so what is the correct way to search the name with space ?
>>
>> Thanks,
>> Hari
>>
>>
>>
>> DISCLAIMER - *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary or legally privileged information and is intended
>> solely for the use of the individual or entity to whom it is actually
>> intended. If you have erroneously received this message, please permanently
>> delete it immediately and notify the sender. If you are not the intended
>> recipient of the email message,you are notified strictly not to
>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>> guaranteed to be secure or error-free as Information could be intercepted,
>> corrupted, lost, destroyed, incomplete or contain viruses and
>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>> this mail or for any damage caused by the limitations of the e-mail
>> transmission.
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: https://www.ovirt.org/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/4472PCHJFZHPOTB2TVWFNAPYXHXVE3GI/
>>
>>
>
>
> --
> Thanks,
> Gobinda
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QAF53QNG4KHBPYPD6ILQNJPIKCWQTANC/


[ovirt-users] Reading an ISO image to identify the Image version and type

2018-08-07 Thread Hari Prasanth Loganathan
Hi Team,

I have few ISO images, Is there a utility in oVirt which tells us which
image version it is (like windows / linux version)?

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HVMLXIFAZTHDQ3RC5I6QHTFQFE4OH5JS/


[ovirt-users] Space in entity names (VM and Network) in oVirt

2018-08-07 Thread Hari Prasanth Loganathan
Hi Team,

I have VM's and Network's in oVirt with space in the name. How can I
perform an exact search for the following name

*Name1*: Aug X X
*Name2*: Aug X X X

1) I try to search with space in the name, It is not working.

https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug X X

It is not returning any result.

2) I try to search with encoded value for space in the name, It is not
working. (encoded value for space is %20)

https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug%20X%20X

3) I try to search like below with '*' for space and end up getting both
the values in response,

https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug*X

so what is the correct way to search the name with space ?

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4472PCHJFZHPOTB2TVWFNAPYXHXVE3GI/


[ovirt-users] Re: Disk Statistics API in oVirt

2018-07-31 Thread Hari Prasanth Loganathan
Sure Andrej. Thanks.

I sent another mail for API issues :Mail Subject: API for attaching the ISO
image and virtual floppy disk to the VMCould you please check this also.


On Tue, Jul 31, 2018 at 4:15 PM, Andrej Krejcir  wrote:

> Hi,
>
> Looking at the code, the disk statistics are only updated when the VM is
> running.
> It looks like a bug. Could you open a Bugzilla ticket, so we can properly
> fix it?
>
> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
>
> Set the component to: Backend.Core
> And oVirt Team to: Virt
>
>
> Regards,
> Andrej
>
> On Mon, 30 Jul 2018 at 20:01, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Thanks Greg, please let me know this.
>>
>>
>> On Mon, 30 Jul 2018 at 11:29 PM, Greg Sheremeta 
>> wrote:
>>
>>> Sorry for the delay. adding some others that may know.
>>>
>>> On Sun, Jul 29, 2018 at 11:02 PM Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi Guys,
>>>>
>>>> Any update on this, please?
>>>>
>>>> Thanks,
>>>> Hari
>>>>
>>>> On Fri, Jul 27, 2018 at 5:52 AM, Greg Sheremeta 
>>>> wrote:
>>>>
>>>>> + @Tomas Jelinek  do you know this one?
>>>>>
>>>>> On Wed, Jul 18, 2018 at 1:57 AM Hari Prasanth Loganathan <
>>>>> hariprasant...@msystechnologies.com> wrote:
>>>>>
>>>>>> Hi Karli,
>>>>>>
>>>>>> Sorry for the confusion, Initially I thought it is an issue from our
>>>>>> side so posted like 'ignore it',
>>>>>> But this issue is from oVirt. So could you please help me.
>>>>>>
>>>>>> *Steps to reproduce :*
>>>>>> 1) Attach the disk to any VM
>>>>>> 2) Perform some read and write operation in the VM which will
>>>>>> increase the disk level - 'Read data rate / Write data rate /
>>>>>> disk.read.latency / disk.write.latency'
>>>>>> 3) Now when I bring down the VM, all the disk statistics should come
>>>>>> down to be zero *But it is still retaining with last known value
>>>>>> when the VM was in UP state.*
>>>>>>
>>>>>>
>>>>>> *Expected : All values should go to ZeroActual : All values retains
>>>>>> the last known values when the VM was in UP state. *
>>>>>>
>>>>>> Thanks,
>>>>>> Hari
>>>>>>
>>>>>>
>>>>>> On Wed, Jul 18, 2018 at 11:20 AM, Karli Sjöberg 
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Jul 17, 2018 11:56, Hari Prasanth Loganathan >>>>>> msystechnologies.com> wrote:
>>>>>>>
>>>>>>> It is an issue from our side. Please ignore my question.
>>>>>>>
>>>>>>>
>>>>>>> You've now made several posts about wanting help, but this
>>>>>>> completely contradicts it!
>>>>>>>
>>>>>>>
>>>>>>> I don't get it, do you have an issue you want help with, or should
>>>>>>> everyone just ignore you?
>>>>>>>
>>>>>>> /K
>>>>>>>
>>>>>>>
>>>>>>> But How frequently we will collect the disk statistics and update in
>>>>>>> PostgreSQL?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Hari
>>>>>>>
>>>>>>> On Tue, Jul 17, 2018 at 3:18 PM, Hari Prasanth Loganathan <
>>>>>>> hariprasant...@msystechnologies.com> wrote:
>>>>>>>
>>>>>>> Hi Team,
>>>>>>>
>>>>>>> We are using the following API to collect the disk statistics,
>>>>>>>
>>>>>>> https://X.X.X.2/ovirt-engine/api/
>>>>>>> *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
>>>>>>> <https://X.X.X.2/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics>
>>>>>>>
>>>>>>> I found one issue in the disk statistics. In case If the Virtual
>>>>>>> Machine has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*)
&

[ovirt-users] Re: Disk Statistics API in oVirt

2018-07-30 Thread Hari Prasanth Loganathan
Thanks Greg, please let me know this.


On Mon, 30 Jul 2018 at 11:29 PM, Greg Sheremeta  wrote:

> Sorry for the delay. adding some others that may know.
>
> On Sun, Jul 29, 2018 at 11:02 PM Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Guys,
>>
>> Any update on this, please?
>>
>> Thanks,
>> Hari
>>
>> On Fri, Jul 27, 2018 at 5:52 AM, Greg Sheremeta 
>> wrote:
>>
>>> + @Tomas Jelinek  do you know this one?
>>>
>>> On Wed, Jul 18, 2018 at 1:57 AM Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi Karli,
>>>>
>>>> Sorry for the confusion, Initially I thought it is an issue from our
>>>> side so posted like 'ignore it',
>>>> But this issue is from oVirt. So could you please help me.
>>>>
>>>> *Steps to reproduce :*
>>>> 1) Attach the disk to any VM
>>>> 2) Perform some read and write operation in the VM which will increase
>>>> the disk level - 'Read data rate / Write data rate / disk.read.latency
>>>> / disk.write.latency'
>>>> 3) Now when I bring down the VM, all the disk statistics should come
>>>> down to be zero *But it is still retaining with last known value when
>>>> the VM was in UP state.*
>>>>
>>>>
>>>> *Expected : All values should go to ZeroActual : All values retains the
>>>> last known values when the VM was in UP state. *
>>>>
>>>> Thanks,
>>>> Hari
>>>>
>>>>
>>>> On Wed, Jul 18, 2018 at 11:20 AM, Karli Sjöberg 
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Jul 17, 2018 11:56, Hari Prasanth Loganathan <
>>>>> hariprasant...@msystechnologies.com> wrote:
>>>>>
>>>>> It is an issue from our side. Please ignore my question.
>>>>>
>>>>>
>>>>> You've now made several posts about wanting help, but this completely
>>>>> contradicts it!
>>>>>
>>>>>
>>>>> I don't get it, do you have an issue you want help with, or should
>>>>> everyone just ignore you?
>>>>>
>>>>> /K
>>>>>
>>>>>
>>>>> But How frequently we will collect the disk statistics and update in
>>>>> PostgreSQL?
>>>>>
>>>>> Thanks,
>>>>> Hari
>>>>>
>>>>> On Tue, Jul 17, 2018 at 3:18 PM, Hari Prasanth Loganathan <
>>>>> hariprasant...@msystechnologies.com> wrote:
>>>>>
>>>>> Hi Team,
>>>>>
>>>>> We are using the following API to collect the disk statistics,
>>>>>
>>>>> https://X.X.X.2/ovirt-engine/api/
>>>>> *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
>>>>> <https://X.X.X.2/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics>
>>>>>
>>>>> I found one issue in the disk statistics. In case If the Virtual
>>>>> Machine has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*)
>>>>> attached to it and I perform some read / write operation in the VM and it
>>>>> increases the corresponding disk level Read data rate / Write data rate /
>>>>> disk.read.latency / disk.write.latency.
>>>>>
>>>>> *Example*, I received the following values for this disk, But the
>>>>> problem is even when I bring down the VM still the last known value is
>>>>> received continuously.
>>>>> *Is it a known issue Or any workaround is available? *
>>>>>
>>>>> *Expected : All values should go to Zero*
>>>>>
>>>>> *Actual : All values retains the last known values when the VM was in
>>>>> UP state. *
>>>>>
>>>>>
>>>>> {
>>>>> "statistic": [
>>>>> {
>>>>> "kind": "gauge",
>>>>> "type": "decimal",
>>>>> "unit": "bytes_per_second",
>>>>> "values": {
>>>>> "value": [
>>>>> {
>>>>> "datu

[ovirt-users] Re: Disk Statistics API in oVirt

2018-07-29 Thread Hari Prasanth Loganathan
Hi Guys,

Any update on this, please?

Thanks,
Hari

On Fri, Jul 27, 2018 at 5:52 AM, Greg Sheremeta  wrote:

> + @Tomas Jelinek  do you know this one?
>
> On Wed, Jul 18, 2018 at 1:57 AM Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Karli,
>>
>> Sorry for the confusion, Initially I thought it is an issue from our side
>> so posted like 'ignore it',
>> But this issue is from oVirt. So could you please help me.
>>
>> *Steps to reproduce :*
>> 1) Attach the disk to any VM
>> 2) Perform some read and write operation in the VM which will increase
>> the disk level - 'Read data rate / Write data rate / disk.read.latency /
>> disk.write.latency'
>> 3) Now when I bring down the VM, all the disk statistics should come down
>> to be zero *But it is still retaining with last known value when the VM
>> was in UP state.*
>>
>>
>> *Expected : All values should go to ZeroActual : All values retains the
>> last known values when the VM was in UP state. *
>>
>> Thanks,
>> Hari
>>
>>
>> On Wed, Jul 18, 2018 at 11:20 AM, Karli Sjöberg 
>> wrote:
>>
>>>
>>>
>>> On Jul 17, 2018 11:56, Hari Prasanth Loganathan >> msystechnologies.com> wrote:
>>>
>>> It is an issue from our side. Please ignore my question.
>>>
>>>
>>> You've now made several posts about wanting help, but this completely
>>> contradicts it!
>>>
>>>
>>> I don't get it, do you have an issue you want help with, or should
>>> everyone just ignore you?
>>>
>>> /K
>>>
>>>
>>> But How frequently we will collect the disk statistics and update in
>>> PostgreSQL?
>>>
>>> Thanks,
>>> Hari
>>>
>>> On Tue, Jul 17, 2018 at 3:18 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>> Hi Team,
>>>
>>> We are using the following API to collect the disk statistics,
>>>
>>> https://X.X.X.2/ovirt-engine/api/
>>> *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
>>> <https://X.X.X.2/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics>
>>>
>>> I found one issue in the disk statistics. In case If the Virtual Machine
>>> has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*) attached to it
>>> and I perform some read / write operation in the VM and it increases the
>>> corresponding disk level Read data rate / Write data rate /
>>> disk.read.latency / disk.write.latency.
>>>
>>> *Example*, I received the following values for this disk, But the
>>> problem is even when I bring down the VM still the last known value is
>>> received continuously.
>>> *Is it a known issue Or any workaround is available? *
>>>
>>> *Expected : All values should go to Zero*
>>>
>>> *Actual : All values retains the last known values when the VM was in UP
>>> state. *
>>>
>>>
>>> {
>>> "statistic": [
>>> {
>>> "kind": "gauge",
>>> "type": "decimal",
>>> "unit": "bytes_per_second",
>>> "values": {
>>> "value": [
>>> {
>>> "datum": 2184
>>> }
>>> ]
>>> },
>>> "disk": {
>>> "href": "/ovirt-engine/api/disks/
>>> 2331bad7-71ec-4fad-95bb-2b3449f3dbda",
>>> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
>>> },
>>> "name": "data.current.read",
>>> "description": "Read data rate",
>>> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
>>> 2b3449f3dbda/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
>>> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
>>> },
>>> {
>>> "kind": "gauge",
>>> "type": "decimal",
>>> "unit": "bytes_per_second",
>>> "values": {
>>> "value": [
>>>   

[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Hi Paul,


This API add's the user to ovirt with the domain.

http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
users/methods/add

But Is there an API to add the user *and also map the user to the group*?




On Tue, Jul 24, 2018 at 7:31 PM,  wrote:

> Hi Hari,
>are you sure you want to assign the superuser permission for
> all the discovered users?
> What level are you applying it to as it means everyone can change or
> delete everything below that level.
>
> We put users into a directory group and give permissions to the group as
> Ondra suggested, then we only need to add users to oVirt if we need to add
> permissions to individual users.
>
> Regards,
>   Paul S.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/IIGG7BZENMHXHQLKOQCO5OCJMFBFTJJH/
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GXR3HRGTUT2AXWHMB3AR5RRHTIHKEXPF/


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Thank you so much, Ondra.

Your help is greatly appreciated.

On Tue, Jul 24, 2018 at 3:41 PM, Ondra Machacek  wrote:

> If it's possible in SDK it's also possible in API.
>
> To get all domains:
>
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
> domains/methods/list
>
> To get all users in domain:
>
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
> domain_users/methods/list
>
> To add user from domain:
>
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
> users/methods/add
>
> To assign permissions to added user:
>
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
> assigned_permissions/methods/add
>
>
> On 07/24/2018 12:06 PM, Hari Prasanth Loganathan wrote:
>
>> Hi Ondra,
>>
>> We are not using ovirtSDK, It is completely new to us.
>>
>> *Is there an oVirt API *
>> 1) To discover all the users in LDAP using the provided domain
>> and namespace?
>> 2) Add all the discovered users in Ovirt?
>> 3) Assign the superuser permission for all the discovered users?
>>
>> Thanks,
>> Hari
>>
>> On Tue, Jul 24, 2018 at 3:26 PM, Ondra Machacek > <mailto:omach...@redhat.com>> wrote:
>>
>> Something like this should work for you:
>>
>> import ovirtsdk4 as sdk
>> import ovirtsdk4.types as types
>>
>> DOMAIN_NAME = 'internal-authz'
>>
>> connection = sdk.Connection(...)
>>
>> users_service = connection.system_service().users_service()
>>
>> domains_service = connection.system_service().domains_service()
>> domain = next((domain for domain in domains_service.list() if
>> domain.name <http://domain.name> == DOMAIN_NAME), None)
>> domain_service = domains_service.domain_service(domain.id
>> <http://domain.id>)
>> users = domain_service.users_service().list()
>> for user in users:
>>  users_service.add(
>>      types.User(
>>  user_name=user.user_name,
>>  domain=types.Domain(
>>  name=domain.name <http://domain.name>,
>>  ),
>>  ),
>>  )
>>
>> connection.close()
>>
>>
>> On 07/24/2018 11:51 AM, Hari Prasanth Loganathan wrote:
>>
>> Also Ondra,
>>
>> I added the list of users in a group in LDAP and I am able to
>> discover all the users in ovirt UI (In add users and groups tab).
>> *Is there an API *to discover the users in LDAP and add in the
>> user's table in Ovirt?
>>
>> Thanks,
>> Hari
>>
>> On Tue, Jul 24, 2018 at 2:53 PM, Hari Prasanth Loganathan
>> > <mailto:hariprasant...@msystechnologies.com>
>> <mailto:hariprasant...@msystechnologies.com
>> <mailto:hariprasant...@msystechnologies.com>>> wrote:
>>
>>  Hi Ondra,
>>
>>  Thanks much for the suggestion. Much Appreciated.
>>
>>  It's not, but you can write a script which can do this. -
>> Could you
>>  give a small brief on the type of script we need to write?
>>
>>
>>
>>  On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek
>>  mailto:omach...@redhat.com>
>>     <mailto:omach...@redhat.com <mailto:omach...@redhat.com>>> wrote:
>>
>>  It's not, but you can write a script which can do this.
>>     But if
>>  you want
>>  all users from the ldap are able to login I would
>> suggest to you
>>  create
>>  some group in LDAP and add all users as a member of
>> this group
>>  and add
>>  this group to ovirt and assign it the permissions.
>>
>>  On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:
>>
>>  Guys any update on this ?
>>
>>  Any help is much useful for me 
>>
>>  On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth
>> Loganathan
>>  > <mailto:hariprasant...@msystechnologies.com>
>>  <mailto:hariprasant...@msystechnologies.com
>> <mailto:hariprasant...@msystechnologies.com>>
>>  <mailto:hariprasant...@msystechnologies.

[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Hi Ondra,

We are not using ovirtSDK, It is completely new to us.

*Is there an oVirt API *
   1) To discover all the users in LDAP using the provided domain and
namespace?
   2) Add all the discovered users in Ovirt?
   3) Assign the superuser permission for all the discovered users?

Thanks,
Hari

On Tue, Jul 24, 2018 at 3:26 PM, Ondra Machacek  wrote:

> Something like this should work for you:
>
> import ovirtsdk4 as sdk
> import ovirtsdk4.types as types
>
> DOMAIN_NAME = 'internal-authz'
>
> connection = sdk.Connection(...)
>
> users_service = connection.system_service().users_service()
>
> domains_service = connection.system_service().domains_service()
> domain = next((domain for domain in domains_service.list() if domain.name
> == DOMAIN_NAME), None)
> domain_service = domains_service.domain_service(domain.id)
> users = domain_service.users_service().list()
> for user in users:
> users_service.add(
> types.User(
> user_name=user.user_name,
> domain=types.Domain(
> name=domain.name,
> ),
>     ),
> )
>
> connection.close()
>
>
> On 07/24/2018 11:51 AM, Hari Prasanth Loganathan wrote:
>
>> Also Ondra,
>>
>> I added the list of users in a group in LDAP and I am able to discover
>> all the users in ovirt UI (In add users and groups tab).
>> *Is there an API *to discover the users in LDAP and add in the user's
>> table in Ovirt?
>>
>> Thanks,
>> Hari
>>
>> On Tue, Jul 24, 2018 at 2:53 PM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com <mailto:hariprasanth.l@msystec
>> hnologies.com>> wrote:
>>
>> Hi Ondra,
>>
>> Thanks much for the suggestion. Much Appreciated.
>>
>> It's not, but you can write a script which can do this. - Could you
>> give a small brief on the type of script we need to write?
>>
>>
>>
>> On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek
>> mailto:omach...@redhat.com>> wrote:
>>
>> It's not, but you can write a script which can do this. But if
>> you want
>> all users from the ldap are able to login I would suggest to you
>> create
>> some group in LDAP and add all users as a member of this group
>> and add
>> this group to ovirt and assign it the permissions.
>>
>> On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:
>>
>> Guys any update on this ?
>>
>> Any help is much useful for me 
>>
>> On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan
>> > <mailto:hariprasant...@msystechnologies.com>
>> <mailto:hariprasant...@msystechnologies.com
>>
>> <mailto:hariprasant...@msystechnologies.com>>> wrote:
>>
>>  Hi Team,
>>
>>  Good Morning.
>>
>>  I configured the ovirt with LDAP setup.
>>
>>  Is there an *oVirt tool* (or any way) to add all the
>> users from LDAP
>>  to Ovirt?
>>
>>  _*Observation*_ :
>>
>>  1) I am able to see that when I try to login with the
>> user from
>>  LDAP, that user is added in Ovirt database, So Is there
>> a way to
>>  sync all the users from LDAP to Ovirt using any oVirt
>> tool or API?
>>
>>  Any help is much appreciated.
>>
>>  Thanks,
>>  Hari
>>
>>
>> DISCLAIMER- *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary or legally privileged information
>> and is intended solely for the use of the individual or
>> entity to whom it is actually intended. If you have
>> erroneously received this message, please permanently delete
>> it immediately and notify the sender. If you are not the
>> intended recipient of the email message,you are notified
>> strictly not to disseminate,distribute or copy this
>> e-mail.E-mail transmission cannot be guaranteed to be secure
>> or error-free as Information could be intercepted,
>> corrupted, lost, destroyed, incomplete or contain viruses
>> and 

[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Also Ondra,

I added the list of users in a group in LDAP and I am able to discover all
the users in ovirt UI (In add users and groups tab).
*Is there an API *to discover the users in LDAP and add in the user's table
in Ovirt?

Thanks,
Hari

On Tue, Jul 24, 2018 at 2:53 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Ondra,
>
> Thanks much for the suggestion. Much Appreciated.
>
> It's not, but you can write a script which can do this. -  Could you give
> a small brief on the type of script we need to write?
>
>
>
> On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek 
> wrote:
>
>> It's not, but you can write a script which can do this. But if you want
>> all users from the ldap are able to login I would suggest to you create
>> some group in LDAP and add all users as a member of this group and add
>> this group to ovirt and assign it the permissions.
>>
>> On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:
>>
>>> Guys any update on this ?
>>>
>>> Any help is much useful for me 
>>>
>>> On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com <mailto:hariprasanth.l@msystec
>>> hnologies.com>> wrote:
>>>
>>> Hi Team,
>>>
>>> Good Morning.
>>>
>>> I configured the ovirt with LDAP setup.
>>>
>>> Is there an *oVirt tool* (or any way) to add all the users from LDAP
>>> to Ovirt?
>>>
>>> _*Observation*_ :
>>>
>>> 1) I am able to see that when I try to login with the user from
>>> LDAP, that user is added in Ovirt database, So Is there a way to
>>> sync all the users from LDAP to Ovirt using any oVirt tool or API?
>>>
>>> Any help is much appreciated.
>>>
>>> Thanks,
>>> Hari
>>>
>>>
>>> DISCLAIMER- *MSysTechnologies LLC*
>>>
>>> This email message, contents and its attachments may contain
>>> confidential, proprietary or legally privileged information and is intended
>>> solely for the use of the individual or entity to whom it is actually
>>> intended. If you have erroneously received this message, please permanently
>>> delete it immediately and notify the sender. If you are not the intended
>>> recipient of the email message,you are notified strictly not to
>>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>>> guaranteed to be secure or error-free as Information could be intercepted,
>>> corrupted, lost, destroyed, incomplete or contain viruses and
>>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>>> this mail or for any damage caused by the limitations of the e-mail
>>> transmission.
>>>
>>>
>>>
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct: https://www.ovirt.org/communit
>>> y/about/community-guidelines/
>>> List Archives: https://lists.ovirt.org/archiv
>>> es/list/users@ovirt.org/message/TNDRY46K7PYM2TCIHR3IHUL2B6LPV2QC/
>>>
>>>
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/X2RPGTLSK53GA336EQP4YB3EQGG4DEWT/


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Hi Ondra,

Thanks much for the suggestion. Much Appreciated.

It's not, but you can write a script which can do this. -  Could you give a
small brief on the type of script we need to write?



On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek 
wrote:

> It's not, but you can write a script which can do this. But if you want
> all users from the ldap are able to login I would suggest to you create
> some group in LDAP and add all users as a member of this group and add
> this group to ovirt and assign it the permissions.
>
> On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:
>
>> Guys any update on this ?
>>
>> Any help is much useful for me 
>>
>> On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com <mailto:hariprasanth.l@msystec
>> hnologies.com>> wrote:
>>
>> Hi Team,
>>
>> Good Morning.
>>
>> I configured the ovirt with LDAP setup.
>>
>> Is there an *oVirt tool* (or any way) to add all the users from LDAP
>> to Ovirt?
>>
>> _*Observation*_ :
>>
>> 1) I am able to see that when I try to login with the user from
>> LDAP, that user is added in Ovirt database, So Is there a way to
>> sync all the users from LDAP to Ovirt using any oVirt tool or API?
>>
>> Any help is much appreciated.
>>
>> Thanks,
>> Hari
>>
>>
>> DISCLAIMER- *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary or legally privileged information and is intended
>> solely for the use of the individual or entity to whom it is actually
>> intended. If you have erroneously received this message, please permanently
>> delete it immediately and notify the sender. If you are not the intended
>> recipient of the email message,you are notified strictly not to
>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>> guaranteed to be secure or error-free as Information could be intercepted,
>> corrupted, lost, destroyed, incomplete or contain viruses and
>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>> this mail or for any damage caused by the limitations of the e-mail
>> transmission.
>>
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: https://www.ovirt.org/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/TNDRY46K7PYM2TCIHR3IHUL2B6LPV2QC/
>>
>>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JCB6YDFTHEPBAZFUE46ZYL7LSI2KA2IQ/


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-23 Thread Hari Prasanth Loganathan
Guys any update on this ?

Any help is much useful for me 

On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> Good Morning.
>
> I configured the ovirt with LDAP setup.
>
> Is there an *oVirt tool* (or any way) to add all the users from LDAP to
> Ovirt?
>
> *Observation* :
>
> 1) I am able to see that when I try to login with the user from LDAP, that
> user is added in Ovirt database, So Is there a way to sync all the users
> from LDAP to Ovirt using any oVirt tool or API?
>
> Any help is much appreciated.
>
> Thanks,
> Hari
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TNDRY46K7PYM2TCIHR3IHUL2B6LPV2QC/


[ovirt-users] Sync LDAP users in Ovirt

2018-07-23 Thread Hari Prasanth Loganathan
Hi Team,

Good Morning.

I configured the ovirt with LDAP setup.

Is there an *oVirt tool* (or any way) to add all the users from LDAP to
Ovirt?

*Observation* :

1) I am able to see that when I try to login with the user from LDAP, that
user is added in Ovirt database, So Is there a way to sync all the users
from LDAP to Ovirt using any oVirt tool or API?

Any help is much appreciated.

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/27275AHL5PGPOPQEY72TH6WT25N5FROW/


[ovirt-users] API for attaching the ISO image and virtual floppy disk to the VM

2018-07-23 Thread Hari Prasanth Loganathan
Hi Team,

1) I use the following oVirt API to attach the ISO image to the virtual
machine.


URL:
https://X.X.X.X/ovirt-engine/api/vms/625871af-180c-4e63-8813-93963907ed17/cdroms/----

Method Type : POST

*PUT DATA* :

{
"file": {
"id": "Windows_7_64-bit_Professional_x64 SP1.iso"
}
}

2) But If I want to assign the virtual floppy disk to the virtual machine,
like below, *Is there a way to attach it*?

URL:
https://X.X.X.X/ovirt-engine/api/vms/625871af-180c-4e63-8813-93963907ed17/cdroms/----

Method Type : POST

*PUT DATA* :

{
"file": {
"id": "virto-win.vdf"
}
}




*NOTE*: I am able to set the boot sequence using oVirt UI, like below,
where I am able to attach the virtual Floppy Disk and as well as ISO image.

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BRYQMWNUALMOYF4XXC4JWRLV3WR5MGJY/


[ovirt-users] Guest Agent Console

2018-07-18 Thread Hari Prasanth Loganathan
Hi Team,

A Quick question,

As per this document (
https://www.ovirt.org/documentation/vmm-guide/chap-Installing_Linux_Virtual_Machines/),


If I Install the common package - ovirt-engine-guest-agent-common using the
apt-get / yum

 install ovirt-engine-guest-agent-common

*Will it also install the drivers mentioned in it?*

virtio-net, virtio-block, virtio-scsi, virtio-serial, virtio-baloon, qxl


Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XPOAVTYLR5B3PTCUZBXA7PHPU6I5HLKE/


[ovirt-users] Re: Disk Statistics API in oVirt

2018-07-17 Thread Hari Prasanth Loganathan
Hi Karli,

Sorry for the confusion, Initially I thought it is an issue from our side
so posted like 'ignore it',
But this issue is from oVirt. So could you please help me.

*Steps to reproduce :*
1) Attach the disk to any VM
2) Perform some read and write operation in the VM which will increase the disk
level - 'Read data rate / Write data rate / disk.read.latency /
disk.write.latency'
3) Now when I bring down the VM, all the disk statistics should come down
to be zero *But it is still retaining with last known value when the VM was
in UP state.*


*Expected : All values should go to ZeroActual : All values retains the
last known values when the VM was in UP state. *

Thanks,
Hari


On Wed, Jul 18, 2018 at 11:20 AM, Karli Sjöberg  wrote:

>
>
> On Jul 17, 2018 11:56, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
> It is an issue from our side. Please ignore my question.
>
>
> You've now made several posts about wanting help, but this completely
> contradicts it!
>
>
> I don't get it, do you have an issue you want help with, or should
> everyone just ignore you?
>
> /K
>
>
> But How frequently we will collect the disk statistics and update in
> PostgreSQL?
>
> Thanks,
> Hari
>
> On Tue, Jul 17, 2018 at 3:18 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
> Hi Team,
>
> We are using the following API to collect the disk statistics,
>
> https://X.X.X.2/ovirt-engine/api/
> *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
> <https://X.X.X.2/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics>
>
> I found one issue in the disk statistics. In case If the Virtual Machine
> has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*) attached to it and
> I perform some read / write operation in the VM and it increases the
> corresponding disk level Read data rate / Write data rate /
> disk.read.latency / disk.write.latency.
>
> *Example*, I received the following values for this disk, But the problem
> is even when I bring down the VM still the last known value is received
> continuously.
> *Is it a known issue Or any workaround is available? *
>
> *Expected : All values should go to Zero*
>
> *Actual : All values retains the last known values when the VM was in UP
> state. *
>
>
> {
> "statistic": [
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "bytes_per_second",
> "values": {
> "value": [
> {
> "datum": 2184
> }
> ]
> },
> "disk": {
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "data.current.read",
> "description": "Read data rate",
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> },
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "bytes_per_second",
> "values": {
> "value": [
> {
> "datum": 41202005
> }
> ]
> },
> "disk": {
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "data.current.write",
> "description": "Write data rate",
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> },
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "seconds",
> "values": {
> "value": [
> {
> "datum": 0.12
> }

[ovirt-users] Re: Disk Statistics API in Ovirt

2018-07-17 Thread Hari Prasanth Loganathan
These statistics give wrong result when the VM is down. Guys did you get
any update on this?

Any help is appreciated.

Thanks,
Hari

On Tue, 17 Jul 2018 at 5:47 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> *Steps to reproduce :*
> 1) Attach the disk to any VM
> 2) Perform some read and write operation in the VM which will increase the 
> disk
> level - 'Read data rate / Write data rate / disk.read.latency /
> disk.write.latency'
> 3) Now when I bring down the VM, all the disk statistics needs to be zero *But
> it is still retaining with last known value when the VM was in UP state.*
>
>
>
> *Expected : All values should go to ZeroActual : All values retains the
> last known values when the VM was in UP state. *
>
> Thanks,
> Hari
>
>
>
> On Tue, Jul 17, 2018 at 3:39 PM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Guys,
>>
>> I think it is a serious issue, please let us know your thoughts?
>>
>>
>> On Tue, Jul 17, 2018 at 3:27 PM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> We are using the following API to collect the disk statistics,
>>>
>>> https://X.X.X.2/ovirt-engine/api/
>>> *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
>>> <https://X.X.X.2/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics>
>>>
>>> I found one issue in the disk statistics. In case If the Virtual Machine
>>> has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*) attached to it
>>> and I perform some read / write operation in the VM and it increases the
>>> corresponding disk level Read data rate / Write data rate /
>>> disk.read.latency / disk.write.latency.
>>>
>>> *Example*, I received the following values for this disk, But the
>>> problem is even when I bring down the VM still the last known value is
>>> received continuously.
>>> *Is it a known issue Or any workaround is available? *
>>>
>>> *Expected : All values should go to Zero*
>>>
>>> *Actual : All values retains the last known values when the VM was in UP
>>> state. *
>>>
>>>
>>> {
>>> "statistic": [
>>> {
>>> "kind": "gauge",
>>> "type": "decimal",
>>> "unit": "bytes_per_second",
>>> "values": {
>>> "value": [
>>> {
>>> "datum": 2184
>>> }
>>> ]
>>> },
>>> "disk": {
>>> "href":
>>> "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
>>> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
>>> },
>>> "name": "data.current.read",
>>> "description": "Read data rate",
>>> "href":
>>> "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
>>> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
>>> },
>>> {
>>> "kind": "gauge",
>>> "type": "decimal",
>>> "unit": "bytes_per_second",
>>> "values": {
>>> "value": [
>>> {
>>> "datum": 41202005
>>> }
>>> ]
>>> },
>>> "disk": {
>>> "href":
>>> "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
>>> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
>>> },
>>> "name": "data.current.write",
>>> "description": "Write data rate",
>>> "href":
>>> "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
>>> "id&quo

[ovirt-users] Re: Disk Statistics API in Ovirt

2018-07-17 Thread Hari Prasanth Loganathan
Hi Team,

*Steps to reproduce :*
1) Attach the disk to any VM
2) Perform some read and write operation in the VM which will increase the disk
level - 'Read data rate / Write data rate / disk.read.latency /
disk.write.latency'
3) Now when I bring down the VM, all the disk statistics needs to be zero *But
it is still retaining with last known value when the VM was in UP state.*



*Expected : All values should go to ZeroActual : All values retains the
last known values when the VM was in UP state. *

Thanks,
Hari



On Tue, Jul 17, 2018 at 3:39 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Guys,
>
> I think it is a serious issue, please let us know your thoughts?
>
>
> On Tue, Jul 17, 2018 at 3:27 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> We are using the following API to collect the disk statistics,
>>
>> https://X.X.X.2/ovirt-engine/api/
>> *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
>> <https://X.X.X.2/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics>
>>
>> I found one issue in the disk statistics. In case If the Virtual Machine
>> has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*) attached to it
>> and I perform some read / write operation in the VM and it increases the
>> corresponding disk level Read data rate / Write data rate /
>> disk.read.latency / disk.write.latency.
>>
>> *Example*, I received the following values for this disk, But the
>> problem is even when I bring down the VM still the last known value is
>> received continuously.
>> *Is it a known issue Or any workaround is available? *
>>
>> *Expected : All values should go to Zero*
>>
>> *Actual : All values retains the last known values when the VM was in UP
>> state. *
>>
>>
>> {
>> "statistic": [
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "bytes_per_second",
>> "values": {
>> "value": [
>> {
>> "datum": 2184
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/2331b
>> ad7-71ec-4fad-95bb-2b3449f3dbda",
>> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
>> },
>> "name": "data.current.read",
>> "description": "Read data rate",
>> "href": "/ovirt-engine/api/disks/2331b
>> ad7-71ec-4fad-95bb-2b3449f3dbda/statistics/33b9212b-f9cb-3fd
>> 0-b364-248fb61e1272",
>> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
>> },
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "bytes_per_second",
>> "values": {
>> "value": [
>> {
>> "datum": 41202005
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/2331b
>> ad7-71ec-4fad-95bb-2b3449f3dbda",
>> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
>> },
>> "name": "data.current.write",
>> "description": "Write data rate",
>> "href": "/ovirt-engine/api/disks/2331b
>> ad7-71ec-4fad-95bb-2b3449f3dbda/statistics/2f23addd-4ebd-3d8
>> 2-a449-c28778bc33eb",
>> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
>> },
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "seconds",
>> "values": {
>> "value": [
>> {
>> "datum": 0.12
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/2331b
>> ad7-71ec-4fad-95bb-2b3449f3dbda&q

[ovirt-users] Re: Disk Statistics API in Ovirt

2018-07-17 Thread Hari Prasanth Loganathan
Hi Guys,

I think it is a serious issue, please let us know your thoughts?


On Tue, Jul 17, 2018 at 3:27 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> We are using the following API to collect the disk statistics,
>
> https://X.X.X.2/ovirt-engine/api/
> *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
> <https://X.X.X.2/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics>
>
> I found one issue in the disk statistics. In case If the Virtual Machine
> has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*) attached to it and
> I perform some read / write operation in the VM and it increases the
> corresponding disk level Read data rate / Write data rate /
> disk.read.latency / disk.write.latency.
>
> *Example*, I received the following values for this disk, But the problem
> is even when I bring down the VM still the last known value is received
> continuously.
> *Is it a known issue Or any workaround is available? *
>
> *Expected : All values should go to Zero*
>
> *Actual : All values retains the last known values when the VM was in UP
> state. *
>
>
> {
> "statistic": [
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "bytes_per_second",
> "values": {
> "value": [
> {
> "datum": 2184
> }
> ]
> },
> "disk": {
> "href": "/ovirt-engine/api/disks/2331b
> ad7-71ec-4fad-95bb-2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "data.current.read",
> "description": "Read data rate",
> "href": "/ovirt-engine/api/disks/2331b
> ad7-71ec-4fad-95bb-2b3449f3dbda/statistics/33b9212b-f9cb-
> 3fd0-b364-248fb61e1272",
> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> },
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "bytes_per_second",
> "values": {
> "value": [
> {
> "datum": 41202005
> }
> ]
> },
> "disk": {
> "href": "/ovirt-engine/api/disks/2331b
> ad7-71ec-4fad-95bb-2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "data.current.write",
> "description": "Write data rate",
> "href": "/ovirt-engine/api/disks/2331b
> ad7-71ec-4fad-95bb-2b3449f3dbda/statistics/2f23addd-4ebd-
> 3d82-a449-c28778bc33eb",
> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> },
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "seconds",
> "values": {
> "value": [
> {
> "datum": 0.12
> }
> ]
> },
> "disk": {
> "href": "/ovirt-engine/api/disks/2331b
> ad7-71ec-4fad-95bb-2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "disk.read.latency",
> "description": "Read latency",
> "href": "/ovirt-engine/api/disks/2331b
> ad7-71ec-4fad-95bb-2b3449f3dbda/statistics/3a7b3f72-d035-
> 3bb9-b196-e86a4eb34993",
> "id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
> },
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "seconds",
> "values": {
> "value": [
> {
> "datum": 1.4
> }
> ]
> },
> "disk": {
> "h

[ovirt-users] Disk Statistics API in Ovirt

2018-07-17 Thread Hari Prasanth Loganathan
Hi Team,

We are using the following API to collect the disk statistics,

https://X.X.X.2/ovirt-engine/api/
*disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*


I found one issue in the disk statistics. In case If the Virtual Machine
has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*) attached to it and I
perform some read / write operation in the VM and it increases the
corresponding disk level Read data rate / Write data rate /
disk.read.latency / disk.write.latency.

*Example*, I received the following values for this disk, But the problem
is even when I bring down the VM still the last known value is received
continuously.
*Is it a known issue Or any workaround is available? *

*Expected : All values should go to Zero*

*Actual : All values retains the last known values when the VM was in UP
state. *


{
"statistic": [
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 2184
}
]
},
"disk": {
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "data.current.read",
"description": "Read data rate",
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
"id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 41202005
}
]
},
"disk": {
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "data.current.write",
"description": "Write data rate",
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
"id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "seconds",
"values": {
"value": [
{
"datum": 0.12
}
]
},
"disk": {
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "disk.read.latency",
"description": "Read latency",
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda/statistics/3a7b3f72-d035-3bb9-b196-e86a4eb34993",
"id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "seconds",
"values": {
"value": [
{
"datum": 1.4
}
]
},
"disk": {
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "disk.write.latency",
"description": "Write latency",
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda/statistics/b1e75c7b-cea4-37d2-8459-f7d68efc69a3",
"id": "b1e75c7b-cea4-37d2-8459-f7d68efc69a3"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "seconds",
"values": {
"value": [
{
"datum": 0
}
]
},
"disk": {
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "disk.flush.latency",
"description": "Flush latency",
"href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
2b3449f3dbda/statistics/9c17ad7b-9ef1-3e8d-ad0a-ff8bee3925f0",
"id": "9c17ad7b-9ef1-3e8d-ad0a-ff8bee3925f0"
}
]
}

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, 

[ovirt-users] Re: Disk Statistics API in oVirt

2018-07-17 Thread Hari Prasanth Loganathan
It is an issue from our side. Please ignore my question.

But How frequently we will collect the disk statistics and update in
PostgreSQL?

Thanks,
Hari

On Tue, Jul 17, 2018 at 3:18 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> We are using the following API to collect the disk statistics,
>
> https://X.X.X.2/ovirt-engine/api/
> *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
> <https://X.X.X.2/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics>
>
> I found one issue in the disk statistics. In case If the Virtual Machine
> has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*) attached to it and
> I perform some read / write operation in the VM and it increases the
> corresponding disk level Read data rate / Write data rate /
> disk.read.latency / disk.write.latency.
>
> *Example*, I received the following values for this disk, But the problem
> is even when I bring down the VM still the last known value is received
> continuously.
> *Is it a known issue Or any workaround is available? *
>
> *Expected : All values should go to Zero*
>
> *Actual : All values retains the last known values when the VM was in UP
> state. *
>
>
> {
> "statistic": [
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "bytes_per_second",
> "values": {
> "value": [
> {
> "datum": 2184
> }
> ]
> },
> "disk": {
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "data.current.read",
> "description": "Read data rate",
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> },
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "bytes_per_second",
> "values": {
> "value": [
> {
> "datum": 41202005
> }
> ]
> },
> "disk": {
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "data.current.write",
> "description": "Write data rate",
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> },
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "seconds",
> "values": {
> "value": [
> {
> "datum": 0.12
> }
> ]
> },
> "disk": {
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "disk.read.latency",
> "description": "Read latency",
> "href": "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-
> 2b3449f3dbda/statistics/3a7b3f72-d035-3bb9-b196-e86a4eb34993",
> "id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
> },
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "seconds",
> "values": {
> "value": [
> {
> "datum": 1.4
> }
> ]
> },
>

[ovirt-users] Disk Statistics API in oVirt

2018-07-17 Thread Hari Prasanth Loganathan
Hi Team,

We are using the following API to collect the disk statistics,

https://X.X.X.2/ovirt-engine/api/
*disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*


I found one issue in the disk statistics. In case If the Virtual Machine
has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*) attached to it and I
perform some read / write operation in the VM and it increases the
corresponding disk level Read data rate / Write data rate /
disk.read.latency / disk.write.latency.

*Example*, I received the following values for this disk, But the problem
is even when I bring down the VM still the last known value is received
continuously.
*Is it a known issue Or any workaround is available? *

*Expected : All values should go to Zero*

*Actual : All values retains the last known values when the VM was in UP
state. *


{
"statistic": [
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 2184
}
]
},
"disk": {
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "data.current.read",
"description": "Read data rate",
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
"id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 41202005
}
]
},
"disk": {
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "data.current.write",
"description": "Write data rate",
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
"id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "seconds",
"values": {
"value": [
{
"datum": 0.12
}
]
},
"disk": {
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "disk.read.latency",
"description": "Read latency",
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/3a7b3f72-d035-3bb9-b196-e86a4eb34993",
"id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "seconds",
"values": {
"value": [
{
"datum": 1.4
}
]
},
"disk": {
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "disk.write.latency",
"description": "Write latency",
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/b1e75c7b-cea4-37d2-8459-f7d68efc69a3",
"id": "b1e75c7b-cea4-37d2-8459-f7d68efc69a3"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "seconds",
"values": {
"value": [
{
"datum": 0
}
]
},
"disk": {
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
"id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
},
"name": "disk.flush.latency",
"description": "Flush latency",
"href":
"/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/9c17ad7b-9ef1-3e8d-ad0a-ff8bee3925f0",
"id": "9c17ad7b-9ef1-3e8d-ad0a-ff8bee3925f0"
}
]
}

Thanks,
Hari

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please 

[ovirt-users] Re: ENGINE_SSO_AUTH_URL configuration

2018-07-04 Thread Hari Prasanth Loganathan
Hi Martin,

Thanks for pointing this url.

1) Based on this post, I created a client id using the
'ovirt-register-sso-client-tool'


select * from sso_clients;

  3 | *test*   |
eyJhcnRpZmFjdCI6IkVudmVsb3BlUEJFIiwic2FsdCI6IjFuYktJa3JrWEFCc2R5NzNnNFIrc09NWitGNHI1dW5UY2s1U2t3cWlCMGs9Iiwic2VjcmV0
IjoiRTVwNExDQXpxenhGSHFxdmQwNDhTNDRkN3dNMEwrZVQrYTZlK3lXR044VT0iLCJ2ZXJzaW9uIjoiMSIsIml0ZXJhdGlvbnMiOiI0MDAwIiwiYWxnb3JpdGhtIjoiUEJLREYyV2l0aEh
tYWNTSEExIn0= | http://172.30.39.176:9090/api/auth/sso  |
/root/ssl/ssl/certificate.pem
|
 | oVirt Engine Client |   | openid
ovirt-app-portal ovirt-app-admin ovirt-app-api ovirt-ext=auth:identity
ovirt-ex
t=token:password-access ovirt-ext=auth:sequence-priority
ovirt-ext=token:login-on-behalf ovirt-ext=token-info:authz-search
ovirt-ext=token-info
:public-authz-search ovirt-ext=token-info:validate
ovirt-ext=revoke:revoke-all | t   | TLS|
f
   | t



I will store this sso_client information in my application too.


2) Is it possible to use *JUST* this 'client_id' and 'client_secret' to
communicate from my application to oVirt instead of oVirt token?

  I mean like My_Application ---> (using client id - test) oVirt
API


Thanks,
Hari






On Wed, Jul 4, 2018 at 5:32 PM, Martin Perina  wrote:

>
>
> On Wed, Jul 4, 2018 at 1:54 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Okay Thanks Martin.
>> I already come across this blog but curious any way to point the
>> authentication and authorization to my HTTP URL. so that I don't want to
>> depend on the ovirt token.
>>
>
> ​There's no way how to replace oVirt SSO with different implementation,
> you need to use oVirt token.
>
> But other than relying on Apache you could also configure your application
> as OpenID Connect client to oVirt SSO similarly as it's described for
> Kibana/Elastic search  integration:
>
> https://www.ovirt.org/blog/2017/05/openshift-openId-
> integration-with-engine-sso/​
>
> Then you would have only single token for both your application and oVirt
>
>
>>
>>
>>
>>
>> On Wed, Jul 4, 2018 at 5:04 PM, Martin Perina  wrote:
>>
>>>
>>>
>>> On Wed, Jul 4, 2018 at 12:02 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I want oVirt to point to my Authentication / Authorization HTTP URL, so
>>>> I modified the following property in
>>>> */etc/ovirt-engine/engine.conf.d/11-setup-sso.conf*
>>>>
>>>>
>>>> #ENGINE_SSO_AUTH_URL="https://${ENGINE_FQDN}:443/ovirt-engine/sso;
>>>>   ENGINE_SSO_AUTH_URL="http://172.30.39.176:9090/api/auth/sso;
>>>>
>>>> #SSO_ENGINE_URL="https://${ENGINE_FQDN}:443/ovirt-engine/;
>>>>   SSO_ENGINE_URL="http://172.30.39.176:9090/api/auth/;
>>>> ​
>>>>
>>>
>>>> I verified in the log and found the following message :
>>>>
>>>> engine.log:2018-07-04 15:12:46,238+05 INFO
>>>> [org.ovirt.engine.core.uutils.config.ShellLikeConfd] (ServerService
>>>> Thread Pool -- 42) [] Value of property 'ENGINE_SSO_AUTH_URL' is '
>>>> http://172.30.39.176:9090/api/auth/sso'.
>>>> engine.log:2018-07-04 15:12:46,244+05 INFO
>>>> [org.ovirt.engine.core.uutils.config.ShellLikeConfd] (ServerService
>>>> Thread Pool -- 42) [] Value of property 'SSO_ENGINE_URL' is '
>>>> http://172.30.39.176:9090/api/auth/'.
>>>>
>>>>
>>>> But still it is not point to my Authentication URL, Is there any other
>>>> change we need to make to point the oVirt Authentication to my HTTP URL?
>>>>
>>>
>>> ​Hi,
>>>
>>> what exactly are you trying to achieve? To change URL where engine is
>>> available or to replace existing oVirt SSO module with custom
>>> implementation? If the latter, then this is not supported.
>>>
>>> But if you need to configure additional authentication methods, for
>>> example kerberos SSO or CAS, you can do this using combination of Apache
>>> with relevant modules + ovirt-engine-extension-aaa-lda
>>> p/ovirt-engine-extension-aaa-misc packages:
>>>
>>> https://github.com/oVirt/ovirt-engine-extension-aaa-ldap/blo
>>> b/master/README
>>> https://github.com/oVirt/ovirt-engine-extension-aaa-misc/blo
>>> b/master/README.http
>>> https://www.ovirt.org/blog/2016/04/sso/
>>>
>>> Regards
>>>
>>> Martin
>>> ​
>>>

[ovirt-users] Re: ENGINE_SSO_AUTH_URL configuration

2018-07-04 Thread Hari Prasanth Loganathan
Okay Thanks Martin.
I already come across this blog but curious any way to point the
authentication and authorization to my HTTP URL. so that I don't want to
depend on the ovirt token.





On Wed, Jul 4, 2018 at 5:04 PM, Martin Perina  wrote:

>
>
> On Wed, Jul 4, 2018 at 12:02 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I want oVirt to point to my Authentication / Authorization HTTP URL, so I
>> modified the following property in
>> */etc/ovirt-engine/engine.conf.d/11-setup-sso.conf*
>>
>>
>> #ENGINE_SSO_AUTH_URL="https://${ENGINE_FQDN}:443/ovirt-engine/sso;
>>   ENGINE_SSO_AUTH_URL="http://172.30.39.176:9090/api/auth/sso;
>>
>> #SSO_ENGINE_URL="https://${ENGINE_FQDN}:443/ovirt-engine/;
>>   SSO_ENGINE_URL="http://172.30.39.176:9090/api/auth/;
>> ​
>>
>
>> I verified in the log and found the following message :
>>
>> engine.log:2018-07-04 15:12:46,238+05 INFO  
>> [org.ovirt.engine.core.uutils.config.ShellLikeConfd]
>> (ServerService Thread Pool -- 42) [] Value of property
>> 'ENGINE_SSO_AUTH_URL' is 'http://172.30.39.176:9090/api/auth/sso'.
>> engine.log:2018-07-04 15:12:46,244+05 INFO  
>> [org.ovirt.engine.core.uutils.config.ShellLikeConfd]
>> (ServerService Thread Pool -- 42) [] Value of property 'SSO_ENGINE_URL' is '
>> http://172.30.39.176:9090/api/auth/'.
>>
>>
>> But still it is not point to my Authentication URL, Is there any other
>> change we need to make to point the oVirt Authentication to my HTTP URL?
>>
>
> ​Hi,
>
> what exactly are you trying to achieve? To change URL where engine is
> available or to replace existing oVirt SSO module with custom
> implementation? If the latter, then this is not supported.
>
> But if you need to configure additional authentication methods, for
> example kerberos SSO or CAS, you can do this using combination of Apache
> with relevant modules + ovirt-engine-extension-aaa-
> ldap/ovirt-engine-extension-aaa-misc packages:
>
> https://github.com/oVirt/ovirt-engine-extension-aaa-
> ldap/blob/master/README
> https://github.com/oVirt/ovirt-engine-extension-aaa-
> misc/blob/master/README.http
> https://www.ovirt.org/blog/2016/04/sso/
>
> Regards
>
> Martin
> ​
>
>>
>> Thanks,
>> Hari
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: https://www.ovirt.org/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/NZKOGON5PKXSE47J25X72WYCOIGOJ3NW/
>>
>>
>
>
> --
> Martin Perina
> Associate Manager, Software Engineering
> Red Hat Czech s.r.o.
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JKT6TUGAM26S5MM7UNROZVXUJPBGKB7S/


[ovirt-users] ENGINE_SSO_AUTH_URL configuration

2018-07-04 Thread Hari Prasanth Loganathan
Hi Team,

I want oVirt to point to my Authentication / Authorization HTTP URL, so I
modified the following property in
*/etc/ovirt-engine/engine.conf.d/11-setup-sso.conf*


#ENGINE_SSO_AUTH_URL="https://${ENGINE_FQDN}:443/ovirt-engine/sso;
  ENGINE_SSO_AUTH_URL="http://172.30.39.176:9090/api/auth/sso;

#SSO_ENGINE_URL="https://${ENGINE_FQDN}:443/ovirt-engine/;
  SSO_ENGINE_URL="http://172.30.39.176:9090/api/auth/;


I verified in the log and found the following message :

engine.log:2018-07-04 15:12:46,238+05 INFO
[org.ovirt.engine.core.uutils.config.ShellLikeConfd] (ServerService Thread
Pool -- 42) [] Value of property 'ENGINE_SSO_AUTH_URL' is '
http://172.30.39.176:9090/api/auth/sso'.
engine.log:2018-07-04 15:12:46,244+05 INFO
[org.ovirt.engine.core.uutils.config.ShellLikeConfd] (ServerService Thread
Pool -- 42) [] Value of property 'SSO_ENGINE_URL' is '
http://172.30.39.176:9090/api/auth/'.


But still it is not point to my Authentication URL, Is there any other
change we need to make to point the oVirt Authentication to my HTTP URL?

Thanks,
Hari
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NZKOGON5PKXSE47J25X72WYCOIGOJ3NW/


[ovirt-users] Re: API token in postgres

2018-07-04 Thread Hari Prasanth Loganathan
Hi all,

I come to know via code that, It is stored in the in-memory in Concurrent
hash map.

storing the mapping between sessionId and SSOToken in ConcurrentHashMap which
will be in In-Memory.

private ConcurrentMap sessionInfoMap = new
ConcurrentHashMap<>();

https://github.com/oVirt/ovirt-engine/blob/15b0de3a83c090384
29b67cc45ee36aa26096891/backend/manager/modules/bll/src/main/java/org/ovirt/
engine/core/bll/aaa/SessionDataContainer.java

Thanks,
Hari

On Wed, Jul 4, 2018 at 3:05 AM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Guys, any help is appreciated.
>
> I am not able to find the table in Postgres. Please let me know.
>
> Thanks
>
> On Tue, 3 Jul 2018 at 9:52 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Guys,
>>
>> Could somebody help on the postgres table, Which table is used to store
>> the mapping between sessionId and sso token?
>>
>> If my query is not clear, please let me know.
>>
>> Thanks,
>> Hari
>>
>> On Tue, Jul 3, 2018 at 6:14 PM, Hari Prasanth Loganathan > msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> Which postgres table is used to store the relation between sessionId and
>>> SSO token ?
>>>
>>> I verified the *github* : https://github.com/oVirt/ovirt-engine/blob/
>>> d910a6e14bdb9fad0f21b8d9f22723f53db2fd2d/backend/manager/
>>> modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/
>>> SsoRestApiAuthFilter.java
>>>
>>> *Code** :*
>>>
>>> QueryReturnValue queryRetVal = FiltersHelper.getBackend(ctx).
>>> runPublicQuery(
>>> QueryType.*GetEngineSessionIdForSsoToken*,
>>> new GetEngineSessionIdForSsoTokenQueryParameters(token));
>>>
>>>
>>>
>>> Which table in postgres has the mapping between sessionId and sso token?
>>> Could somebody help me on this?
>>>
>>> Thanks,
>>> Hari
>>>
>>
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OUUPZCSNYDYE76CPXX2M2RYSHD7AC4KZ/


[ovirt-users] Re: API token in postgres

2018-07-03 Thread Hari Prasanth Loganathan
Guys, any help is appreciated.

I am not able to find the table in Postgres. Please let me know.

Thanks

On Tue, 3 Jul 2018 at 9:52 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Guys,
>
> Could somebody help on the postgres table, Which table is used to store
> the mapping between sessionId and sso token?
>
> If my query is not clear, please let me know.
>
> Thanks,
> Hari
>
> On Tue, Jul 3, 2018 at 6:14 PM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> Which postgres table is used to store the relation between sessionId and
>> SSO token ?
>>
>> I verified the *github* :
>> https://github.com/oVirt/ovirt-engine/blob/d910a6e14bdb9fad0f21b8d9f22723f53db2fd2d/backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/SsoRestApiAuthFilter.java
>>
>> *Code** :*
>>
>> QueryReturnValue queryRetVal = FiltersHelper.getBackend(ctx).
>> runPublicQuery(
>> QueryType.*GetEngineSessionIdForSsoToken*,
>> new GetEngineSessionIdForSsoTokenQueryParameters(token));
>>
>>
>>
>> Which table in postgres has the mapping between sessionId and sso token?
>> Could somebody help me on this?
>>
>> Thanks,
>> Hari
>>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TKKLAFAUV6X2IPCSEXBTDJWFEXWDM365/


[ovirt-users] Re: API token in postgres

2018-07-03 Thread Hari Prasanth Loganathan
Hi Guys,

Could somebody help on the postgres table, Which table is used to store the
mapping between sessionId and sso token?

If my query is not clear, please let me know.

Thanks,
Hari

On Tue, Jul 3, 2018 at 6:14 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> Which postgres table is used to store the relation between sessionId and
> SSO token ?
>
> I verified the *github* : https://github.com/oVirt/ovirt-engine/blob/
> d910a6e14bdb9fad0f21b8d9f22723f53db2fd2d/backend/manager/
> modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/
> SsoRestApiAuthFilter.java
>
> *Code** :*
>
> QueryReturnValue queryRetVal = FiltersHelper.getBackend(ctx).
> runPublicQuery(
> QueryType.*GetEngineSessionIdForSsoToken*,
> new GetEngineSessionIdForSsoTokenQueryParameters(token));
>
>
>
> Which table in postgres has the mapping between sessionId and sso token?
> Could somebody help me on this?
>
> Thanks,
> Hari
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WGQSOOQ5TYBZPDHZOJZ6HDYPG5H4GU45/


[ovirt-users] API token in postgres

2018-07-03 Thread Hari Prasanth Loganathan
Hi Team,

Which postgres table is used to store the relation between sessionId and
SSO token ?

I verified the *github* :
https://github.com/oVirt/ovirt-engine/blob/d910a6e14bdb9fad0f21b8d9f22723f53db2fd2d/backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/SsoRestApiAuthFilter.java

*Code** :*

QueryReturnValue queryRetVal = FiltersHelper.getBackend(ctx).runPublicQuery(
QueryType.*GetEngineSessionIdForSsoToken*,
new GetEngineSessionIdForSsoTokenQueryParameters(token));



Which table in postgres has the mapping between sessionId and sso token?
Could somebody help me on this?

Thanks,
Hari
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/527X5NQMSM252VABZBAWJYKMAZ7Z3FLM/


[ovirt-users] Re: oVirt Authentication and Authorization

2018-07-02 Thread Hari Prasanth Loganathan
Hi Ondra,

If my query is not clear, please let me know. I would like to explain it
with examples.

Any help is much appreciated.

Thanks,
Hari

On Fri, Jun 29, 2018 at 5:09 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Thanks Ondra for the response.
>
> *This is my use case : *
>
> We have three components in our setup
>
> 1) Our Script (application using python)
> 2) Ovirt
> 3) LDAP (Also integrated to oVirt)
>
> 1) Our Python application is authenticating to LDAP and it creates a token
> for our application
> 2) For accessing the API's in oVIrt, I need to contact to the oVirt API
> which authenticates and creates a token for it
> 3) then I need to maintain the token of my application with its mapping to
> the ovirt tokenId in my application.
>
> *Difficulty :*
>
>
> *When I want to hit any oVirt API, First I perform the token check in my
> application (using my application token) then I need to perform the ovirt
> token check in oVirt using the ovirt token Id I maintain in the
> application.  *
>
> *To Achieve : *
>
> *So I want a feature, which perform authentication check only in my
> application and then from my application I need to contact the ovirt APIs
> without authentication / authorization check. I don't want ovirt to perform
> authentication / authorization check. *
>
>
>
> * 1) I would like to know Is there a way to skip the authentication and
> authorization in oVIrt? 2) Or Is it possible to point the authentication
> validation for oVirt (to my application / to some URL which I configure)
> which always return true and allow for all oVirt API's?If any thing is not
> clear I will update the mail and send you.*
>
>
>
> *Thanks *
>
>
>
>
> On Fri, Jun 29, 2018 at 5:00 PM, Ondra Machacek 
> wrote:
>
>> What's your use-case? You need all users to access without any
>> username/password? Why not rather share some username/password of guest
>> account them?
>>
>> On 06/29/2018 12:39 PM, Hari Prasanth Loganathan wrote:
>>
>>> Guys any update on this, If you have any clarification in my query
>>> please let me know.
>>>
>>> Thanks,
>>> Hari
>>>
>>> On Thu, Jun 28, 2018 at 6:19 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com <mailto:hariprasanth.l@msystec
>>> hnologies.com>> wrote:
>>>
>>> Hi Team,
>>>
>>> We have three components in our setup
>>>
>>> 1) Our Script (application using python)
>>> 2) Ovirt
>>> 3) LDAP (Also integrated to oVirt)
>>>
>>> 1) Our Python application is authenticating to LDAP and it creates a
>>> token for our application
>>> 2) For accessing the API's in oVIrt, I need to contact to the oVirt
>>> API which authenticates and creates a token for it
>>> 3) then I need to maintain the token of my application with its
>>> mapping to the ovirt tokenId in my application.
>>>
>>> When I want to hit any oVirt API, First I perform the token check in
>>> my application (using my application token) then I need to perform
>>> the ovirt token check in oVirt.
>>>
>>> 1)*I would like to know Is there a way to skip the authentication
>>> and authorization in oVIrt?
>>> *
>>> 2)*Or Is it possible to point the authentication check for oVirt (to
>>> my application / to some URL which I configure) which always return
>>> true and allow for all oVirt API's?*
>>>
>>>
>>> *I did some analysis and verified the oVirt code in github,
>>> Identified that it is going via a fliter in web.xml which points to
>>> the class, Is it possible to tune this? *
>>>
>>>
>>> 
>>>  RestApiSessionValidationFilter
>>> org.ovirt.engine
>>> .core.aaa.filters.RestApiSessionValidationFilter
>>>  
>>>  
>>>  RestApiSessionValidationFilter
>>>  /*
>>>  
>>>
>>>  
>>>  SessionValidationFilter
>>> org.ovirt.engine
>>> .core.aaa.filters.SessionValidationFilter
>>>  
>>>  
>>>  SessionValidationFilter
>>>  /*
>>>  
>>>
>>>  
>>>  SsoRestApiAuthFilter
>>> org.ovirt.engine
>>> .core.aaa.filters

[ovirt-users] Re: oVirt Authentication and Authorization

2018-06-29 Thread Hari Prasanth Loganathan
Thanks Ondra for the response.

*This is my use case : *

We have three components in our setup

1) Our Script (application using python)
2) Ovirt
3) LDAP (Also integrated to oVirt)

1) Our Python application is authenticating to LDAP and it creates a token
for our application
2) For accessing the API's in oVIrt, I need to contact to the oVirt API
which authenticates and creates a token for it
3) then I need to maintain the token of my application with its mapping to
the ovirt tokenId in my application.

*Difficulty :*


*When I want to hit any oVirt API, First I perform the token check in my
application (using my application token) then I need to perform the ovirt
token check in oVirt using the ovirt token Id I maintain in the
application.  *

*To Achieve : *

*So I want a feature, which perform authentication check only in my
application and then from my application I need to contact the ovirt APIs
without authentication / authorization check. I don't want ovirt to perform
authentication / authorization check. *



* 1) I would like to know Is there a way to skip the authentication and
authorization in oVIrt? 2) Or Is it possible to point the authentication
validation for oVirt (to my application / to some URL which I configure)
which always return true and allow for all oVirt API's?If any thing is not
clear I will update the mail and send you.*



*Thanks *




On Fri, Jun 29, 2018 at 5:00 PM, Ondra Machacek  wrote:

> What's your use-case? You need all users to access without any
> username/password? Why not rather share some username/password of guest
> account them?
>
> On 06/29/2018 12:39 PM, Hari Prasanth Loganathan wrote:
>
>> Guys any update on this, If you have any clarification in my query please
>> let me know.
>>
>> Thanks,
>> Hari
>>
>> On Thu, Jun 28, 2018 at 6:19 PM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com <mailto:hariprasanth.l@msystec
>> hnologies.com>> wrote:
>>
>> Hi Team,
>>
>> We have three components in our setup
>>
>> 1) Our Script (application using python)
>> 2) Ovirt
>> 3) LDAP (Also integrated to oVirt)
>>
>> 1) Our Python application is authenticating to LDAP and it creates a
>> token for our application
>> 2) For accessing the API's in oVIrt, I need to contact to the oVirt
>> API which authenticates and creates a token for it
>> 3) then I need to maintain the token of my application with its
>> mapping to the ovirt tokenId in my application.
>>
>> When I want to hit any oVirt API, First I perform the token check in
>> my application (using my application token) then I need to perform
>> the ovirt token check in oVirt.
>>
>> 1)*I would like to know Is there a way to skip the authentication
>> and authorization in oVIrt?
>> *
>> 2)*Or Is it possible to point the authentication check for oVirt (to
>> my application / to some URL which I configure) which always return
>> true and allow for all oVirt API's?*
>>
>>
>> *I did some analysis and verified the oVirt code in github,
>> Identified that it is going via a fliter in web.xml which points to
>> the class, Is it possible to tune this? *
>>
>>
>> 
>>  RestApiSessionValidationFilter
>> org.ovirt.engine
>> .core.aaa.filters.RestApiSessionValidationFilter
>>  
>>  
>>  RestApiSessionValidationFilter
>>  /*
>>  
>>
>>  
>>  SessionValidationFilter
>> org.ovirt.engine
>> .core.aaa.filters.SessionValidationFilter
>>  
>>  
>>  SessionValidationFilter
>>  /*
>>  
>>
>>  
>>  SsoRestApiAuthFilter
>> org.ovirt.engine
>> .core.aaa.filters.SsoRestApiAuthFilter
>>  
>>  
>>  SsoRestApiAuthFilter
>>  /*
>>  
>>
>>  
>>  SsoRestApiNegotiationFilter
>> org.ovirt.engine
>> .core.aaa.filters.SsoRestApiNegotiationFilter
>>  
>>  
>>  SsoRestApiNegotiationFilter
>>  /*
>>  
>>
>> If my query is not clear, please let me know.
>>
>> Thanks,
>> Hari
>>
>>
>>
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ov

[ovirt-users] Re: oVirt Authentication and Authorization

2018-06-29 Thread Hari Prasanth Loganathan
Guys any update on this, If you have any clarification in my query please
let me know.

Thanks,
Hari

On Thu, Jun 28, 2018 at 6:19 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> We have three components in our setup
>
> 1) Our Script (application using python)
> 2) Ovirt
> 3) LDAP (Also integrated to oVirt)
>
> 1) Our Python application is authenticating to LDAP and it creates a token
> for our application
> 2) For accessing the API's in oVIrt, I need to contact to the oVirt API
> which authenticates and creates a token for it
> 3) then I need to maintain the token of my application with its mapping to
> the ovirt tokenId in my application.
>
> When I want to hit any oVirt API, First I perform the token check in my
> application (using my application token) then I need to perform the ovirt
> token check in oVirt.
>
> 1)
> * I would like to know Is there a way to skip the authentication and
> authorization in oVIrt? *
> 2)* Or Is it possible to point the authentication check for oVirt (to my
> application / to some URL which I configure) which always return true and
> allow for all oVirt API's?*
>
>
> *I did some analysis and verified the oVirt code in github, Identified
> that it is going via a fliter in web.xml which points to the class, Is it
> possible to tune this? *
>
>
> RestApiSessionValidationFilter
> org.ovirt.engine.core.aaa.filters.
> RestApiSessionValidationFilter
> 
> 
> RestApiSessionValidationFilter
> /*
> 
>
> 
> SessionValidationFilter
> org.ovirt.engine.core.aaa.filters.
> SessionValidationFilter
> 
> 
> SessionValidationFilter
> /*
> 
>
> 
> SsoRestApiAuthFilter
> org.ovirt.engine.core.aaa.filters.
> SsoRestApiAuthFilter
> 
> 
> SsoRestApiAuthFilter
> /*
> 
>
> 
> SsoRestApiNegotiationFilter
> org.ovirt.engine.core.aaa.filters.
> SsoRestApiNegotiationFilter
> 
> 
> SsoRestApiNegotiationFilter
> /*
> 
>
> If my query is not clear, please let me know.
>
> Thanks,
> Hari
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/R5QK6VPZ5OQXHBODY4BY5JHJCC4X2ZKV/


[ovirt-users] oVirt Authentication and Authorization

2018-06-28 Thread Hari Prasanth Loganathan
Hi Team,

We have three components in our setup

1) Our Script (application using python)
2) Ovirt
3) LDAP (Also integrated to oVirt)

1) Our Python application is authenticating to LDAP and it creates a token
for our application
2) For accessing the API's in oVIrt, I need to contact to the oVirt API
which authenticates and creates a token for it
3) then I need to maintain the token of my application with its mapping to
the ovirt tokenId in my application.

When I want to hit any oVirt API, First I perform the token check in my
application (using my application token) then I need to perform the ovirt
token check in oVirt.

1)
* I would like to know Is there a way to skip the authentication and
authorization in oVIrt? *
2)* Or Is it possible to point the authentication check for oVirt (to my
application / to some URL which I configure) which always return true and
allow for all oVirt API's?*


*I did some analysis and verified the oVirt code in github, Identified that
it is going via a fliter in web.xml which points to the class, Is it
possible to tune this? *

   
RestApiSessionValidationFilter

org.ovirt.engine.core.aaa.filters.RestApiSessionValidationFilter


RestApiSessionValidationFilter
/*



SessionValidationFilter

org.ovirt.engine.core.aaa.filters.SessionValidationFilter


SessionValidationFilter
/*



SsoRestApiAuthFilter

org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter


SsoRestApiAuthFilter
/*



SsoRestApiNegotiationFilter

org.ovirt.engine.core.aaa.filters.SsoRestApiNegotiationFilter


SsoRestApiNegotiationFilter
/*


If my query is not clear, please let me know.

Thanks,
Hari
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BTTA5RFMXCLI36FI5WE64UNW7CBOSYTG/


[ovirt-users] Re: Error in disk statistics REST API

2018-06-28 Thread Hari Prasanth Loganathan
This issue is resolved. It is a problem from my side. Thanks.

On Thu, Jun 28, 2018 at 3:58 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> We are getting this error for the following API
>
> https://172.30.X.X/ovirt-engine/api/disks?follow=statistics
>
>
> *But the following API works :*
>
> https://172.30.X.X/ovirt-engine/api/vms?follow=statistics
>
>
>
> *Error in server.log: (when we try to hit to the
> https://172.30.X.X/ovirt-engine/api/disks?follow=statistics
> <https://172.30.X.X/ovirt-engine/api/disks?follow=statistics>)*
>
> 2018-06-28 13:05:00,393+05 ERROR [io.undertow.request] (default task-2)
> UT005023: Exception handling request to /ovirt-engine/api/v4/disks:
> java.lang.RuntimeException: org.jboss.resteasy.spi.UnhandledException:
> java.lang.IllegalStateException: Problem following 'statistics' link in
> Disks entity.
> at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(
> RequestDispatcherImpl.java:245) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at io.undertow.servlet.spec.RequestDispatcherImpl.
> forwardImplSetup(RequestDispatcherImpl.java:147) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at io.undertow.servlet.spec.RequestDispatcherImpl.forward(
> RequestDispatcherImpl.java:111) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at org.ovirt.engine.api.restapi.invocation.VersionFilter.
> doFilter(VersionFilter.java:180) [restapi-jaxrs.jar:]
> at org.ovirt.engine.api.restapi.invocation.VersionFilter.
> doFilter(VersionFilter.java:98) [restapi-jaxrs.jar:]
> at 
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
> [undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
> doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at org.ovirt.engine.api.restapi.invocation.CurrentFilter.
> doFilter(CurrentFilter.java:117) [restapi-jaxrs.jar:]
> at org.ovirt.engine.api.restapi.invocation.CurrentFilter.
> doFilter(CurrentFilter.java:72) [restapi-jaxrs.jar:]
> at 
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
> [undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
> doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at org.ovirt.engine.core.aaa.filters.RestApiSessionMgmtFilter.
> doFilter(RestApiSessionMgmtFilter.java:78) [aaa.jar:]
> at 
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
> [undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
> doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at org.ovirt.engine.core.aaa.filters.EnforceAuthFilter.
> doFilter(EnforceAuthFilter.java:42) [aaa.jar:]
> at 
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
> [undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
> doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at org.ovirt.engine.core.aaa.filters.SsoRestApiNegotiationFilter.
> doFilter(SsoRestApiNegotiationFilter.java:84) [aaa.jar:]
> at 
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
> [undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
> doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter.
> doFilter(SsoRestApiAuthFilter.java:47) [aaa.jar:]
> at 
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
> [undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
> doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at org.ovirt.engine.core.aaa.filters.SessionValidationFilter.
> doFilter(SessionValidationFilter.java:59) [aaa.jar:]
> at 
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
> [undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.
> doFilter(FilterHandler.java:131) [undertow-servlet-1.4.18.
> Final.jar:1.4.18.Final]
> at org.ovirt.engine.core.aaa.filters.
> RestApiSessionValidationFilter.doFilter(RestApiSessionValidationFilter.j

[ovirt-users] Error in disk statistics REST API

2018-06-28 Thread Hari Prasanth Loganathan
Hi Team,

We are getting this error for the following API

https://172.30.X.X/ovirt-engine/api/disks?follow=statistics


*But the following API works :*

https://172.30.X.X/ovirt-engine/api/vms?follow=statistics



*Error in server.log: (when we try to hit to the
https://172.30.X.X/ovirt-engine/api/disks?follow=statistics
)*

2018-06-28 13:05:00,393+05 ERROR [io.undertow.request] (default task-2)
UT005023: Exception handling request to /ovirt-engine/api/v4/disks:
java.lang.RuntimeException: org.jboss.resteasy.spi.UnhandledException:
java.lang.IllegalStateException: Problem following 'statistics' link in
Disks entity.
at
io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:245)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(RequestDispatcherImpl.java:147)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:180)
[restapi-jaxrs.jar:]
at
org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:98)
[restapi-jaxrs.jar:]
at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
org.ovirt.engine.api.restapi.invocation.CurrentFilter.doFilter(CurrentFilter.java:117)
[restapi-jaxrs.jar:]
at
org.ovirt.engine.api.restapi.invocation.CurrentFilter.doFilter(CurrentFilter.java:72)
[restapi-jaxrs.jar:]
at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
org.ovirt.engine.core.aaa.filters.RestApiSessionMgmtFilter.doFilter(RestApiSessionMgmtFilter.java:78)
[aaa.jar:]
at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
org.ovirt.engine.core.aaa.filters.EnforceAuthFilter.doFilter(EnforceAuthFilter.java:42)
[aaa.jar:]
at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
org.ovirt.engine.core.aaa.filters.SsoRestApiNegotiationFilter.doFilter(SsoRestApiNegotiationFilter.java:84)
[aaa.jar:]
at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter.doFilter(SsoRestApiAuthFilter.java:47)
[aaa.jar:]
at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:59)
[aaa.jar:]
at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
org.ovirt.engine.core.aaa.filters.RestApiSessionValidationFilter.doFilter(RestApiSessionValidationFilter.java:35)
[aaa.jar:]
at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final]
at
org.ovirt.engine.api.restapi.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:111)
[restapi-jaxrs.jar:]
at
org.ovirt.engine.api.restapi.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:102)
[restapi-jaxrs.jar:]
at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

[ovirt-users] Re: snapshot going to locked state and stays with it

2018-06-25 Thread Hari Prasanth Loganathan
I am not able to get the logs, Ovirt version : 4.2.1

But technically could you let me know the reason for snapshot locked state?

Thanks,
Hari

On Mon, Jun 25, 2018 at 1:37 PM, Ala Hino  wrote:

> Hi Hari,
>
> Could you please send us the log files of the engine and the hosts?
> In addition, what is the version that you using?
>
> On Mon, Jun 25, 2018 at 10:47 AM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I took a snapshot using oVirt and it stays in the LOCKED state for half
>> an hour.
>>
>> DateJun 25, 2018, 1:06:58 PMStatus*LOCKED*MemoryfalseDescription
>> Immediate2018625-13655Defined Memory1024MBPhysical Memory Guaranteed
>> 1024MBNumber of CPU Cores1 (1:1:1)
>>
>>
>> 1) What could be the reason for this LOCKED state?
>> 2) How can I recover from it?
>>
>> Thanks,
>> Hari
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: https://www.ovirt.org/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/Z7USXN56POKOMIBZJPMDZNL5NGWFZY75/
>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RUWH6WNNGFSE6KEQ7AGJKUAMOZFCJUTH/


[ovirt-users] snapshot going to locked state and stays with it

2018-06-25 Thread Hari Prasanth Loganathan
Hi Team,

I took a snapshot using oVirt and it stays in the LOCKED state for half an
hour.

DateJun 25, 2018, 1:06:58 PMStatus*LOCKED*MemoryfalseDescription
Immediate2018625-13655Defined Memory1024MBPhysical Memory
Guaranteed1024MBNumber
of CPU Cores1 (1:1:1)


1) What could be the reason for this LOCKED state?
2) How can I recover from it?

Thanks,
Hari
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z7USXN56POKOMIBZJPMDZNL5NGWFZY75/


[ovirt-users] Re: Ignore extra parameters in oVirt API

2018-06-21 Thread Hari Prasanth Loganathan
okay, Thanks all for your help.

On Thu, Jun 21, 2018 at 5:14 PM, Ondra Machacek  wrote:

> Well, if they may use 4.0, you should write code which support 4.0 and
> don't use any 4.2 features, as it won't work anyway on 4.2.
>
> If you want to support features from 4.2, and use it against 4.0 where it
> will be igonored and use it also agains 4.2 where it will be supported,
> it's quite simple to do in our SDKs, not sure how it can be done in your
> script, is it bash or something else?
>
> On 06/21/2018 01:05 PM, Hari Prasanth Loganathan wrote:
>
>> the problem is, I can't write different client codes for the different
>> version.
>> Consider my case, I developed my script considering the oVirt version
>> 4.2, If my client is using 4.1 then he needs the same script to be
>> supported.
>> What If the client is using further older version say 4.0, So do you want
>> me to write the script for every version of oVirt. It is not correct.
>>
>> So could you let me know, Is there a way to ignore extra properties in
>> oVirt Rest API?
>>
>> On Thu, Jun 21, 2018 at 4:30 PM, Ondra Machacek > <mailto:omach...@redhat.com>> wrote:
>>
>> Well, I don't know what are you using to generate the JSON,
>> but you just need to check if engine is v4.1 and then send the JSON
>> without the field and if version is v4.2 and higher you can use that
>> field.
>>
>> If you share you script maybe I can advice, or if you are using any
>> SDK.
>> It would be even simpler as you just set the field to None/null/nil
>> and it won't be generated to the XML body which SDK send.
>>
>> On 06/21/2018 12:52 PM, Hari Prasanth Loganathan wrote:
>>
>> Thanks, Ondra for confirming.
>>
>> You need to handle this situation client side.
>>
>> So you are saying there is a work-around in client side, I
>> didn't get this point, Could you explain, please.
>>
>> On Thu, Jun 21, 2018 at 4:20 PM, Ondra Machacek
>> mailto:omach...@redhat.com>
>> <mailto:omach...@redhat.com <mailto:omach...@redhat.com>>> wrote:
>>
>>  We do not support this.
>>
>>  For xml we use event handler, which takes unknown fields as
>> error:
>>
>>
>> https://github.com/oVirt/ovirt-engine/blob/68753f46f09419ddc
>> dbb632453501273697d1a20/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> xml/JAXBProvider.java#L182
>> <https://github.com/oVirt/ovirt-engine/blob/68753f46f09419dd
>> cdbb632453501273697d1a20/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> xml/JAXBProvider.java#L182>
>> <https://github.com/oVirt/ovir
>> t-engine/blob/68753f46f09419ddcdbb632453501273697d1a20/
>> backend/manager/modules/restapi/jaxrs/src/main/java/
>> org/ovirt/engine/api/restapi/xml/JAXBProvider.java#L182
>> <https://github.com/oVirt/ovirt-engine/blob/68753f46f09419dd
>> cdbb632453501273697d1a20/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> xml/JAXBProvider.java#L182>>
>>
>>  For json we don't have turn of the feature
>> FAIL_ON_UNKNOWN_PROPERTIES,
>>  you would need to put it on line 29 to make it working:
>>
>>
>> https://github.com/oVirt/ovirt-engine/blob/e06859fef6c38a955
>> a4e0e1f6b0ddaa1e8eae8fb/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> json/CustomObjectMapper.java#L28
>> <https://github.com/oVirt/ovirt-engine/blob/e06859fef6c38a95
>> 5a4e0e1f6b0ddaa1e8eae8fb/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> json/CustomObjectMapper.java#L28>
>> <https://github.com/oVirt/ovir
>> t-engine/blob/e06859fef6c38a955a4e0e1f6b0ddaa1e8eae8fb/
>> backend/manager/modules/restapi/jaxrs/src/main/java/
>> org/ovirt/engine/api/restapi/json/CustomObjectMapper.java#L28
>> <https://github.com/oVirt/ovirt-engine/blob/e06859fef6c38a95
>> 5a4e0e1f6b0ddaa1e8eae8fb/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> json/CustomObjectMapper.java#L28>>
>>
>>  You need to handle this situation client side.
>>
>>  On 06/21/2018 11:21 AM, Hari Prasanth Loganathan wrote:
>>
>>  Could somebody explain this please?

[ovirt-users] Re: Ignore extra parameters in oVirt API

2018-06-21 Thread Hari Prasanth Loganathan
the problem is, I can't write different client codes for the different
version.
Consider my case, I developed my script considering the oVirt version 4.2,
If my client is using 4.1 then he needs the same script to be supported.
What If the client is using further older version say 4.0, So do you want
me to write the script for every version of oVirt. It is not correct.

So could you let me know, Is there a way to ignore extra properties in
oVirt Rest API?

On Thu, Jun 21, 2018 at 4:30 PM, Ondra Machacek  wrote:

> Well, I don't know what are you using to generate the JSON,
> but you just need to check if engine is v4.1 and then send the JSON
> without the field and if version is v4.2 and higher you can use that
> field.
>
> If you share you script maybe I can advice, or if you are using any SDK.
> It would be even simpler as you just set the field to None/null/nil and it
> won't be generated to the XML body which SDK send.
>
> On 06/21/2018 12:52 PM, Hari Prasanth Loganathan wrote:
>
>> Thanks, Ondra for confirming.
>>
>> You need to handle this situation client side.
>>
>> So you are saying there is a work-around in client side, I didn't get
>> this point, Could you explain, please.
>>
>> On Thu, Jun 21, 2018 at 4:20 PM, Ondra Machacek > <mailto:omach...@redhat.com>> wrote:
>>
>> We do not support this.
>>
>> For xml we use event handler, which takes unknown fields as error:
>>
>>
>> https://github.com/oVirt/ovirt-engine/blob/68753f46f09419ddc
>> dbb632453501273697d1a20/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> xml/JAXBProvider.java#L182
>> <https://github.com/oVirt/ovirt-engine/blob/68753f46f09419dd
>> cdbb632453501273697d1a20/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> xml/JAXBProvider.java#L182>
>>
>> For json we don't have turn of the feature FAIL_ON_UNKNOWN_PROPERTIES,
>> you would need to put it on line 29 to make it working:
>>
>>
>> https://github.com/oVirt/ovirt-engine/blob/e06859fef6c38a955
>> a4e0e1f6b0ddaa1e8eae8fb/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> json/CustomObjectMapper.java#L28
>> <https://github.com/oVirt/ovirt-engine/blob/e06859fef6c38a95
>> 5a4e0e1f6b0ddaa1e8eae8fb/backend/manager/modules/
>> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
>> json/CustomObjectMapper.java#L28>
>>
>> You need to handle this situation client side.
>>
>> On 06/21/2018 11:21 AM, Hari Prasanth Loganathan wrote:
>>
>> Could somebody explain this please?
>>
>> On Thu, Jun 21, 2018 at 7:41 AM, Hari Prasanth Loganathan
>> > <mailto:hariprasant...@msystechnologies.com>
>> <mailto:hariprasant...@msystechnologies.com
>> <mailto:hariprasant...@msystechnologies.com>>> wrote:
>>
>>  *Hi Ondra / Ori,*
>>
>> https://github.com/oVirt/ovirt-engine/search?q=FAIL_ON_UNKNO
>> WN_PROPERTIES%2C+false%29%3B_q=FAIL_ON_UNKNOWN_
>> PROPERTIES%2C+false%29%3B
>> <https://github.com/oVirt/ovirt-engine/search?q=FAIL_ON_UNKN
>> OWN_PROPERTIES%2C+false%29%3B_q=FAIL_ON_UNKNOWN_
>> PROPERTIES%2C+false%29%3B>
>> <https://github.com/oVirt/ovir
>> t-engine/search?q=FAIL_ON_UNKNOWN_PROPERTIES%2C+false%29%3B&
>> unscoped_q=FAIL_ON_UNKNOWN_PROPERTIES%2C+false%29%3B
>> <https://github.com/oVirt/ovirt-engine/search?q=FAIL_ON_UNKN
>> OWN_PROPERTIES%2C+false%29%3B_q=FAIL_ON_UNKNOWN_
>> PROPERTIES%2C+false%29%3B>>
>>
>>  Check the above link, As per the code it is always set as
>> false, So
>>  is there a way in payload / headers in client API / server
>>  configuration in oVirt engine which can ignore the extra
>>     payload
>>  parameters?
>>
>>  Any help / workaround is much appreciated.
>>
>>  Thanks, Greg for pointing the right ppl.
>>
>>  Thanks,
>>  Hari
>>
>>  On Thu, Jun 21, 2018 at 1:35 AM, Greg Sheremeta
>> mailto:gsher...@redhat.com>
>>  <mailto:gsher...@redhat.com <mailto:gsher...@redhat.com>>>
>>     wrote:
>>
>>  +Ondra and Ori
>>
>>  On Wed, Jun 20, 2018 at 1:07 PM Hari Prasanth Loganathan
>>  > <mailto:haripr

[ovirt-users] Re: Ignore extra parameters in oVirt API

2018-06-21 Thread Hari Prasanth Loganathan
Thanks, Ondra for confirming.

You need to handle this situation client side.

So you are saying there is a work-around in client side, I didn't get this
point, Could you explain, please.

On Thu, Jun 21, 2018 at 4:20 PM, Ondra Machacek  wrote:

> We do not support this.
>
> For xml we use event handler, which takes unknown fields as error:
>
>
> https://github.com/oVirt/ovirt-engine/blob/68753f46f09419ddc
> dbb632453501273697d1a20/backend/manager/modules/
> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
> xml/JAXBProvider.java#L182
>
> For json we don't have turn of the feature FAIL_ON_UNKNOWN_PROPERTIES,
> you would need to put it on line 29 to make it working:
>
>
> https://github.com/oVirt/ovirt-engine/blob/e06859fef6c38a955
> a4e0e1f6b0ddaa1e8eae8fb/backend/manager/modules/
> restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/
> json/CustomObjectMapper.java#L28
>
> You need to handle this situation client side.
>
> On 06/21/2018 11:21 AM, Hari Prasanth Loganathan wrote:
>
>> Could somebody explain this please?
>>
>> On Thu, Jun 21, 2018 at 7:41 AM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com <mailto:hariprasanth.l@msystec
>> hnologies.com>> wrote:
>>
>> *Hi Ondra / Ori,*
>>
>> https://github.com/oVirt/ovirt-engine/search?q=FAIL_ON_UNKNO
>> WN_PROPERTIES%2C+false%29%3B_q=FAIL_ON_UNKNOWN_
>> PROPERTIES%2C+false%29%3B
>> <https://github.com/oVirt/ovirt-engine/search?q=FAIL_ON_UNKN
>> OWN_PROPERTIES%2C+false%29%3B_q=FAIL_ON_UNKNOWN_
>> PROPERTIES%2C+false%29%3B>
>>
>> Check the above link, As per the code it is always set as false, So
>> is there a way in payload / headers in client API / server
>> configuration in oVirt engine which can ignore the extra payload
>> parameters?
>>
>> Any help / workaround is much appreciated.
>>
>> Thanks, Greg for pointing the right ppl.
>>
>> Thanks,
>> Hari
>>
>> On Thu, Jun 21, 2018 at 1:35 AM, Greg Sheremeta > <mailto:gsher...@redhat.com>> wrote:
>>
>> +Ondra and Ori
>>
>> On Wed, Jun 20, 2018 at 1:07 PM Hari Prasanth Loganathan
>> > <mailto:hariprasant...@msystechnologies.com>> wrote:
>>
>> Guys any update on this?  if you have any clarification let
>> me know please.
>>
>> Thanks
>>
>> On Wed, 20 Jun 2018 at 5:41 PM, Hari Prasanth Loganathan
>> > <mailto:hariprasant...@msystechnologies.com>> wrote:
>>
>> Hi Team,
>>
>> I got one clue, using the code base :
>> https://github.com/oVirt/ovirt
>> -engine/blob/e2aad594a55c7272b513736616cb4b9841c2c43d/
>> backend/manager/modules/utils/src/main/java/org/ovirt/
>> engine/core/utils/serialization/json/JsonObjectDeserializer.java
>> <https://github.com/oVirt/ovir
>> t-engine/blob/e2aad594a55c7272b513736616cb4b9841c2c43d/
>> backend/manager/modules/utils/src/main/java/org/ovirt/
>> engine/core/utils/serialization/json/JsonObjectDeserializer.java>
>>
>>
>> formattedMapper.configure(Feat
>> ure.FAIL_ON_UNKNOWN_PROPERTIES,
>> false);
>>
>> As a default, this flag is set as false, then How I get
>> this error? Any idea?
>>
>>
>> Thanks,
>> Hari
>>
>>
>>
>> On Wed, Jun 20, 2018 at 5:21 PM, Hari Prasanth
>> Loganathan > <mailto:hariprasant...@msystechnologies.com>> wrote:
>>
>> Hi all,
>>
>> To clarify my payload is like below,
>>
>> *_Expected :_*
>>
>> {
>> "alias": "testdisk",
>> "shareable": false,
>> "storage_type": "cinder",
>> "openstack_volume_type": {
>>  "name": "ceph"
>>  },
>> "description": "",
>> "storage_domains": {
>>   "storage_domain": [{
>>  "name": "cinder_newone"
>> 

[ovirt-users] Re: Ignore extra parameters in oVirt API

2018-06-21 Thread Hari Prasanth Loganathan
Could somebody explain this please?

On Thu, Jun 21, 2018 at 7:41 AM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> *Hi Ondra / Ori,*
>
> https://github.com/oVirt/ovirt-engine/search?q=FAIL_ON_
> UNKNOWN_PROPERTIES%2C+false%29%3B_q=FAIL_ON_
> UNKNOWN_PROPERTIES%2C+false%29%3B
>
> Check the above link, As per the code it is always set as false, So is
> there a way in payload / headers in client API / server configuration in
> oVirt engine which can ignore the extra payload parameters?
>
> Any help / workaround is much appreciated.
>
> Thanks, Greg for pointing the right ppl.
>
> Thanks,
> Hari
>
> On Thu, Jun 21, 2018 at 1:35 AM, Greg Sheremeta 
> wrote:
>
>> +Ondra and Ori
>>
>> On Wed, Jun 20, 2018 at 1:07 PM Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> Guys any update on this?  if you have any clarification let me know
>>> please.
>>>
>>> Thanks
>>>
>>> On Wed, 20 Jun 2018 at 5:41 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I got one clue, using the code base : https://github.com/oVirt/ovirt
>>>> -engine/blob/e2aad594a55c7272b513736616cb4b9841c2c43d/
>>>> backend/manager/modules/utils/src/main/java/org/ovirt/
>>>> engine/core/utils/serialization/json/JsonObjectDeserializer.java
>>>>
>>>>
>>>> formattedMapper.configure(Feature.FAIL_ON_UNKNOWN_PROPERTIES, false);
>>>>
>>>> As a default, this flag is set as false, then How I get this error? Any
>>>> idea?
>>>>
>>>>
>>>> Thanks,
>>>> Hari
>>>>
>>>>
>>>>
>>>> On Wed, Jun 20, 2018 at 5:21 PM, Hari Prasanth Loganathan <
>>>> hariprasant...@msystechnologies.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> To clarify my payload is like below,
>>>>>
>>>>> *Expected :*
>>>>>
>>>>> {
>>>>>"alias": "testdisk",
>>>>>"shareable": false,
>>>>>"storage_type": "cinder",
>>>>>"openstack_volume_type": {
>>>>> "name": "ceph"
>>>>> },
>>>>>"description": "",
>>>>>"storage_domains": {
>>>>>  "storage_domain": [{
>>>>> "name": "cinder_newone"
>>>>>  }]
>>>>> },
>>>>>"provisioned_size": 1073741824,
>>>>>  "interface": "virtio",
>>>>>  "format": "cow"
>>>>> }
>>>>>
>>>>> *I sent : *
>>>>>
>>>>> {
>>>>>"alias": "testdisk",
>>>>>"shareable": false,
>>>>>"storage_type": "cinder",
>>>>>"openstack_volume_type": {
>>>>> "name": "ceph"
>>>>> },
>>>>>"description": "",
>>>>>"storage_domains": {
>>>>>  "storage_domain": [{
>>>>> "name": "cinder_newone"
>>>>>  }]
>>>>> },
>>>>>"provisioned_size": 1073741824,
>>>>>  "interface": "virtio",
>>>>>  "format": "cow",
>>>>> * "test" : "value"*
>>>>> }
>>>>>
>>>>>
>>>>> Is there a way to ignore the *test* field? Please let me know any way
>>>>> / work around.
>>>>>
>>>>>
>>>>> Any help is much appreciated.
>>>>>
>>>>> Thanks,
>>>>> Hari
>>>>>
>>>>>
>>>>> On Wed, Jun 20, 2018 at 3:09 PM, Hari Prasanth Loganathan <
>>>>> hariprasant...@msystechnologies.com> wrote:
>>>>>
>>>>>> Hi Team,
>>>>>>
>>>>>> I want to attach the disk using the oVIrt rest API, I use the version*
>>>>>> 4.2* and com

[ovirt-users] Re: Ignore extra parameters in oVirt API

2018-06-20 Thread Hari Prasanth Loganathan
*Hi Ondra / Ori,*

https://github.com/oVirt/ovirt-engine/search?q=FAIL_ON_UNKNOWN_PROPERTIES%2C+false%29%3B_q=FAIL_ON_UNKNOWN_PROPERTIES%2C+false%29%3B

Check the above link, As per the code it is always set as false, So is
there a way in payload / headers in client API / server configuration in
oVirt engine which can ignore the extra payload parameters?

Any help / workaround is much appreciated.

Thanks, Greg for pointing the right ppl.

Thanks,
Hari

On Thu, Jun 21, 2018 at 1:35 AM, Greg Sheremeta  wrote:

> +Ondra and Ori
>
> On Wed, Jun 20, 2018 at 1:07 PM Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Guys any update on this?  if you have any clarification let me know
>> please.
>>
>> Thanks
>>
>> On Wed, 20 Jun 2018 at 5:41 PM, Hari Prasanth Loganathan > msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> I got one clue, using the code base : https://github.com/oVirt/
>>> ovirt-engine/blob/e2aad594a55c7272b513736616cb4b
>>> 9841c2c43d/backend/manager/modules/utils/src/main/java/
>>> org/ovirt/engine/core/utils/serialization/json/
>>> JsonObjectDeserializer.java
>>>
>>>
>>> formattedMapper.configure(Feature.FAIL_ON_UNKNOWN_PROPERTIES, false);
>>>
>>> As a default, this flag is set as false, then How I get this error? Any
>>> idea?
>>>
>>>
>>> Thanks,
>>> Hari
>>>
>>>
>>>
>>> On Wed, Jun 20, 2018 at 5:21 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> To clarify my payload is like below,
>>>>
>>>> *Expected :*
>>>>
>>>> {
>>>>"alias": "testdisk",
>>>>"shareable": false,
>>>>"storage_type": "cinder",
>>>>"openstack_volume_type": {
>>>> "name": "ceph"
>>>> },
>>>>"description": "",
>>>>"storage_domains": {
>>>>  "storage_domain": [{
>>>> "name": "cinder_newone"
>>>>  }]
>>>> },
>>>>"provisioned_size": 1073741824,
>>>>  "interface": "virtio",
>>>>  "format": "cow"
>>>> }
>>>>
>>>> *I sent : *
>>>>
>>>> {
>>>>"alias": "testdisk",
>>>>"shareable": false,
>>>>"storage_type": "cinder",
>>>>"openstack_volume_type": {
>>>> "name": "ceph"
>>>> },
>>>>"description": "",
>>>>"storage_domains": {
>>>>  "storage_domain": [{
>>>> "name": "cinder_newone"
>>>>  }]
>>>> },
>>>>"provisioned_size": 1073741824,
>>>>  "interface": "virtio",
>>>>  "format": "cow",
>>>> * "test" : "value"*
>>>> }
>>>>
>>>>
>>>> Is there a way to ignore the *test* field? Please let me know any way
>>>> / work around.
>>>>
>>>>
>>>> Any help is much appreciated.
>>>>
>>>> Thanks,
>>>> Hari
>>>>
>>>>
>>>> On Wed, Jun 20, 2018 at 3:09 PM, Hari Prasanth Loganathan <
>>>> hariprasant...@msystechnologies.com> wrote:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> I want to attach the disk using the oVIrt rest API, I use the version*
>>>>> 4.2* and completed my script.
>>>>> But when I downgrade my oVirt to lower version *4.1*, I get the
>>>>> following error.
>>>>>
>>>>> detail: 'For correct usage, see: https://X.X.99.84/ovirt-
>>>>> engine/api/v4/model#services/disk-attachments/methods/add',\n
>>>>> reason: 'Request syntactically incorrect.',\n  error: 'For correct
>>>>> usage, see: https://X.X.99.84/ovirt-engine/api/v4/model#services/
>>>>> disk-attachments/methods/add',\n
>>>>>
>>>>> *Reason*: I added an extra parameter called 'isSharable' which is not
>>>>> expected in this API.
>>>>>
>>>>>
>>>>> *So Is there a way to Ignore the extra parameters sent for oVirt API?*
>>>>>
>>>>> *Example :*
>>>>>
>>>>>
>>>>> *Expected :*
>>>>>
>>>>> *{*
>>>>> * "a"  : "1"*
>>>>>
>>>>> *}*
>>>>>
>>>>> *I sent :*
>>>>>
>>>>> *{*
>>>>> *  "a" : "1",*
>>>>> *  "b" : "2"*
>>>>> *}*
>>>>>
>>>>>
>>>>> *My expectation is, Ignore the "b" and the API should work, Is there a
>>>>> flag in oVirt API which ignores the extra parameters?  *
>>>>>
>>>>> Thanks,
>>>>> Hari
>>>>>
>>>>
>>>>
>>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
>> guidelines/
>> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
>> message/Q3S2KU4PXZ7P2ZBLAYM7CYAK2S4NUJD5/
>>
>
>
> --
>
> GREG SHEREMETA
>
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>
> Red Hat NA
>
> <https://www.redhat.com/>
>
> gsher...@redhat.comIRC: gshereme
> <https://red.ht/sig>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I2S4Q5K2CAF6Z5XQCWZYCHURPZ4KX5UN/


[ovirt-users] Re: Ignore extra parameters in oVirt API

2018-06-20 Thread Hari Prasanth Loganathan
Guys any update on this?  if you have any clarification let me know please.

Thanks

On Wed, 20 Jun 2018 at 5:41 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> I got one clue, using the code base :
> https://github.com/oVirt/ovirt-engine/blob/e2aad594a55c7272b513736616cb4b9841c2c43d/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/serialization/json/JsonObjectDeserializer.java
>
>
> formattedMapper.configure(Feature.FAIL_ON_UNKNOWN_PROPERTIES, false);
>
> As a default, this flag is set as false, then How I get this error? Any
> idea?
>
>
> Thanks,
> Hari
>
>
>
> On Wed, Jun 20, 2018 at 5:21 PM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi all,
>>
>> To clarify my payload is like below,
>>
>> *Expected :*
>>
>> {
>>"alias": "testdisk",
>>"shareable": false,
>>"storage_type": "cinder",
>>"openstack_volume_type": {
>> "name": "ceph"
>> },
>>"description": "",
>>"storage_domains": {
>>  "storage_domain": [{
>> "name": "cinder_newone"
>>  }]
>> },
>>"provisioned_size": 1073741824,
>>  "interface": "virtio",
>>  "format": "cow"
>> }
>>
>> *I sent : *
>>
>> {
>>"alias": "testdisk",
>>"shareable": false,
>>"storage_type": "cinder",
>>"openstack_volume_type": {
>> "name": "ceph"
>> },
>>"description": "",
>>"storage_domains": {
>>  "storage_domain": [{
>> "name": "cinder_newone"
>>  }]
>> },
>>"provisioned_size": 1073741824,
>>  "interface": "virtio",
>>  "format": "cow",
>> * "test" : "value"*
>> }
>>
>>
>> Is there a way to ignore the *test* field? Please let me know any way /
>> work around.
>>
>>
>> Any help is much appreciated.
>>
>> Thanks,
>> Hari
>>
>>
>> On Wed, Jun 20, 2018 at 3:09 PM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> I want to attach the disk using the oVIrt rest API, I use the version*
>>> 4.2* and completed my script.
>>> But when I downgrade my oVirt to lower version *4.1*, I get the
>>> following error.
>>>
>>> detail: 'For correct usage, see:
>>> https://X.X.99.84/ovirt-engine/api/v4/model#services/disk-attachments/methods/add',\n
>>> reason: 'Request syntactically incorrect.',\n  error: 'For correct
>>> usage, see:
>>> https://X.X.99.84/ovirt-engine/api/v4/model#services/disk-attachments/methods/add
>>> ',\n
>>>
>>> *Reason*: I added an extra parameter called 'isSharable' which is not
>>> expected in this API.
>>>
>>>
>>> *So Is there a way to Ignore the extra parameters sent for oVirt API?*
>>>
>>> *Example :*
>>>
>>>
>>> *Expected :*
>>>
>>> *{*
>>> * "a"  : "1"*
>>>
>>> *}*
>>>
>>> *I sent :*
>>>
>>> *{*
>>> *  "a" : "1",*
>>> *  "b" : "2"*
>>> *}*
>>>
>>>
>>> *My expectation is, Ignore the "b" and the API should work, Is there a
>>> flag in oVirt API which ignores the extra parameters?  *
>>>
>>> Thanks,
>>> Hari
>>>
>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Q3S2KU4PXZ7P2ZBLAYM7CYAK2S4NUJD5/


[ovirt-users] Re: Ignore extra parameters in oVirt API

2018-06-20 Thread Hari Prasanth Loganathan
Hi Team,

I got one clue, using the code base :
https://github.com/oVirt/ovirt-engine/blob/e2aad594a55c7272b513736616cb4b9841c2c43d/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/serialization/json/JsonObjectDeserializer.java


formattedMapper.configure(Feature.FAIL_ON_UNKNOWN_PROPERTIES, false);

As a default, this flag is set as false, then How I get this error? Any
idea?


Thanks,
Hari



On Wed, Jun 20, 2018 at 5:21 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi all,
>
> To clarify my payload is like below,
>
> *Expected :*
>
> {
>"alias": "testdisk",
>"shareable": false,
>"storage_type": "cinder",
>"openstack_volume_type": {
> "name": "ceph"
> },
>"description": "",
>"storage_domains": {
>  "storage_domain": [{
> "name": "cinder_newone"
>  }]
> },
>"provisioned_size": 1073741824,
>  "interface": "virtio",
>  "format": "cow"
> }
>
> *I sent : *
>
> {
>"alias": "testdisk",
>"shareable": false,
>"storage_type": "cinder",
>"openstack_volume_type": {
> "name": "ceph"
> },
>"description": "",
>"storage_domains": {
>  "storage_domain": [{
> "name": "cinder_newone"
>  }]
> },
>"provisioned_size": 1073741824,
>  "interface": "virtio",
>  "format": "cow",
> * "test" : "value"*
> }
>
>
> Is there a way to ignore the *test* field? Please let me know any way /
> work around.
>
>
> Any help is much appreciated.
>
> Thanks,
> Hari
>
>
> On Wed, Jun 20, 2018 at 3:09 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I want to attach the disk using the oVIrt rest API, I use the version*
>> 4.2* and completed my script.
>> But when I downgrade my oVirt to lower version *4.1*, I get the
>> following error.
>>
>> detail: 'For correct usage, see: https://X.X.99.84/ovirt-engine
>> /api/v4/model#services/disk-attachments/methods/add',\n  reason: 'Request
>> syntactically incorrect.',\n  error: 'For correct usage, see:
>> https://X.X.99.84/ovirt-engine/api/v4/model#services/disk-
>> attachments/methods/add',\n
>>
>> *Reason*: I added an extra parameter called 'isSharable' which is not
>> expected in this API.
>>
>>
>> *So Is there a way to Ignore the extra parameters sent for oVirt API?*
>>
>> *Example :*
>>
>>
>> *Expected :*
>>
>> *{*
>> * "a"  : "1"*
>>
>> *}*
>>
>> *I sent :*
>>
>> *{*
>> *  "a" : "1",*
>> *  "b" : "2"*
>> *}*
>>
>>
>> *My expectation is, Ignore the "b" and the API should work, Is there a
>> flag in oVirt API which ignores the extra parameters?  *
>>
>> Thanks,
>> Hari
>>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XVGYZ553IUIAAQVJB34XUDO5VCFTLOH7/


[ovirt-users] Re: Ignore extra parameters in oVirt API

2018-06-20 Thread Hari Prasanth Loganathan
Hi all,

To clarify my payload is like below,

*Expected :*

{
   "alias": "testdisk",
   "shareable": false,
   "storage_type": "cinder",
   "openstack_volume_type": {
"name": "ceph"
},
   "description": "",
   "storage_domains": {
 "storage_domain": [{
"name": "cinder_newone"
 }]
},
   "provisioned_size": 1073741824,
 "interface": "virtio",
 "format": "cow"
}

*I sent : *

{
   "alias": "testdisk",
   "shareable": false,
   "storage_type": "cinder",
   "openstack_volume_type": {
"name": "ceph"
},
   "description": "",
   "storage_domains": {
 "storage_domain": [{
"name": "cinder_newone"
 }]
},
   "provisioned_size": 1073741824,
 "interface": "virtio",
 "format": "cow",
* "test" : "value"*
}


Is there a way to ignore the *test* field? Please let me know any way /
work around.


Any help is much appreciated.

Thanks,
Hari


On Wed, Jun 20, 2018 at 3:09 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> I want to attach the disk using the oVIrt rest API, I use the version*
> 4.2* and completed my script.
> But when I downgrade my oVirt to lower version *4.1*, I get the following
> error.
>
> detail: 'For correct usage, see: https://X.X.99.84/ovirt-
> engine/api/v4/model#services/disk-attachments/methods/add',\n  reason: 
> 'Request
> syntactically incorrect.',\n  error: 'For correct usage, see:
> https://X.X.99.84/ovirt-engine/api/v4/model#services/
> disk-attachments/methods/add',\n
>
> *Reason*: I added an extra parameter called 'isSharable' which is not
> expected in this API.
>
>
> *So Is there a way to Ignore the extra parameters sent for oVirt API?*
>
> *Example :*
>
>
> *Expected :*
>
> *{*
> * "a"  : "1"*
>
> *}*
>
> *I sent :*
>
> *{*
> *  "a" : "1",*
> *  "b" : "2"*
> *}*
>
>
> *My expectation is, Ignore the "b" and the API should work, Is there a
> flag in oVirt API which ignores the extra parameters?  *
>
> Thanks,
> Hari
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XISQ3CETFK7VEXEW2I2IYGN22DAHTDIK/


[ovirt-users] Ignore extra parameters in oVirt API

2018-06-20 Thread Hari Prasanth Loganathan
Hi Team,

I want to attach the disk using the oVIrt rest API, I use the version* 4.2*
and completed my script.
But when I downgrade my oVirt to lower version *4.1*, I get the following
error.

detail: 'For correct usage, see:
https://X.X.99.84/ovirt-engine/api/v4/model#services/disk-attachments/methods/add',\n
reason: 'Request syntactically incorrect.',\n  error: 'For correct usage,
see:
https://X.X.99.84/ovirt-engine/api/v4/model#services/disk-attachments/methods/add
',\n

*Reason*: I added an extra parameter called 'isSharable' which is not
expected in this API.


*So Is there a way to Ignore the extra parameters sent for oVirt API?*

*Example :*


*Expected :*

*{*
* "a"  : "1"*

*}*

*I sent :*

*{*
*  "a" : "1",*
*  "b" : "2"*
*}*


*My expectation is, Ignore the "b" and the API should work, Is there a flag
in oVirt API which ignores the extra parameters?  *

Thanks,
Hari
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3KQOHNPY56WRYA7GPRCVEKIGOVDV66AM/


[ovirt-users] Re: Useless disk statistics API

2018-06-13 Thread Hari Prasanth Loganathan
Hi Yedidyah,

Could you check the following read with *vmstat* operation, check the
complete image.




On Wed, Jun 13, 2018 at 1:48 PM, Yedidyah Bar David  wrote:

> On Wed, Jun 13, 2018 at 10:43 AM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Yedidyah,
>>
>> I tried the read also, same result 0,
>>
>>
>>
>>
>>
> You keep reading virtual devices that read only from the kernel/memory...
> Please try reading from your disk. It's likely /dev/sda, or you can check
> using e.g. 'df /', 'lsblk', etc.
>
> And please check with vmstat/iostat that you see the reads. If you don't,
> try until you do. Only then check what oVirt has to say.
>
> Best regards,
>
>
>> On Wed, Jun 13, 2018 at 12:54 PM, Yedidyah Bar David 
>> wrote:
>>
>>> On Wed, Jun 13, 2018 at 9:53 AM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
>>>> Hi Yedidyah,
>>>>
>>>>
>>>> *I tried running the 'dd if=/dev/zero of=/root/hari/test' and I
>>>> received the following output in VM oVirt console and meanwhile I checked
>>>> this API
>>>> https://172.30.60.42/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e/statistics
>>>> <https://172.30.60.42/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e/statistics>
>>>> and the value is received as '0' always *
>>>>
>>>>
>>>> *where, *
>>>> * f78c8adf-23f9-4f52-a29b-0de3d844652e - disk ID attached to that VM*
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *Anything wrong?  *
>>>>
>>>
>>> You only wrote 300 MB, are you sure it was enough to cause an actual
>>> write (and not cached)?
>>>
>>> Did you check vmstat/iostat?
>>>
>>> Perhaps try reading instead of writing.
>>>
>>> dd if=/dev/somedev of=/dev/null
>>>
>>>
>>>>
>>>> *Thanks,*
>>>>
>>>> *Hari *
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Jun 13, 2018 at 11:56 AM, Yedidyah Bar David 
>>>> wrote:
>>>>
>>>>> On Wed, Jun 13, 2018 at 8:45 AM, Hari Prasanth Loganathan
>>>>>  wrote:
>>>>> > Hi Yedidyah,
>>>>> >
>>>>> > Thanks for your response. I also tried creating the file, writing
>>>>> some
>>>>> > content to the VM guest console. Still, I didn't see any increase in
>>>>> the
>>>>> > values, It is always 0.
>>>>>
>>>>> Not sure I understand. "Creating the file" - which one?
>>>>>
>>>>> Perhaps try something like:
>>>>>
>>>>> dd if=/dev/zero of=/root/myfile1
>>>>>
>>>>> In any case, please test that the OS sees your IO. Use e.g. vmstat,
>>>>> iostat
>>>>> or something like that. oVirt (and metrics) will only show what the OS
>>>>> reports - if you see there '0', that's what you should get in metrics.
>>>>>
>>>>> Best regards,
>>>>>
>>>>> >
>>>>> >
>>>>> >
>>>>> > On Wed, Jun 13, 2018 at 10:58 AM, Yedidyah Bar David <
>>>>> d...@redhat.com>
>>>>> > wrote:
>>>>> >>
>>>>> >> On Tue, Jun 12, 2018 at 1:24 PM, Hari Prasanth Loganathan
>>>>> >>  wrote:
>>>>> >> > Hi Team,
>>>>> >> >
>>>>> >> > I use the following API to get the disk statistics as per the
>>>>> oVirt rest
>>>>> >> > API
>>>>> >> > documentation.
>>>>> >> >
>>>>> >> >
>>>>> >> > http://ovirt.github.io/ovirt-engine-api-model/4.2/#types/dis
>>>>> k/links/statistics
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > https://172.30.X.X/ovirt-engine/api/disks/f78c8adf-23f9-4f52
>>>>> -a29b-0de3d844652e/statistics
>>>>> >> >
>>>>> >> >
>>>>> >> > {
>>>>> >> > "statistic": [
>>>>> >> > {
>>>>> &g

[ovirt-users] Re: Useless disk statistics API

2018-06-13 Thread Hari Prasanth Loganathan
Hi Yedidyah,

I tried the read also, same result 0,




On Wed, Jun 13, 2018 at 12:54 PM, Yedidyah Bar David 
wrote:

> On Wed, Jun 13, 2018 at 9:53 AM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Yedidyah,
>>
>>
>> *I tried running the 'dd if=/dev/zero of=/root/hari/test' and I received
>> the following output in VM oVirt console and meanwhile I checked this API
>> https://172.30.60.42/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e/statistics
>> <https://172.30.60.42/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e/statistics>
>> and the value is received as '0' always *
>>
>>
>> *where, *
>> * f78c8adf-23f9-4f52-a29b-0de3d844652e - disk ID attached to that VM*
>>
>>
>>
>>
>>
>> *Anything wrong?  *
>>
>
> You only wrote 300 MB, are you sure it was enough to cause an actual write
> (and not cached)?
>
> Did you check vmstat/iostat?
>
> Perhaps try reading instead of writing.
>
> dd if=/dev/somedev of=/dev/null
>
>
>>
>> *Thanks,*
>>
>> *Hari *
>>
>>
>>
>>
>>
>>
>> On Wed, Jun 13, 2018 at 11:56 AM, Yedidyah Bar David 
>> wrote:
>>
>>> On Wed, Jun 13, 2018 at 8:45 AM, Hari Prasanth Loganathan
>>>  wrote:
>>> > Hi Yedidyah,
>>> >
>>> > Thanks for your response. I also tried creating the file, writing some
>>> > content to the VM guest console. Still, I didn't see any increase in
>>> the
>>> > values, It is always 0.
>>>
>>> Not sure I understand. "Creating the file" - which one?
>>>
>>> Perhaps try something like:
>>>
>>> dd if=/dev/zero of=/root/myfile1
>>>
>>> In any case, please test that the OS sees your IO. Use e.g. vmstat,
>>> iostat
>>> or something like that. oVirt (and metrics) will only show what the OS
>>> reports - if you see there '0', that's what you should get in metrics.
>>>
>>> Best regards,
>>>
>>> >
>>> >
>>> >
>>> > On Wed, Jun 13, 2018 at 10:58 AM, Yedidyah Bar David 
>>> > wrote:
>>> >>
>>> >> On Tue, Jun 12, 2018 at 1:24 PM, Hari Prasanth Loganathan
>>> >>  wrote:
>>> >> > Hi Team,
>>> >> >
>>> >> > I use the following API to get the disk statistics as per the oVirt
>>> rest
>>> >> > API
>>> >> > documentation.
>>> >> >
>>> >> >
>>> >> > http://ovirt.github.io/ovirt-engine-api-model/4.2/#types/dis
>>> k/links/statistics
>>> >> >
>>> >> >
>>> >> >
>>> >> > https://172.30.X.X/ovirt-engine/api/disks/f78c8adf-23f9-4f52
>>> -a29b-0de3d844652e/statistics
>>> >> >
>>> >> >
>>> >> > {
>>> >> > "statistic": [
>>> >> > {
>>> >> > "kind": "gauge",
>>> >> > "type": "decimal",
>>> >> > "unit": "bytes_per_second",
>>> >> > "values": {
>>> >> > "value": [
>>> >> > {
>>> >> > "datum": 0
>>> >> > }
>>> >> > ]
>>> >> > },
>>> >> > "disk": {
>>> >> > "href": "/ovirt-engine/api/disks/f78c8
>>> adf-23f9-4f52-a29b-0de3d844652e",
>>> >> > "id": "f78c8adf-23f9-4f52-a29b-0de3d844652e"
>>> >> > },
>>> >> > "name": "data.current.read",
>>> >> > "description": "Read data rate",
>>> >> > "href":
>>> >> >
>>> >> > "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652
>>> e/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
>>> >> > "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
>>> >> > },
>>> >> > {
>>> >> > "kind": "gauge",
>>> >> > "type": "decimal",
>>> >> > "unit": "bytes_per_second",
>>> >> > "values": {
>>> >> > "value": [
>>> >> > {
>>> >

[ovirt-users] Re: Useless disk statistics API

2018-06-13 Thread Hari Prasanth Loganathan
Hi Yedidyah,


*I tried running the 'dd if=/dev/zero of=/root/hari/test' and I received
the following output in VM oVirt console and meanwhile I checked this API
https://172.30.60.42/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e/statistics
<https://172.30.60.42/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e/statistics>
and the value is received as '0' always *


*where, *
* f78c8adf-23f9-4f52-a29b-0de3d844652e - disk ID attached to that VM*





*Anything wrong?  *

*Thanks,*

*Hari *






On Wed, Jun 13, 2018 at 11:56 AM, Yedidyah Bar David 
wrote:

> On Wed, Jun 13, 2018 at 8:45 AM, Hari Prasanth Loganathan
>  wrote:
> > Hi Yedidyah,
> >
> > Thanks for your response. I also tried creating the file, writing some
> > content to the VM guest console. Still, I didn't see any increase in the
> > values, It is always 0.
>
> Not sure I understand. "Creating the file" - which one?
>
> Perhaps try something like:
>
> dd if=/dev/zero of=/root/myfile1
>
> In any case, please test that the OS sees your IO. Use e.g. vmstat, iostat
> or something like that. oVirt (and metrics) will only show what the OS
> reports - if you see there '0', that's what you should get in metrics.
>
> Best regards,
>
> >
> >
> >
> > On Wed, Jun 13, 2018 at 10:58 AM, Yedidyah Bar David 
> > wrote:
> >>
> >> On Tue, Jun 12, 2018 at 1:24 PM, Hari Prasanth Loganathan
> >>  wrote:
> >> > Hi Team,
> >> >
> >> > I use the following API to get the disk statistics as per the oVirt
> rest
> >> > API
> >> > documentation.
> >> >
> >> >
> >> > http://ovirt.github.io/ovirt-engine-api-model/4.2/#types/
> disk/links/statistics
> >> >
> >> >
> >> >
> >> > https://172.30.X.X/ovirt-engine/api/disks/f78c8adf-
> 23f9-4f52-a29b-0de3d844652e/statistics
> >> >
> >> >
> >> > {
> >> > "statistic": [
> >> > {
> >> > "kind": "gauge",
> >> > "type": "decimal",
> >> > "unit": "bytes_per_second",
> >> > "values": {
> >> > "value": [
> >> > {
> >> > "datum": 0
> >> > }
> >> > ]
> >> > },
> >> > "disk": {
> >> > "href": "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-
> 0de3d844652e",
> >> > "id": "f78c8adf-23f9-4f52-a29b-0de3d844652e"
> >> > },
> >> > "name": "data.current.read",
> >> > "description": "Read data rate",
> >> > "href":
> >> >
> >> > "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-
> 0de3d844652e/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
> >> > "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> >> > },
> >> > {
> >> > "kind": "gauge",
> >> > "type": "decimal",
> >> > "unit": "bytes_per_second",
> >> > "values": {
> >> > "value": [
> >> > {
> >> > "datum": 0
> >> > }
> >> > ]
> >> > },
> >> > "disk": {
> >> > "href": "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-
> 0de3d844652e",
> >> > "id": "f78c8adf-23f9-4f52-a29b-0de3d844652e"
> >> > },
> >> > "name": "data.current.write",
> >> > "description": "Write data rate",
> >> > "href":
> >> >
> >> > "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-
> 0de3d844652e/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
> >> > "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> >> > }
> >> > ]
> >> > }
> >> >
> >> >
> >> > Unfortunately, the values are always coming as '0'.
> >> >
> >> > Steps to reproduce :
> >> >
> >> > 1) I logged into the VM console and run the following command to copy
> >> > the
> >> > file and I see the write rate is 300mb/sec
> >> >
> >> > dd if=/dev/zero of=/dev/null
> >>
> >> This command does not access the disk. Perhaps try to read or write to
> >> one, then check stats.
> >>
> >> Best regards,
> >>
> >> >
> >> > 2) During this time, I am trying to execute this API and receiving as
> 0
> >> > always.
> >> >
> >> > Is this API useless?
> >> >
> >> > Thanks,
> >> > Hari
> >> >
> >> > ___
> >> > Users mailing list -- users@ovirt.org
> >> > To unsubscribe send an email to users-le...@ovirt.org
> >> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> >> > oVirt Code of Conduct:
> >> > https://www.ovirt.org/community/about/community-guidelines/
> >> > List Archives:
> >> >
> >> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/
> 7TGIUQ2REOMSTJBGD3OPY5RE2KOSSFWM/
> >> >
> >>
> >>
> >>
> >> --
> >> Didi
> >
> >
>
>
>
> --
> Didi
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KK2UW7NYYGGS5LYBESLPYSTM2QYVMUOP/


[ovirt-users] Re: Useless disk statistics API

2018-06-12 Thread Hari Prasanth Loganathan
Hi Yedidyah,

Thanks for your response. I also tried creating the file, writing some
content to the VM guest console. Still, I didn't see any increase in the
values, It is always 0.



On Wed, Jun 13, 2018 at 10:58 AM, Yedidyah Bar David 
wrote:

> On Tue, Jun 12, 2018 at 1:24 PM, Hari Prasanth Loganathan
>  wrote:
> > Hi Team,
> >
> > I use the following API to get the disk statistics as per the oVirt rest
> API
> > documentation.
> >
> > http://ovirt.github.io/ovirt-engine-api-model/4.2/#types/
> disk/links/statistics
> >
> >
> > https://172.30.X.X/ovirt-engine/api/disks/f78c8adf-
> 23f9-4f52-a29b-0de3d844652e/statistics
> >
> >
> > {
> > "statistic": [
> > {
> > "kind": "gauge",
> > "type": "decimal",
> > "unit": "bytes_per_second",
> > "values": {
> > "value": [
> > {
> > "datum": 0
> > }
> > ]
> > },
> > "disk": {
> > "href": "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e",
> > "id": "f78c8adf-23f9-4f52-a29b-0de3d844652e"
> > },
> > "name": "data.current.read",
> > "description": "Read data rate",
> > "href":
> > "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-
> 0de3d844652e/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
> > "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> > },
> > {
> > "kind": "gauge",
> > "type": "decimal",
> > "unit": "bytes_per_second",
> > "values": {
> > "value": [
> > {
> > "datum": 0
> > }
> > ]
> > },
> > "disk": {
> > "href": "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e",
> > "id": "f78c8adf-23f9-4f52-a29b-0de3d844652e"
> > },
> > "name": "data.current.write",
> > "description": "Write data rate",
> > "href":
> > "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-
> 0de3d844652e/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
> > "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> > }
> > ]
> > }
> >
> >
> > Unfortunately, the values are always coming as '0'.
> >
> > Steps to reproduce :
> >
> > 1) I logged into the VM console and run the following command to copy the
> > file and I see the write rate is 300mb/sec
> >
> > dd if=/dev/zero of=/dev/null
>
> This command does not access the disk. Perhaps try to read or write to
> one, then check stats.
>
> Best regards,
>
> >
> > 2) During this time, I am trying to execute this API and receiving as 0
> > always.
> >
> > Is this API useless?
> >
> > Thanks,
> > Hari
> >
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > oVirt Code of Conduct:
> > https://www.ovirt.org/community/about/community-guidelines/
> > List Archives:
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/
> 7TGIUQ2REOMSTJBGD3OPY5RE2KOSSFWM/
> >
>
>
>
> --
> Didi
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZEOZMMCJR36OERIDL6ARZFNF47LHIENN/


[ovirt-users] Useless disk statistics API

2018-06-12 Thread Hari Prasanth Loganathan
Hi Team,

I use the following API to get the disk statistics as per the oVirt rest
API documentation.

http://ovirt.github.io/ovirt-engine-api-model/4.2/#types/disk/links/statistics


https://172.30.X.X/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e/statistics


{
"statistic": [
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 0
}
]
},
"disk": {
"href": "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e",
"id": "f78c8adf-23f9-4f52-a29b-0de3d844652e"
},
"name": "data.current.read",
"description": "Read data rate",
"href":
"/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
"id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 0
}
]
},
"disk": {
"href": "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e",
"id": "f78c8adf-23f9-4f52-a29b-0de3d844652e"
},
"name": "data.current.write",
"description": "Write data rate",
"href":
"/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652e/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
"id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
}
]
}


Unfortunately, the values are always coming as '0'.

*Steps to reproduce :*

1) I logged into the VM console and run the following command to copy the
file and I see the write rate is 300mb/sec

dd if=/dev/zero of=/dev/null

2) During this time, I am trying to execute this API and receiving as 0
always.

Is this API useless?

Thanks,
Hari
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7TGIUQ2REOMSTJBGD3OPY5RE2KOSSFWM/


[ovirt-users] Latency and Bandwidth for Disk level statistics

2018-06-11 Thread Hari Prasanth Loganathan
Hi Team,

I have created a VM using oVirt, which is in UP state now.

1) I opened the guest console using oVirt
2) I want to get the statistics for disk so I tried to create and write
some content in the file (say test.txt) in loop to increase the latency and
bandwidth in disk.
3) I observed that CPU in VM statistics is increased to 100 % (This is a
good news since I expected this also)
But when I looked into the disk level statistics using the following
API, I observe the data value as '0' always.

https://172.30.X.X/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287/statistics/


{
"statistic": [
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 0
}
]
},
"disk": {
"href":
"/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287",
"id": "3bc267c0-a797-4e98-8ae9-217671649287"
},
"name": "data.current.read",
"description": "Read data rate",
"href":
"/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
"id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 0
}
]
},
"disk": {
"href":
"/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287",
"id": "3bc267c0-a797-4e98-8ae9-217671649287"
},
"name": "data.current.write",
"description": "Write data rate",
"href":
"/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
"id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
}
]
}





*How can I increase the disk statistics using the VM Guest console?*

*Any help is much appreciated.*

Thanks,
Hari
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VNTDNEQDI3AJS763COFHLC3CQ6W4ING2/


[ovirt-users] Re: oVirt web console for VM

2018-06-08 Thread Hari Prasanth Loganathan
It worked, Thank you so much.

On Fri, Jun 8, 2018 at 3:27 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Could you help me How can I make the web browser to make use of
> virt-viewer? Could you guide me in this?
>
> On Fri, Jun 8, 2018 at 3:25 PM, Tony Brian Albers  wrote:
>
>> yeah, you need to get your webbroswer to use the program virt-viewer to
>> open the file instead of saving it.
>>
>> /tony
>>
>> On 08/06/18 11:42, Hari Prasanth Loganathan wrote:
>> > Hi Tony,
>> >
>> > I get the following error when I run this /virt-viewer console.vv/
>> >
>> > *Unable to connect to libvirt with URI [none] *
>> >
>> >
>> > Thanks,
>> > Hari
>> >
>> >
>> > On Fri, Jun 8, 2018 at 2:48 PM, Tony Brian Albers > > <mailto:t...@kb.dk>> wrote:
>> >
>> > On linux you shoudl use virt-viewer to open the .vv file. I have no
>> > idea
>> > how to do it on mac or windows
>> >
>> > /tony
>> >
>> > On 08/06/18 11:05, Hari Prasanth Loganathan wrote:
>> > > Thanks for the respinse Pavol.
>> > >
>> > > When I click on console, It is downloading the file console.vv,
>> But not
>> > > opening a console for it.
>> > > Am I missing something here.
>> > >
>> > > Thanks,
>> > > Hari
>> > >
>> >
>> > --
>> > Tony Albers
>> > Systems administrator, IT-development
>> > Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
>> > Tel: +45 2566 2383 / +45 8946 2316
>> > ___
>> > Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
>> > To unsubscribe send an email to users-le...@ovirt.org
>> > <mailto:users-le...@ovirt.org>
>> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> > <https://www.ovirt.org/site/privacy-policy/>
>> > oVirt Code of Conduct:
>> > https://www.ovirt.org/community/about/community-guidelines/
>> > <https://www.ovirt.org/community/about/community-guidelines/>
>> > List Archives:
>> > https://lists.ovirt.org/archives/list/users@ovirt.org/messa
>> ge/MNTXIXGKD777NKAZGGSQ3JBNNKOLXNMJ/
>> > <https://lists.ovirt.org/archives/list/users@ovirt.org/mess
>> age/MNTXIXGKD777NKAZGGSQ3JBNNKOLXNMJ/>
>> >
>> >
>>
>>
>> --
>> Tony Albers
>> Systems administrator, IT-development
>> Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
>> Tel: +45 2566 2383 / +45 8946 2316
>>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WGRDQ2JLSZIC6P5UBGMCQ4PFGYTGTZWQ/


[ovirt-users] Re: oVirt web console for VM

2018-06-08 Thread Hari Prasanth Loganathan
Could you help me How can I make the web browser to make use of
virt-viewer? Could you guide me in this?

On Fri, Jun 8, 2018 at 3:25 PM, Tony Brian Albers  wrote:

> yeah, you need to get your webbroswer to use the program virt-viewer to
> open the file instead of saving it.
>
> /tony
>
> On 08/06/18 11:42, Hari Prasanth Loganathan wrote:
> > Hi Tony,
> >
> > I get the following error when I run this /virt-viewer console.vv/
> >
> > *Unable to connect to libvirt with URI [none] *
> >
> >
> > Thanks,
> > Hari
> >
> >
> > On Fri, Jun 8, 2018 at 2:48 PM, Tony Brian Albers  > <mailto:t...@kb.dk>> wrote:
> >
> > On linux you shoudl use virt-viewer to open the .vv file. I have no
> >     idea
> > how to do it on mac or windows
> >
> > /tony
> >
> > On 08/06/18 11:05, Hari Prasanth Loganathan wrote:
> > > Thanks for the respinse Pavol.
> > >
> > > When I click on console, It is downloading the file console.vv,
> But not
> > > opening a console for it.
> > > Am I missing something here.
> > >
> > > Thanks,
> > > Hari
> > >
> >
> > --
> > Tony Albers
> > Systems administrator, IT-development
> > Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
> > Tel: +45 2566 2383 / +45 8946 2316
> > ___
> > Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> > To unsubscribe send an email to users-le...@ovirt.org
> > <mailto:users-le...@ovirt.org>
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > <https://www.ovirt.org/site/privacy-policy/>
> > oVirt Code of Conduct:
> > https://www.ovirt.org/community/about/community-guidelines/
> > <https://www.ovirt.org/community/about/community-guidelines/>
> > List Archives:
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/
> MNTXIXGKD777NKAZGGSQ3JBNNKOLXNMJ/
> > <https://lists.ovirt.org/archives/list/users@ovirt.org/message/
> MNTXIXGKD777NKAZGGSQ3JBNNKOLXNMJ/>
> >
> >
>
>
> --
> Tony Albers
> Systems administrator, IT-development
> Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
> Tel: +45 2566 2383 / +45 8946 2316
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CD5NZCEYN6MGOZFPFNJ6IMWERO3BC667/


[ovirt-users] Re: oVirt web console for VM

2018-06-08 Thread Hari Prasanth Loganathan
Hi Tony,

I get the following error when I run this *virt-viewer console.vv*

*Unable to connect to libvirt with URI [none] *


Thanks,
Hari


On Fri, Jun 8, 2018 at 2:48 PM, Tony Brian Albers  wrote:

> On linux you shoudl use virt-viewer to open the .vv file. I have no idea
> how to do it on mac or windows
>
> /tony
>
> On 08/06/18 11:05, Hari Prasanth Loganathan wrote:
> > Thanks for the respinse Pavol.
> >
> > When I click on console, It is downloading the file console.vv, But not
> > opening a console for it.
> > Am I missing something here.
> >
> > Thanks,
> > Hari
> >
>
> --
> Tony Albers
> Systems administrator, IT-development
> Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
> Tel: +45 2566 2383 / +45 8946 2316
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/MNTXIXGKD777NKAZGGSQ3JBNNKOLXNMJ/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UC4J76TN4AOPMFEC4C5K6EUZQN7AN2O5/


[ovirt-users] Re: oVirt web console for VM

2018-06-08 Thread Hari Prasanth Loganathan
Thanks for the respinse Pavol.

When I click on console, It is downloading the file console.vv, But not
opening a console for it.
Am I missing something here.

Thanks,
Hari

On Fri, Jun 8, 2018 at 1:05 PM, Pavol Brilla  wrote:

> Hi
>
> I hope I am not missing anything between lines in your request:
>
>  - you connect to oVirt engine through GUI
>  - go to Virtual Machines View
>  - highlight you VM
>  - in right top corner you should see top vertical menu for VM
>  - click on Console button to open guest console
>
> That's it
>
> If I misunderstood, I am sorry and please clarify
>
> On Thu, Jun 7, 2018 at 1:34 PM, Hari Prasanth Loganathan  msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I am able to
>>
>> 1) Create a VM
>> 2) Create and Attach DISK and NIC
>> 3) I powered on the VM but I am yet to provide the network configuration
>> for it. So there is no IP assigned, It is in Green color with UP arrow.
>>
>> Now I need to connect to this virtual machine and login using Guest
>> console, I saw a documentation : https://www.ovirt.org/document
>> ation/how-to/guest-console/connect-to-guest-display/
>> But it is not clear.
>>
>>
>> *Use Case needed : *
>>
>> 1) oVirt is running in centOS say running in 172.1.1.1
>> 2) I have a Ubuntu machine say 192.2.2.2, I used the Firefox browser to
>> login to oVirt engine (172.1.1.1)
>> 3) Since my VM is powered ON, I need to use the console to login from my
>> browser.
>>
>>
>> Please let me know the steps. If you need anymore information, please let
>> me know.
>>
>> Thanks,
>> Hari
>>
>>
>>
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: https://www.ovirt.org/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/VYVFQHHUWW4CJRCYB4FHXKUVWVXXFIKX/
>>
>>
>
>
> --
>
> PAVOL BRILLA
>
> RHV QUALITY ENGINEER, CLOUD
>
> Red Hat Czech Republic, Brno <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MKKYYWARUHXALMZABORVV6IUGA56JLU4/


[ovirt-users] oVirt web console for VM

2018-06-07 Thread Hari Prasanth Loganathan
Hi Team,

I am able to

1) Create a VM
2) Create and Attach DISK and NIC
3) I powered on the VM but I am yet to provide the network configuration
for it. So there is no IP assigned, It is in Green color with UP arrow.

Now I need to connect to this virtual machine and login using Guest
console, I saw a documentation :
https://www.ovirt.org/documentation/how-to/guest-console/connect-to-guest-display/

But it is not clear.


*Use Case needed : *

1) oVirt is running in centOS say running in 172.1.1.1
2) I have a Ubuntu machine say 192.2.2.2, I used the Firefox browser to
login to oVirt engine (172.1.1.1)
3) Since my VM is powered ON, I need to use the console to login from my
browser.


Please let me know the steps. If you need anymore information, please let
me know.

Thanks,
Hari
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VYVFQHHUWW4CJRCYB4FHXKUVWVXXFIKX/


Re: [ovirt-users] Ovirt Code Build Error

2018-04-26 Thread Hari Prasanth Loganathan
:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.

Please refer to
/home/hari/ovirtcode/ovirt-engine-master/backend/manager/modules/utils/target/surefire-reports
for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.
at
org.apache.maven.plugin.surefire.SurefireHelper.throwException(SurefireHelper.java:240)
at
org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:112)
at
org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:354)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1008)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:854)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more


On Thu, Apr 26, 2018 at 2:57 PM, Roy Golan <rgo...@redhat.com> wrote:

> what's the exact test failure?
>
> On Thu, 26 Apr 2018 at 12:12 Hari Prasanth Loganathan <hariprasanth.l@
> msystechnologies.com> wrote:
>
>> If I remove the skip=true,
>>
>> [INFO] Common Code  SUCCESS [
>> 19.206 s]
>> [INFO] Common utilities ... FAILURE [
>> 24.306 s]
>> [INFO] Branding package ... SKIPPED
>> [INFO] ovirt-engine sso ... SKIPPED
>> [INFO] Data Access Layer .. SKIPPED
>>
>> [INFO] engine scheduler bean .. SKIPPED
>> [INFO] Vds broker . SKIPPED
>> [INFO] builtin-extensions . SKIPPED
>> [INFO] Search Backend . SKIPPED
>> [INFO] Backend Authentication, Authorization and Accounting SKIPPED
>> [INFO] Custom Application Server Authentication Plugin  SKIPPED
>> [INFO] Backend Logic @Service bean  SKIPPED
>> [INFO] oVirt RESTful API Backend Integration .. SKIPPED
>> [INFO] oVirt RESTful API interface  SKIPPED
>> [INFO] oVirt Engine API Definition  SKIPPED
>> [INFO] oVirt Engine API Commom Parent POM . SKIPPED
>> [INFO] oVirt Engine API Common JAX-RS . SKIPPED
>> [INFO] oVirt RESTful API Backend Integration Type Mappers . SKIPPED
>> [INFO] oVirt RESTful API Backend Integration JAX-RS Resources SKIPPED
>> [INFO] oVirt RESTful API Backend Integration Webapp ... SKIPPED
>> [INFO] oVirt RESTful API Documentation  SKIPPED
>> [INFO] Custom Logger Using Extensions . SKIPPED
>> [INFO] oVirt Engine Web Root .. SKIPPED
>> [INFO] ovirt-engine services .. SKIPPED
>> [INFO] ovirt-engine docs .. SKIPPED
>> [INFO] ovirt-engine welcome ... SKIPPED
>> [INFO] oVirt Engine Microbenchmarks ... SKIPPED
>> [INFO] oVirt Engine Tools . SKIPPED
>> [INFO] oVirt Engine extensions tool ... SKIPPED
>> [INFO] oVirt Engine sso client registration tool .. SKIPPED
>> [INFO] oVirt Modules :: Frontend .. SKIPPED
>> [INFO] oVirt Modules :: Brands  SKIPPE

[ovirt-users] Virtual Machine Storage Size

2018-04-26 Thread Hari Prasanth Loganathan
Hi Team,

How to get the total and used storage size of a VM? When I run statistics
Rest URL I get the following response, Which is the Total and Used storage
in it?

{
"next_run_configuration_exists": "false",
"numa_tune_mode": "interleave",
"status": "down",
"stop_time": 1524728637295,
"original_template": {
"href":
"/ovirt-engine/api/templates/----",
"id": "----"
},
"statistics": {
"statistic": [
{
"kind": "gauge",
"type": "integer",
"unit": "bytes",
"values": {
"value": [
{
"datum": 1073741824
}
]
},
"vm": {
"href":
"/ovirt-engine/api/vms/b89deb8c-882c-47a4-9911-b4978cddcded",
"id": "b89deb8c-882c-47a4-9911-b4978cddcded"
},
"name": "memory.installed",
"description": "Total memory configured",
"href":
"/ovirt-engine/api/vms/b89deb8c-882c-47a4-9911-b4978cddcded/statistics/5a89a1d2-32be-33f7-a0d1-f8b5bc974ff6",
"id": "5a89a1d2-32be-33f7-a0d1-f8b5bc974ff6"
},
{
"kind": "gauge",
"type": "integer",
"unit": "bytes",
"values": {
"value": [
{
"datum": 0
}
]
},
"vm": {
"href":
"/ovirt-engine/api/vms/b89deb8c-882c-47a4-9911-b4978cddcded",
"id": "b89deb8c-882c-47a4-9911-b4978cddcded"
},
"name": "memory.used",
"description": "Memory used (agent)",
"href":
"/ovirt-engine/api/vms/b89deb8c-882c-47a4-9911-b4978cddcded/statistics/b7499508-c1c3-32f0-8174-c1783e57bb08",
"id": "b7499508-c1c3-32f0-8174-c1783e57bb08"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "percent",
"values": {
"value": [
{
"datum": 0
}
]
},
"vm": {
"href":
"/ovirt-engine/api/vms/b89deb8c-882c-47a4-9911-b4978cddcded",
"id": "b89deb8c-882c-47a4-9911-b4978cddcded"
},
"name": "cpu.current.guest",
"description": "CPU used by guest",
"href":
"/ovirt-engine/api/vms/b89deb8c-882c-47a4-9911-b4978cddcded/statistics/ef802239-b74a-329f-9955-be8fea6b50a4",
"id": "ef802239-b74a-329f-9955-be8fea6b50a4"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "percent",
"values": {
"value": [
{
"datum": 0
}
]
},
"vm": {
"href":
"/ovirt-engine/api/vms/b89deb8c-882c-47a4-9911-b4978cddcded",
"id": "b89deb8c-882c-47a4-9911-b4978cddcded"
},
"name": "cpu.current.hypervisor",
"description": "CPU overhead",
"href":
"/ovirt-engine/api/vms/b89deb8c-882c-47a4-9911-b4978cddcded/statistics/d849a55f-0049-36f8-ae65-face541473ac",
"id": "d849a55f-0049-36f8-ae65-face541473ac"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "percent",
"values": {
"value": [
{
"datum": 0
}
]
},
"vm": {
"href":

Re: [ovirt-users] Ovirt Code Build Error

2018-04-26 Thread Hari Prasanth Loganathan
If I remove the skip=true,

[INFO] Common Code  SUCCESS [
19.206 s]
[INFO] Common utilities ... FAILURE [
24.306 s]
[INFO] Branding package ... SKIPPED
[INFO] ovirt-engine sso ... SKIPPED
[INFO] Data Access Layer .. SKIPPED
[INFO] engine scheduler bean .. SKIPPED
[INFO] Vds broker . SKIPPED
[INFO] builtin-extensions . SKIPPED
[INFO] Search Backend . SKIPPED
[INFO] Backend Authentication, Authorization and Accounting SKIPPED
[INFO] Custom Application Server Authentication Plugin  SKIPPED
[INFO] Backend Logic @Service bean  SKIPPED
[INFO] oVirt RESTful API Backend Integration .. SKIPPED
[INFO] oVirt RESTful API interface  SKIPPED
[INFO] oVirt Engine API Definition  SKIPPED
[INFO] oVirt Engine API Commom Parent POM . SKIPPED
[INFO] oVirt Engine API Common JAX-RS . SKIPPED
[INFO] oVirt RESTful API Backend Integration Type Mappers . SKIPPED
[INFO] oVirt RESTful API Backend Integration JAX-RS Resources SKIPPED
[INFO] oVirt RESTful API Backend Integration Webapp ... SKIPPED
[INFO] oVirt RESTful API Documentation  SKIPPED
[INFO] Custom Logger Using Extensions . SKIPPED
[INFO] oVirt Engine Web Root .. SKIPPED
[INFO] ovirt-engine services .. SKIPPED
[INFO] ovirt-engine docs .. SKIPPED
[INFO] ovirt-engine welcome ... SKIPPED
[INFO] oVirt Engine Microbenchmarks ... SKIPPED
[INFO] oVirt Engine Tools . SKIPPED
[INFO] oVirt Engine extensions tool ... SKIPPED
[INFO] oVirt Engine sso client registration tool .. SKIPPED
[INFO] oVirt Modules :: Frontend .. SKIPPED
[INFO] oVirt Modules :: Brands  SKIPPED
[INFO] oVirt Engine brand . SKIPPED
[INFO] oVirt Modules :: Webadmin .. SKIPPED
[INFO] oVirt UI Modules ... SKIPPED
[INFO] AOP tweaks for GWT compiler  SKIPPED
[INFO] Extensions for GWT . SKIPPED
[INFO] UI Utils Compatibility (for UICommon) .. SKIPPED
[INFO] Frontend for GWT UI Projects ... SKIPPED
[INFO] UICommonWeb  SKIPPED
[INFO] oVirt GWT UI common infrastructure . SKIPPED
[INFO] Frontend Assembly Descriptors .. SKIPPED
[INFO] WebAdmin ... SKIPPED
[INFO] oVirt Server EAR ... SKIPPED
[INFO] ovirt-engine maven make  SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 01:21 min
[INFO] Finished at: 2018-04-26T14:41:33+05:30
[INFO] Final Memory: 153M/1574M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test)
on project utils: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/hari/ovirtcode/ovirt-engine-master/backend/manager/modules/utils/target/surefire-reports
for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.


I get this error.

On Thu, Apr 26, 2018 at 2:15 PM, Roy Golan <rgo...@redhat.com> wrote:

>
>
> On Thu, 26 Apr 2018 at 10:55 Hari Prasanth Loganathan <hariprasanth.l@
> msystechnologies.com> wrote:
>
>> I am using mvn clean install -Dmaven.test.skip=true and I end up with
>> that error.
>>
>> I think that is the problem sense we require the test jar of utils
> according to this error org.ovirt.engine.core:utils:jar:tests:4.3.0-SNAPSHOT
>
>
> so just remove the skip=true for now
>
>
>> On Thu, Apr 26, 2018 at 1:24 PM, Roy Golan <rgo...@redhat.com> wrote:
>>
>>> what's you maven command? or make?
>>>
>>> If you didn't already just try 'mvn clean install'
>>>
>>> On Thu, 26 Apr 2018 at 10:29 Hari Prasanth Loganathan <hariprasanth.l@
>>> msystechnologies.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I try to build the oVirt code and I get the following error,
>>>>
&g

Re: [ovirt-users] Ovirt Code Build Error

2018-04-26 Thread Hari Prasanth Loganathan
I am using mvn clean install -Dmaven.test.skip=true and I end up with that
error.

On Thu, Apr 26, 2018 at 1:24 PM, Roy Golan <rgo...@redhat.com> wrote:

> what's you maven command? or make?
>
> If you didn't already just try 'mvn clean install'
>
> On Thu, 26 Apr 2018 at 10:29 Hari Prasanth Loganathan <hariprasanth.l@
> msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I try to build the oVirt code and I get the following error,
>>
>> [INFO] Common utilities ... SUCCESS [
>> 8.089 s]
>> [INFO] Branding package ... SUCCESS [
>> 1.849 s]
>> [INFO] ovirt-engine sso ... SUCCESS [
>> 3.281 s]
>> [INFO] Data Access Layer .. FAILURE [
>> 3.532 s]
>> [INFO] engine scheduler bean .. SKIPPED
>> [INFO] Vds broker . SKIPPED
>> [INFO] builtin-extensions . SKIPPED
>> [INFO] Search Backend . SKIPPED
>> [INFO] Backend Authentication, Authorization and Accounting SKIPPED
>> [INFO] Custom Application Server Authentication Plugin  SKIPPED
>> [INFO] Backend Logic @Service bean  SKIPPED
>> [INFO] oVirt RESTful API Backend Integration .. SKIPPED
>> [INFO] oVirt RESTful API interface  SKIPPED
>> [INFO] oVirt Engine API Definition  SKIPPED
>> [INFO] oVirt Engine API Commom Parent POM . SKIPPED
>> [INFO] oVirt Engine API Common JAX-RS . SKIPPED
>> [INFO] oVirt RESTful API Backend Integration Type Mappers . SKIPPED
>> [INFO] oVirt RESTful API Backend Integration JAX-RS Resources SKIPPED
>> [INFO] oVirt RESTful API Backend Integration Webapp ... SKIPPED
>> [INFO] oVirt RESTful API Documentation  SKIPPED
>> [INFO] Custom Logger Using Extensions . SKIPPED
>> [INFO] oVirt Engine Web Root .. SKIPPED
>> [INFO] ovirt-engine services .. SKIPPED
>> [INFO] ovirt-engine docs .. SKIPPED
>> [INFO] ovirt-engine welcome ... SKIPPED
>> [INFO] oVirt Engine Microbenchmarks ... SKIPPED
>> [INFO] oVirt Engine Tools . SKIPPED
>> [INFO] oVirt Engine extensions tool ... SKIPPED
>> [INFO] oVirt Engine sso client registration tool .. SKIPPED
>> [INFO] oVirt Modules :: Frontend .. SKIPPED
>> [INFO] oVirt Modules :: Brands  SKIPPED
>> [INFO] oVirt Engine brand . SKIPPED
>> [INFO] oVirt Modules :: Webadmin .. SKIPPED
>> [INFO] oVirt UI Modules ... SKIPPED
>> [INFO] AOP tweaks for GWT compiler  SKIPPED
>> [INFO] Extensions for GWT . SKIPPED
>> [INFO] UI Utils Compatibility (for UICommon) .. SKIPPED
>> [INFO] Frontend for GWT UI Projects ... SKIPPED
>> [INFO] UICommonWeb  SKIPPED
>> [INFO] oVirt GWT UI common infrastructure . SKIPPED
>> [INFO] Frontend Assembly Descriptors .. SKIPPED
>> [INFO] WebAdmin ... SKIPPED
>> [INFO] oVirt Server EAR ... SKIPPED
>> [INFO] ovirt-engine maven make  SKIPPED
>> [INFO] 
>> 
>> [INFO] BUILD FAILURE
>> [INFO] 
>> 
>> [INFO] Total time: 01:06 min
>> [INFO] Finished at: 2018-04-26T12:29:15+05:30
>> [INFO] Final Memory: 135M/1574M
>> [INFO] 
>> 
>> [ERROR] Failed to execute goal on project dal: Could not resolve
>> dependencies for project org.ovirt.engine.core:dal:jar:4.3.0-SNAPSHOT:
>> Could not find artifact org.ovirt.engine.core:utils:jar:tests:4.3.0-SNAPSHOT
>> in sonatype-snapshots (http://oss.sonatype.org/content/repositories/
>> snapshots/) -> [Help 1]
>>
>>
>> I didn't make any change, Could somebody help me in building this please?
>>
>> Thanks,
>> Hari
>>
>> ___
>> 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] Ovirt Code Build Error

2018-04-26 Thread Hari Prasanth Loganathan
Hi Team,

I try to build the oVirt code and I get the following error,

[INFO] Common utilities ... SUCCESS [
8.089 s]
[INFO] Branding package ... SUCCESS [
1.849 s]
[INFO] ovirt-engine sso ... SUCCESS [
3.281 s]
[INFO] Data Access Layer .. FAILURE [
3.532 s]
[INFO] engine scheduler bean .. SKIPPED
[INFO] Vds broker . SKIPPED
[INFO] builtin-extensions . SKIPPED
[INFO] Search Backend . SKIPPED
[INFO] Backend Authentication, Authorization and Accounting SKIPPED
[INFO] Custom Application Server Authentication Plugin  SKIPPED
[INFO] Backend Logic @Service bean  SKIPPED
[INFO] oVirt RESTful API Backend Integration .. SKIPPED
[INFO] oVirt RESTful API interface  SKIPPED
[INFO] oVirt Engine API Definition  SKIPPED
[INFO] oVirt Engine API Commom Parent POM . SKIPPED
[INFO] oVirt Engine API Common JAX-RS . SKIPPED
[INFO] oVirt RESTful API Backend Integration Type Mappers . SKIPPED
[INFO] oVirt RESTful API Backend Integration JAX-RS Resources SKIPPED
[INFO] oVirt RESTful API Backend Integration Webapp ... SKIPPED
[INFO] oVirt RESTful API Documentation  SKIPPED
[INFO] Custom Logger Using Extensions . SKIPPED
[INFO] oVirt Engine Web Root .. SKIPPED
[INFO] ovirt-engine services .. SKIPPED
[INFO] ovirt-engine docs .. SKIPPED
[INFO] ovirt-engine welcome ... SKIPPED
[INFO] oVirt Engine Microbenchmarks ... SKIPPED
[INFO] oVirt Engine Tools . SKIPPED
[INFO] oVirt Engine extensions tool ... SKIPPED
[INFO] oVirt Engine sso client registration tool .. SKIPPED
[INFO] oVirt Modules :: Frontend .. SKIPPED
[INFO] oVirt Modules :: Brands  SKIPPED
[INFO] oVirt Engine brand . SKIPPED
[INFO] oVirt Modules :: Webadmin .. SKIPPED
[INFO] oVirt UI Modules ... SKIPPED
[INFO] AOP tweaks for GWT compiler  SKIPPED
[INFO] Extensions for GWT . SKIPPED
[INFO] UI Utils Compatibility (for UICommon) .. SKIPPED
[INFO] Frontend for GWT UI Projects ... SKIPPED
[INFO] UICommonWeb  SKIPPED
[INFO] oVirt GWT UI common infrastructure . SKIPPED
[INFO] Frontend Assembly Descriptors .. SKIPPED
[INFO] WebAdmin ... SKIPPED
[INFO] oVirt Server EAR ... SKIPPED
[INFO] ovirt-engine maven make  SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 01:06 min
[INFO] Finished at: 2018-04-26T12:29:15+05:30
[INFO] Final Memory: 135M/1574M
[INFO]

[ERROR] Failed to execute goal on project dal: Could not resolve
dependencies for project org.ovirt.engine.core:dal:jar:4.3.0-SNAPSHOT:
Could not find artifact
org.ovirt.engine.core:utils:jar:tests:4.3.0-SNAPSHOT in sonatype-snapshots (
http://oss.sonatype.org/content/repositories/snapshots/) -> [Help 1]


I didn't make any change, Could somebody help me in building this please?

Thanks,
Hari
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Postgresql tables

2018-04-20 Thread Hari Prasanth Loganathan
Thanks Much. You solved all my problems.

On Fri, Apr 20, 2018 at 11:52 AM, Peter Hudec <phu...@cnc.sk> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Yes, it does, but you have to use follow=statistics on disks endpoint,
> see See
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#documents/003_common_
> concepts/follow
>
>
> For all disks
> https://dipovirt-engine02.cnc.sk/ovirt-engine/api/disks?follow=statistic
> s
>
> For all disks of one VMS
> https://dipovirt-engine02.cnc.sk/ovirt-engine/api/vms/963d7540-619c-437d
> - -978a-86e550e5e571?follow=disk_attachments.disk.statistics
>
>
>
> Peter
>
> On 20/04/2018 08:14, Hari Prasanth Loganathan wrote:
> > Ovirt API doesn't provide the API to get all the disk statistics
> > at once. We need to hit for each Disk. It is an overhead.
> >
> >
> >
> > On Fri, Apr 20, 2018 at 11:43 AM, Yaniv Kaul <yk...@redhat.com
> > <mailto:yk...@redhat.com>> wrote:
> >
> > May I ask what are you trying to achieve? Why not use the oVirt
> > REST API? Y.
> >
> >
> > On Fri, Apr 20, 2018, 8:57 AM Hari Prasanth Loganathan
> > <hariprasant...@msystechnologies.com
> > <mailto:hariprasant...@msystechnologies.com>> wrote:
> >
> > How frequently is the 'disk_all table' is updated with new
> > statistics?
> >
> > On Fri, Apr 20, 2018 at 11:15 AM, Hari Prasanth Loganathan
> > <hariprasant...@msystechnologies.com
> > <mailto:hariprasant...@msystechnologies.com>> wrote:
> >
> > How is the disk id mapped to this table : disk_image_dynamic
> > table?
> >
> > If I need statistics of all the disk, How can I get it?
> >
> > On Thu, Apr 19, 2018 at 10:15 PM, Benny Zlotnik
> > <bzlot...@redhat.com <mailto:bzlot...@redhat.com>> wrote:
> >
> > It is in the disk_image_dynamic table
> >
> > On Thu, Apr 19, 2018 at 3:36 PM, Hari Prasanth Loganathan
> > <hariprasant...@msystechnologies.com
> > <mailto:hariprasant...@msystechnologies.com>> wrote:
> >
> > Hi Team,
> >
> > I am trying to get the disk level statistics using oVirt with the
> > following API,
> >
> > /ovirt-engine/api/disks/{unique_disk_id}/statistics/
> >
> > *and I get this response : * { "statistic": [ { "kind": "gauge",
> > "type": "decimal", "unit": "bytes_per_second", "values": { "value":
> > [ { "datum": 0 } ] }, "disk": { "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
> > "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" },* "name":
> > "data.current.read",* "description": "Read data rate", "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
> cs/33b9212b-f9cb-3fd0-b364-248fb61e1272",
> >
> >
> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> > }, { "kind": "gauge", "type": "decimal", "unit":
> > "bytes_per_second", "values": { "value": [ { "datum": 0 } ] },
> > "disk": { "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
> > "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, * "name":
> > "data.current.write",* "description": "Write data rate", "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
> cs/2f23addd-4ebd-3d82-a449-c28778bc33eb",
> >
> >
> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> > }, { "kind": "gauge", "type": "decimal", "unit": "seconds",
> > "values": { "value": [ { "datum": 0 } ] }, "disk": { "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
> > "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, *   "name":
> > "disk.read.latency",* "description": "Read latency", "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
> cs/3a7b3f72-d035-3bb9-b196-e86a4eb34993",
> >
> >
> "id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
> > }, { "kind": "gauge", "type": "decimal",

Re: [ovirt-users] Postgresql tables

2018-04-20 Thread Hari Prasanth Loganathan
Ovirt API doesn't provide the API to get all the disk statistics at once.
We need to hit for each Disk. It is an overhead.



On Fri, Apr 20, 2018 at 11:43 AM, Yaniv Kaul <yk...@redhat.com> wrote:

> May I ask what are you trying to achieve? Why not use the oVirt REST API?
> Y.
>
>
> On Fri, Apr 20, 2018, 8:57 AM Hari Prasanth Loganathan <hariprasanth.l@
> msystechnologies.com> wrote:
>
>> How frequently is the 'disk_all table' is updated with new statistics?
>>
>> On Fri, Apr 20, 2018 at 11:15 AM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> How is the disk id mapped to this table : disk_image_dynamic table?
>>>
>>> If I need statistics of all the disk, How can I get it?
>>>
>>> On Thu, Apr 19, 2018 at 10:15 PM, Benny Zlotnik <bzlot...@redhat.com>
>>> wrote:
>>>
>>>> It is in the disk_image_dynamic table
>>>>
>>>> On Thu, Apr 19, 2018 at 3:36 PM, Hari Prasanth Loganathan <
>>>> hariprasant...@msystechnologies.com> wrote:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> I am trying to get the disk level statistics using oVirt with the
>>>>> following API,
>>>>>
>>>>> /ovirt-engine/api/disks/{unique_disk_id}/statistics/
>>>>>
>>>>>
>>>>> *and I get this response : *
>>>>>  {
>>>>> "statistic": [
>>>>> {
>>>>> "kind": "gauge",
>>>>> "type": "decimal",
>>>>> "unit": "bytes_per_second",
>>>>> "values": {
>>>>> "value": [
>>>>> {
>>>>> "datum": 0
>>>>> }
>>>>> ]
>>>>> },
>>>>> "disk": {
>>>>> "href": "/ovirt-engine/api/disks/
>>>>> a570a8a4-d4ff-4826-bc39-50bb0b42785c",
>>>>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>>>>> },
>>>>> *"name": "data.current.read",*
>>>>> "description": "Read data rate",
>>>>> "href": "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-
>>>>> 50bb0b42785c/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
>>>>> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
>>>>> },
>>>>> {
>>>>> "kind": "gauge",
>>>>> "type": "decimal",
>>>>> "unit": "bytes_per_second",
>>>>> "values": {
>>>>> "value": [
>>>>> {
>>>>> "datum": 0
>>>>> }
>>>>> ]
>>>>> },
>>>>> "disk": {
>>>>> "href": "/ovirt-engine/api/disks/
>>>>> a570a8a4-d4ff-4826-bc39-50bb0b42785c",
>>>>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>>>>> },
>>>>>* "name": "data.current.write",*
>>>>> "description": "Write data rate",
>>>>> "href": "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-
>>>>> 50bb0b42785c/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
>>>>> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
>>>>> },
>>>>> {
>>>>> "kind": "gauge",
>>>>> "type": "decimal",
>>>>> "unit": "seconds",
>>>>> "values": {
>>>>> "value": [
>>>>> {
>>>>> "datum": 0
>>>>> }
>&

Re: [ovirt-users] Postgresql tables

2018-04-19 Thread Hari Prasanth Loganathan
How frequently is the 'disk_all table' is updated with new statistics?

On Fri, Apr 20, 2018 at 11:15 AM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> How is the disk id mapped to this table : disk_image_dynamic table?
>
> If I need statistics of all the disk, How can I get it?
>
> On Thu, Apr 19, 2018 at 10:15 PM, Benny Zlotnik <bzlot...@redhat.com>
> wrote:
>
>> It is in the disk_image_dynamic table
>>
>> On Thu, Apr 19, 2018 at 3:36 PM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> I am trying to get the disk level statistics using oVirt with the
>>> following API,
>>>
>>> /ovirt-engine/api/disks/{unique_disk_id}/statistics/
>>>
>>>
>>> *and I get this response : *
>>>  {
>>> "statistic": [
>>> {
>>> "kind": "gauge",
>>> "type": "decimal",
>>> "unit": "bytes_per_second",
>>> "values": {
>>> "value": [
>>> {
>>> "datum": 0
>>> }
>>> ]
>>> },
>>> "disk": {
>>> "href": "/ovirt-engine/api/disks/a570a
>>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>>> },
>>> *"name": "data.current.read",*
>>> "description": "Read data rate",
>>> "href": "/ovirt-engine/api/disks/a570a
>>> 8a4-d4ff-4826-bc39-50bb0b42785c/statistics/33b9212b-f9cb-3fd
>>> 0-b364-248fb61e1272",
>>> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
>>> },
>>> {
>>> "kind": "gauge",
>>> "type": "decimal",
>>> "unit": "bytes_per_second",
>>> "values": {
>>> "value": [
>>> {
>>> "datum": 0
>>> }
>>> ]
>>> },
>>> "disk": {
>>> "href": "/ovirt-engine/api/disks/a570a
>>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>>> },
>>>* "name": "data.current.write",*
>>> "description": "Write data rate",
>>> "href": "/ovirt-engine/api/disks/a570a
>>> 8a4-d4ff-4826-bc39-50bb0b42785c/statistics/2f23addd-4ebd-3d8
>>> 2-a449-c28778bc33eb",
>>> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
>>> },
>>> {
>>> "kind": "gauge",
>>> "type": "decimal",
>>> "unit": "seconds",
>>> "values": {
>>> "value": [
>>> {
>>> "datum": 0
>>> }
>>> ]
>>> },
>>> "disk": {
>>> "href": "/ovirt-engine/api/disks/a570a
>>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>>> },
>>>  *   "name": "disk.read.latency",*
>>> "description": "Read latency",
>>> "href": "/ovirt-engine/api/disks/a570a
>>> 8a4-d4ff-4826-bc39-50bb0b42785c/statistics/3a7b3f72-d035-3bb
>>> 9-b196-e86a4eb34993",
>>> "id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
>>> },
>>> {
>>> "kind": "gauge",
>>> "type": "decimal",
>>> "unit": "seconds",
>>>   

Re: [ovirt-users] Postgresql tables

2018-04-19 Thread Hari Prasanth Loganathan
How is the disk id mapped to this table : disk_image_dynamic table?

If I need statistics of all the disk, How can I get it?

On Thu, Apr 19, 2018 at 10:15 PM, Benny Zlotnik <bzlot...@redhat.com> wrote:

> It is in the disk_image_dynamic table
>
> On Thu, Apr 19, 2018 at 3:36 PM, Hari Prasanth Loganathan <hariprasanth.l@
> msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I am trying to get the disk level statistics using oVirt with the
>> following API,
>>
>> /ovirt-engine/api/disks/{unique_disk_id}/statistics/
>>
>>
>> *and I get this response : *
>>  {
>> "statistic": [
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "bytes_per_second",
>> "values": {
>> "value": [
>> {
>> "datum": 0
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>> },
>> *"name": "data.current.read",*
>> "description": "Read data rate",
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c/statistics/33b9212b-f9cb-
>> 3fd0-b364-248fb61e1272",
>> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
>> },
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "bytes_per_second",
>> "values": {
>> "value": [
>> {
>> "datum": 0
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>> },
>>* "name": "data.current.write",*
>> "description": "Write data rate",
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c/statistics/2f23addd-4ebd-
>> 3d82-a449-c28778bc33eb",
>> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
>> },
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "seconds",
>> "values": {
>> "value": [
>> {
>> "datum": 0
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>> },
>>  *   "name": "disk.read.latency",*
>> "description": "Read latency",
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c/statistics/3a7b3f72-d035-
>> 3bb9-b196-e86a4eb34993",
>> "id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
>> },
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "seconds",
>> "values": {
>> "value": [
>> {
>> "datum": 0
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>> },
>>   *  "

Re: [ovirt-users] Postgresql tables

2018-04-19 Thread Hari Prasanth Loganathan
Thanks I will look into vdsm client.

1) In PostgreSQL how frequently the disk statitsitics are updated ?
2) Where can I find the history of disk statitsitcs?



On Fri, 20 Apr 2018 at 3:57 AM, Peter Hudec <phu...@cnc.sk> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Hi Hari,
>
> there are also another way how to get VM stats.
>
> You could hook into VDSM, see
> https://www.ovirt.org/develop/developer-guide/vdsm/vdsm-client/,
> command vdsm-client Host getAllVmStats
>
>     Peter
>
> On 19/04/2018 18:48, Hari Prasanth Loganathan wrote:
> > Appreciated for your help. Could you tell me how frequently the
> > statistics are updated in this table ?
> >
> > I also found one more way to get the statistics, which is the
> > recommended way?
> >
> > select * from
> > getdiskbydiskid('a570a8a4-d4ff-4826-bc39-50bb0b42785c','27e73630-3688-
> 11e8-8432-000c29cc7b80','f');
> >
> >  Thanks, Hari
> >
> > On Thu, Apr 19, 2018 at 10:15 PM, Benny Zlotnik
> > <bzlot...@redhat.com <mailto:bzlot...@redhat.com>> wrote:
> >
> > It is in the disk_image_dynamic table
> >
> > On Thu, Apr 19, 2018 at 3:36 PM, Hari Prasanth Loganathan
> > <hariprasant...@msystechnologies.com
> > <mailto:hariprasant...@msystechnologies.com>> wrote:
> >
> > Hi Team,
> >
> > I am trying to get the disk level statistics using oVirt with the
> > following API,
> >
> > /ovirt-engine/api/disks/{unique_disk_id}/statistics/
> >
> > *and I get this response : * { "statistic": [ { "kind": "gauge",
> > "type": "decimal", "unit": "bytes_per_second", "values": { "value":
> > [ { "datum": 0 } ] }, "disk": { "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
> > "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" },* "name":
> > "data.current.read",* "description": "Read data rate", "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
> cs/33b9212b-f9cb-3fd0-b364-248fb61e1272",
> >
> >
> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> > }, { "kind": "gauge", "type": "decimal", "unit":
> > "bytes_per_second", "values": { "value": [ { "datum": 0 } ] },
> > "disk": { "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
> > "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, * "name":
> > "data.current.write",* "description": "Write data rate", "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
> cs/2f23addd-4ebd-3d82-a449-c28778bc33eb",
> >
> >
> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> > }, { "kind": "gauge", "type": "decimal", "unit": "seconds",
> > "values": { "value": [ { "datum": 0 } ] }, "disk": { "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
> > "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, *   "name":
> > "disk.read.latency",* "description": "Read latency", "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
> cs/3a7b3f72-d035-3bb9-b196-e86a4eb34993",
> >
> >
> "id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
> > }, { "kind": "gauge", "type": "decimal", "unit": "seconds",
> > "values": { "value": [ { "datum": 0 } ] }, "disk": { "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
> > "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, *  "name":
> > "disk.write.latency",* "description": "Write latency", "href":
> > "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
> cs/b1e75c7b-cea4-37d2-8459-f7d68efc69a3",
> >
> >
> "id": "b1e75c7b-cea4-37d2-8459-f7d68efc69a3"
> > }, { "kind": "gauge", "type": "decimal", "unit": &qu

Re: [ovirt-users] Postgresql tables

2018-04-19 Thread Hari Prasanth Loganathan
Appreciated for your help. Could you tell me how frequently the statistics
are updated in this table ?

I also found one more way to get the statistics, which is the recommended
way?

select * from
getdiskbydiskid('a570a8a4-d4ff-4826-bc39-50bb0b42785c','27e73630-3688-11e8-8432-000c29cc7b80','f');

Thanks,
Hari

On Thu, Apr 19, 2018 at 10:15 PM, Benny Zlotnik <bzlot...@redhat.com> wrote:

> It is in the disk_image_dynamic table
>
> On Thu, Apr 19, 2018 at 3:36 PM, Hari Prasanth Loganathan <hariprasanth.l@
> msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I am trying to get the disk level statistics using oVirt with the
>> following API,
>>
>> /ovirt-engine/api/disks/{unique_disk_id}/statistics/
>>
>>
>> *and I get this response : *
>>  {
>> "statistic": [
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "bytes_per_second",
>> "values": {
>> "value": [
>> {
>> "datum": 0
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>> },
>> *"name": "data.current.read",*
>> "description": "Read data rate",
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c/statistics/33b9212b-f9cb-
>> 3fd0-b364-248fb61e1272",
>> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
>> },
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "bytes_per_second",
>> "values": {
>> "value": [
>> {
>> "datum": 0
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>> },
>>* "name": "data.current.write",*
>> "description": "Write data rate",
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c/statistics/2f23addd-4ebd-
>> 3d82-a449-c28778bc33eb",
>> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
>> },
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "seconds",
>> "values": {
>> "value": [
>> {
>> "datum": 0
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c",
>> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
>> },
>>  *   "name": "disk.read.latency",*
>> "description": "Read latency",
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-50bb0b42785c/statistics/3a7b3f72-d035-
>> 3bb9-b196-e86a4eb34993",
>> "id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
>> },
>> {
>> "kind": "gauge",
>> "type": "decimal",
>> "unit": "seconds",
>> "values": {
>> "value": [
>> {
>> "datum": 0
>> }
>> ]
>> },
>> "disk": {
>> "href": "/ovirt-engine/api/disks/a570a
>> 8a4-d4ff-4826-bc39-

  1   2   >