[ovirt-users] User agent for Ovirt 4.2

2018-06-13 Thread Jim Kusznir
Hi:

I haven't managed to find the new / current repo/source for the ovirt guest
agent for the 4.2 upgrade.  All my VMs now say that they need the agent.
Googles keep referring me to old / broke / non-existent repos.  Where do I
find the 4.2 agent (or does the 4.2 agent even exist?)

Thanks!
--Jim
___
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/UYEOKFI7DQCWFJXZHBJ3GXM3V3SEGST4/


[ovirt-users] Re: Question re: MaxFreeMemoryforOverUtlized and MinFreeMemoryforUnderUtilized

2018-06-13 Thread Martin Sivak
> when a quantity exceeds a Maximum value this should be considered an error 
> condition

Which does work for under-utilized threshold where normal situation is
when free memory is above the threshold (or used memory below it). But
it does not work for over utilized threshold where normal is when free
memory is above the treshold.

There are many ways to describe those (above, below, used memory, free
memory) and it is too late to change it anyway.

Best regards

Martin Sivak



On Thu, Jun 14, 2018 at 12:12 AM, Alastair Neil  wrote:
> when the free memory is below defined maximum value
>
>  this is the problem, this  statement is veiled in double negatives
>
> When a quantity is below a "Maximum" value then this is should be considered
> normal
> when a quantity exceeds a Maximum value this should be considered an error
> condition
>
> but this is not the case - when free memory falls below the threshold of
> MaxFreeMemoryforOverUtlized we are overutilized
>
> On Wed, 13 Jun 2018 at 17:14, Martin Sivak  wrote:
>>
>> Hi, it is just a matter of perspective:
>>
>> MaxFreeMemoryforOverUtlized - the host is considered over utilized
>> when the free memory is below defined maximum value
>> MinFreeMemoryforUnderUtilized - the host is considered under utilized
>> when the free memory is at least the defined minimal value
>>
>> Best regards
>>
>> --
>> Martin Sivak
>> oVirt
>>
>>
>> On Wed, Jun 13, 2018 at 7:14 PM, Alastair Neil 
>> wrote:
>> > Can someone clarify these setting for me, I am having difficulty parsing
>> > what exactly they mean. They seem to me to be backwards.
>> >
>> > If I wish to set a threshold at which I want my host to be consider over
>> > utilized, not schedule any new VMs, and migrate VMs away,  then surely I
>> > should specify  a minimum threshold of free memory. I.E. if free memory
>> > drops below my threshold (OR memory use exceed a maximum threshold)
>> > migrate
>> > VM's off of this system.
>> >
>> > Conversely if a system is underutilized I should set a maximum threshold
>> > of
>> > free memory (Or minimum used memory).
>> >
>> > Thanks,
>> >
>> > --Alastair
>> >
>> >
>> > ___
>> > 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/C25Z6WQRPXXU4TMSDDR7HLS5SW3D2LCF/
>> >
___
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/FLWFBNYMPOVUG23OPAKJ6GZZJ3BJHLQA/


[ovirt-users] Re: Question re: MaxFreeMemoryforOverUtlized and MinFreeMemoryforUnderUtilized

2018-06-13 Thread Alastair Neil
when the free memory is below defined maximum value

 this is the problem, this  statement is veiled in double negatives

When a quantity is below a "Maximum" value then this is should be
considered normal
when a quantity exceeds a Maximum value this should be considered an error
condition

but this is not the case - when free memory falls below the threshold of
MaxFreeMemoryforOverUtlized we are overutilized

On Wed, 13 Jun 2018 at 17:14, Martin Sivak  wrote:

> Hi, it is just a matter of perspective:
>
> MaxFreeMemoryforOverUtlized - the host is considered over utilized
> when the free memory is below defined maximum value
> MinFreeMemoryforUnderUtilized - the host is considered under utilized
> when the free memory is at least the defined minimal value
>
> Best regards
>
> --
> Martin Sivak
> oVirt
>
>
> On Wed, Jun 13, 2018 at 7:14 PM, Alastair Neil 
> wrote:
> > Can someone clarify these setting for me, I am having difficulty parsing
> > what exactly they mean. They seem to me to be backwards.
> >
> > If I wish to set a threshold at which I want my host to be consider over
> > utilized, not schedule any new VMs, and migrate VMs away,  then surely I
> > should specify  a minimum threshold of free memory. I.E. if free memory
> > drops below my threshold (OR memory use exceed a maximum threshold)
> migrate
> > VM's off of this system.
> >
> > Conversely if a system is underutilized I should set a maximum threshold
> of
> > free memory (Or minimum used memory).
> >
> > Thanks,
> >
> > --Alastair
> >
> >
> > ___
> > 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/C25Z6WQRPXXU4TMSDDR7HLS5SW3D2LCF/
> >
>
___
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/EEDUS37GQPMCEVA6FBHEFCAB4YVAXCMC/


[ovirt-users] Re: OVA export/import

2018-06-13 Thread Arik Hadas
On Wed, Jun 13, 2018 at 8:36 PM, RabidCicada  wrote:

> Arik,
> I've opened a bug here with all my information:
> https://bugzilla.redhat.com/show_bug.cgi?id=1590948


Thanks


>
>
> ~Kyle
>
> On Wed, Jun 13, 2018 at 10:04 AM, Arik Hadas  wrote:
> >
> >
> > On Wed, Jun 13, 2018 at 4:58 PM, RabidCicada 
> wrote:
> >>
> >> Thanks for the quick reply,
> >>
> >> I am using 4.2.3 and Ovirt cannot import it's own generated OVA.  That
> >> is why my whole investigation started.  Is it known to work for anyone
> >> else?  Based on your statement it seems like it should be capable of
> >> importing it's own;  But my install, perhaps JUST my install and
> >> no-one elses :), cannot do so.  Can anyone verify import of ovirt
> >> generated OVA's works on ovirt 4.2.3?
> >
> >
> > I would suggest to file a bug and attach the engine and ansible logs so
> we
> > can investigate why it fails for you.
> > It generally works in 4.2.3 but there were some fixes we've made in this
> > area - you may have encountered some of those issues or discovered a new
> one
> > :)
> >
> >>
> >>
> >> ~Kyle
> >>
> >> On Wed, Jun 13, 2018 at 9:54 AM, Arik Hadas  wrote:
> >> >
> >> >
> >> > On Wed, Jun 13, 2018 at 4:04 PM, RabidCicada 
> >> > wrote:
> >> >>
> >> >> All,
> >> >> I recently tried to used the OVA export/import functionality.  It
> >> >> seems I misunderstood the intentions.  I expected OVA export/import
> to
> >> >> be reciprocal functionalities.  I expected what we export as OVA to
> be
> >> >> importable as OVA in ovirt.
> >> >>
> >> >> What I have found is the following:
> >> >>
> >> >> * It seems OVA export does export an OVA, though the format is not
> >> >> spec compliant
> >> >>   * We use 'disk/' in the HostResource xml field instead of '/disk/'
> >> >> for example in the ovf.
> >> >> * It seems OVA import is intended specifically for VMWare OVA's?
> >> >> * I thought I read about export domains being deprecated, and
> >> >> incorrectly assumed the recently added OVA export/import was to make
> >> >> things better for one off import/export.
> >> >>
> >> >>
> >> >> Can anyone clarify the following:
> >> >> * Is OVA import really just VMWare OVA's?
> >> >
> >> >
> >> > No, you can provide OVAs that were generated by oVirt as an input as
> >> > well.
> >> > See examples [1] and [2] for doing this via the python-sdk. Doing that
> >> > from
> >> > the webadmin is trivial is exactly like importing OVA that was
> generated
> >> > by
> >> > VMware.
> >> >
> >> > [1]
> >> >
> >> > https://github.com/oVirt/ovirt-engine-sdk/blob/master/
> sdk/examples/import_vm_from_ova.py
> >> > [2]
> >> >
> >> > https://github.com/oVirt/ovirt-engine-sdk/blob/master/
> sdk/examples/upload_ova_as_vm.py
> >> >
> >> >>
> >> >> * Are we really not spec compliant with the OVA/OVF format as my
> >> >> example above shows?  OR do I misunderstand something?
> >> >
> >> >
> >> > Well, we now use the same code for parsing OVFs that were generated by
> >> > oVirt
> >> > and ones that were generated by VMware. So that's an evidence for
> being
> >> > compliant with the specification to some degree.
> >> >
> >> > Indeed, there may be things that we don't use when reading the OVF,
> like
> >> > the
> >> > field you mentioned, and therefore there may be some gaps here and
> >> > there.
> >> >
> >> > Is this the only gap you found so far? if so then I would say we are
> in
> >> > a
> >> > really good place since fixing that should be trivial, see [3]. You
> are
> >> > more
> >> > than welcome to send a patch!
> >> >
> >> > [3]
> >> >
> >> > https://github.com/oVirt/ovirt-engine/blob/master/
> backend/manager/modules/utils/src/main/java/org/ovirt/
> engine/core/utils/ovf/OvfOvaWriter.java#L179
> >> >
> >> >
> >> >>
> >> >> * After spending my time yesterday, I recall now that the deprecation
> >> >> of export domain is in favor of detaching and re-attaching ANY data
> >> >> domain.
> >> >
> >> >
> >> > Depending what you're looking for.
> >> > If you want to *move* your entities (VMs/templates) from one
> deployment
> >> > to
> >> > another then sure, detach the domain (that will cause those entities
> to
> >> > be
> >> > deleted from the source environment), attach the domain to the new
> >> > deployment and register the entities you want. That is relatively
> quick
> >> > operation since no copy is needed.
> >> >
> >> > Export domains/OVAs are targeted for different scenario - when you
> want
> >> > to
> >> > *copy* you entities from one deployment to another. You export them
> >> > somewhere and than import them from that place.
> >> >
> >> >>
> >> >> * What is the purpose of our OVA export if we ourselves indeed cannot
> >> >> import our own OVA?  Or can you tell me how we import our own if I'm
> >> >> wrong.
> >> >
> >> >
> >> > Already answered.
> >> >
> >> >>
> >> >>
> >> >> Please feel free to overshare details :), as any context will help
> >> >> prevent more confusion on my part.
> >> >>
> >> >> ~Kyle
> >> >> 

