[ovirt-users] Re: better understand ovirt-engine functions

2018-08-03 Thread stuartk
I have been reading about fencing:
https://www.ovirt.org/develop/developer-guide/engine/automatic-fencing/
https://www.slideshare.net/MartinPeina/host-fencing-in-ovirt-fixing-the-unknown-and-allowing-vms-to-be-highly-available

Looking at Edit Cluster, I see:
X Enable Fencing
 Skip fencing if host has live lease on storage
 Skip fencing on cluster connectivity issues 
Threshold 50
i.e. Fencing is Enabled and neither of the two 'Skip' options are checked

Looking at Edit Host... Power Management, I see:
X Enable Power Management
X Kdump integration
Primary
[ ... and the remaining fields are populated with our ILO address & credential 
info ...]

OK, I get it now.  Here's the story:
- ovirt-engine runs on Cluster A in Data Center A
- When ovirt-engine is unable to reach Cluster B in Data Center B, given enough 
disruption, Fencing will kick in and try to mitigate the problem using various 
techniques, including (eventually) power cycling via the ILO

One path forward for me is to check:
 X Skip fencing on cluster connectivity issues 
Threshold 50
And twink with the Threshold to be more suitable for my cluster:
 X Skip fencing on cluster connectivity issues 
Threshold 2

OK, I have a plausible model for understanding what has been happening.

Thank you for your assistance.

--sk
___
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/GP4KCCM3CS3BW44U6UQQXJM3SPIUVG63/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Gianluca Cecchi
Thanks for your explanation. Just one more clarification. See below

On Fri, Aug 3, 2018 at 5:06 PM, Jan Siml  wrote:

> Hello,
>
> So your workflow was:
>>
>> - run engine-setup and got failure
>> was it able in your case to restore the engine db in this first run and
>> start engine again?
>> You wrote that there was an upload failure and that you removed it: did
>> you mean you removed it from the GUI, and confirming that after first
>> failure the webadmin gui was still reachable?
>>
>
> No, WUI was down because service was stopped by engine-setup and not
> started afterwards when restore of DB backups failed. But starting
> ovirt-engine service brought engine and WUI up.


Can you confirm if also in your case the rollback of the db failed? If so,
how could you be sure of the consistency of the database if only a partial
restore has been executed and the pg_restore command failed?
So after manually starting the engine service you were able to connect and
delete from GUI the transfer, correct?


>
>>
>> - run engine-setup again and got failure
>> It seems that after this second failure your engine and dwh db are down,
>> so also the engine portal...
>> Then you manually execute the delete statement
>>
>> - engine-setup again and it succeeds
>>
>> Correct?
>>
>
> Yes, just inspected the table, deleted one row with the mentioned stament
> and sucessfully retried the upgrade.
>
> Regards
>
> Jan
>

So after the GUI deletion of the wrong transfer you executed engine-setup
again; did you choose to backup the db or not when proposed?
after the error you manually deleted and executed again engine-setup

So at the end you run 3 times the engine-setup program?

It remains my doubt about the status of the engine database due to
pg_restore failed in the middle, so some tables/objects could have the old
structure and some tables the new.
It should be analyzed in your case from 4.2.4 to 4.2.5 what are the db
operation to execute duting upgrade and in my case  when trying to pass
from 4.2.3 to 4.2.5

Gianluca
___
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/Z6JMTOVOWO2PFSGKIVZAQ7GYFUYOBL4M/


[ovirt-users] Re: UI plugin of billing

2018-08-03 Thread Vojtech Szocs
Hello!

If you'd like to create your own UI plugin, I'd suggest to first take a
look at samples-uiplugins
 repo. In general,
the UI plugin API has stayed (more or less) backwards-compatible since
oVirt 3.2.x days, so most of these sample plugins should still work.

Next, you might want to check out the ui-extensions project (GitHub mirror
link below, Gerrit link here
) - we'll
use it to contain multiple oVirt admin UI extensions:

   - dashboard page
   - VM migrate dialog (used on both VM main grid and Host/VM detail grid)
   - ... and hopefully more in the future!

(we're currently using ovirt-engine-dashboard but it will soon be replaced
with ovirt-engine-ui-extensions which gets installed as part of
ovirt-engine installation)

You might also want to read the feature page at
https://ovirt.org/develop/release-management/features/ux/uiplugins/ but
it's probably better to dive into examples.

Regards,
Vojtech


On Thu, Aug 2, 2018 at 12:54 PM, Greg Sheremeta  wrote:

> Hi :)
>
> I can certainly help with the UI plugin part. The new way to do this is
> using react + REST API. Take a look at
> https://github.com/oVirt/ovirt-engine-ui-extensions
> you could model your plugin on the Migrate VM plugin there.
> https://github.com/oVirt/ovirt-engine-ui-extensions/
> blob/master/src/integrations/buttons.js
>
> I suspect you'll need to do backend work for this one though :) Someone
> else can chime in here.
>
> Best wishes,
> Greg
>
> On Thu, Aug 2, 2018 at 4:12 AM 董青龙  wrote:
>
>> Hi all,
>> I want to develop an UI plugin for ovirt which aimes at
>> translating metrics to prices like CloudKitty of openstack. Has anyone done
>> it? Can anyone give me some advice? 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/NQ4NFILNJYLHYJETIDKOL3FKGPM2VZH4/
>>
>
>
> --
>
> GREG SHEREMETA
>
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>
> Red Hat NA
>
> 
>
> gsher...@redhat.comIRC: 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/U76QPEVC3KKTAMRHBOXKQPWXE7PAM3F3/
>
>
___
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/D3WAEUS4LAXNAXRSA3MSPAU3Z5QZ2PVM/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Jan Siml

Hello,


So your workflow was:

- run engine-setup and got failure
was it able in your case to restore the engine db in this first run and 
start engine again?
You wrote that there was an upload failure and that you removed it: did 
you mean you removed it from the GUI, and confirming that after first 
failure the webadmin gui was still reachable?


No, WUI was down because service was stopped by engine-setup and not 
started afterwards when restore of DB backups failed. But starting 
ovirt-engine service brought engine and WUI up.


In my case after first run failure, my engine is down and trying to 
reach I get:

"
Service Unavailable

The server is temporarily unable to service your request due to 
maintenance downtime or capacity problems. Please try again later.

"

- run engine-setup again and got failure
It seems that after this second failure your engine and dwh db are down, 
so also the engine portal...

Then you manually execute the delete statement

- engine-setup again and it succeeds

Correct?


Yes, just inspected the table, deleted one row with the mentioned 
stament and sucessfully retried the upgrade.


Regards

Jan
___
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/GYPNS4WKUIGUV6GFKJE2W4KREWFL/


[ovirt-users] Re: Pool

2018-08-03 Thread suporte
Thanks again. 


De: "Gianluca Cecchi"  
Para: supo...@logicworks.pt 
Cc: "Petr Kotas" , "users"  
Enviadas: Sexta-feira, 3 De Agosto de 2018 15:39:58 
Assunto: Re: [ovirt-users] Re: Pool 

On Fri, Aug 3, 2018 at 4:23 PM, < supo...@logicworks.pt > wrote: 



Thanks Gianluca 

What is the advantage to be in stateless? 

José 





I think you could read this link: 

https://www.ovirt.org/documentation/admin-guide/chap-Pools/ 

and also official RHV doc here: 

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/chap-pools
 

In particular: 
: 
Virtual machine pools are stateless by default, meaning that virtual machine 
data and configuration changes are not persistent across reboots. However, the 
pool can be configured to be stateful, allowing changes made by a previous user 
to persist. However, if a user configures console options for a virtual machine 
taken from a virtual machine pool, those options will be set as the default for 
that user for that virtual machine pool. 

NOTE 
Virtual machines taken from a pool are not stateless when accessed from the 
Administration Portal. This is because administrators need to be able to write 
changes to the disk if necessary. 
" 

