[ovirt-users] Re: Ovirt Hosted Engine Setup

2020-07-21 Thread Gianluca Cecchi
On Tue, Jul 21, 2020 at 6:56 AM Vijay Sachdeva via Users 
wrote:

> Hi Ritesh,
>
>
>
> Currently I can’t use 4.4, I am using 4.3.8 for the deployment and now
> using from CLI it got stuck here:
>
>
>
>
>
> I want to understand, what actually it is trying to do in the backend. Is
> it like trying to create the bridge and getting the network UP? As it is
> again stuck for past 1 hour
>
>
>
> Thanks
>
> Vijay Sachdeva
>
>
>
>
If you are in the phase where you have a local hosted engine VM before
final stage,you should find in /etc/hosts of the host at the first line the
temporary ip assigned to it.
So you can ssh into the engine VM with that ip and go into
/var/log/ovirt-engine/host-deploy/ directory to check logs

btw: why 4.3.8 and not 4.3.10?

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


[ovirt-users] which cpu type should I chose ??

2020-07-21 Thread tommy
Hi:

 

1.My server using as ovirt host is built on virtualbox and the cpu info is: 

 

vendor_id   : GenuineIntel

cpu family  : 6

model   : 142

model name  : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz

stepping: 10

cpu MHz : 1992.002

cache size  : 8192 KB

physical id : 0

siblings: 3

core id : 2

cpu cores   : 3

apicid  : 2

initial apicid  : 2

fpu : yes

fpu_exception   : yes

cpuid level : 22

wp  : yes

flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm
constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni
pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave
avx rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti
tpr_shadow flexpriority fsgsbase avx2 invpcid rdseed clflushopt md_clear
flush_l1d

bugs: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
mds swapgs itlb_multihit srbds

bogomips: 3984.00

clflush size: 64

cache_alignment : 64

address sizes   : 39 bits physical, 48 bits virtual

power management:

 

2.On the ovirt host page it appears that the host is unusable.The log info
is: Host ohost3 moved to Non-Operational state as host does not meet the
cluster's minimum CPU level. Missing CPU features : model_IvyBridge, ssbd,
spec_ctrl

 

3.I think the problem is on cluster's cpu type setting, but which one should
I chose to fit for the host?

 

 

 

 

 

 

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


[ovirt-users] Re: very very bad iscsi performance

2020-07-21 Thread Strahil Nikolov via Users
Do you  have NICs  that support  iSCSI -I guess you can use hardware offloading?

MTU size ?
Lattency is usually the killer of any performance, what is your round-trip time 
 ?


Best Regards,
Strahil Nikolov


На 21 юли 2020 г. 2:37:10 GMT+03:00, Philip  Brown  написа:
>AH! my apologies. It seemed very odd, so I reviewed, and discovered
>that I messed up my testing of direct lun.
>
>updated results are improved from my previous email, but not any better
>than going through normal storage domain.
>
>18156: 61.714: IO Summary: 110396 ops, 1836.964 ops/s, (921/907 r/w),  
>3.6mb/s,949us cpu/op,  27.3ms latency
>
>17095: 61.794: IO Summary: 123458 ops, 2052.922 ops/s, (1046/996 r/w), 
> 4.0mb/s,858us cpu/op,  60.4ms latency
>
>
>
>- Original Message -
>From: "Philip Brown" 
>To: "Paolo Bonzini" 
>Cc: "Nir Soffer" , "users" ,
>"qemu-block" , "Stefan Hajnoczi"
>, "Sergio Lopez Pascual" ,
>"Mordechai Lehrer" 
>Sent: Monday, July 20, 2020 4:30:32 PM
>Subject: Re: [ovirt-users] very very bad iscsi performance
>
>FYI, I just tried it with direct lun.
>
>it is as bad or worse.
>I dont know about that sg io vs qemu initiator, but here is the
>results.
>
>
>15223: 62.824: IO Summary: 83751 ops, 1387.166 ops/s, (699/681 r/w),  
>2.7mb/s,619us cpu/op, 281.4ms latency
>15761: 62.268: IO Summary: 77610 ops, 1287.908 ops/s, (649/632 r/w),  
>2.5mb/s,686us cpu/op, 283.0ms latency
>16397: 61.812: IO Summary: 94065 ops, 1563.781 ops/s, (806/750 r/w),  
>3.0mb/s,894us cpu/op, 217.3ms latency
>
>___
>Users mailing list -- users@ovirt.org
>To unsubscribe send an email to users-le...@ovirt.org
>Privacy Statement: https://www.ovirt.org/privacy-policy.html
>oVirt Code of Conduct:
>https://www.ovirt.org/community/about/community-guidelines/
>List Archives:
>https://lists.ovirt.org/archives/list/users@ovirt.org/message/MAVOLDANXJCE6VEVZVYY7S4TUFF2BXEN/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ATR3WHSD6RWLRWUHOQZXVSHSGXV6PTD6/