[ovirt-users] Re: Question re: MaxFreeMemoryforOverUtlized and MinFreeMemoryforUnderUtilized

2018-06-13 Thread Martin Sivak
Hi, it is just a matter of perspective:

MaxFreeMemoryforOverUtlized - the host is considered over utilized
when the free memory is below defined maximum value
MinFreeMemoryforUnderUtilized - the host is considered under utilized
when the free memory is at least the defined minimal value

Best regards

--
Martin Sivak
oVirt


On Wed, Jun 13, 2018 at 7:14 PM, Alastair Neil  wrote:
> Can someone clarify these setting for me, I am having difficulty parsing
> what exactly they mean. They seem to me to be backwards.
>
> If I wish to set a threshold at which I want my host to be consider over
> utilized, not schedule any new VMs, and migrate VMs away,  then surely I
> should specify  a minimum threshold of free memory. I.E. if free memory
> drops below my threshold (OR memory use exceed a maximum threshold) migrate
> VM's off of this system.
>
> Conversely if a system is underutilized I should set a maximum threshold of
> free memory (Or minimum used memory).
>
> Thanks,
>
> --Alastair
>
>
> ___
> 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/C25Z6WQRPXXU4TMSDDR7HLS5SW3D2LCF/
>
___
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/NIR5OP5432DHNFKM72PCVRPDYAZE6L3Y/


[ovirt-users] Re: OVA export/import

2018-06-13 Thread RabidCicada
Arik,
I've opened a bug here with all my information:
https://bugzilla.redhat.com/show_bug.cgi?id=1590948

~Kyle

On Wed, Jun 13, 2018 at 10:04 AM, Arik Hadas  wrote:
>
>
> On Wed, Jun 13, 2018 at 4:58 PM, RabidCicada  wrote:
>>
>> Thanks for the quick reply,
>>
>> I am using 4.2.3 and Ovirt cannot import it's own generated OVA.  That
>> is why my whole investigation started.  Is it known to work for anyone
>> else?  Based on your statement it seems like it should be capable of
>> importing it's own;  But my install, perhaps JUST my install and
>> no-one elses :), cannot do so.  Can anyone verify import of ovirt
>> generated OVA's works on ovirt 4.2.3?
>
>
> I would suggest to file a bug and attach the engine and ansible logs so we
> can investigate why it fails for you.
> It generally works in 4.2.3 but there were some fixes we've made in this
> area - you may have encountered some of those issues or discovered a new one
> :)
>
>>
>>
>> ~Kyle
>>
>> On Wed, Jun 13, 2018 at 9:54 AM, Arik Hadas  wrote:
>> >
>> >
>> > On Wed, Jun 13, 2018 at 4:04 PM, RabidCicada 
>> > wrote:
>> >>
>> >> All,
>> >> I recently tried to used the OVA export/import functionality.  It
>> >> seems I misunderstood the intentions.  I expected OVA export/import to
>> >> be reciprocal functionalities.  I expected what we export as OVA to be
>> >> importable as OVA in ovirt.
>> >>
>> >> What I have found is the following:
>> >>
>> >> * It seems OVA export does export an OVA, though the format is not
>> >> spec compliant
>> >>   * We use 'disk/' in the HostResource xml field instead of '/disk/'
>> >> for example in the ovf.
>> >> * It seems OVA import is intended specifically for VMWare OVA's?
>> >> * I thought I read about export domains being deprecated, and
>> >> incorrectly assumed the recently added OVA export/import was to make
>> >> things better for one off import/export.
>> >>
>> >>
>> >> Can anyone clarify the following:
>> >> * Is OVA import really just VMWare OVA's?
>> >
>> >
>> > No, you can provide OVAs that were generated by oVirt as an input as
>> > well.
>> > See examples [1] and [2] for doing this via the python-sdk. Doing that
>> > from
>> > the webadmin is trivial is exactly like importing OVA that was generated
>> > by
>> > VMware.
>> >
>> > [1]
>> >
>> > https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/import_vm_from_ova.py
>> > [2]
>> >
>> > https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_ova_as_vm.py
>> >
>> >>
>> >> * Are we really not spec compliant with the OVA/OVF format as my
>> >> example above shows?  OR do I misunderstand something?
>> >
>> >
>> > Well, we now use the same code for parsing OVFs that were generated by
>> > oVirt
>> > and ones that were generated by VMware. So that's an evidence for being
>> > compliant with the specification to some degree.
>> >
>> > Indeed, there may be things that we don't use when reading the OVF, like
>> > the
>> > field you mentioned, and therefore there may be some gaps here and
>> > there.
>> >
>> > Is this the only gap you found so far? if so then I would say we are in
>> > a
>> > really good place since fixing that should be trivial, see [3]. You are
>> > more
>> > than welcome to send a patch!
>> >
>> > [3]
>> >
>> > https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfOvaWriter.java#L179
>> >
>> >
>> >>
>> >> * After spending my time yesterday, I recall now that the deprecation
>> >> of export domain is in favor of detaching and re-attaching ANY data
>> >> domain.
>> >
>> >
>> > Depending what you're looking for.
>> > If you want to *move* your entities (VMs/templates) from one deployment
>> > to
>> > another then sure, detach the domain (that will cause those entities to
>> > be
>> > deleted from the source environment), attach the domain to the new
>> > deployment and register the entities you want. That is relatively quick
>> > operation since no copy is needed.
>> >
>> > Export domains/OVAs are targeted for different scenario - when you want
>> > to
>> > *copy* you entities from one deployment to another. You export them
>> > somewhere and than import them from that place.
>> >
>> >>
>> >> * What is the purpose of our OVA export if we ourselves indeed cannot
>> >> import our own OVA?  Or can you tell me how we import our own if I'm
>> >> wrong.
>> >
>> >
>> > Already answered.
>> >
>> >>
>> >>
>> >> Please feel free to overshare details :), as any context will help
>> >> prevent more confusion on my part.
>> >>
>> >> ~Kyle
>> >> ___
>> >> 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:
>> >>
>> >> 

[ovirt-users] VM hanging at boot - [drm] Initialized qxl

2018-06-13 Thread Leo David
Hello everyone,
I have some Centos7 vms created from template ( CentOS 7 Generic Cloud
Image v1802 for x86_64 )
I have alocated planty of resources to them,  but they all have this issue
when starting, they hang with the following message in console about 5-7
minutes.

[drm] Initialized qxl 0.1.0 20120117 for :00:02:0 on mirror 0

After a while,  vm eventually boots up...
Running self-hosted ovirt-node 4.2
Does anyone know what could be the issue for this behavior ?
Thank you !
-- 
Best regards, Leo David
___
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/HQNKRGHH2M4L36VWEXU4CXJGKW6S2OOI/


[ovirt-users] Question re: MaxFreeMemoryforOverUtlized and MinFreeMemoryforUnderUtilized

2018-06-13 Thread Alastair Neil
Can someone clarify these setting for me, I am having difficulty parsing
what exactly they mean. They seem to me to be backwards.

If I wish to set a threshold at which I want my host to be consider over
utilized, not schedule any new VMs, and migrate VMs away,  then surely I
should specify  a minimum threshold of free memory. I.E. if free memory
drops below my threshold (OR memory use exceed a maximum threshold) migrate
VM's off of this system.

Conversely if a system is underutilized I should set a maximum threshold of
free memory (Or minimum used memory).

Thanks,

--Alastair
___
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/C25Z6WQRPXXU4TMSDDR7HLS5SW3D2LCF/


[ovirt-users] Re: Moving from thin to preallocated storage domains

2018-06-13 Thread Bruckner, Simone
Hi,

  I have defined thin LUNs on the array and presented them to the oVirt hosts. 
I will change the LUN from thin to preallocated on the array (which is 
transparent to the oVirt host).

Besides removing “discard after delete” from the storage domain flags, is there 
anything else I need to take care of on the oVirt side?

All the best,
Oliver

Von: Benny Zlotnik 
Gesendet: Mittwoch, 13. Juni 2018 17:32
An: Albl, Oliver 
Cc: users@ovirt.org
Betreff: [ovirt-users] Re: Moving from thin to preallocated storage domains

Hi,

What do you mean by converting the LUN from thin to preallocated?
oVirt creates LVs on top of the LUNs you provide

On Wed, Jun 13, 2018 at 2:05 PM, Albl, Oliver 
mailto:oliver.a...@fabasoft.com>> wrote:
Hi all,

  I have to move some FC storage domains from thin to preallocated. I would set 