And also 
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/detaching_virtual_machines_from_a_vm_pool
 

with 
" 
Ensure the virtual machine has a status of Down; you cannot detach a running 
virtual machine. 
" 

It is quite some time and I thought you had to detach the VM while running, 
while the phrase above confirms the opposite. 
It is to be understood the time when the changes are deleted in case of 
stateless. 

You can use pools for temporary stations to give to your guests, or to setup 
labs where you want your pool to be already setup and running (the feature of 
pre-start) and cleared after students have used it. 
Using REST-API (I dont think you can configure from web admin gui) you can 
timely check how many free (powered off) VMs remain and dynamically grow the 
pool if needed 

HIH, 
Gianluca 

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


[ovirt-users] Re: Pool

2018-08-03 Thread Gianluca Cecchi
On Fri, Aug 3, 2018 at 4:23 PM,  wrote:

> Thanks Gianluca
>
> What is the advantage to be in stateless?
>
> José
>
>
I think you could read this link:

https://www.ovirt.org/documentation/admin-guide/chap-Pools/

and also official RHV doc here:

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/chap-pools

In particular:
:
Virtual machine pools are stateless by default, meaning that virtual
machine data and configuration changes are not persistent across reboots.
However, the pool can be configured to be stateful, allowing changes made
by a previous user to persist. However, if a user configures console
options for a virtual machine taken from a virtual machine pool, those
options will be set as the default for that user for that virtual machine
pool.

NOTE
Virtual machines taken from a pool are not stateless when accessed from the
Administration Portal. This is because administrators need to be able to
write changes to the disk if necessary.
"

And also
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/detaching_virtual_machines_from_a_vm_pool

with
"
Ensure the virtual machine has a status of Down; you cannot detach a
running virtual machine.
"

It is quite some time and I thought you had to detach the VM while running,
while the phrase above confirms the opposite.
It is to be understood the time when the changes are deleted in case of
stateless.

You can use pools for temporary stations to give to your guests, or to
setup labs where you want your pool to be already setup and running (the
feature of pre-start) and cleared after students have used it.
Using REST-API (I dont think you can configure from web admin gui) you can
timely check how many free (powered off) VMs remain and dynamically grow
the pool if needed

HIH,
Gianluca
___
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/ENUJW4ZFBSCNEHQYXD4OCTZL4VXVZCFD/


[ovirt-users] Re: Pool

2018-08-03 Thread suporte
Thanks Gianluca 

What is the advantage to be in stateless? 

José 


De: "Gianluca Cecchi"  
Para: supo...@logicworks.pt 
Cc: "Petr Kotas" , "users"  
Enviadas: Sexta-feira, 3 De Agosto de 2018 15:13:44 
Assunto: Re: [ovirt-users] Re: Pool 

On Fri, Aug 3, 2018 at 4:08 PM, < supo...@logicworks.pt > wrote: 



Better is you remember to remove the stateless property, when the VM is 
shutdown and before you make any change on the disk. 

Why, by default, the VM remains in stateless after you detach it from the pool? 




I thought that for a stateless VM the changes are destroyed on shutdown, not on 
next power on. 
If it is as I thought , you cannot bypass the snapshot/clone; otherwise you can 
open an RFE so that when you detach a VM from pool you are asked if you want to 
leave it as stateless or not. 

Gianluca 


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


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Gianluca Cecchi
On Fri, Aug 3, 2018 at 4:09 PM, Jan Siml  wrote:

> Hello,
>
> On 03.08.2018 15:52, Gianluca Cecchi wrote:
>
>> On Fri, Aug 3, 2018 at 2:14 PM, Jan Siml > js...@plusline.net>> wrote:
>>
>> Hello,
>>
>> There are probably some more stale image transfers records,
>> can you please check whether 'image_transfers' table is empty?
>> If not, you can try removing them by executing:
>> "DELETE FROM image_transfers WHERE command_id NOT IN (SELECT
>> command_entities.command_id FROM command_entities);"
>> (you can simply prepend it to
>> '04_02_1210_add_foreign_key_to_image_transfers.sql')
>>
>>
>> that's how it worked and the update was successful. Thanks!
>>
>> Jan,
>> are you saying that after your second update failure that failed also the
>> the restore of the databases, you added the delete statement into the
>> 04_02_1210_add_foreign_key_to_image_transfers.sql script?
>> How? because the yum rollback phase completed in my case so under
>> /usr/share/ovirt-engine/dbscripts/upgrade/ I currently don't have it...
>> And the first update error leaves the engine down
>>
>
> I checked the table in psql and found only one row. Then I used the above
> statement to delete the orphaned row and retried the update. Worked.
>
> Regards
>
> Jan
>

So your workflow was:

- run engine-setup and got failure
was it able in your case to restore the engine db in this first run and
start engine again?
You wrote that there was an upload failure and that you removed it: did you
mean you removed it from the GUI, and confirming that after first failure
the webadmin gui was still reachable?

In my case after first run failure, my engine is down and trying to reach I
get:
"
Service Unavailable

The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.
"

- run engine-setup again and got failure
It seems that after this second failure your engine and dwh db are down, so
also the engine portal...
Then you manually execute the delete statement

- engine-setup again and it succeeds

Correct?

Gianluca
___
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/MCOO6JMSPS7BBIGJSIVIV3N3B35FFFQR/


[ovirt-users] Re: Pool

2018-08-03 Thread Gianluca Cecchi
On Fri, Aug 3, 2018 at 4:08 PM,  wrote:

> Better is you remember to remove the stateless property, when the VM is
> shutdown and before you make any change on the disk.
>
> Why, by default, the VM remains in stateless after you detach it from the
> pool?
>
>
I thought that for a stateless VM the changes are destroyed on shutdown,
not on next power on.
If it is as I thought , you cannot bypass the snapshot/clone; otherwise you
can open an RFE so that when you detach a VM from pool you are asked if you
want to leave it as stateless or not.

Gianluca
___
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/OGQ376554MBIZKBRUXSMKMSDB5SS2AS7/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Jan Siml

Hello,

On 03.08.2018 15:52, Gianluca Cecchi wrote:
On Fri, Aug 3, 2018 at 2:14 PM, Jan Siml > wrote:


Hello,

There are probably some more stale image transfers records,
can you please check whether 'image_transfers' table is empty?
If not, you can try removing them by executing:
"DELETE FROM image_transfers WHERE command_id NOT IN (SELECT
command_entities.command_id FROM command_entities);"
(you can simply prepend it to
'04_02_1210_add_foreign_key_to_image_transfers.sql')


that's how it worked and the update was successful. Thanks!

Jan,
are you saying that after your second update failure that failed also 
the the restore of the databases, you added the delete statement into 
the 04_02_1210_add_foreign_key_to_image_transfers.sql script?
How? because the yum rollback phase completed in my case so under 
/usr/share/ovirt-engine/dbscripts/upgrade/ I currently don't have it...

And the first update error leaves the engine down


I checked the table in psql and found only one row. Then I used the 
above statement to delete the orphaned row and retried the update. Worked.


Regards

Jan
___
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/DRUDGDS355VKP3GP2CN2B7Z7XABP4ZOC/


[ovirt-users] Re: Pool

2018-08-03 Thread suporte
Better is you remember to remove the stateless property, when the VM is 
shutdown and before you make any change on the disk. 

Why, by default, the VM remains in stateless after you detach it from the pool? 


De: "Gianluca Cecchi"  
Para: supo...@logicworks.pt 
Cc: "Petr Kotas" , "users"  
Enviadas: Sexta-feira, 3 De Agosto de 2018 14:55:34 
Assunto: Re: [ovirt-users] Re: Pool 

On Fri, Aug 3, 2018 at 3:46 PM, < supo...@logicworks.pt > wrote: 



Hi Petr, 