[ovirt-users] Re: VM Snapshot inconsistent

2020-07-21 Thread Benny Zlotnik
I forgot to add the `\x on` to make the output readable, can you run it
with:
$ psql -U engine -d engine -c "\x on" -c ""

On Mon, Jul 20, 2020 at 2:50 PM Arsène Gschwind 
wrote:

> Hi,
>
> Please find the output:
>
> select * from images where image_group_id = 
> 'd7bd480d-2c51-4141-a386-113abf75219e';
>
>
>   image_guid  | creation_date  | size 
> |   it_guid|   parentid   
> | imagestatus |lastmodified|vm_snapshot_id
> | volume_type | volume_for
>
> mat |image_group_id| _create_date  |  
>_update_date  | active | volume_classification | qcow_compat
>
> --++--+--+--+-++--+-+---
>
> +--+---+---++---+-
>
>  8e412b5a-85ec-4c53-a5b8-dfb4d6d987b8 | 2020-04-23 14:59:23+02 | 161061273600 
> | ---- | ---- 
> |   1 | 2020-07-06 20:38:36.093+02 | 
> 6bc03db7-82a3-4b7e-9674-0bdd76933eb8 |   2 |
>
>   4 | d7bd480d-2c51-4141-a386-113abf75219e | 2020-04-23 14:59:20.919344+02 | 
> 2020-07-06 20:38:36.093788+02 | f  | 1 |   2
>
>  6197b30d-0732-4cc7-aef0-12f9f6e9565b | 2020-07-06 20:38:38+02 | 161061273600 
> | ---- | 8e412b5a-85ec-4c53-a5b8-dfb4d6d987b8 
> |   1 | 1970-01-01 01:00:00+01 | 
> fd5193ac-dfbc-4ed2-b86c-21caa8009bb2 |   2 |
>
>   4 | d7bd480d-2c51-4141-a386-113abf75219e | 2020-07-06 20:38:36.093788+02 | 
> 2020-07-06 20:38:52.139003+02 | t  | 0 |   2
>
> (2 rows)
>
>
>
> SELECT s.* FROM snapshots s, images i where i.vm_snapshot_id = s.snapshot_id 
> and i.image_guid = '6197b30d-0732-4cc7-aef0-12f9f6e9565b';
>
>  snapshot_id  |vm_id 
> | snapshot_type | status | description |   creation_date| 
>   app_list
>
>  | vm_configuration | _create_date
>   | _update_date  | memory_metadata_disk_id | 
> memory_dump_disk_id | vm_configuration_broken
>
> --+--+---++-++--
>
> -+--+---+---+-+-+-
>
>  fd5193ac-dfbc-4ed2-b86c-21caa8009bb2 | b5534254-660f-44b1-bc83-d616c98ba0ba 
> | ACTIVE| OK | Active VM   | 2020-04-23 14:59:20.171+02 | 
> kernel-3.10.0-957.12.2.el7,xorg-x11-drv-qxl-0.1.5-4.el7.1,kernel-3.10.0-957.12.1.el7,kernel-3.10.0-957.38.1.el7,ovirt
>
> -guest-agent-common-1.0.14-1.el7 |  | 2020-04-23 
> 14:59:20.154023+02 | 2020-07-03 17:33:17.483215+02 | 
> | | f
>
> (1 row)
>
>
> Thanks,
> Arsene
>
> On Sun, 2020-07-19 at 16:34 +0300, Benny Zlotnik wrote:
>
> Sorry, I only replied to the question, in addition to removing the
>
> image from the images table, you may also need to set the parent as
>
> the active image and remove the snapshot referenced by this image from
>
> the database. Can you provide the output of:
>
> $ psql -U engine -d engine -c "select * from images where
>
> image_group_id = ";
>
>
> As well as
>
> $ psql -U engine -d engine -c "SELECT s.* FROM snapshots s, images i
>
> where i.vm_snapshot_id = s.snapshot_id and i.image_guid =
>
> '6197b30d-0732-4cc7-aef0-12f9f6e9565b';"
>
>
> On Sun, Jul 19, 2020 at 12:49 PM Benny Zlotnik <
>
> bzlot...@redhat.com
>
> > wrote:
>
>
> It can be done by deleting from the images table:
>
> $ psql -U engine -d engine -c "DELETE FROM images WHERE image_guid =
>
> '6197b30d-0732-4cc7-aef0-12f9f6e9565b'";
>
>
> of course the database should be backed up before doing this
>
>
>
>
> On Fri, Jul 17, 2020 at 6:45 PM Nir Soffer <
>
> nsof...@redhat.com
>
> > wrote:
>
>
> On Thu, Jul 16, 2020 at 11:33 AM Arsène Gschwind
>
> <
>
> arsene.gschw...@unibas.ch
>
> > wrote:
>
>
> It looks like the Pivot completed successfully, see attached vdsm.log.
>
> Is there a way to recover that VM?
>
> Or would it be better to recover the VM from Backup?
>
>
> This what we see in the log:
>
>
> 1. Merge request recevied
>
>
> 2020-07-13 11:18:30,282+0200 INFO  (j

[ovirt-users] Need Help in setting up oVirt, Looking for some help (From India)

2020-07-21 Thread Dhanasekar Mani
Hello,

We are setting up oVirt and we are having some issues in setting up.

Are there any oVirt members who can assist us from India ?

We are from Bangalore.

Thanks & Regards,
Mani
*i prefer "i did this & i have done this", rather than "i will do it"*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IZXBRC7LC36WRHPHGGIS4XTFFCOXX4WX/


[ovirt-users] Re: very very bad iscsi performance

2020-07-21 Thread Nir Soffer
On Tue, Jul 21, 2020 at 2:20 AM Philip Brown  wrote:
>
> yes I am testing small writes. "oltp workload" means, simulation of OLTP 
> database access.
>
> You asked me to test the speed of iscsi from another host, which is very 
> reasonable. So here are the results,
> run from another node in the ovirt cluster.
> Setup is using:
>
>  - exact same vg device, exported via iscsi
>  - mounted directly into another physical host running centos 7, rather than 
> a VM running on it
>  -   literaly the same filesystem, again, mounted noatime
>
> I ran the same oltp workload. this setup gives the following results over 2 
> runs.
>
>  grep Summary oltp.iscsimount.?
> oltp.iscsimount.1:35906: 63.433: IO Summary: 648762 ops, 10811.365 ops/s, 
> (5375/5381 r/w),  21.4mb/s,475us cpu/op,   1.3ms latency
> oltp.iscsimount.2:36830: 61.072: IO Summary: 824557 ops, 13741.050 ops/s, 
> (6844/6826 r/w),  27.2mb/s,429us cpu/op,   1.1ms latency
>
>
> As requested, I attach virsh output, and qemu log

What we see in your logs:

You are using:
- thin disk - qcow2 image on logical volume:
- virtio-scsi


  
  

  
  
  
  47af0207-8b51-4a59-a93e-fddf9ed56d44
  
  
  


-object iothread,id=iothread1 \
-device 
virtio-scsi-pci,iothread=iothread1,id=ua-a50f193d-fa74-419d-bf03-f5a2677acd2a,bus=pci.0,addr=0x5
\
-drive 
file=/rhev/data-center/mnt/blockSD/87cecd83-d6c8-4313-9fad-12ea32768703/images/47af0207-8b51-4a59-a93e-fddf9ed56d44/743550ef-7670-4556-8d7f-4d6fcfd5eb70,format=qcow2,if=none,id=drive-ua-47af0207-8b51-4a59-a93e-fddf9ed56d44,serial=47af0207-8b51-4a59-a93e-fddf9ed56d44,werror=stop,rerror=stop,cache=none,aio=native
\

This is the most flexible option oVirt has, but not the default.

Known issue with such a disk is possible pausing of the VM when the
disk becomes full,
if oVirt cannot extend the underlying logical volume fast enough. It
can be mitigated by
using  larger chunks in vdsm.

We recommend these settings if you are going to use VMs with heavy I/O
with thin disks:

# cat /etc/vdsm/vdsm.conf.d/99-local.conf
[irs]

# Together with volume_utilization_chunk_mb, set the minimal free
# space before a thin provisioned block volume is extended. Use lower
# values to extend earlier.
# default value:
# volume_utilization_percent = 50
volume_utilization_percent = 25

# Size of extension chunk in megabytes, and together with
# volume_utilization_percent, set the free space limit. Use higher
# values to extend in bigger chunks.
# default value:
# volume_utilization_chunk_mb = 1024
volume_utilization_chunk_mb = 4096


With this configuration, when free space on the disk is 1 GiB, oVirt will extend
the disk by 4 GiB. So your disk may be up to 5 GiB larger than the used space,
but if the VM is writing data very fast, the chance of pausing is reduced.

If you want to reduce the chance of pausing your database in the most busy times
to zero, using a preallocated disk is the way.

In oVirt 4.4. you can check this option when creating a disk:

[x] Enable Incremental Backup

With:

Allocation Policy: [Preallocated]

You will get a preallocated disk in the specified size, using qcow2
format. This gives
you both the option to use incremental backup, faster disk operations
in oVirt (since
qemu-img does not need to read the entire disk), and avoids the
pausing issue. It may also
defeat thin provisioning, but if your backend storage supports thin
provisioning anyway
it does not matter.

To get best performance for database use case preallocated volume
should be better.

Please try to benchmark:
- raw preallocated disk
- using virtio instead of virtio-scsi

If your database can use multiple disks, you may get better
performance by adding multiple
disks and use one iothread per disk.

See also interesting talk about storage performance from 2017:
https://events19.lfasiallc.com/wp-content/uploads/2017/11/Storage-Performance-Tuning-for-FAST-Virtual-Machines_Fam-Zheng.pdf
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5F7CMTKPCVLV4WICTBBN63YXSW6ADRYO/


[ovirt-users] Re: Need Help in setting up oVirt, Looking for some help (From India)

2020-07-21 Thread Yedidyah Bar David
On Tue, Jul 21, 2020 at 2:21 PM Dhanasekar Mani
 wrote:
>
> Hello,
>
> We are setting up oVirt and we are having some issues in setting up.
>
> Are there any oVirt members who can assist us from India ?
>
> We are from Bangalore.

You are most welcome to post your specific issues right here to this list.

If you intend to mean that you want someone to come by to your office
and help you, you might want to check:

https://www.ovirt.org/community/user-stories/users-and-providers.html

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


[ovirt-users] Re: Need Help in setting up oVirt, Looking for some help (From India)

2020-07-21 Thread Dhanasekar Mani
Hello,

I am looking for someone to work as a consultant or freelancer from any
location.

I prefer someone from India as we are in the same geographical area, It
will be easy to communicate.

I am sorry, If i have posted in the wrong group/list.

Thanks & Regards,
Mani
*i prefer "i did this & i have done this", rather than "i will do it"*


On Tue, Jul 21, 2020 at 5:02 PM Yedidyah Bar David  wrote:

> On Tue, Jul 21, 2020 at 2:21 PM Dhanasekar Mani
>  wrote:
> >
> > Hello,
> >
> > We are setting up oVirt and we are having some issues in setting up.
> >
> > Are there any oVirt members who can assist us from India ?
> >
> > We are from Bangalore.
>
> You are most welcome to post your specific issues right here to this list.
>
> If you intend to mean that you want someone to come by to your office
> and help you, you might want to check:
>
> https://www.ovirt.org/community/user-stories/users-and-providers.html
>
> Best regards,
> --
> Didi
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OGXAXLKSLRGYO6ARTMMLWJI4IY5PX2C2/


[ovirt-users] Re: Windows TimeZone UTC

2020-07-21 Thread Liran Rotenberg
Hi Erez,
Did you try changing it in the engine-config[1]?

[1] -
https://www.ovirt.org/develop/developer-guide/engine/engine-supported-time-zones.html

Regards,
Liran.

On Mon, Jul 20, 2020 at 7:24 PM Erez Zarum  wrote:

> The Engine has the TimeZone types compiled, this may be an issue when one
> wants to configure a Windows Machine to use UTC as a Timezone instead of
> GMT.
> Using GMT sets the Windows VM to "London, Dublin" time which may cause
> issues with daylight saving for some users.
> There should be an option to supply our own Timezone or the least, make
> sure it is indeed coordinated with what Windows supports.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/XZ6KQWPMSH6U5P57KL2Y2WN6KPVHO43L/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WTI24BJBDBNK5LP26CGXB46E2XWUJ52P/


[ovirt-users] Re: ovirt 4.4 installation issues

2020-07-21 Thread Markus Schaufler
Thanks Strahil and Sandro for your replies and sorry for the delay.

@strahil
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
skip_if_unavailable=False

Which it just is the original dnf.conf. To this, we'd apply the proxy settings 
written above the question. But we reach the SSL error.

@sandro
Unfortunately we can not use the smart proxy. We cannot install applications.
Katello rpm as an example. We have our Foreman in place and we can download the 
'katello-ca-consumer-latest.noarch.rpm' using CURL.
But, when trying to install it, 'yum localinstall 
katello-ca-consumer-latest.noarch.rpm', it requires 'subscription-manager' as 
dependency package, which is not installed/included in CentOS8/RHEL8 and fails.
Foreman is for the moment excluded.
It could be interesting to fix the SSL/proxy issue, we haven't yet found how to 
fix it.
Maybe you could address us, please?

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


[ovirt-users] Re: Upgrade from 4.3 to 4.4 fails with db or user ovirt_engine_history already exists

2020-07-21 Thread None via Users
A small update: After checking the back-upped database structure (searching for 
'ovirt_engine_history' inside the 'engine' database), we found that the 
ovirt_engine_history user was also having permissions to a table in the engine 
database, probably causing the user to be created before the restoration of the 
history database took place. After removing the user permissions in the active 
environment (4.3) we were able to bypass this problem.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/47EU4UMPPMSBIDOEOGGWNJLADIK5DPXE/


[ovirt-users] Re: Upgrade from 4.3 to 4.4 fails with db or user ovirt_engine_history already exists

2020-07-21 Thread Yedidyah Bar David
On Tue, Jul 21, 2020 at 4:32 PM None via Users  wrote:
>
> A small update: After checking the back-upped database structure (searching 
> for 'ovirt_engine_history' inside the 'engine' database), we found that the 
> ovirt_engine_history user was also having permissions to a table in the 
> engine database, probably causing the user to be created before the 
> restoration of the history database took place. After removing the user 
> permissions in the active environment (4.3) we were able to bypass this 
> problem.

Thanks a lot for the report!

Any idea how this happened (history user having permissions on engine db table)?

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


[ovirt-users] Re: Upgrade from 4.3 to 4.4 fails with db or user ovirt_engine_history already exists

2020-07-21 Thread None via Users
Hi Didi,

I don't know. We are were running the same oVirt instance since 2017 and 
updated it a lot of times, including solving some bugs/problems during the 
years. The user was set on the 'vm_device_history'-table and the 
'disk_vm_device_history_seq' sequence. Maybe we did it ourselves, but I 
couldn't find anything about it in our logs.

Since we are new here: After this problem, we ran into some other problems. Do 
you want me to post an article about it, including the steps we have taken to 
solve them?

We got stuck on the latest problem, and we stopped our upgrade to 4.4 for now, 
but it could be related to the other thread about Storage Domains. Running the 
upgrade and accessing the 4.4 GUI before continuing (you can set this option at 
the beginning), we are unable to update any OVF Disks (automatically or 
forced), and the active SPM host keeps resetting (also after changing it to the 
new 4.4 host). It does not matter if we try to update an existing SD, the old 
hosted engine domain, or add a new one (NFS or Gluster). When we ignore the 
problem, the installation fails when it checks the health of the new hosted 
engine domain. Restarting the old HE again, and the problem is (luckily) solved 
and not permanent - so I guess it is a HE 4.4 specific problem. I analyzed the 
logs but couldn't find anything that made sense (on the host, HE VM, or another 
4.3 host running SPM). The error(s):