the storage domain to maintenance, convert the LUN from thin to preallocated on 
the array, remove “Discard After Delete” from the advanced settings of the 
storage domain and active it again. Is there anything else I need to take care 
of?

All the best,
Oliver


___
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/VUEQY5DHUC633US5HZQO3N2IQ2TVCZPX/

___
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/DGBJCXJ6HYZ4LXNECE3RGLWGJ2CSU76V/


[ovirt-users] LDAP logins do not work

2018-06-13 Thread Michael Watters
I've ran the ovirt-engine-extension-aaa-ldap-setup command to configure
LDAP authentication using Active Directory however I am unable to
authenticate using valid credentials.  Here is the output show while
testing the login flow.

[ INFO  ] Executing login sequence...
  Login output:
  2018-06-13 11:27:17,931-04 INFO   

  2018-06-13 11:27:17,960-04 INFO   
 Initialization 
  2018-06-13 11:27:17,960-04 INFO   

  2018-06-13 11:27:17,999-04 INFO    Loading extension
'example.com-authn'
  2018-06-13 11:27:18,072-04 INFO    Extension
'example.com-authn' loaded
  2018-06-13 11:27:18,077-04 INFO    Loading extension
'example.com-authz'
  2018-06-13 11:27:18,089-04 INFO    Extension
'example.com-authz' loaded
  2018-06-13 11:27:18,090-04 INFO    Initializing extension
'example.com-authn'
  2018-06-13 11:27:18,091-04 INFO   
[ovirt-engine-extension-aaa-ldap.authn::example.com-authn] Creating LDAP
pool 'authz'
  2018-06-13 11:27:19,574-04 WARNING Exception: 80090308:
LdapErr: DSID-0C09042A, comment: AcceptSecurityContext error, data 52e,
v3839
  2018-06-13 11:27:19,576-04 INFO   
[ovirt-engine-extension-aaa-ldap.authn::example.com-authn] Creating LDAP
pool 'authn'
  2018-06-13 11:27:20,668-04 INFO   
[ovirt-engine-extension-aaa-ldap.authn::example.com-authn] LDAP pool
'authn' information: vendor='null' version='null'
  2018-06-13 11:27:20,674-04 WARNING Ignoring records from pool:
'authz'
  2018-06-13 11:27:20,676-04 WARNING Ignoring records from pool:
'authz'
  2018-06-13 11:27:20,676-04 INFO    Extension
'example.com-authn' initialized
  2018-06-13 11:27:20,677-04 INFO    Initializing extension
'example.com-authz'
  2018-06-13 11:27:20,679-04 INFO   
[ovirt-engine-extension-aaa-ldap.authz::example.com-authz] Creating LDAP
pool 'authz'
  2018-06-13 11:27:21,270-04 WARNING Exception: 80090308:
LdapErr: DSID-0C09042A, comment: AcceptSecurityContext error, data 52e,
v3839
  2018-06-13 11:27:21,273-04 INFO   
[ovirt-engine-extension-aaa-ldap.authz::example.com-authz] Creating LDAP
pool 'gc'
  2018-06-13 11:27:22,065-04 WARNING Exception: 80090308:
LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e,
v1db1
  2018-06-13 11:27:22,069-04 WARNING Ignoring records from pool:
'authz'
  2018-06-13 11:27:22,072-04 WARNING Ignoring records from pool:
'authz'
  2018-06-13 11:27:22,085-04 WARNING Ignoring records from pool:
'authz'
  2018-06-13 11:27:22,086-04 INFO   
[ovirt-engine-extension-aaa-ldap.authz::example.com-authz] Available
Namespaces: []
  2018-06-13 11:27:22,087-04 INFO    Extension
'example.com-authz' initialized
  2018-06-13 11:27:22,088-04 INFO    Start of enabled extensions
list
  2018-06-13 11:27:22,089-04 INFO    Instance name:
'example.com-authz', Extension name:
'ovirt-engine-extension-aaa-ldap.authz', Version: '1.3.7', Notes:
'Display name: ovirt-engine-extension-aaa-ldap-1.3.7-1.el7.centos',
License: 'ASL 2.0', Home: 'http://www.ovirt.org', Author 'The oVirt
Project', Build interface Version: '0',  File:
'/tmp/tmpPQluAI/extensions.d/example.com-authz.properties', Initialized:
'true'
  2018-06-13 11:27:22,089-04 INFO    Instance name:
'example.com-authn', Extension name:
'ovirt-engine-extension-aaa-ldap.authn', Version: '1.3.7', Notes:
'Display name: ovirt-engine-extension-aaa-ldap-1.3.7-1.el7.centos',
License: 'ASL 2.0', Home: 'http://www.ovirt.org', Author 'The oVirt
Project', Build interface Version: '0',  File:
'/tmp/tmpPQluAI/extensions.d/example.com-authn.properties', Initialized:
'true'
  2018-06-13 11:27:22,090-04 INFO    End of enabled extensions list
  2018-06-13 11:27:22,090-04 INFO   

  2018-06-13 11:27:22,090-04 INFO   
== Execution ===
  2018-06-13 11:27:22,091-04 INFO   

  2018-06-13 11:27:22,091-04 INFO    Iteration: 0
  2018-06-13 11:27:22,093-04 INFO    Profile='example.com'
authn='example.com-authn' authz='example.com-authz' mapping='null'
  2018-06-13 11:27:22,094-04 INFO    API:
-->Authn.InvokeCommands.AUTHENTICATE_CREDENTIALS profile='example.com'
user='d861703'
  2018-06-13 11:27:22,251-04 INFO    API:
<--Authn.InvokeCommands.AUTHENTICATE_CREDENTIALS profile='example.com'
result=CREDENTIALS_INCORRECT
  2018-06-13 11:27:22,262-04 SEVERE  Authn.Result code is:
CREDENTIALS_INCORRECT
[ ERROR ] Login sequence failed

Does anybody know what LdapErr: DSID-0C09042A, comment:

[ovirt-users] Re: Moving from thin to preallocated storage domains

2018-06-13 Thread Benny Zlotnik
Hi,

What do you mean by converting the LUN from thin to preallocated?
oVirt creates LVs on top of the LUNs you provide

On Wed, Jun 13, 2018 at 2:05 PM, Albl, Oliver 
wrote:

> Hi all,
>
>
>
>   I have to move some FC storage domains from thin to preallocated. I
> would set the storage domain to maintenance, convert the LUN from thin to
> preallocated on the array, remove “Discard After Delete” from the advanced
> settings of the storage domain and active it again. Is there anything else
> I need to take care of?
>
>
>
> All the best,
>
> Oliver
>
>
>
> ___
> 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/VUEQY5DHUC633US5HZQO3N2IQ2TVCZPX/
>
>
___
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/QA3PA6EEO5LLUPWHOS6E7UEFOUNWZBBE/


[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread femi adegoke
No problem Leo.
Glad it worked out ok!!
___
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/3PB7BHDJUIGQEUOUALKRKJZK4YXHRUT3/


[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread Leo David
Yes, it's working as per expectations. Thank you very much Femi, really
very helpfull !

On Wed, Jun 13, 2018, 16:16 femi adegoke  wrote:

> Since this is a single node gluster install, you have to add the gluster
> volume.
>
> Log into the HE web gui
> go to Storage, Storage Domains, click on "New Domain" (it's located at the
> top right side)
> Storage Type: select GlusterFS
> Export Path: enter in this format "myserver.mydomain.com:/my/local/path"
> Click ok
>
> Wait for it to do it's thing
> ___
> 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/YNYPXNZCAEZGPZKPX6BTFV6TMYLEK2XU/
>
___
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/TYZHSSBGP5D23TVBMJ2IMY5MXVMXT4R2/


[ovirt-users] Re: Centos7.5 or Ovirt node for new hci build?

2018-06-13 Thread Martin Sivak
Hi,

it actually does not make much difference unless you need some special
customization. Node is plug and play, CenOS + oVirt repos might have
fresher packages (snapshots, nightlies) and allow live changes.

--
Martin Sivak


On Wed, Jun 13, 2018 at 1:07 PM, Jayme  wrote:
> I'm about to build a 3 host Ovirt hyperconverged cluster and was wondering
> if it's recommended to use straight up Centos or would Ovirt node be a
> better choice?
>
> Thanks
>
> ___
> 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/H724RRGWIMA5WDCO5KIKW3IJEYRHW5U6/
>
___
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/4EO6RW47OKPVHE7ER5SO3DIQQDJIIPT3/


[ovirt-users] RHEL 7.5 as an oVirt host - missing packages

2018-06-13 Thread jasonmicron
Hello everyone,

I believe there is a potential issue with the RHEL 7 yum repos and at least one 
missing RPM to convert a pre-existing RHEL 7.5 system into an oVirt host node.

I have the following YUM repos enabled in my RHEL 7 system, according to the 
documentation:

rhel-7-server-rpms
rhel-7-server-optional-rpms
rhel-7-server-extras-rpms

I installed the oVirt 4.2 RPM:
ovirt-release42-4.2.3.1-1.el7.noarch

I then go to the engine GUI to add the new host, and during the installation 
process I am informed that there is a YUM transaction error with the following 
package being unavailable:

python-qpid-proton (as a dependency install for the python-gofer-proton package)

I dug around Red Hat's YUM repos and discovered that this package only exists 
in the rhel-7-server-satellite-tools-6.{1..3}-rpms YUM repos from the official 
Red Hat site.  

I tried enabling this repo (specifically the 
rhel-7-server-satellite-tools-6.3-rpms repo) to see which version of the 
package would be installed, and it appears to be a custom spin for Satellite in 
the release version:

=
 Package   Arch Version   Repository
 Size
=
Installing:
 python-gofer-proton   noarch   2.7.7-3.el7sat
lab1-rhel-7-server-satellite-tools-6.3-rpms54 k
Installing for dependencies:
 python-gofer  noarch   2.7.7-3.el7sat
lab1-rhel-7-server-satellite-tools-6.3-rpms   132 k
 python-qpid-protonx86_64   0.16.0-7.el7  
lab1-rhel-7-server-satellite-tools-6.3-rpms   216 k
 qpid-proton-c x86_64   0.16.0-7.el7  
lab1-rhel-7-server-satellite-tools-6.3-rpms   131 k

Transaction Summary
==
Install  1 Package (+3 Dependent packages)

Since I shouldn't even require this repo according to the official oVirt 
install documentation for hosts, and the fact that these packages appear to be 
custom spins (el7sat) versions, I was curious if this is OK to use for oVirt or 
if I have encountered a dependency bug with RHEL 7.5 and oVirt 4.2?

Any advice would be welcomed.
___
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/ICRXLLOL4JM5ENJNLWXHWZWXFW73UL5S/


[ovirt-users] Re: OVA export/import

2018-06-13 Thread Arik Hadas
On Wed, Jun 13, 2018 at 4:58 PM, RabidCicada  wrote:

> Thanks for the quick reply,
>
> I am using 4.2.3 and Ovirt cannot import it's own generated OVA.  That
> is why my whole investigation started.  Is it known to work for anyone
> else?  Based on your statement it seems like it should be capable of
> importing it's own;  But my install, perhaps JUST my install and
> no-one elses :), cannot do so.  Can anyone verify import of ovirt
> generated OVA's works on ovirt 4.2.3?
>

I would suggest to file a bug and attach the engine and ansible logs so we
can investigate why it fails for you.
It generally works in 4.2.3 but there were some fixes we've made in this
area - you may have encountered some of those issues or discovered a new
one :)