When I detach a VM from a pool, the VM remains in stateless server, meaning, if 
I do some changes in the disk, install some software change some 
configurations, and do a shutdown, when the VM comes live again I loose 
everything and all modifications I did before. 

How can I avoid this? Editing the VM and remove it from stateless in General 
options? 

Thanks 

José 




I don't know if it is possible to change the inherited stateless property of 
the VM on the fly. 
In case you can make a snapshot of the detached VM and then clone the snapshot 
into a new VM, change the property of this new VM removing the stateless flag 
and using it as your "new" version of the needed VM. And if all ok you 
power-off/remove the detached one 

Gianluca 

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


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Gianluca Cecchi
On Fri, Aug 3, 2018 at 3:52 PM, Gianluca Cecchi 
wrote:

> On Fri, Aug 3, 2018 at 2:14 PM, Jan Siml  wrote:
>
>> Hello,
>>
>> There are probably some more stale image transfers records,
>>> can you please check whether 'image_transfers' table is empty?
>>> If not, you can try removing them by executing:
>>> "DELETE FROM image_transfers WHERE command_id NOT IN (SELECT
>>> command_entities.command_id FROM command_entities);"
>>> (you can simply prepend it to '04_02_1210_add_foreign_key_to
>>> _image_transfers.sql')
>>>
>>
>> that's how it worked and the update was successful. Thanks!
>>
>> Regards
>>
>> Jan
>>
>
> Jan,
> are you saying that after your second update failure that failed also the
> the restore of the databases, you added the delete statement into the
> 04_02_1210_add_foreign_key_to_image_transfers.sql script?
> How? because the yum rollback phase completed in my case so under
> /usr/share/ovirt-engine/dbscripts/upgrade/ I currently don't have it...
> And the first update error leaves the engine down
>
>
>

the snippet of the failed engine db restore inside log file is:

2018-08-03 14:15:47,017+0200 INFO
otopi.ovirt_engine_setup.engine_common.database database.restore:869
Restoring file
'/var/lib/ovirt-engine/backups/engine-20180803141347.gdQfiz.dump' to
database localhost:
engine.
2018-08-03 14:15:47,017+0200 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execu
tePipeRaw:481 executePipeRaw: [0] popen kw={'stdin': None, 'stdout': -1,
'preexec_fn': , 'env': {'PGPASSWORD': '', 'LESSOPEN':
'||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT'
: '192.168.1.211 56098 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME':
'root', 'USER': 'root', 'HOME':
 '/root', 'PATH':
'/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/b
in:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64',
'LANG': 'en_US.UTF-8', 'TER
M': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH':
'/opt/rh/rh-postgresql95/root/usr/lib64', '
SHLVL': '5', 'HISTSIZE': '1000', 'POSTGRESQLENV':
'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr
/bin/pg_dump
COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql
COMMAND/pg_re
store=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore
COMMAND/postgresql-setup=str:/opt/rh
/rh-postgresql95/root/usr/bin/postgresql-setup
OVESETUP_PROVISIONING/postgresService=str:rh-po
stgresql95-postgresql
OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/p
gsql/data/postgresql.conf
OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/
lib/pgsql/data/pg_hba.conf
OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgres
ql95/lib/pgsql/data/PG_VERSION', 'MANPATH':
'/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'r
h-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH':
'/usr/share/ovirt-engine/setup/bin/..
::', 'PGPASSFILE': '/tmp/tmpM8aXOE', 'SELINUX_ROLE_REQUESTED': '', 'MAIL':
'/var/spool/mail/root', 'PKG
_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig',
'XDG_SESSION_ID': '4386', 'sclenv':
'rh-postgresql95', 'LS_COLORS':
'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=3
8;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5
;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex

. . .

'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'SSH_TTY':
'/dev/pts/1', 'HOSTNAME': 'ovirt.lutwyn.org', 'JAVACONFDIRS':
'/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED':
'', 'HISTCONTROL': 'ignoredups', 'XDG_DATA_DIRS':
'/opt/rh/rh-postgresql95/root/usr/share', 'PWD': '/root', 'CPATH':
'/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE':
'/var/log/ovirt-engine/setup/ovirt-engine-setup-20180803140934-1thg3k.log',
'SSH_CONNECTION': '192.168.1.211 56098 192.168.1.212 22', 'OTOPI_EXECDIR':
'/root'}, 'close_fds': True, 'args':
['/opt/rh/rh-postgresql95/root/usr/bin/pg_restore', '-w', '-h',
'localhost', '-p', '5432', '-U', 'engine', '-d', 'engine', '--jobs=2',
'/var/lib/ovirt-engine/backups/engine-20180803141347.gdQfiz.dump'],
'stderr': -1}
2018-08-03 14:15:47,041+0200 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
plugin.executePipeRaw:486 executePipeRaw: [0] pid pid=10100
2018-08-03 14:16:03,535+0200 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
plugin.executePipeRaw:603 executePipe-result: [0]
['/opt/rh/rh-postgresql95/root/usr/bin/pg_restore', '-w', '-h',
'localhost', '-p', '5432', '-U', 'engine', '-d', 'engine', '--jobs=2',
'/var/lib/ovirt-engine/backups/engine-20180803141347.gdQfiz.dump'], rc=1
2018-08-03 14:16:03,536+0200 DEBUG
otopi.ovirt_engine_setup.engine_common.database database.restore:922 db
restore rc 1 stderr ['pg_restore: [archiver (db)] Error while PROCESSING
TOC:', 'pg_restore: [archiver (db)] Error from TOC entry 7251; 0 0 COMMENT
EXTENSION plpgsql ', 'pg_restore: [archiver 

[ovirt-users] [ANN] oVirt 4.2.6 First Release Candidate is now available

2018-08-03 Thread Sandro Bonazzola
The oVirt Project is pleased to announce the availability of the oVirt
4.2.6 First Release Candidate for testing, as of August 3rd, 2018.

This update is a release candidate of the sixth in a series of
stabilization updates to the 4.2
series.
This is pre-release software. This pre-release should not to be used in
production.

This release is available now for:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later

See the release notes [1] for installation / upgrade instructions and
a list of new features and bugs fixed.

Notes:
- oVirt Appliance is available
- oVirt Node is available [2]

Additional Resources:
* Read more about the oVirt 4.2.6 release highlights:
http://www.ovirt.org/release/4.2.6/
* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
http://www.ovirt.org/blog/

[1] http://www.ovirt.org/release/4.2.6/
[2] http://resources.ovirt.org/pub/ovirt-4.2-pre/iso/


-- 

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


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


[ovirt-users] Re: Pool

2018-08-03 Thread Gianluca Cecchi
On Fri, Aug 3, 2018 at 3:46 PM,  wrote:

> Hi Petr,
>
> When I detach a VM from a pool, the VM remains in stateless server,
> meaning, if I do some changes in the disk, install some software change
> some configurations, and do a shutdown, when the VM comes live again I
> loose everything and all modifications I did before.
>
> How can I avoid this? Editing the VM and remove it from stateless in
> General options?
>
> Thanks
>
> José
>
>
I don't know if it is possible to change the inherited stateless property
of the VM on the fly.
In case you can make a snapshot of the detached VM and then clone the
snapshot into a new VM, change the property of this new VM removing the
stateless flag and using it as your "new" version of the needed VM. And if
all ok you power-off/remove the detached one

Gianluca
___
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/4BG47WWQZ6RNEJBTJGVRTXYK3JXWCROL/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Gianluca Cecchi
On Fri, Aug 3, 2018 at 2:14 PM, Jan Siml  wrote:

> Hello,
>
> There are probably some more stale image transfers records,
>> can you please check whether 'image_transfers' table is empty?
>> If not, you can try removing them by executing:
>> "DELETE FROM image_transfers WHERE command_id NOT IN (SELECT
>> command_entities.command_id FROM command_entities);"
>> (you can simply prepend it to '04_02_1210_add_foreign_key_to
>> _image_transfers.sql')
>>
>
> that's how it worked and the update was successful. Thanks!
>
> Regards
>
> Jan
>

Jan,
are you saying that after your second update failure that failed also the
the restore of the databases, you added the delete statement into the
04_02_1210_add_foreign_key_to_image_transfers.sql script?
How? because the yum rollback phase completed in my case so under
/usr/share/ovirt-engine/dbscripts/upgrade/
I currently don't have it...
And the first update error leaves the engine down
___
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/HTTYOSCO2FFIVP5UEQYF7Q6EE3WTEPIS/


[ovirt-users] Re: Pool

2018-08-03 Thread suporte
Hi Petr, 

When I detach a VM from a pool, the VM remains in stateless server, meaning, if 
I do some changes in the disk, install some software change some 
configurations, and do a shutdown, when the VM comes live again I loose 
everything and all modifications I did before. 

How can I avoid this? Editing the VM and remove it from stateless in General 
options? 

Thanks 

José 


De: supo...@logicworks.pt 
Para: "Petr Kotas"  
Cc: "users"  
Enviadas: Segunda-feira, 30 De Julho de 2018 13:54:47 
Assunto: [ovirt-users] Re: Pool 

Thanks again Petr. 

José 


De: "Petr Kotas"  
Para: supo...@logicworks.pt 
Cc: "users"  
Enviadas: Segunda-feira, 30 De Julho de 2018 11:55:51 
Assunto: Re: [ovirt-users] Pool 

Hi José, 

one more thing. You can delete the VM even when you enabled the `Delete 
protection`. 
1) Detach the VM from pool 
2) Find the VM and in `Edit` disable the `Delete protection` 
3) Now you can `Remove` the VM. 