- Failed to update VMs/Templates OVF data for storage domain XX in Data Center 
Default
- Failed to update OVF disks xGUIDx, xGUIDx, OVF data isn't updated on those 
OVF stores (Data Center Default, Storage domain XX)

The error disappeared on most SDs (except the old HE domain, or any new added 
one) when we force an OVF update via the 4.3 GUI (before starting the upgrade). 
The old HE VM was turned off (and the platform set to global maintenance) 
before we started the upgrade.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5EQQTY6QTDRP4RHGFSEM5LS46ZQ4UGO4/


[ovirt-users] Re: [BULK] Re: very very bad iscsi performance

2020-07-21 Thread Philip Brown
Thank you for the analysis. I have some further comments:

First off, filebench pre-writes the files before doing oltp benchmarks, so I 
dont think the thin provisioning is at play here.
I will double check this, but if you dont hear otherwise, please presume that 
is the case :)

Secondly, I am surprised at  your recommendation to use virtio instead of 
virtio-scsi. since the writeup for virtio-scsi claims it has equivalent 
performance in general, and adds better scaling
https://www.ovirt.org/develop/release-management/features/storage/virtio-scsi.html

As far as your suggestion for using multiple disks for scaling higher:
We are using an SSD. Isnt the whole advantage of using SSD drives, that you can 
get the IOP/s performance of 10 drives, out of a single drive?
We certainly get that using it natively, outside of a VM.
SO it would be nice to see performance approaching that within an ovirt VM.