>
> ~Kyle
>
> On Wed, Jun 13, 2018 at 9:54 AM, Arik Hadas  wrote:
> >
> >
> > On Wed, Jun 13, 2018 at 4:04 PM, RabidCicada 
> wrote:
> >>
> >> All,
> >> I recently tried to used the OVA export/import functionality.  It
> >> seems I misunderstood the intentions.  I expected OVA export/import to
> >> be reciprocal functionalities.  I expected what we export as OVA to be
> >> importable as OVA in ovirt.
> >>
> >> What I have found is the following:
> >>
> >> * It seems OVA export does export an OVA, though the format is not
> >> spec compliant
> >>   * We use 'disk/' in the HostResource xml field instead of '/disk/'
> >> for example in the ovf.
> >> * It seems OVA import is intended specifically for VMWare OVA's?
> >> * I thought I read about export domains being deprecated, and
> >> incorrectly assumed the recently added OVA export/import was to make
> >> things better for one off import/export.
> >>
> >>
> >> Can anyone clarify the following:
> >> * Is OVA import really just VMWare OVA's?
> >
> >
> > No, you can provide OVAs that were generated by oVirt as an input as
> well.
> > See examples [1] and [2] for doing this via the python-sdk. Doing that
> from
> > the webadmin is trivial is exactly like importing OVA that was generated
> by
> > VMware.
> >
> > [1]
> > https://github.com/oVirt/ovirt-engine-sdk/blob/master/
> sdk/examples/import_vm_from_ova.py
> > [2]
> > https://github.com/oVirt/ovirt-engine-sdk/blob/master/
> sdk/examples/upload_ova_as_vm.py
> >
> >>
> >> * Are we really not spec compliant with the OVA/OVF format as my
> >> example above shows?  OR do I misunderstand something?
> >
> >
> > Well, we now use the same code for parsing OVFs that were generated by
> oVirt
> > and ones that were generated by VMware. So that's an evidence for being
> > compliant with the specification to some degree.
> >
> > Indeed, there may be things that we don't use when reading the OVF, like
> the
> > field you mentioned, and therefore there may be some gaps here and there.
> >
> > Is this the only gap you found so far? if so then I would say we are in a
> > really good place since fixing that should be trivial, see [3]. You are
> more
> > than welcome to send a patch!
> >
> > [3]
> > https://github.com/oVirt/ovirt-engine/blob/master/
> backend/manager/modules/utils/src/main/java/org/ovirt/
> engine/core/utils/ovf/OvfOvaWriter.java#L179
> >
> >
> >>
> >> * After spending my time yesterday, I recall now that the deprecation
> >> of export domain is in favor of detaching and re-attaching ANY data
> >> domain.
> >
> >
> > Depending what you're looking for.
> > If you want to *move* your entities (VMs/templates) from one deployment
> to
> > another then sure, detach the domain (that will cause those entities to
> be
> > deleted from the source environment), attach the domain to the new
> > deployment and register the entities you want. That is relatively quick
> > operation since no copy is needed.
> >
> > Export domains/OVAs are targeted for different scenario - when you want
> to
> > *copy* you entities from one deployment to another. You export them
> > somewhere and than import them from that place.
> >
> >>
> >> * What is the purpose of our OVA export if we ourselves indeed cannot
> >> import our own OVA?  Or can you tell me how we import our own if I'm
> >> wrong.
> >
> >
> > Already answered.
> >
> >>
> >>
> >> Please feel free to overshare details :), as any context will help
> >> prevent more confusion on my part.
> >>
> >> ~Kyle
> >> ___
> >> 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/
> MYWHJF4ZJS4VSJ2RWBSYDPPOWTI6VWW5/
> >
> >
>
___
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: 

[ovirt-users] Re: OVA export/import

2018-06-13 Thread RabidCicada
I am using the Web GUI.  Not the python sdk.

On Wed, Jun 13, 2018 at 9:58 AM, RabidCicada  wrote:
> Thanks for the quick reply,
>
> I am using 4.2.3 and Ovirt cannot import it's own generated OVA.  That
> is why my whole investigation started.  Is it known to work for anyone
> else?  Based on your statement it seems like it should be capable of
> importing it's own;  But my install, perhaps JUST my install and
> no-one elses :), cannot do so.  Can anyone verify import of ovirt
> generated OVA's works on ovirt 4.2.3?
>
> ~Kyle
>
> On Wed, Jun 13, 2018 at 9:54 AM, Arik Hadas  wrote:
>>
>>
>> On Wed, Jun 13, 2018 at 4:04 PM, RabidCicada  wrote:
>>>
>>> All,
>>> I recently tried to used the OVA export/import functionality.  It
>>> seems I misunderstood the intentions.  I expected OVA export/import to
>>> be reciprocal functionalities.  I expected what we export as OVA to be
>>> importable as OVA in ovirt.
>>>
>>> What I have found is the following:
>>>
>>> * It seems OVA export does export an OVA, though the format is not
>>> spec compliant
>>>   * We use 'disk/' in the HostResource xml field instead of '/disk/'
>>> for example in the ovf.
>>> * It seems OVA import is intended specifically for VMWare OVA's?
>>> * I thought I read about export domains being deprecated, and
>>> incorrectly assumed the recently added OVA export/import was to make
>>> things better for one off import/export.
>>>
>>>
>>> Can anyone clarify the following:
>>> * Is OVA import really just VMWare OVA's?
>>
>>
>> No, you can provide OVAs that were generated by oVirt as an input as well.
>> See examples [1] and [2] for doing this via the python-sdk. Doing that from
>> the webadmin is trivial is exactly like importing OVA that was generated by
>> VMware.
>>
>> [1]
>> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/import_vm_from_ova.py
>> [2]
>> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_ova_as_vm.py
>>
>>>
>>> * Are we really not spec compliant with the OVA/OVF format as my
>>> example above shows?  OR do I misunderstand something?
>>
>>
>> Well, we now use the same code for parsing OVFs that were generated by oVirt
>> and ones that were generated by VMware. So that's an evidence for being
>> compliant with the specification to some degree.
>>
>> Indeed, there may be things that we don't use when reading the OVF, like the
>> field you mentioned, and therefore there may be some gaps here and there.
>>
>> Is this the only gap you found so far? if so then I would say we are in a
>> really good place since fixing that should be trivial, see [3]. You are more
>> than welcome to send a patch!
>>
>> [3]
>> https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfOvaWriter.java#L179
>>
>>
>>>
>>> * After spending my time yesterday, I recall now that the deprecation
>>> of export domain is in favor of detaching and re-attaching ANY data
>>> domain.
>>
>>
>> Depending what you're looking for.
>> If you want to *move* your entities (VMs/templates) from one deployment to
>> another then sure, detach the domain (that will cause those entities to be
>> deleted from the source environment), attach the domain to the new
>> deployment and register the entities you want. That is relatively quick
>> operation since no copy is needed.
>>
>> Export domains/OVAs are targeted for different scenario - when you want to
>> *copy* you entities from one deployment to another. You export them
>> somewhere and than import them from that place.
>>
>>>
>>> * What is the purpose of our OVA export if we ourselves indeed cannot
>>> import our own OVA?  Or can you tell me how we import our own if I'm
>>> wrong.
>>
>>
>> Already answered.
>>
>>>
>>>
>>> Please feel free to overshare details :), as any context will help
>>> prevent more confusion on my part.
>>>
>>> ~Kyle
>>> ___
>>> 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/MYWHJF4ZJS4VSJ2RWBSYDPPOWTI6VWW5/
>>
>>
___
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/6V4F3Z5EPEFYSHLMNCWXUKN2JH7BORVZ/