Happy to help. 
Petr 

On Mon, Jul 30, 2018 at 12:27 PM < supo...@logicworks.pt > wrote: 



Hi Petr, 

Ok I see. Many thanks. 

José 


De: "Petr Kotas" < pko...@redhat.com > 
Para: supo...@logicworks.pt 
Cc: "users" < users@ovirt.org > 
Enviadas: Segunda-feira, 30 De Julho de 2018 7:26:30 
Assunto: Re: [ovirt-users] Pool 

Hi Josá, 

yes it is possible, unless you enabled `Delete protection` checkbox while 
creating the pool. 
Then just detach the VM from the pool and delete it afterwards. 

https://www.ovirt.org/documentation/admin-guide/chap-Pools/ 

Petr 

On Sun, Jul 29, 2018 at 7:31 PM < supo...@logicworks.pt > wrote: 

BQ_BEGIN

I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that 
pool. Is that possible? 

Thanks 

Josá 

-- 

Jose Ferradeira 
http://www.logicworks.pt 
___ 
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/WB72CNBHZ35O43QKDIJUSIUD4MNQOETK/
 




BQ_END



___ 
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/QBNSK4YJ3VVX6KMRQCGV7NMRWHOKBRLR/
 
___
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/CCNN5JM6WENFT4JBWZZHCAZSUEXKGQ2T/


[ovirt-users] Datacenter of several Hosts with Local Storage ? (share Logical Network)

2018-08-03 Thread jeanbaptiste
Hello,

My question is pretty simple :)
Is there a way to configure  Local(s) Storage Datacenter with more than 1 host ?

The goal is is to share some Datacenter simple parameters between several hosts 
(with Local storage) like Logical Networks ?
 If it is not possible what is the best way / workaound to do this ?
To compare, on Xenserver, it is possible to configure a "Pool" of some hosts 
which have Local Storage, but which share same Logical network configuration.. 
(I do not say XS is better^^, far from it !)

Thanks for all :)
Jean-Baptiste
___
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/6TO75UKJCYCGVQNSBHUX4QSOFCCSKCYP/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Gianluca Cecchi
In particular, the log of the db restore, where I can find it? to
understand which state of the db I have now on disk... the old, the new, a
partial restore or what...

at this time the image_transfers table is clearly the old one without the
foreign key:

engine=# \d image_transfers
Table "public.image_transfers"
  Column   |   Type   |   Modifiers

---+--+
 command_id| uuid | not null
 command_type  | integer  | not null
 phase | integer  | not null
 last_updated  | timestamp with time zone | not null
 message   | character varying|
 vds_id| uuid |
 disk_id   | uuid |
 imaged_ticket_id  | uuid |
 proxy_uri | character varying|
 signed_ticket | character varying|
 bytes_sent| bigint   |
 bytes_total   | bigint   |
 type  | integer  | not null default 0
 active| boolean  | not null default
false
 daemon_uri| character varying|
 client_inactivity_timeout | integer  |
Indexes:
"pk_image_transfers" PRIMARY KEY, btree (command_id)
"idx_image_transfers_disk_id" btree (disk_id)


and contains

engine=# select * from image_transfers;
  command_id  | command_type | phase |
last_updated|   m
essage   |vds_id|
 disk_id| imaged
_ticket_id |   proxy_uri|




  signed_ticket






























  | bytes_sent | bytes_total |
type | active | daemon_uri |
 client_inactivity_timeout
--+--+---++
-+--+--+---
---++--
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---

[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Gianluca Cecchi
As the potential user could upgrade from an older version, though not
recommended to stay too much below, I simulate this upgrade from 4.2.3.7
(current engine package version is ovirt-engine-4.2.3.7-1.el7.noarch
updated on 26/05)  to 4.2.5 and I get this in engine-setup

[ INFO  ] Backing up database localhost:engine to
'/var/lib/ovirt-engine/backups/engine-20180803141347.gdQfiz.dump'.
[ INFO  ] Creating/refreshing Engine database schema
[ ERROR ] schema.sh: FATAL: Cannot execute sql command:
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql
[ ERROR ] Failed to execute stage 'Misc configuration': Engine schema
refresh failed
[ INFO  ] Yum Performing yum transaction rollback

[ INFO  ] Restoring file
'/var/lib/ovirt-engine/backups/engine-20180803141347.gdQfiz.dump' to
database localhost:engine.
[ ERROR ] Errors while restoring engine database, please check the log file
for details
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20180803140934-1thg3k.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20180803141603-setup.conf'
[WARNING] Rollback of DWH database started
  This might be a long process, but it should be safe to start the
engine service before it finishes, if needed.
[ INFO  ] Clearing DWH database ovirt_engine_history
[ INFO  ] Restoring DWH database ovirt_engine_history
[ INFO  ] Restoring file
'/var/lib/ovirt-engine-dwh/backups/dwh-20180803141340.cQoOU2.dump' to
database localhost:ovirt_engine_history.
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed
[root@ovirt ~]#

Until fixed what would be the step to resolve, as also the restore of
database failed?
What can I do to restore/clean/upgrade again?

BTW: it is a self hosted engine

Thanks,
Gianluca

On Fri, Aug 3, 2018 at 2:14 PM, Jan Siml  wrote:

> Hello,
>
> There are probably some more stale image transfers records,
>> can you please check whether 'image_transfers' table is empty?
>> If not, you can try removing them by executing:
>> "DELETE FROM image_transfers WHERE command_id NOT IN (SELECT
>> command_entities.command_id FROM command_entities);"
>> (you can simply prepend it to '04_02_1210_add_foreign_key_to
>> _image_transfers.sql')
>>
>
> that's how it worked and the update was successful. Thanks!
>
> Regards
>
> Jan
> ___
> 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/RQS4MHPWU7HWCZH6BIELHVGPB4BMBBGL/
>
___
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/QVU7OITP3ZWIZZHO2AWBWM63P7ZKTGEC/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Jan Siml

Hello,


There are probably some more stale image transfers records,
can you please check whether 'image_transfers' table is empty?
If not, you can try removing them by executing:
"DELETE FROM image_transfers WHERE command_id NOT IN (SELECT 
command_entities.command_id FROM command_entities);"
(you can simply prepend it to 
'04_02_1210_add_foreign_key_to_image_transfers.sql')