- Original Message -
From: "Nir Soffer" 
To: "Philip Brown" 
Cc: "users" , "qemu-block" , "Stefan 
Hajnoczi" , "Paolo Bonzini" , "Sergio 
Lopez Pascual" , "Mordechai Lehrer" , 
"Kevin Wolf" 
Sent: Tuesday, July 21, 2020 4:23:36 AM
Subject: [BULK]  Re: [ovirt-users] very very bad iscsi performance

On Tue, Jul 21, 2020 at 2:20 AM Philip Brown  wrote:
>
> yes I am testing small writes. "oltp workload" means, simulation of OLTP 
> database access.
>
> You asked me to test the speed of iscsi from another host, which is very 
> reasonable. So here are the results,
> run from another node in the ovirt cluster.
> Setup is using:
>
>  - exact same vg device, exported via iscsi
>  - mounted directly into another physical host running centos 7, rather than 
> a VM running on it
>  -   literaly the same filesystem, again, mounted noatime
>
> I ran the same oltp workload. this setup gives the following results over 2 
> runs.
>
>  grep Summary oltp.iscsimount.?
> oltp.iscsimount.1:35906: 63.433: IO Summary: 648762 ops, 10811.365 ops/s, 
> (5375/5381 r/w),  21.4mb/s,475us cpu/op,   1.3ms latency
> oltp.iscsimount.2:36830: 61.072: IO Summary: 824557 ops, 13741.050 ops/s, 
> (6844/6826 r/w),  27.2mb/s,429us cpu/op,   1.1ms latency
>
>
> As requested, I attach virsh output, and qemu log