[ovirt-users] Re: OVA export/import

2018-06-13 Thread RabidCicada
Thanks for the quick reply,

I am using 4.2.3 and Ovirt cannot import it's own generated OVA.  That
is why my whole investigation started.  Is it known to work for anyone
else?  Based on your statement it seems like it should be capable of
importing it's own;  But my install, perhaps JUST my install and
no-one elses :), cannot do so.  Can anyone verify import of ovirt
generated OVA's works on ovirt 4.2.3?

~Kyle

On Wed, Jun 13, 2018 at 9:54 AM, Arik Hadas  wrote:
>
>
> On Wed, Jun 13, 2018 at 4:04 PM, RabidCicada  wrote:
>>
>> All,
>> I recently tried to used the OVA export/import functionality.  It
>> seems I misunderstood the intentions.  I expected OVA export/import to
>> be reciprocal functionalities.  I expected what we export as OVA to be
>> importable as OVA in ovirt.
>>
>> What I have found is the following:
>>
>> * It seems OVA export does export an OVA, though the format is not
>> spec compliant
>>   * We use 'disk/' in the HostResource xml field instead of '/disk/'
>> for example in the ovf.
>> * It seems OVA import is intended specifically for VMWare OVA's?
>> * I thought I read about export domains being deprecated, and
>> incorrectly assumed the recently added OVA export/import was to make
>> things better for one off import/export.
>>
>>
>> Can anyone clarify the following:
>> * Is OVA import really just VMWare OVA's?
>
>
> No, you can provide OVAs that were generated by oVirt as an input as well.
> See examples [1] and [2] for doing this via the python-sdk. Doing that from
> the webadmin is trivial is exactly like importing OVA that was generated by
> VMware.
>
> [1]
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/import_vm_from_ova.py
> [2]
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_ova_as_vm.py
>
>>
>> * Are we really not spec compliant with the OVA/OVF format as my
>> example above shows?  OR do I misunderstand something?
>
>
> Well, we now use the same code for parsing OVFs that were generated by oVirt
> and ones that were generated by VMware. So that's an evidence for being
> compliant with the specification to some degree.
>
> Indeed, there may be things that we don't use when reading the OVF, like the
> field you mentioned, and therefore there may be some gaps here and there.
>
> Is this the only gap you found so far? if so then I would say we are in a
> really good place since fixing that should be trivial, see [3]. You are more
> than welcome to send a patch!
>
> [3]
> https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfOvaWriter.java#L179
>
>
>>
>> * After spending my time yesterday, I recall now that the deprecation
>> of export domain is in favor of detaching and re-attaching ANY data
>> domain.
>
>
> Depending what you're looking for.
> If you want to *move* your entities (VMs/templates) from one deployment to
> another then sure, detach the domain (that will cause those entities to be
> deleted from the source environment), attach the domain to the new
> deployment and register the entities you want. That is relatively quick
> operation since no copy is needed.
>
> Export domains/OVAs are targeted for different scenario - when you want to
> *copy* you entities from one deployment to another. You export them
> somewhere and than import them from that place.
>
>>
>> * What is the purpose of our OVA export if we ourselves indeed cannot
>> import our own OVA?  Or can you tell me how we import our own if I'm
>> wrong.
>
>
> Already answered.
>
>>
>>
>> Please feel free to overshare details :), as any context will help
>> prevent more confusion on my part.
>>
>> ~Kyle
>> ___
>> 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/MYWHJF4ZJS4VSJ2RWBSYDPPOWTI6VWW5/
>
>
___
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/FI4MX437OOMBOHXEQJNQQXQ3UW5KWBV5/


[ovirt-users] Re: OVA export/import

2018-06-13 Thread Arik Hadas
On Wed, Jun 13, 2018 at 4:04 PM, RabidCicada  wrote:

> All,
> I recently tried to used the OVA export/import functionality.  It
> seems I misunderstood the intentions.  I expected OVA export/import to
> be reciprocal functionalities.  I expected what we export as OVA to be
> importable as OVA in ovirt.
>
> What I have found is the following:
>
> * It seems OVA export does export an OVA, though the format is not
> spec compliant
>   * We use 'disk/' in the HostResource xml field instead of '/disk/'
> for example in the ovf.
> * It seems OVA import is intended specifically for VMWare OVA's?
> * I thought I read about export domains being deprecated, and
> incorrectly assumed the recently added OVA export/import was to make
> things better for one off import/export.
>
>
> Can anyone clarify the following:
> * Is OVA import really just VMWare OVA's?
>

No, you can provide OVAs that were generated by oVirt as an input as well.
See examples [1] and [2] for doing this via the python-sdk. Doing that from
the webadmin is trivial is exactly like importing OVA that was generated by
VMware.

[1]
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/import_vm_from_ova.py
[2]
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_ova_as_vm.py


> * Are we really not spec compliant with the OVA/OVF format as my
> example above shows?  OR do I misunderstand something?
>

Well, we now use the same code for parsing OVFs that were generated by
oVirt and ones that were generated by VMware. So that's an evidence for
being compliant with the specification to some degree.

Indeed, there may be things that we don't use when reading the OVF, like
the field you mentioned, and therefore there may be some gaps here and
there.

Is this the only gap you found so far? if so then I would say we are in a
really good place since fixing that should be trivial, see [3]. You are
more than welcome to send a patch!

[3]
https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfOvaWriter.java#L179



> * After spending my time yesterday, I recall now that the deprecation
> of export domain is in favor of detaching and re-attaching ANY data
> domain.
>

Depending what you're looking for.
If you want to *move* your entities (VMs/templates) from one deployment to
another then sure, detach the domain (that will cause those entities to be
deleted from the source environment), attach the domain to the new
deployment and register the entities you want. That is relatively quick
operation since no copy is needed.

Export domains/OVAs are targeted for different scenario - when you want to
*copy* you entities from one deployment to another. You export them
somewhere and than import them from that place.


> * What is the purpose of our OVA export if we ourselves indeed cannot
> import our own OVA?  Or can you tell me how we import our own if I'm
> wrong.
>

Already answered.


>
> Please feel free to overshare details :), as any context will help
> prevent more confusion on my part.
>
> ~Kyle
> ___
> 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/MYWHJF4ZJS4VSJ2RWBSYDPPOWTI6VWW5/
>
___
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/X5QRB74Z7WMEEWSPBOTVNN45RMJT3J4F/


[ovirt-users] trouble with hosted-engine vm.conf after upgrade to 4.2

2018-06-13 Thread Reznikov Alexei

Hi list!

I upgrade my ovirt test lab from 4.1.9 to 4.2.2, and i have trouble with 
the hosted-engine...


I can not start the hosted engine with my vm.conf...

/hosted-engine --vm-start --vm-conf=/root/vm.conf/

/Command VM.getStats with args {'vmID': 
'a19b9120-4f87-4a04-8cb6-c3e192a98052'} failed://
//(code=1, message=Virtual machine does not exist: {'vmId': 
u'a19b9120-4f87-4a04-8cb6-c3e192a98052'})//

/

VM HE start is Ok, but without my parameter, i change emulated_machine 
to *pc-i440fx-rhel7.5.0* in my vm.conf, but i see this:


/ps ax | grep Hosted/

/./

/r-key.aes -machine 
//*pc-i440fx-rhel7.3.0*//,accel=kvm,usb=off,dump-guest-core=off -cpu 
Nehalem -m size=2097152k,slots=16,maxmem=8388608k -realtime mlock=off 
-smp 2,maxcpus=16,sockets=16,cores=1,/


/./

My ovirt packages:

vdsm-4.20.30-1.el7.x86_64

libvirt-3.9.0-14.el7_5.5.x86_64

qemu-kvm-ev-2.10.0-21.el7_5.3.1.x86_64

Centos 7.5.1804


This is critical for me, please help fix this!


Thanks, Alex.
//

___
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/5Q4GN4UCAZTFOR7MDEM4F3JIMEEAWMEF/


[ovirt-users] Ovirt Nested in VMWare (Working approach)

2018-06-13 Thread RabidCicada
I worked through this previously and posted in IRC yesterday about
working around running ovirt nested under VMWare.  I figured i'd post
it to the mail group so that it would be available in it's entirety
here for future reference:

The following gists explain the 3 major adjustments that have to be
made currently to get nested virt under vmware working:

https://gist.github.com/RabidCicada/993349b3a7eaf35637122f0122fdedb3
https://gist.github.com/RabidCicada/bc01eb0b13195faa26520c0fb666ec34
https://gist.github.com/RabidCicada/37ff6f1ed2afd8dd4edefac735536c69
https://gist.github.com/RabidCicada/40655db1582ca5d07c9bbf2c429cdd01

Hopefully it can save others the huge amount of time it took me to
figure it all out.

Specifically it's a problem with the --machine type at 3 major parts
of the vm creation for the hosted-engine.
1) You have to fix the virt-install to use --machine pc-i440fx-rhel7.2.0
2) You have to fix the guestfish spinup of the partially configured vm
to use --machine pc-i440fx-rhel7.2.0, where they edit the nic config
among other things
3) You have to tell vdsm on the node to use --machine pc-i440fx-rhel7.2.0