that's how it worked and the update was successful. Thanks!

Regards

Jan
___
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/RQS4MHPWU7HWCZH6BIELHVGPB4BMBBGL/


[ovirt-users] cannot activate host

2018-08-03 Thread Jiří Sléžka
Hi,

I have one interesting issue. I was asked by colleague to repair his
cluster which is part of our oVirt installation. He tried to upgrade his
host to gain 4.2 compatibility level but it fails in some cases. Never
mind, I checked it, repaired, installed upgrades and activate his hosts
with one exception.

One of hosts was stucked in finishing two tasks. One was changing
network configuration, the second was activating of this host. I have to
manually clear this tasks in database by

SELECT * FROM job ORDER BY start_time DESC;
SELECT DeleteJob('...job_id...');
SELECT DeleteJob('...job_id...');

Now this tasks are gone but still cannot activate this host.


Error while executing action:

blade01:

Cannot activate Host. Related operation is currently in progress.
Please try again later.

Host is updatet (latest 4.2 repo), rebooted, looks fine...

In tasks in UI are no tasks found (the same in db)...

What can I do now?

Cheers, Jiri




smime.p7s
Description: S/MIME Cryptographic Signature
___
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/C2TWKXGOEESXCDJUZ7IBKYDE2APFN4ZB/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Daniel Erez
On Fri, Aug 3, 2018 at 2:01 PM Jan Siml  wrote:

> Hello,
>
> > If there are Disk Uploads that have not completed (i.e: currently
> > Paused or with Error) and were not canceled the upgrade will fail.This
> > is due to a foreign key being added on 4.2.5, relating image_transfers
> > table to command_entities table.
> >
> > When the roll-back to the previous RHV-M version finishes, open the
> > Administration Portal and navigate to Storage -> Disks.
>
> there was indeed one disk upload which wasn't finshed. I have canceled
> it and removed the disk.
>
> > If it fails then share your observations with us, so we need to do
> > some manual changes in database.
> The seconds attempt to update failed to:
>
> Running upgrade sql script
>
> '/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql'...
>
> 2018-08-03 12:45:05,808+0200 DEBUG
> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
> plugin.execute:926 execute-output:
> ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p',
>   '5432', '-u', 'engine', '-d', 'engine', '-l',
> '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180803124017-k94hg1.log',
>
> '-c', 'apply'] stderr:
> psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql:1:
>
> ERROR:  insert or update on table "image_transfers" violates foreign key
> constraint "fk_image_tran
> sfers_command_enitites"
> DETAIL:  Key (command_id)=(312f711f-a5c3-477d-8533-82ef88a54b77) is not
> present in table "command_entities".
> FATAL: Cannot execute sql command:
>
> --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql
>

There are probably some more stale image transfers records,
can you please check whether 'image_transfers' table is empty?
If not, you can try removing them by executing:
"DELETE FROM image_transfers WHERE command_id NOT IN (SELECT
command_entities.command_id FROM command_entities);"
(you can simply prepend it to
'04_02_1210_add_foreign_key_to_image_transfers.sql')


>
> 2018-08-03 12:45:05,809+0200 ERROR
> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:434
> schema.sh: FATAL: Cannot execute sql command:
> --file=/usr/share/ovirt-engine/dbscripts/upg
> rade/04_02_1210_add_foreign_key_to_image_transfers.sql
> 2018-08-03 12:45:05,812+0200 DEBUG otopi.context
> context._executeMethod:143 method exception
> Traceback (most recent call last):
>File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133,
> in _executeMethod
>  method['method']()
>File
> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py",
>
> line 436, in _misc
>  raise RuntimeError(_('Engine schema refresh failed'))
> RuntimeError: Engine schema refresh failed
> 2018-08-03 12:45:05,815+0200 ERROR otopi.context
> context._executeMethod:152 Failed to execute stage 'Misc configuration':
> Engine schema refresh failed
>
> The restore for both databases (engine and engine_hirory) fails too:
>
> pg_restore: [archiver (db)] Error from TOC entry 7339; 0 0 COMMENT
> EXTENSION "uuid-ossp"
> pg_restore: [archiver (db)] could not execute query: ERROR:  must be
> owner of extension uuid-ossp
>
> Regards
>
> Jan
> ___
> 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/DSVVDV42APPUKQN6XV4ZUSI3PUAXPOWB/
>
___
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/F5UMM27QBPMUTWYMEJJSFAH5JJO5CXVF/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Greg Sheremeta
On Fri, Aug 3, 2018 at 7:01 AM Jan Siml  wrote:

> Hello,
>
> > If there are Disk Uploads that have not completed (i.e: currently
> > Paused or with Error) and were not canceled the upgrade will fail.This
> > is due to a foreign key being added on 4.2.5, relating image_transfers
> > table to command_entities table.
> >
> > When the roll-back to the previous RHV-M version finishes, open the
> > Administration Portal and navigate to Storage -> Disks.
>
> there was indeed one disk upload which wasn't finshed. I have canceled
> it and removed the disk.
>
> > If it fails then share your observations with us, so we need to do
> > some manual changes in database.
> The seconds attempt to update failed to:
>
> Running upgrade sql script
>
> '/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql'...
>

Turns out this is a regression that we are working urgently to fix:
https://bugzilla.redhat.com/show_bug.cgi?id=1609839

Thanks to all who have reported!


> 2018-08-03 12:45:05,808+0200 DEBUG
> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
> plugin.execute:926 execute-output:
> ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p',
>   '5432', '-u', 'engine', '-d', 'engine', '-l',
> '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180803124017-k94hg1.log',
>
> '-c', 'apply'] stderr:
> psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql:1:
>
> ERROR:  insert or update on table "image_transfers" violates foreign key
> constraint "fk_image_tran
> sfers_command_enitites"
> DETAIL:  Key (command_id)=(312f711f-a5c3-477d-8533-82ef88a54b77) is not
> present in table "command_entities".
> FATAL: Cannot execute sql command:
>
> --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql
>
> 2018-08-03 12:45:05,809+0200 ERROR
> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:434
> schema.sh: FATAL: Cannot execute sql command:
> --file=/usr/share/ovirt-engine/dbscripts/upg
> rade/04_02_1210_add_foreign_key_to_image_transfers.sql
> 2018-08-03 12:45:05,812+0200 DEBUG otopi.context
> context._executeMethod:143 method exception
> Traceback (most recent call last):
>File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133,
> in _executeMethod
>  method['method']()
>File
> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py",
>
> line 436, in _misc
>  raise RuntimeError(_('Engine schema refresh failed'))
> RuntimeError: Engine schema refresh failed
> 2018-08-03 12:45:05,815+0200 ERROR otopi.context
> context._executeMethod:152 Failed to execute stage 'Misc configuration':
> Engine schema refresh failed
>
> The restore for both databases (engine and engine_hirory) fails too:
>
> pg_restore: [archiver (db)] Error from TOC entry 7339; 0 0 COMMENT
> EXTENSION "uuid-ossp"
> pg_restore: [archiver (db)] could not execute query: ERROR:  must be
> owner of extension uuid-ossp
>
> Regards
>
> Jan
> ___
> 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/DSVVDV42APPUKQN6XV4ZUSI3PUAXPOWB/
>


-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.comIRC: 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/35EXAEIZIXPG44Z3TT5ATE2BGCALSACU/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Jan Siml

Hello,


If there are Disk Uploads that have not completed (i.e: currently
Paused or with Error) and were not canceled the upgrade will fail.This
is due to a foreign key being added on 4.2.5, relating image_transfers
table to command_entities table.
 
When the roll-back to the previous RHV-M version finishes, open the