What we see in your logs:

You are using:
- thin disk - qcow2 image on logical volume:
- virtio-scsi


  
  

  
  
  
  47af0207-8b51-4a59-a93e-fddf9ed56d44
  
  
  


-object iothread,id=iothread1 \
-device 
virtio-scsi-pci,iothread=iothread1,id=ua-a50f193d-fa74-419d-bf03-f5a2677acd2a,bus=pci.0,addr=0x5
\
-drive 
file=/rhev/data-center/mnt/blockSD/87cecd83-d6c8-4313-9fad-12ea32768703/images/47af0207-8b51-4a59-a93e-fddf9ed56d44/743550ef-7670-4556-8d7f-4d6fcfd5eb70,format=qcow2,if=none,id=drive-ua-47af0207-8b51-4a59-a93e-fddf9ed56d44,serial=47af0207-8b51-4a59-a93e-fddf9ed56d44,werror=stop,rerror=stop,cache=none,aio=native
\

This is the most flexible option oVirt has, but not the default.

Known issue with such a disk is possible pausing of the VM when the
disk becomes full,
if oVirt cannot extend the underlying logical volume fast enough. It
can be mitigated by
using  larger chunks in vdsm.

We recommend these settings if you are going to use VMs with heavy I/O
with thin disks:

# cat /etc/vdsm/vdsm.conf.d/99-local.conf
[irs]