I don't know the underlying reason why a --machine type >
pc-i440fx-rhel7.2.0 breaks the system but it ends up resulting in a
bios freeze.

Again, Hope this helps someone.  Suggested only to use for a test/dev system.
___
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/UDVRS5I64WLFJJF7YXKXZNTQOZRJ6DOJ/


[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread femi adegoke
Since this is a single node gluster install, you have to add the gluster volume.

Log into the HE web gui
go to Storage, Storage Domains, click on "New Domain" (it's located at the top 
right side)
Storage Type: select GlusterFS
Export Path: enter in this format "myserver.mydomain.com:/my/local/path"
Click ok

Wait for it to do it's thing
___
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/YNYPXNZCAEZGPZKPX6BTFV6TMYLEK2XU/


[ovirt-users] OVA export/import

2018-06-13 Thread RabidCicada
All,
I recently tried to used the OVA export/import functionality.  It
seems I misunderstood the intentions.  I expected OVA export/import to
be reciprocal functionalities.  I expected what we export as OVA to be
importable as OVA in ovirt.

What I have found is the following:

* It seems OVA export does export an OVA, though the format is not
spec compliant
  * We use 'disk/' in the HostResource xml field instead of '/disk/'
for example in the ovf.
* It seems OVA import is intended specifically for VMWare OVA's?
* I thought I read about export domains being deprecated, and
incorrectly assumed the recently added OVA export/import was to make
things better for one off import/export.


Can anyone clarify the following:
* Is OVA import really just VMWare OVA's?
* Are we really not spec compliant with the OVA/OVF format as my
example above shows?  OR do I misunderstand something?
* After spending my time yesterday, I recall now that the deprecation
of export domain is in favor of detaching and re-attaching ANY data
domain.
* What is the purpose of our OVA export if we ourselves indeed cannot
import our own OVA?  Or can you tell me how we import our own if I'm
wrong.

Please feel free to overshare details :), as any context will help
prevent more confusion on my part.

~Kyle
___
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/MYWHJF4ZJS4VSJ2RWBSYDPPOWTI6VWW5/


[ovirt-users] Centos7.5 or Ovirt node for new hci build?

2018-06-13 Thread Jayme
I'm about to build a 3 host Ovirt hyperconverged cluster and was wondering
if it's recommended to use straight up Centos or would Ovirt node be a
better choice?

Thanks
___
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/H724RRGWIMA5WDCO5KIKW3IJEYRHW5U6/


[ovirt-users] Moving from thin to preallocated storage domains

2018-06-13 Thread Albl, Oliver
Hi all,

  I have to move some FC storage domains from thin to preallocated. I would set 
the storage domain to maintenance, convert the LUN from thin to preallocated on 
the array, remove "Discard After Delete" from the advanced settings of the 
storage domain and active it again. Is there anything else I need to take care 
of?

All the best,
Oliver

___
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/VUEQY5DHUC633US5HZQO3N2IQ2TVCZPX/


[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread Leo David
Finnally !!!
Femi,  thank you so much !!! I wouldn't have been able do solve this
without your help.
So,  just as info:
In this version ( iso ovirt-node-ng-installer-ovirt-4.2-2018053012 ) ,
multipah.conf seems to be alrady configured to blacklist all devices.
It already has configured :
# VDSM PRIVATE- as second line and,
blacklist {
devnode "*"
}

HE installation went fine, but after reboot the gluster volumes were not
present - glusterd daemon was not enabled at boot, so the ansible playbook
did not changed that.
Now, I am trying to figure out wat it would be the best procedure to create
a new gluster volume on sdc drive,  and put some vms to run on it.
Cockpit UI won't let me,  because its asking for 3 nodes and "No two hosts
can be the same" .
Should i just format the drive as xfs,  mount it ( fstab ) under
/gluster_briks/spinning_storage,  create the gluster volume from cli and
add it as a new storage domain ?
What it would be the best approach to accomplish this ?
Again, thank you very much  !





On Wed, Jun 13, 2018 at 12:05 PM, Leo David  wrote:

> Gluster volumes are started,  so I assume that the gluster part is fine.
> Would'nt make more sense to add everything to black list, reboot the
> server and continue with ovirt-engine vm setup ( and adding  
> 10.10.8.111:/engine
> for vm storage ) ?
> ie:
>
> blacklist {
> devnode "*"
> }
>
> Thank you !
>
>
>
> On Wed, Jun 13, 2018 at 11:05 AM, femi adegoke 
> wrote:
>
>> It's blacklist { not kblacklist (remove the "k")
>>
>> run this command to find wwids: ls -la /dev/disk/by-id/
>>
>> Is the existing gluster setup installed correctly?
>> ___
>> 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/W47PLDI3RYTGXVVFXORYPMJ2YH77XAY2/
>>
>
>
>
> --
> Best regards, Leo David
>



-- 
Best regards, Leo David
___
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/J2LJ6MLXKBXBK3XUVWZKXJEVMVQSJD52/


[ovirt-users] Failed to update VMs/Templates OVF data

2018-06-13 Thread Albl, Oliver
Hi,

  I have a FC storage domain reporting the following messages every hour:

VDSM command SetVolumeDescriptionVDS failed: Could not acquire resource. 
Probably resource factory threw an exception.: ()
Failed to update OVF disks cb04b55c-10fb-46fe-b9de-3c133a94e6a5, OVF data isn't 
updated on those OVF stores (Data Center VMTEST, Storage Domain VMHOST_LUN_62).
Failed to update VMs/Templates OVF data for Storage Domain VMHOST_LUN_62 in 
Data Center VMTEST.

Trying to manually update OVF results in "Error while executing action 
UpdateOvfStoreForStorageDomain: Internal Engine Error"

I run oVirt 4.2.3.5-1.el7.centos on CentOS 7.5 (3.10.0-862.3.2.el7.x86_64) with 
vdsm-4.20.27.1-1.el7.centos.x86_64

Engine log:

2018-06-13 12:15:35,649+02 WARN  
[org.ovirt.engine.core.dal.job.ExecutionMessageDirector] (default task-12) 
[092d8f27-c0a4-4d78-a8cb-f4738aff71e6] The message key 
'UpdateOvfStoreForStorageDomain' is missing from 'bundles/ExecutionMessages'
2018-06-13 12:15:35,655+02 INFO  
[org.ovirt.engine.core.bll.storage.domain.UpdateOvfStoreForStorageDomainCommand]
 (default task-12) [092d8f27-c0a4-4d78-a8cb-f4738aff71e6] Lock Acquired to 
object 
'EngineLock:{exclusiveLocks='[3edb5295-3797-4cd0-9b43-f46ec1ee7b14=OVF_UPDATE, 
373efd46-8aea-4d0e-96cc-1da0debf72d0=STORAGE]', sharedLocks=''}'
2018-06-13 12:15:35,660+02 INFO  
[org.ovirt.engine.core.bll.storage.domain.UpdateOvfStoreForStorageDomainCommand]
 (default task-12) [092d8f27-c0a4-4d78-a8cb-f4738aff71e6] Running command: 
UpdateOvfStoreForStorageDomainCommand internal: false. Entities affected :  ID: 
373efd46-8aea-4d0e-96cc-1da0debf72d0 Type: StorageAction group 
MANIPULATE_STORAGE_DOMAIN with role type ADMIN
2018-06-13 12:15:35,670+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
 (default task-12) [4fd5b59a] Running command: 
ProcessOvfUpdateForStoragePoolCommand internal: true. Entities affected :  ID: 
3edb5295-3797-4cd0-9b43-f46ec1ee7b14 Type: StoragePool
2018-06-13 12:15:35,674+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
 (default task-12) [4fd5b59a] Attempting to update VM OVFs in Data Center 
'VMTEST'
2018-06-13 12:15:35,678+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
 (default task-12) [4fd5b59a] Successfully updated VM OVFs in Data Center 
'VMTEST'
2018-06-13 12:15:35,678+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
 (default task-12) [4fd5b59a] Attempting to update template OVFs in Data Center 
'VMTEST'
2018-06-13 12:15:35,678+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
 (default task-12) [4fd5b59a] Successfully updated templates OVFs in Data 
Center 'VMTEST'
2018-06-13 12:15:35,678+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
 (default task-12) [4fd5b59a] Attempting to remove unneeded template/vm OVFs in 
Data Center 'VMTEST'
2018-06-13 12:15:35,680+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
 (default task-12) [4fd5b59a] Successfully removed unneeded template/vm OVFs in 
Data Center 'VMTEST'
2018-06-13 12:15:35,684+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
 (default task-12) [4fd5b59a] Lock freed to object 
'EngineLock:{exclusiveLocks='[3edb5295-3797-4cd0-9b43-f46ec1ee7b14=OVF_UPDATE, 
373efd46-8aea-4d0e-96cc-1da0debf72d0=STORAGE]', sharedLocks=''}'
2018-06-13 12:15:35,704+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStorageDomainCommand]
 (default task-12) [24485c23] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[]', 
sharedLocks='[3edb5295-3797-4cd0-9b43-f46ec1ee7b14=OVF_UPDATE]'}'
2018-06-13 12:15:35,714+02 INFO  
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStorageDomainCommand]
 (default task-12) [24485c23] Running command: 