Administration Portal and navigate to Storage -> Disks.


there was indeed one disk upload which wasn't finshed. I have canceled 
it and removed the disk.


If it fails then share your observations with us, so we need to do 
some manual changes in database.

The seconds attempt to update failed to:

Running upgrade sql script 
'/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql'...


2018-08-03 12:45:05,808+0200 DEBUG 
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema 
plugin.execute:926 execute-output: 
['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p',
 '5432', '-u', 'engine', '-d', 'engine', '-l', 
'/var/log/ovirt-engine/setup/ovirt-engine-setup-20180803124017-k94hg1.log', 
'-c', 'apply'] stderr:
psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql:1: 
ERROR:  insert or update on table "image_transfers" violates foreign key 
constraint "fk_image_tran

sfers_command_enitites"
DETAIL:  Key (command_id)=(312f711f-a5c3-477d-8533-82ef88a54b77) is not 
present in table "command_entities".
FATAL: Cannot execute sql command: 
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql


2018-08-03 12:45:05,809+0200 ERROR 
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:434 
schema.sh: FATAL: Cannot execute sql command: 
--file=/usr/share/ovirt-engine/dbscripts/upg

rade/04_02_1210_add_foreign_key_to_image_transfers.sql
2018-08-03 12:45:05,812+0200 DEBUG otopi.context 
context._executeMethod:143 method exception

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, 
in _executeMethod

method['method']()
  File 
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", 
line 436, in _misc

raise RuntimeError(_('Engine schema refresh failed'))
RuntimeError: Engine schema refresh failed
2018-08-03 12:45:05,815+0200 ERROR otopi.context 
context._executeMethod:152 Failed to execute stage 'Misc configuration': 
Engine schema refresh failed


The restore for both databases (engine and engine_hirory) fails too:

pg_restore: [archiver (db)] Error from TOC entry 7339; 0 0 COMMENT 
EXTENSION "uuid-ossp"
pg_restore: [archiver (db)] could not execute query: ERROR:  must be 
owner of extension uuid-ossp


Regards

Jan
___
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/DSVVDV42APPUKQN6XV4ZUSI3PUAXPOWB/


[ovirt-users] Re: Schema upgrade error while updating 4.2.4 to 4.2.5

2018-08-03 Thread Vaibhav Pagar
Hello,

If there are Disk Uploads that have not completed (i.e: currently Paused or 
with Error) and were not canceled the upgrade will fail.This is due to a 
foreign key being added on 4.2.5, relating image_transfers table to 
command_entities table.

When the roll-back to the previous RHV-M version finishes, open the 
Administration Portal and navigate to Storage -> Disks.

Browse all disks looking for disks with status different than OK, such as 
Paused by System. Right click and cancel/remove these failed or paused uploads, 
then try the upgrade again.
If it fails then share your observations with us, so we need to do some manual 
changes in database.


Regards,

Vaibhav Pagar
___
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/RK72RQCWI52JOCYRI276VOY37WARQI7M/


[ovirt-users] Re: Tuning and testing GlusterFS performance

2018-08-03 Thread Sahina Bose
On Fri, 3 Aug 2018 at 3:07 PM, Jayme  wrote:

> Hello,
>
> The option to optimize for virt store is tough to find (in my opinion) you
> have to go to volumes > volume name and then click the two dots to expand
> further options in the top right to see it.  No one would know to find it
> (or that it even exists) if they weren't specifically looking.
>
> I don't know enough about it but my assumption is that there are reasons
> why it's not set by default (as it might or should not need to apply to
> ever volume created), however my suggestion would be that it be included in
> the cockpit as a selectable option next to each volume you create with a
> hint to suggest that for best performance select it for any volume that is
> going to be a data volume for VMs
>

If you have installed via Cockpit, the options are set.
Can you provide the “gluster volume info “ output  after you optimised for
virt?



.
>
> I simply installed using the latest node ISO / default cockpit deployment.
>
> Hope this helps!
>
> - Jayme
>
> On Fri, Aug 3, 2018 at 5:15 AM, Sahina Bose  wrote:
>
>>
>>
>> On Fri, Aug 3, 2018 at 5:25 AM, Jayme  wrote:
>>
>>> Bill,
>>>
>>> I thought I'd let you (and others know this) as it might save you some
>>> headaches.  I found that my performance problem was resolved by clicking
>>> "optimize for virt store" option in the volume settings of the hosted
>>> engine (for the data volume).  Doing this one change has increased my I/O
>>> performance by 10x alone.  I don't know why this would not be set or
>>> recommended by default but I'm glad I found it!
>>>
>>
>> Thanks for the feedback, Could you log a bug to make it default by
>> providing the user flow that you used.
>>
>> Also, I would be interested to know how you prepared the gluster volume
>> for use - if it was using the Cockpit deployment UI, the volume options
>> would have been set by default.
>>
>>
>>> - James
>>>
>>> On Thu, Aug 2, 2018 at 2:32 PM, William Dossett <
>>> william.doss...@gmail.com> wrote:
>>>
 Yeah, I am just ramping up here, but this project is mostly on my own
 time and money, hence no SSDs for Gluster… I’ve already blown close to $500
 of my own money on 10Gb ethernet cards and SFPs on ebay as my company
 frowns on us getting good deals for equipment on ebay and would rather go
 to their preferred supplier – where $500 wouldn’t even buy half a 10Gb CNA
 ☹  but I believe in this project and it feels like it is getting ready
 for showtime – if I can demo this in a few weeks and get some interest I’ll
 be asking them to reimburse me, that’s for sure!



 Hopefully going to get some of the other work off my plate and work on
 this later this afternoon, will let you know any findings.



 Regards

 Bill





 *From:* Jayme 
 *Sent:* Thursday, August 2, 2018 11:07 AM
 *To:* William Dossett 
 *Cc:* users 
 *Subject:* Re: [ovirt-users] Tuning and testing GlusterFS performance



 Bill,



 Appreciate the feedback and would be interested to hear some of your
 results.  I'm a bit worried about what i'm seeing so far on a very stock 3
 node HCI setup.  8mb/sec on that dd test mentioned in the original post
 from within a VM (which may be explained by bad testing methods or some
 other configuration considerations).. but what is more worrisome to me is
 that I tried another dd test to time creating a 32GB file, it was taking a
 long time so I exited the process and the VM basically locked up on me, I
 couldn't access it or the console and eventually had to do a hard shutdown
 of the VM to recover.



 I don't plan to host many VMs, probably around 15.  They aren't super
 demanding servers but some do read/write big directories such as working
 with github repos and large node_module folders, rsyncs of fairly large
 dirs etc.  I'm definitely going to have to do a lot more testing before I
 can be assured enough to put any important VMs on this cluster.



 - James



 On Thu, Aug 2, 2018 at 1:54 PM, William Dossett <
 william.doss...@gmail.com> wrote:

 I usually look at IOPs using IOMeter… you usually want several workers
 running reads and writes in different threads at the same time.   You can
 run Dynamo on a Linux instance and then connect it to a window GUI running
 IOMeter to give you stats.  I was getting around 250 IOPs on JBOD sata
 7200rpm drives which isn’t bad for cheap and cheerful sata drives.



 As I said, I’ve worked with HCI in VMware now for a couple of years,
 intensely this last year when we had some defective Dell hardware and
 trying to diagnose the problem.  Since then the hardware has been
 completely replaced with all flash solution.   So when I got the all flash
 solution I used IOmeter on it and was only 

[ovirt-users] Re: Tuning and testing GlusterFS performance

2018-08-03 Thread Jayme
Hello,

The option to optimize for virt store is tough to find (in my opinion) you
have to go to volumes > volume name and then click the two dots to expand
further options in the top right to see it.  No one would know to find it
(or that it even exists) if they weren't specifically looking.