# Together with volume_utilization_chunk_mb, set the minimal free
# space before a thin provisioned block volume is extended. Use lower
# values to extend earlier.
# default value:
# volume_utilization_percent = 50
volume_utilization_percent = 25

# Size of extension chunk in megabytes, and together with
# volume_utilization_percent, set the free space limit. Use higher
# values to extend in bigger chunks.
# default value:
# volume_utilization_chunk_mb = 1024
volume_utilization_chunk_mb = 4096


With this configuration, when free space on the disk is 1 GiB, oVirt will extend
the disk by 4 GiB. So your disk may be up to 5 GiB larger than the used space,
but if the VM is writing data very fast, the chance of pausing is reduced.

If you want to reduce the chance of pausing your database in the most busy times
to zero, using a preallocated disk is the way.

In oVirt 4.4. you can check this option when creating a disk:

[x] Enable Incremental Backup

With:

Allocation Policy: [Preallocated]

You will get a preallocated disk in the specified size, using qcow2
format. This gives
you both the option to use incremental backup, faster disk operations
in oVirt (since
qemu-img does not need to read the entire disk), and avoids the
pausing issue. It may also
defeat thin provisioning, but if your backend storage supports thin
provisioning anyway
it does not matter.

To get best performance for database use case preallocated volume
should be better.