ProcessOvfUpdateForStorageDomainCommand internal: true. Entities affected :  
ID: 373efd46-8aea-4d0e-96cc-1da0debf72d0 Type: StorageAction group 
MANIPULATE_STORAGE_DOMAIN with role type ADMIN
2018-06-13 12:15:35,724+02 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.SetVolumeDescriptionVDSCommand] 
(default task-12) [24485c23] START, SetVolumeDescriptionVDSCommand( 
SetVolumeDescriptionVDSCommandParameters:{storagePoolId='3edb5295-3797-4cd0-9b43-f46ec1ee7b14',
 ignoreFailoverLimit='false', 
storageDomainId='373efd46-8aea-4d0e-96cc-1da0debf72d0', 
imageGroupId='cb04b55c-10fb-46fe-b9de-3c133a94e6a5', 
imageId='a1e7554d-530c-4c07-a4b5-459a1c509e39'}), log id: 747d674f
2018-06-13 12:15:35,724+02 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.SetVolumeDescriptionVDSCommand] 
(default task-12) [24485c23] -- executeIrsBrokerCommand: calling 
'setVolumeDescription', parameters:
2018-06-13 12:15:35,724+02 INFO  

[ovirt-users] Re: Useless disk statistics API

2018-06-13 Thread Yedidyah Bar David
On Wed, Jun 13, 2018 at 12:20 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Yedidyah,
>
> Could you check the following read with *vmstat* operation, check the
> complete image.
>
>
>
>
That's better, but please run them in parallel.
Open two windows, run 'vmstat 1' in one of them, see that you get
close-to-zero
'bi', then run 'dd' in the other, see that 'bi' gets higher, wait a few
minutes,
then check oVirt metrics.

Thanks and good luck,


>
> 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
> 
> 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": [
>> >> > {
>> >> > "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": [
>> >> > {
>> >> > "datum": 0
>> >> > }
>> >> > ]
>> >> > },
>> >> > "disk": {
>> >> > "href": "/ovirt-engine/api/disks/f78c8
>> adf-23f9-4f52-a29b-0de3d844652e",
>> >> > "id": "f78c8adf-23f9-4f52-a29b-0de3d844652e"
>> >> > },
>> >> > "name": 