I don't know enough about it but my assumption is that there are reasons
why it's not set by default (as it might or should not need to apply to
ever volume created), however my suggestion would be that it be included in
the cockpit as a selectable option next to each volume you create with a
hint to suggest that for best performance select it for any volume that is
going to be a data volume for VMs.

I simply installed using the latest node ISO / default cockpit deployment.

Hope this helps!

- Jayme

On Fri, Aug 3, 2018 at 5:15 AM, Sahina Bose  wrote:

>
>
> On Fri, Aug 3, 2018 at 5:25 AM, Jayme  wrote:
>
>> Bill,
>>
>> I thought I'd let you (and others know this) as it might save you some
>> headaches.  I found that my performance problem was resolved by clicking
>> "optimize for virt store" option in the volume settings of the hosted
>> engine (for the data volume).  Doing this one change has increased my I/O
>> performance by 10x alone.  I don't know why this would not be set or
>> recommended by default but I'm glad I found it!
>>
>
> Thanks for the feedback, Could you log a bug to make it default by
> providing the user flow that you used.
>
> Also, I would be interested to know how you prepared the gluster volume
> for use - if it was using the Cockpit deployment UI, the volume options
> would have been set by default.
>
>
>> - James
>>
>> On Thu, Aug 2, 2018 at 2:32 PM, William Dossett <
>> william.doss...@gmail.com> wrote:
>>
>>> Yeah, I am just ramping up here, but this project is mostly on my own
>>> time and money, hence no SSDs for Gluster… I’ve already blown close to $500
>>> of my own money on 10Gb ethernet cards and SFPs on ebay as my company
>>> frowns on us getting good deals for equipment on ebay and would rather go
>>> to their preferred supplier – where $500 wouldn’t even buy half a 10Gb CNA
>>> ☹  but I believe in this project and it feels like it is getting ready
>>> for showtime – if I can demo this in a few weeks and get some interest I’ll
>>> be asking them to reimburse me, that’s for sure!
>>>
>>>
>>>
>>> Hopefully going to get some of the other work off my plate and work on
>>> this later this afternoon, will let you know any findings.
>>>
>>>
>>>
>>> Regards
>>>
>>> Bill
>>>
>>>
>>>
>>>
>>>
>>> *From:* Jayme 
>>> *Sent:* Thursday, August 2, 2018 11:07 AM
>>> *To:* William Dossett 
>>> *Cc:* users 
>>> *Subject:* Re: [ovirt-users] Tuning and testing GlusterFS performance
>>>
>>>
>>>
>>> Bill,
>>>
>>>
>>>
>>> Appreciate the feedback and would be interested to hear some of your
>>> results.  I'm a bit worried about what i'm seeing so far on a very stock 3
>>> node HCI setup.  8mb/sec on that dd test mentioned in the original post
>>> from within a VM (which may be explained by bad testing methods or some
>>> other configuration considerations).. but what is more worrisome to me is
>>> that I tried another dd test to time creating a 32GB file, it was taking a
>>> long time so I exited the process and the VM basically locked up on me, I
>>> couldn't access it or the console and eventually had to do a hard shutdown
>>> of the VM to recover.
>>>
>>>
>>>
>>> I don't plan to host many VMs, probably around 15.  They aren't super
>>> demanding servers but some do read/write big directories such as working
>>> with github repos and large node_module folders, rsyncs of fairly large
>>> dirs etc.  I'm definitely going to have to do a lot more testing before I
>>> can be assured enough to put any important VMs on this cluster.
>>>
>>>
>>>
>>> - James
>>>
>>>
>>>
>>> On Thu, Aug 2, 2018 at 1:54 PM, William Dossett <
>>> william.doss...@gmail.com> wrote:
>>>
>>> I usually look at IOPs using IOMeter… you usually want several workers
>>> running reads and writes in different threads at the same time.   You can
>>> run Dynamo on a Linux instance and then connect it to a window GUI running
>>> IOMeter to give you stats.  I was getting around 250 IOPs on JBOD sata
>>> 7200rpm drives which isn’t bad for cheap and cheerful sata drives.
>>>
>>>
>>>
>>> As I said, I’ve worked with HCI in VMware now for a couple of years,
>>> intensely this last year when we had some defective Dell hardware and
>>> trying to diagnose the problem.  Since then the hardware has been
>>> completely replaced with all flash solution.   So when I got the all flash
>>> solution I used IOmeter on it and was only getting around 3000 IOPs on
>>> enterprise flash disks… not exactly stellar, but OK for one VM.  The trick
>>> there was the scale out.  There is a VMware Fling call HCI Bench.  Its very
>>> cool in that you spin up one VM and then it spawns 40 more VMs across the
>>> cluster.  I  could then use VSAN observer and it showed my 

[ovirt-users] Re: Unable to revive host after a reboot

2018-08-03 Thread julius . schwartzenberg
I just noticed that indeed ovirtmgmt had moved to the right part there. 
Dragging it to the left allowed me to bring up the host again!

Then I got to this error when trying to run a VM "Cannot run VM. Unknown Data 
Center status.". When I checked the status it says 'Non Responsive'. It turns 
out that I was just impatient and at some point I could start my VMs again.

I'm not sure what exactly happened and why I couldn't see ovirtmgmt on the 
right before. In any case, thank you very much for the help!!
___
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/MWL63NIIFDZUTVVXA6VI4ZVAETQ3MU4H/


[ovirt-users] Poor performance of oVirt Export Domain

2018-08-03 Thread Aleksey . I . Maksimov
Hello

I deployed a dedicated server (fs05.holding.com) on CentOS 7.5 and created a 
VDO volume on it.
The local write test in the VDO volume on this server gives us an acceptable 
result

# dd if=/dev/zero of=/mnt/vdo-vd1/nfs/testfile count=100
100+0 records in
100+0 records out
51200 bytes (512 MB) copied, 6.26545 s, 81.7 MB/s

The disk capacity of the VDO volume is connected to the oVirt 4.2.5 cluster as 
the Export Domain via NFS.

I'm seeing a problem with the low performance of Export Domain.
Snapshots of virtual machines are copied very slowly to the Export Domain, 
approximately 6-8 MB/s.

At the same time, if I try to run a write test in an mounted NFS-directory on 
any of the oVit cluster hosts, I get about 50-70 MB/s.

# dd if=/dev/zero 
of=/rhev/data-center/mnt/fs05.holding.com:_mnt_vdo-vd1_nfs_ovirt-vm-backup/testfile
 count=1000
1000+0 records in
1000+0 records out
512000 bytes (5.1 GB) copied, 69.5506 s, 73.6 MB/s

Help me understand the reason for the slow copying to Export Domain on oVirt.
___
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/MYESC36YT7LIORFCVZLOHFOZEH4C4JHL/


[ovirt-users] Re: Unable to revive host after a reboot

2018-08-03 Thread Edward Haas
On Fri, Aug 3, 2018 at 10:22 AM,  wrote:

> But when I do 'ip addr show' the ovirtmgmt interface is there and 'brctl
> show' shows that it's bridged with eno1. This suggests me that ovirtmgmt
> was not removed.
>

Nevertheless, it is no longer owned by oVirt/VDSM.


>
> The host is still listed in the engine, so I cannot re-add it. The remove
> button is grayed out, so I cannot remove it either.
>
> I'm still not sure how I should proceed now. Would it be possible to
> describe the steps to go to back to a working state?
>

Can you try on the setup network window to drag the ovirtmgmt network over
the nic and apply?


> ___
> 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/22WK5V6KXRXS2LW65ZQCQ34D7HXRXK7T/
>
___
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/E7D3SF4YI4KVQAY2NGOWFUSMYHL7NZDZ/


[ovirt-users] Re: Tuning and testing GlusterFS performance

2018-08-03 Thread Sahina Bose
On Fri, Aug 3, 2018 at 5:25 AM, Jayme  wrote:

> Bill,
>
> I thought I'd let you (and others know this) as it might save you some
> headaches.  I found that my performance problem was resolved by clicking
> "optimize for virt store" option in the volume settings of the hosted
> engine (for the data volume).  Doing this one change has increased my I/O
> performance by 10x alone.  I don't know why this would not be set or
> recommended by default but I'm glad I found it!
>

Thanks for the feedback, Could you log a bug to make it default by
providing the user flow that you used.

Also, I would be interested to know how you prepared the gluster volume for
use - if it was using the Cockpit deployment UI, the volume options would
have been set by default.


> - James
>
> On Thu, Aug 2, 2018 at 2:32 PM, William Dossett  > wrote:
>
>> Yeah, I am just ramping up here, but this project is mostly on my own
>> time and money, hence no SSDs for Gluster… I’ve already blown close to $500
>> of my own money on 10Gb ethernet cards and SFPs on ebay as my company
>> frowns on us getting good deals for equipment on ebay and would rather go
>> to their preferred supplier – where $500 wouldn’t even buy half a 10Gb CNA
>> ☹  but I believe in this project and it feels like it is getting ready
>> for showtime – if I can demo this in a few weeks and get some interest I’ll
>> be asking them to reimburse me, that’s for sure!
>>
>>
>>
>> Hopefully going to get some of the other work off my plate and work on
>> this later this afternoon, will let you know any findings.
>>
>>
>>
>> Regards
>>
>> Bill
>>
>>
>>
>>
>>
>> *From:* Jayme 
>> *Sent:* Thursday, August 2, 2018 11:07 AM
>> *To:* William Dossett 
>> *Cc:* users 
>> *Subject:* Re: [ovirt-users] Tuning and testing GlusterFS performance
>>
>>
>>
>> Bill,
>>
>>
>>
>> Appreciate the feedback and would be interested to hear some of your
>> results.  I'm a bit worried about what i'm seeing so far on a very stock 3
>> node HCI setup.  8mb/sec on that dd test mentioned in the original post
>> from within a VM (which may be explained by bad testing methods or some
>> other configuration considerations).. but what is more worrisome to me is
>> that I tried another dd test to time creating a 32GB file, it was taking a
>> long time so I exited the process and the VM basically locked up on me, I
>> couldn't access it or the console and eventually had to do a hard shutdown
>> of the VM to recover.
>>
>>
>>
>> I don't plan to host many VMs, probably around 15.  They aren't super
>> demanding servers but some do read/write big directories such as working
>> with github repos and large node_module folders, rsyncs of fairly large
>> dirs etc.  I'm definitely going to have to do a lot more testing before I
>> can be assured enough to put any important VMs on this cluster.
>>
>>
>>
>> - James
>>
>>
>>
>> On Thu, Aug 2, 2018 at 1:54 PM, William Dossett <
>> william.doss...@gmail.com> wrote:
>>
>> I usually look at IOPs using IOMeter… you usually want several workers
>> running reads and writes in different threads at the same time.   You can
>> run Dynamo on a Linux instance and then connect it to a window GUI running
>> IOMeter to give you stats.  I was getting around 250 IOPs on JBOD sata
>> 7200rpm drives which isn’t bad for cheap and cheerful sata drives.
>>
>>
>>
>> As I said, I’ve worked with HCI in VMware now for a couple of years,
>> intensely this last year when we had some defective Dell hardware and
>> trying to diagnose the problem.  Since then the hardware has been
>> completely replaced with all flash solution.   So when I got the all flash
>> solution I used IOmeter on it and was only getting around 3000 IOPs on
>> enterprise flash disks… not exactly stellar, but OK for one VM.  The trick
>> there was the scale out.  There is a VMware Fling call HCI Bench.  Its very
>> cool in that you spin up one VM and then it spawns 40 more VMs across the
>> cluster.  I  could then use VSAN observer and it showed my hosts were
>> actually doing 30K IOPs on average which is absolutely stellar
>> performance.
>>
>>
>>
>> Anyway, moral of the story there was that your one VM may seem like its
>> quick, but not what you would expect from flash…   but as you add more VMs
>> in the cluster and they are all doing workloads, it scales out beautifully
>> and the read/write speed does not slow down as you add more loads.  I’m
>> hoping that’s what we are going to see with Gluster.
>>
>>
>>
>> Also, you are using mb nomenclature below, is that Mb, or MB?  I am sort
>> of assuming MB megabytes per second…  it does not seem very fast.  I’m
>> probably not going to get to work more on my cluster today as I’ve got
>> other projects that I need to get done on time, but I want to try and get
>> some templates up and running and do some more testing either tomorrow or
>> this weekend and see what I get in just basic writing MB/s and let you know.
>>
>>
>>
>> Regards
>>
>> Bill
>>
>>
>>
>>
>>
>> *From:* Jayme 
>> 

[ovirt-users] Re: Switch from nightly to stable

2018-08-03 Thread Michal Skrivanek


> On 2 Aug 2018, at 10:30, Demeter Tibor  wrote:
> 
> Dear users,
> Around ovirt 4.2.2 after a bug I had switch to nightly from stable. Its was 
> do applied only on the engine, not compute nodes. 
> But now I would like to switch back to stable branch.
> How is safe that? I just need do remove the nightly repo and update?

should work

> Need to apply a yum update * before or not? 

rather not. 

It will only work when the stable release is newer than what you run as nightly.
I hope you’re talking about 4.2 nightlies…if you run 4.3 master then it is not 
that safe then. But if you only speak about nodes then worst case you can 
reinstall them, it doesn’t affect your engine configuration or VMs in any way.

Thanks,
michal

> 
> Please describe me what is the safe procedure.
> Thanks in advance,
> Regards,
> Tibor
> 
> ___
> 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/2RPQRP4VRXOVLCPZIVBSBZ6KIOHNKAO2/

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


[ovirt-users] Re: Possible to use Console via Mac web browser?

2018-08-03 Thread Michal Skrivanek


> On 3 Aug 2018, at 00:34, Jayme  wrote:
> 
> I got it working in chrome by setting spice+vnc then selecting the novnc 
> option in the console options

Yes, that is currently the most flexible option.
That way you can choose between VNC (most compatible, web-based client) and 
SPICE (better performance, features when you have supported client installed) 
at runtime

Thanks
michal

> 
> On Thu, Aug 2, 2018, 6:50 PM Christophe TREFOIS,  > wrote:
> I guess there are console options, where you can set HTML5 now.
> 
>  
> 
> Check on the small “arrow” next to the console icon.
> 
>  
> 
> From: Jayme mailto:jay...@gmail.com>> 
> Sent: jeudi 2 août 2018 01:02
> To: users mailto:users@ovirt.org>>
> Subject: [ovirt-users] Possible to use Console via Mac web browser?
> 
>  
> 
> I recall in the past (on a bit older of an oVirt build) I was able to launch 
> VM consoles from my web browser.  I believe it may have been using spice 
> html5 at the time, is this still possible?  Currently launching console 
> downloads the typical .vv file.  
> 
>  
> 
> What is currently the best/easiest method to access VM consoles using MacOS?
> 
> ___
> 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/QEKA5E5FNY2I522P42MYHEWKKUVKRDXM/
>  
> 
___
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/XC3IKZTVEV3YBXA2XKOGNJ4HZMU36XYO/


[ovirt-users] Re: Unable to revive host after a reboot

2018-08-03 Thread julius . schwartzenberg
But when I do 'ip addr show' the ovirtmgmt interface is there and 'brctl show' 
shows that it's bridged with eno1. This suggests me that ovirtmgmt was not 
removed.

The host is still listed in the engine, so I cannot re-add it. The remove 
button is grayed out, so I cannot remove it either.

I'm still not sure how I should proceed now. Would it be possible to describe 
the steps to go to back to a working state?
___
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/22WK5V6KXRXS2LW65ZQCQ34D7HXRXK7T/