Please try to benchmark:
- raw preallocated disk
- using virtio instead of virtio-scsi

If your database can use multiple disks, you may get better
performance by adding multiple
disks and use one iothre

[ovirt-users] OVA import does not upload disks

2020-07-21 Thread Paolo Airaldi
Hello,

 

I’m running 4.3.5.4-1.el7. I’ve exported a VM as OVA and now
I’m trying to import it in another Data Center (it’s like a DR Data Center)

 

Import runs successfully both from GUI and from
Ansible, but imported VM disks are empty and the VM fails to boot.

 

How can I import disks content too?

 

Thanks in advance for any help.

 

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


[ovirt-users] OVA import does not upload disks

2020-07-21 Thread Paolo Airaldi
Hello,

 

I'm running 4.3.5.4-1.el7. I've exported a VM as OVA and now I'm trying to
import it in another Data Center (it's like a DR Data Center)

 

Import runs successfully both from GUI and from Ansible, but imported VM
disks are empty and the VM fails to boot.

 

How can I import disks content too?

 

Thanks in advance for any help.

 

Paolo

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


[ovirt-users] how to remove host (phisical damaged) on ovirt web panel ??

2020-07-21 Thread tommy
The host is damaged, then the vms running on it also became unknown status.

I cannot remove the vm and host on ovirt web panel.

 

Somebody can give me saome advive ?

Thanks.

 

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


[ovirt-users] Re: how to remove host (phisical damaged) on ovirt web panel ??

2020-07-21 Thread Eyal Shenitzky
Hi Tommy,

I am not sure about your environment state, but you have an option to
confirm that the host 'has bee rebooted'.
It should eventually set the VMs as down in your case and set the host in
the state that will allow you to remove it.

Please see the attached screenshot.

[image: Screenshot from 2020-07-22 08-49-08.png]

On Wed, 22 Jul 2020 at 07:07, tommy  wrote:

> The host is damaged, then the vms running on it also became unknown status.
>
> I cannot remove the vm and host on ovirt web panel.
>
>
>
> Somebody can give me saome advive ?
>
> Thanks.
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/BLF3R6MDFK5HYZGWTSEUPZVFXLNJ2F6Z/
>


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


[ovirt-users]回复: how to remove host (phisical damaged) on ovirt web panel ??

2020-07-21 Thread tommy
Thank you,

 

It really works!!

 

 

 

 

 

 

 

 

发件人: Eyal Shenitzky  
发送时间: 2020年7月22日 13:50
收件人: tommy 
抄送: users 
主题: Re: [ovirt-users] how to remove host (phisical damaged) on ovirt web panel 
??

 

Hi Tommy,

 

I am not sure about your environment state, but you have an option to confirm 
that the host 'has bee rebooted'.

It should eventually set the VMs as down in your case and set the host in the 
state that will allow you to remove it.

 

Please see the attached screenshot.

 



 

On Wed, 22 Jul 2020 at 07:07, tommy mailto:sz_cui...@163.com> > wrote:

The host is damaged, then the vms running on it also became unknown status.

I cannot remove the vm and host on ovirt web panel.

 

Somebody can give me saome advive ?

Thanks.

 

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




 

-- 

Regards,

Eyal Shenitzky

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


[ovirt-users] Re: ovirt 4.4.1.1 hci and problems with ansible 2.9.10 and/or missing python2

2020-07-21 Thread Holger Petrick
Hello Gianluca,
thanks for opening the bug. I have also reported my test scenario below.

(One thing more in my case, the standalone Manager needs to be installed on EL8 
and not like documents says on EL7.
With EL7 load is gives an error that Engine for EL7 is not avaiable. Document 
needs to be updated.)


---
The same error occurs when trying to add a node to a standalone Engine Manager.

Steps to Reproduce:
1. install a standalone Engine Manager on EL8 step by step with this 
documentation
https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/#Installing_the_Red_Hat_Virtualization_Manager_SM_localDB_deploy
2. install a node using ovirt-node-ng-installer-4.4.1-2020071311.el8.iso
3. try to add the node inside the Engine Manager

Log output:
2020-07-21 10:14:17 CEST - included: 
/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-vdsm/tasks/packages.yml
 for ovirtnode1.example.net
2020-07-21 10:14:17 CEST - included: 
/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-vdsm/tasks/vdsmid.yml
 for ovirtnode1.example.net
2020-07-21 10:14:17 CEST - included: 
/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-vdsm/tasks/pki.yml
 for ovirtnode1.example.net
2020-07-21 10:14:17 CEST - included: 
/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-vdsm/tasks/restart_services.yml
 for ovirtnode1.example.net
2020-07-21 10:14:17 CEST - TASK [ovirt-host-deploy-vdsm : Install ovirt-host 
package] *
2020-07-21 10:14:17 CEST -
2020-07-21 10:14:17 CEST - fatal: [ovirtnode1.example.net]: FAILED! => 
{"changed": false, "module_stderr": "/bin/sh: /usr/bin/python2: No such file or 
directory\n", "module_stdout": "", "msg": "The module failed to execute 
correctly, you probably need to set the interpreter.\nSee stdout/stderr for the 
exact error", "rc": 127}
2020-07-21 10:14:17 CEST - {
  "status" : "OK",
  "msg" : "",
  "data" : {
"uuid" : "bfb59a41-6672-4115-ba93-176b3d11",
"counter" : 61,
"stdout" : "fatal: [ovirtnode1.example.net]: FAILED! => {\"changed\": 
false, \"module_stderr\": \"/bin/sh: /usr/bin/python2: No such file or 
directory\\n\", \"module_stdout\": \"\", \"msg\": \"The module failed to 
execute correctly, you probably need to set the interpreter.\\nSee 
stdout/stderr for the exact error\", \"rc\": 127}",
"start_line" : 54,
"end_line" : 55,
"runner_ident" : "230c108e-cb2a-11ea-97da-00155d120809",
"event" : "runner_on_failed",
"pid" : 28965,
"created" : "2020-07-21T08:14:16.528490",
"parent_uuid" : "00155d12-0809-c845-9450-01a1",
"event_data" : {
  "playbook" : "ovirt-host-deploy.yml",
  "playbook_uuid" : "3a66c11c-02f9-492a-937d-21f1386e492d",
  "play" : "all",
  "play_uuid" : "00155d12-0809-c845-9450-0006",
  "play_pattern" : "all",
  "task" : "Install ovirt-host package",
  "task_uuid" : "00155d12-0809-c845-9450-01a1",
  "task_action" : "yum",
  "task_args" : "",
  "task_path" : 
"/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-vdsm/tasks/packages.yml:2",
  "role" : "ovirt-host-deploy-vdsm",
  "host" : "ovirtnode1.example.net",
  "remote_addr" : "ovirtnode1.example.net",
  "res" : {
"module_stdout" : "",
"module_stderr" : "/bin/sh: /usr/bin/python2: No such file or 
directory\n",
"msg" : "The module failed to execute correctly, you probably need to 
set the interpreter.\nSee stdout/stderr for the exact error",
"rc" : 127,
"_ansible_no_log" : false,
"changed" : false
  },
  "start" : "2020-07-21T08:14:15.365609",
  "end" : "2020-07-21T08:14:16.528185",
  "duration" : 1.162576,
  "ignore_errors" : null,
  "event_loop" : null,a
  "uuid" : "bfb59a41-6672-4115-ba93-176b3d11"
}
  }
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RE5MFKA7BFMVM2DYMXVKF6QULOUNGCZI/