[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
 
 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": [
> >> > {
> >> > "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": [
> >> > {
> >> > "datum": 0
> >> > }
> >> > ]
> >> > },
> >> > "disk": {
> >> > "href": "/ovirt-engine/api/disks/f78c8
> adf-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-0de3d844652
> e/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
> 

[ovirt-users] Re: ovirt error

2018-06-13 Thread Yanir Quinn
Great :)
Can you share what was the issue and the solution ?

On Wed, Jun 13, 2018 at 10:11 AM, Арслан  wrote:

> Thanks, I solved the problem.
>
> С уважением,
> Кубанов Арслан
> Инженер
> Департамент сетевой интеграции
> ЛАНИТ129075, г. Москва, Мурманский проезд, д. 14 
> ,
>  корп. 1
> Тел.: +7 (495) 967-6650 #18287www.lanit.ru
>
> 11.06.2018 11:01, Yanir Quinn пишет:
>
> I would check for starters the status of the agent service  (e.g.  systemct
>>
>> ovirt-ha-agent
>>
>> ->  systemctl status ovirt-ha-agent
>
>
> On Mon, Jun 11, 2018 at 11:00 AM, Yanir Quinn  wrote:
>
>> Hi
>> Can you share some more information about your enviroment ?
>> 1. Stack (ovirt,libvirt,vdsm, etc)
>> 2. What is your setup ?
>> 3. Did you do any steps like upgrade/add an additional host ?
>>
>> If possible, please share agent and vdsm logs.
>>
>> I would check for starters the status of the agent service  (e.g.
>> systemct
>>
>> ovirt-ha-agent
>>
>>
>> On Thu, Jun 7, 2018 at 10:30 PM, Арслан  wrote:
>>
>>> hello.
>>>
>>> when executing the command traceback:
>>>
>>>
>>> # hosted-engine --vm-status
>>> Traceback (most recent call last):
>>>   File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
>>> "__main__", fname, loader, pkg_name)
>>>   File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
>>> exec code in run_globals
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
>>> line 116, in 
>>> if not status_checker.print_status():
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
>>> line 59, in print_status
>>> all_host_stats = ha_cli.get_all_host_stats()
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
>>> line 157, in get_all_host_stats
>>> return self.get_all_stats(self.StatModes.HOST)
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
>>> line 102, in get_all_stats
>>> stats = broker.get_stats_from_storage(service)
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>>> line 232, in get_stats_from_storage
>>> result = self._checked_communicate(request)
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>>> line 260, in _checked_communicate
>>> .format(message or response))
>>> ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed:
>>> 
>>>
>>>
>>> what is the reason?
>>>
>>> --
>>> С уважением,
>>> Кубанов Арслан
>>> Инженер
>>> Департамент сетевой интеграции
>>> ЛАНИТ129075, г. Москва, Мурманский проезд, д. 14 
>>> ,
>>>  корп. 1
>>> Тел.: +7 (495) 967-6650 #18287www.lanit.ru
>>>
>>>
>>> ___
>>> 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/4UAJN4MCO2TX56U3GUDLPTWVD5CFTICB/
>>>
>>>
>>
>
>
___
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/USJLTL6YG3SCZUOXDJHICIQ7YJ76Z6UW/


[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread Leo David
Gluster volumes are started,  so I assume that the gluster part is fine.
Would'nt make more sense to add everything to black list, reboot the server
and continue with ovirt-engine vm setup ( and adding  10.10.8.111:/engine
for vm storage ) ?
ie:

blacklist {
devnode "*"
}

Thank you !



On Wed, Jun 13, 2018 at 11:05 AM, femi adegoke 
wrote:

> It's blacklist { not kblacklist (remove the "k")
>
> run this command to find wwids: ls -la /dev/disk/by-id/
>
> Is the existing gluster setup installed correctly?
> ___
> 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/W47PLDI3RYTGXVVFXORYPMJ2YH77XAY2/
>



-- 
Best regards, Leo David
___
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/RHMNCYMKCBH6M5A25HW7DEJEFJKT5D3J/


[ovirt-users] Re: Useless disk statistics API

2018-06-13 Thread Yedidyah Bar David
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
>>> 
>>> 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": [
 >> > {
 >> > "datum": 0
 >> > }
 >> > ]
 >> > },
 >> > "disk": {
 >> > "href": "/ovirt-engine/api/disks/f78c8
 adf-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-0de3d844652
 e/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
 

[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread femi adegoke
It's blacklist { not kblacklist (remove the "k")

run this command to find wwids: ls -la /dev/disk/by-id/

Is the existing gluster setup installed correctly?
___
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/W47PLDI3RYTGXVVFXORYPMJ2YH77XAY2/


[ovirt-users] Re: Spice console pixelated noise on display changes

2018-06-13 Thread Mitja Mihelič

Greg, thank you for the referral. I will post my question there.

Since oVirt uses spice it seemed like a good shot to ask fellow admins 
here in the hope somebody has come across something alike.


Kind regards,
Mitja

On 12/06/2018 20:39, Greg Sheremeta wrote:
The spice-devel list can probably help: 
https://lists.freedesktop.org/mailman/listinfo/spice-devel


Best wishes,
Greg

On Tue, Jun 12, 2018 at 10:25 AM, Mitja Mihelič 
mailto:mitja.mihe...@arnes.si>> wrote:


Dear all,

We are running the following setup:
ovirt-engine host:
- CentOS release 7.5.1804
- ovirt-engine-4.1.9.1-1.el7.centos.noarch
- spice-html5-0.1.7-1.el7.noarch

We have noticed problems with the Spice console. When it opens and
displays the information presented by the VM's console it is OK at
first. But as soon as any part of the display changes, that part
gets replaced by random pixelated noise.
For example I open the console of a standard CentOS server. When I
type something at the login prompt the text is invisible and
random pixels are displayed at the position of the blinking
cursor. Please see attached screenshot
spice-1-login_typing_and_cursor_waiting.png.

Please also see other the attached screenshots.
Login prompt after VM reboot: spice-2-login_after_boot.png
Login prompt after hitting Enter a few times:
spice-3-login_2x_enter.png

We have tried and succesfully reproduced the issue on OSX (Chrome,
FF, Safari) and Windows (Chrome, FF).
VNC works fine.

Why would this be happening? Help would be very much appreciated.

Kind regards,
Mitja

-- 
Mitja Mihelič

ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 7

___
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/UOJIM33UOXVIX4IP7KMFZIFJPCBICWRG/






--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.com  IRC: gshereme





___
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/MYC5DFCOIE2AMVQHCWW2Y6BYIB7PEWXF/


[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
>> 
>> 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": [
>>> >> > {
>>> >> > "datum": 0
>>> >> > }
>>> >> > ]
>>> >> > },
>>> >> > "disk": {
>>> >> > "href": "/ovirt-engine/api/disks/f78c8
>>> adf-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-0de3d844652
>>> e/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/messag
>>> e/7TGIUQ2REOMSTJBGD3OPY5RE2KOSSFWM/
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Didi
>>> >
>>> >

[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread Leo David
Thank you,
The playbook just finnished successfully.
Now:
1. Should I create the blacklist acordingly:
kblacklist {
wwid INTEL_SSDSCKHB120G4_BTWM65160025120B
wwid eui.0025385171b04d62
wwid SAMSUNG_MZ7GE960HMHP-000AZ_S1P8NYAG123827
}
- but not sure what to put as wwid


2. How to deploy self-hosted engine vm, since when I hit any of the "Hosted
engine"  or "Hyperconverged"  it does not recognize the already gluster
setup ?
3. Will I be able to create some future gluster volumes using the other
unused hdds ? From Cockpit,  or again using gdeploy ?

I am really sorry if i put stupid questions, but i just don't understand
how to proceed further

On Wed, Jun 13, 2018 at 10:23 AM, femi adegoke 
wrote:

> Leo, you should still add the blacklist
> ___
> 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/PRSPQGLJRGVD7WOD2VAAXYRF2DBGF2HW/
>



-- 
Best regards, Leo David
___
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/FMBQ6S6VM54YEP2RTEZXWLNZ7BTCAMXV/


[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread Leo David
That was just me being stupid I was passing wrong values to the key for
volumes.
I am running again the playbook.

On Wed, Jun 13, 2018 at 10:22 AM, femi adegoke 
wrote:

> Can you run command lsblk
> What's your output?
>
> What is the "-h" for?
> [script1]
> action=execute
> ignore_script_errors=no
> file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h
>
> Please look at this file & make sure yours is similar
> https://pastebin.com/LTRQ78aJ
> ___
> 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/FWQYNPOFXWKXXJ4WR3OMZW7V2GKE3GKB/
>



-- 
Best regards, Leo David
___
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/73DBATWGD4OFIRIJ6HQUXDVDY6IEVQHX/


[ovirt-users] Re: Useless disk statistics API

2018-06-13 Thread Yedidyah Bar David
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
> 
> 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/f78c8adf-23f9-4f52-a29b-0de3d844652
>> e",
>> >> > "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": [
>> >> > {
>> >> > "datum": 0
>> >> > }
>> >> > ]
>> >> > },
>> >> > "disk": {
>> >> > "href": "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652
>> e",
>> >> > "id": "f78c8adf-23f9-4f52-a29b-0de3d844652e"
>> >> > },
>> >> > "name": "data.current.write",
>> >> > "description": "Write data rate",
>> >> > "href":
>> >> >
>> >> > "/ovirt-engine/api/disks/f78c8adf-23f9-4f52-a29b-0de3d844652
>> e/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/messag
>> e/7TGIUQ2REOMSTJBGD3OPY5RE2KOSSFWM/
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Didi
>> >
>> >
>>
>>
>>
>> --
>> 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: 

[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread femi adegoke
Leo, you should still add the blacklist
___
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/PRSPQGLJRGVD7WOD2VAAXYRF2DBGF2HW/


[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread femi adegoke
Can you run command lsblk
What's your output?

What is the "-h" for?
[script1]
action=execute
ignore_script_errors=no
file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h

Please look at this file & make sure yours is similar 
https://pastebin.com/LTRQ78aJ
___
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/FWQYNPOFXWKXXJ4WR3OMZW7V2GKE3GKB/


[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread Leo David
Fortunatelly, after node reinstallation nu more mpath devices are present:

 multipath -ll
Jun 13 06:32:10 | DM multipath kernel driver not loaded
Jun 13 06:32:10 | DM multipath kernel driver not loaded

But now I am encountering this "invalid number format \"virt\" in option
\"brick-uid":

TASK [Sets options for volume]
***
failed: [10.10.8.111] (item={u'key': u'storage.owner-uid', u'value':
u'virt'}) => {"changed": false, "item": {"key": "storage.owner-uid",
"value": "virt"}, "msg": "volume set: failed: invalid number format
\"virt\" in option \"brick-uid\"\n"}
changed: [10.10.8.111] => (item={u'key': u'storage.owner-gid', u'value':
u'36'})
failed: [10.10.8.111] (item={u'key': u'features.shard', u'value': u'36'})
=> {"changed": false, "item": {"key": "features.shard", "value": "36"},
"msg": "volume set: failed: Error, Validation Failed\n"}
changed: [10.10.8.111] => (item={u'key': u'performance.low-prio-threads',
u'value': u'30'})
changed: [10.10.8.111] => (item={u'key': u'performance.strict-o-direct',
u'value': u'on'})
changed: [10.10.8.111] => (item={u'key': u'network.remote-dio', u'value':
u'off'})
failed: [10.10.8.111] (item={u'key': u'network.ping-timeout', u'value':
u'enable'}) => {"changed": false, "item": {"key": "network.ping-timeout",
"value": "enable"}, "msg": "volume set: failed: invalid time format
\"enable\" in \"option ping-timeout\"\n"}

Below,  is my gdeploy.conf:

[hosts]
10.10.8.111
[script1]
action=execute
ignore_script_errors=no
file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb -h
10.10.8.111
[disktype]
jbod
[diskcount]
12
[stripesize]
256
[service1]
action=enable
service=chronyd
[service2]
action=restart
service=chronyd
[shell2]
action=execute
command=vdsm-tool configure --force
[script3]
action=execute
file=/usr/share/gdeploy/scripts/blacklist_all_disks.sh
ignore_script_errors=no

[pv]
action=create
devices=sdb
ignore_pv_errors=no

[vg1]
action=create
vgname=gluster_vg_sdb
pvname=sdb
ignore_vg_errors=no

[lv1]
action=create
poolname=gluster_thinpool_sdb
ignore_lv_errors=no
vgname=gluster_vg_sdb
lvtype=thinpool
size=804GB
poolmetadatasize=4GB

[lv2]
action=create
lvname=gluster_lv_engine
ignore_lv_errors=no
vgname=gluster_vg_sdb
mount=/gluster_bricks/engine
size=100GB
lvtype=thick

[lv3]
action=create
lvname=gluster_lv_data
ignore_lv_errors=no
vgname=gluster_vg_sdb
mount=/gluster_bricks/data
lvtype=thinlv
poolname=gluster_thinpool_sdb
virtualsize=400GB
[lv4]
action=create
lvname=gluster_lv_vmstore
ignore_lv_errors=no
vgname=gluster_vg_sdb
mount=/gluster_bricks/vmstore
lvtype=thinlv
poolname=gluster_thinpool_sdb
virtualsize=400GB
[selinux]
yes
[service3]
action=restart
service=glusterd
slice_setup=yes
[firewalld]
action=add
ports=111/tcp,2049/tcp,54321/tcp,5900/tcp,5900-6923/tcp,5666/tcp,16514/tcp,54322/tcp
services=glusterfs
[script2]
action=execute
file=/usr/share/gdeploy/scripts/disable-gluster-hooks.sh
[shell3]
action=execute
command=usermod -a -G gluster qemu
[volume1]
action=create
volname=engine
transport=tcp
key=storage.owner-uid,storage.owner-gid,features.shard,performance.low-prio-threads,performance.strict-o-direct,network.remote-dio,network.ping-timeout,user.cifs,nfs.disable,performance.quick-read,performance.read-ahead,performance.io-cache,cluster.eager-lock
value=36,36,on,32,on,off,30,off,on,off,off,off,enable
#key=group,storage.owner-uid,storage.owner-gid,network.ping-timeout,performance.strict-o-direct,network.remote-dio,cluster.granular-entry-heal
value=virt,36,36,30,on,off,enable
#brick_dirs=10.10.8.111:/gluster_bricks/engine/engine
brick_dirs=/gluster_bricks/engine/engine
ignore_volume_errors=no

[volume2]
action=create
volname=data
transport=tcp
key=storage.owner-uid,storage.owner-gid,features.shard,performance.low-prio-threads,performance.strict-o-direct,network.remote-dio,network.ping-timeout,user.cifs,nfs.disable,performance.quick-read,performance.read-ahead,performance.io-cache,cluster.eager-lock
value=36,36,on,32,on,off,30,off,on,off,off,off,enable
#key=group,storage.owner-uid,storage.owner-gid,network.ping-timeout,performance.strict-o-direct,network.remote-dio,cluster.granular-entry-heal

value=virt,36,36,30,on,off,enable
#brick_dirs=10.10.8.111:/gluster_bricks/data/data
brick_dirs=/gluster_bricks/data/data
ignore_volume_errors=no

[volume3]
action=create
volname=vmstore
transport=tcp
key=storage.owner-uid,storage.owner-gid,features.shard,performance.low-prio-threads,performance.strict-o-direct,network.remote-dio,network.ping-timeout,user.cifs,nfs.disable,performance.quick-read,performance.read-ahead,performance.io-cache,cluster.eager-lock
value=36,36,on,32,on,off,30,off,on,off,off,off,enable
#key=group,storage.owner-uid,storage.owner-gid,network.ping-timeout,performance.strict-o-direct,network.remote-dio,cluster.granular-entry-heal

value=virt,36,36,30,on,off,enable

[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

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-13 Thread Yedidyah Bar David
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/WMJUSGIRSGKWUXD4K6C2FLGPYIDISGE2/


[ovirt-users] Re: Fwd: Re: Single node single node SelfHosted Hyperconverged

2018-06-13 Thread femi adegoke
A blacklist is a list of the disks that the system should NOT mark as multipath 
disks.

You need to create a file, you can name it local.conf, create it in this 
location: /etc/multipath/conf.d/

Use the most current iso.

I think there might be a bug.
___
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/SWNMBQSIM74657FALFANBLAMR2VKXLHI/