[ovirt-users] Re: Major problems after upgrading 2 (of 4) Red Hat hosts to 4.4.10

2022-01-22 Thread Strahil Nikolov via Users
Check the situation with the gluster storage.Also, you can check if the 
compute-only node is added to the gluster trsuted storage pool:gluster pool 
list (should show localhost -+ 2 more).
Also, consider upgrading the engine. Most probably the engine cannot connect to 
the vdsm and vdsm-gluster and this makes the whole situation worse.
Best Regards,Strahil Nikolov
 
 
  On Sat, Jan 22, 2022 at 23:15, David White via Users wrote:  
 ___
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/UZLDTUYRNCZYCU5OPTI74ADFXYTRN5VV/
  
___
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/LRY77KHZXH5I4ETWNJ3XRJ6JMPMMBNVG/


[ovirt-users] Re: mdadm vs. JBOD

2022-01-22 Thread Strahil Nikolov via Users
Using the wizzard is utilizing the Gluster Andible roles.I would highly 
recommend using it, unless you know what you are doing (for example storage 
alignment when using Hardware raid).
Keep in mind that the DHT xlator (the logic in distributed volumes) is shard 
aware, so your shards are spread between subvolumes and additional performance 
can be gained.So using replicated-distributed volumes have their benefits.
If you decide to avoid the software raid, use only replica3 volumes as with 
SSDs/NVMEs usually the failures are not physical, but logical (maximum writes 
reached -> predictive failure -> total failure).
Also, consider mounting via noatime/relatime and 
context="system_u:object_r:glusterd_brick_t:s0" for your gluster bricks.
Best Regards,Strahil Nikolov
 
 
  On Fri, Jan 21, 2022 at 11:00, Gilboa Davara wrote:   
___
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/U2ZEWLRF5D6FENQEI5QXL77CMWB7XF32/
  
___
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/YGUEFICW5XTJQZR4FEMYXCJVOV6VACEG/


[ovirt-users] Re: oVirt 4.4.10 is now generally available

2022-01-21 Thread Strahil Nikolov via Users
I've updated yesterday (both Engine and the Host -> CentOS Stream) and today I 
got a complete hangup of the system and had to reboot.I don't know if it's 
related or not, but just keep it in mind.
Best Regards,Strahil Nikolov
 
 
  On Thu, Jan 20, 2022 at 14:41, Sandro Bonazzola wrote:   
___
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/7LK74ZIZUMFGD36OYPR75XPIYK7FUVRR/
  
___
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/Z7D6CB2UFBARE3DSAUK62FQ75UNY6XHM/


[ovirt-users] Re: Passwordless SPICE console login?

2022-01-19 Thread Strahil Nikolov via Users
 I don't understand...When you visit the Web UI -> VMs -> select the VM -> 
Console (Drop down arrow) -> Console Options -> SPICE -> OKAnd then -> Console 
-> Save the file and open -> it should open a SPICE console with your VM.Once 
this is open -> it's up to what you configured in the VM.  You can even set 
systemd debug shell and go to tty9.
Can you share a screenshot about the problem you have ?
Best Regards,Strahil Nikolov
 
  On Wed, Jan 19, 2022 at 1:08, cen wrote:   Hi,

we have all VMs set up with passwordless users, using only keys for 
remote ssh login.

When connecting through SPICE console, it prompts for login. Using 
something like root/ubuntu with empty password does not work.

Is there a way to do this with keys or is it essental to have a local 
user with password (perhaps with restricted SSH) to perform a console login?


Best regards, cen
___
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/TKXQDVJZTSYRCRVVBPNXEVG3FMB372QC/
  
___
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/ZGJT2DPKY6YSP2S5U5MTEGYT3Y4CP3VW/


[ovirt-users] Re: CentOS Stream Guest OS 9 support

2022-01-18 Thread Strahil Nikolov via Users
Most probably the enginelogs could give a clue.
Best Regards,Strahil Nikolov
 
 
  On Tue, Jan 18, 2022 at 20:32, Gangi Reddy wrote:   
Any Suggestions which logs to check why VM Creation is failing ?
___
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/GZZFRL4E6ZEG2DWKU62BTTIAAES5S4WN/
  
___
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/QBMARZB4UVTWTVS3QHHUYMZ42OBVWCTV/


[ovirt-users] Re: CentOS Stream Guest OS 9 support

2022-01-18 Thread Strahil Nikolov via Users
Most probably it's the same case with EL7-based oVirt and EL8 templates.
Best Regards,Strahil Nikolov
 
 
  On Tue, Jan 18, 2022 at 19:16, Gangi Reddy wrote:   
Hi Michal,

We are created centos stream 9 template and VM deployment failed when trying to 
deploy through template. Error: Failed to complete VM VMname creation

Template creation was successful without any errors.


Logs:
Copying data of image '3defb090-fa50-40f4-9b31-5989619d00d6' of disk 
'07a955a2-d290-4dfb-9d9c-2855e36fa2e9' to domain 'SEC-PAM01' using 
'ibnlovkvmd03.ibn.broadcom.net'.
Failed to complete VM vmname creation.
___
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/M4CSIGM354RR3X5YGPDHNE4ZAGXAJ747/
  
___
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/AGNELO3BONTZY7QJR64LMINSJ5KYKLYJ/


[ovirt-users] Re: give cloud-init the VM name

2022-01-15 Thread Strahil Nikolov via Users
with before_vm_start you should be able to modify the cloudinit configuration.

I guess there is a misunderstanding.
I thought that:- you know the name of the future VM- you want to change the 
hostname via cloudinit
Best Regards,Strahil Nikolov 
 
  On Fri, Jan 14, 2022 at 10:45, Luca Contessa wrote:   
Hi,
sorry for the late response, can you expand a bit more on what you said?
in particular, if I understood correctly, you are suggesting I should launch a 
script to modify the name using oVirt's 'before_vm_start' hook? And also in 
which way can i get the VM name using this method?
Thanks a lot in advance,
Best Regards,
LC
___
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/2A3CREYYT2YC7TGVWD7QZNQYP3NBYX7B/
  
___
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/EQ2ZWKCALOGIHMITX7ZOJTHQMTWWLENC/


[ovirt-users] Re: External engine CentOS 8.4 and 4.4.8 to Rocky Linux 8.5 and 4.4.9

2022-01-15 Thread Strahil Nikolov via Users
Usually rebuilding the rpm database consists of:rm /var/lib/rpm/__db*- backup 
of /var/lib/rpm (just in case)cd /var/lib/rpm/usr/lib/rpm/rpmdb_verify Packages 
-> expected to failmv Packages Packages.bad/usr/lib/rpm/rpmdb_dump Packages.bad 
| /usr/lib/rpm/rpmdb_load Packages
/usr/lib/rpm/rpmdb_verify Packages -> should succeedrpm -v --rebuilddb
I doubt the procedure has changed on EL8.In worst case scenario, you can copy 
the db from identical host.
Best Regards,Strahil Nikolov
 
 
  On Fri, Jan 14, 2022 at 10:08, Gianluca Cecchi 
wrote:   Just wanted to share what in subject and feedback/comments welcome.
Starting env is an external engine on CentOS 8.4, updated up to late September, 
with 4.4.8 async 2 (ovirt-engine-4.4.8.6-1.el8.noarch.rpm) and kernel 
4.18.0-305.19.1.el8_4

[g.cecchi@ovmgr1 ~]$ cat /etc/centos-release
CentOS Linux release 8.4.2105

I migrated to Rocky Linux 8.5 and then run engine-setup to take it to current 
4.4.9 level.The system is a VM on a vSphere environment.Currently there are 3 
hosts with CentOS 8.4, that I'm going then to migrate to Rocky Linux too.
Downloaded the current migration script from 

https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh
chmod +x migrate2rocky.sh

My engine needs a proxy to exit on the internet and the script doesn't check my 
/etc/yum.conf configuration

so I set 
export https_proxy=http://my_proxy:my_proxy_port
export http_proxy=http://my_proxy:my_proxy_port (not sure if this necessary...)

otherwise when you run the script you get
curl: (7) Failed to connect to dl.rockylinux.org port 443: Connection timed out
Error downloading the Rocky Linux signing key.

then as root

./migrate2rocky.sh -r

notable things observed:

. some packages from ovirt repos are gathered too... I don't know if correct in 
this stage...

Running dnf update before we attempt the migration.
Last metadata expiration check: 0:00:47 ago on Thu Jan 13 11:56:21 2022.
Dependencies resolved.

. . .
 otopi-common                                       noarch  1.9.6-1.el8         
                     ovirt-4.4                           94 k
 ovirt-ansible-collection                           noarch  1.6.5-1.el8         
                     ovirt-4.4                          289 k
 ovirt-engine-dwh-grafana-integration-setup         noarch  4.4.9.1-1.el8       
                     ovirt-4.4                           88 k
 ovirt-engine-dwh-setup                             noarch  4.4.9.1-1.el8       
                     ovirt-4.4                           95 k
 ovirt-engine-extension-aaa-ldap                    noarch  1.4.5-1.el8         
                     ovirt-4.4                          130 k
 ovirt-engine-metrics                               noarch  1.4.4-1.el8         
                     ovirt-4.4                           92 k
 ovirt-engine-setup                                 noarch  4.4.9.5-1.el8       
                     ovirt-4.4                           18 k
 ovirt-engine-setup-base                            noarch  4.4.9.5-1.el8       
                     ovirt-4.4                          116 k
 ovirt-engine-setup-plugin-cinderlib                noarch  4.4.9.5-1.el8       
                     ovirt-4.4                           39 k
 ovirt-engine-setup-plugin-imageio                  noarch  4.4.9.5-1.el8       
                     ovirt-4.4                           27 k
 ovirt-engine-setup-plugin-ovirt-engine             noarch  4.4.9.5-1.el8       
                     ovirt-4.4                          203 k
 ovirt-engine-setup-plugin-ovirt-engine-common      noarch  4.4.9.5-1.el8       
                     ovirt-4.4                          122 k
 ovirt-engine-setup-plugin-vmconsole-proxy-helper   noarch  4.4.9.5-1.el8       
                     ovirt-4.4                           38 k
 ovirt-engine-setup-plugin-websocket-proxy          noarch  4.4.9.5-1.el8       
                     ovirt-4.4                           39 k
 ovirt-engine-vmconsole-proxy-helper                noarch  4.4.9.5-1.el8       
                     ovirt-4.4                           26 k
 ovirt-engine-websocket-proxy                       noarch  4.4.9.5-1.el8       
                     ovirt-4.4                           33 k
 ovirt-imageio-client                               x86_64  2.3.0-1.el8         
                     ovirt-4.4                           21 k
 ovirt-imageio-common                               x86_64  2.3.0-1.el8         
                     ovirt-4.4                          158 k
 ovirt-imageio-daemon                               x86_64  2.3.0-1.el8         
                     ovirt-4.4                           15 k
 ovirt-release44                                    noarch  4.4.9.3-1.el8       
                     ovirt-4.4                           20 k
 ovirt-web-ui                                       noarch  

[ovirt-users] Re: After restored hosted engine as a new vms, all the existing & live hosts and storage domain are showing offline

2022-01-12 Thread Strahil Nikolov via Users
 Have you executed 'hosted-engine --set-maintenance --mode=global'  on a host 
that us supposed to run the HostedEngine VM ?
Best Regards,Strahil Nikolov
 
  On Wed, Jan 12, 2022 at 8:26, Gangireddy Munakkayala via 
Users wrote:   Hi Strahil Nikolov,

I am from Ramesh team. Kindly find below the manage engine & hosts version.

oVirt Open Virtualization Manager : 4.4.3.12-1.el8

Host:
OS Version: RHEL - 8 - 2.2004.0.2.el8
OS Description:oVirt Node 4.4.3
___
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/XAVSXSZJLCLJOMOS7SQXOD4634JFZ6QW/
  
___
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/LCPCBK7LHF5P47VLLJGLOK3DOZXCLXRF/


[ovirt-users] Re: After restored hosted engine as a new vms, all the existing & live hosts and storage domain are showing offline

2022-01-11 Thread Strahil Nikolov via Users
According to https://access.redhat.com/solutions/3028811 after v 3.5.4 the 
engine-setup can update the certificates on the engine. Once you got them 
renewed and if the hosts' certificates haven't expired -> communication should 
be recovered .
I According https://access.redhat.com/solutions/3532921 the recommended way to 
regenerate the hosts' certificates is to set the host into maintenance from the 
UI and then either via the 'Enroll Certificate' (from the Hosts page) or remove 
& add the host.
Can you provide a short summary like version of engine & hosts?

Also, you can login on a Hypervisor (Host) and use 'hosted-engine 
--set-maintenance --mode=global' to set the Global HA. To verify: 
'hosted-engine --vm-status'. This will allow you to run the engine-setup (run 
it from tmux or screen session).

P.S.:  Those solutions can be accessed via developer subscription (in case you 
don't have a RH one). Just check developers.redhat.com.
Best Regards,Strahil Nikolov 
 
  On Tue, Jan 11, 2022 at 17:54, dhanaraj.ramesh--- via Users 
wrote:   even we brought up the self hosted engine in one of the host but when 
we try to renew the expired ssl using engine-setup option, it is throwing same 
error. 

we did put the system to global maintenance mode from one of the host

Stage: Setup validation
During execution engine service will be stopped (OK, Cancel) [OK]:
[ ERROR ] It seems that you are running your engine inside of the hosted-engine 
VM and are
not in "Global Maintenance" mode.
In that case you should put the system into the "Global Maintenance"
mode before running engine-setup, or the hosted-engine HA agent might kill the 
machine,
which might corrupt your data.
___
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/T5ZWF2BTXSN2X7WMYCJCFDQQIVLX3SZF/
  
___
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/FZSOC63OLT6LQIFQOI6YLBKBFAWQHVPL/


[ovirt-users] Re: Gluster Hook differences between fresh and old clusters

2022-01-11 Thread Strahil Nikolov via Users
Even with symbolic link removed, it fails to detect the current hook status.
I hope I don't have to poke in the DB.
Best Regards,Strahil Nikolov
 
 
  On Tue, Jan 11, 2022 at 12:25, Ritesh Chikatwar wrote:   
___
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/BWKYDRHVQ4MDGOJTL23AXMJB2PBH7TNU/
  
___
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/YKU3GWAHS6CSB2AZQ25OOW4VUZJA2FUW/


[ovirt-users] Re: After restored hosted engine as a new vms, all the existing & live hosts and storage domain are showing offline

2022-01-11 Thread Strahil Nikolov via Users
 Check if the Master Data store is up. If yes, try to activate at least 1 
host.Once a host is up, the Datacenter will go up and everything should get 
better.

Best Regards,Strahil Nikolov
 
  On Tue, Jan 11, 2022 at 3:03, dhanaraj.ramesh--- via Users 
wrote:   Hi Team

due to some reasons one of our  slef hosted engine went down, hence we 
provisioned new centos vm and restored the hosted engine backup file. After 
restoring we could see all the Datacenter, cluster, storage, hosts and vm 
entities in restored ovirt engine but they all are offline. 

please help us how to we connect all the running hosts and storage domain, vms 
back to restored hosted engine.  do we need to get a down time for all the vms 
to restore the hosts? how do I activate all the existing storage domains as is. 



___
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/JU57GHJOVFOLLWRDZPLC4ITVWA4NMX42/
  
___
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/FJJSSQMVTUNA764MG2WZHCAOHH2PV6F3/


[ovirt-users] Re: Gluster Hook differences between fresh and old clusters

2022-01-10 Thread Strahil Nikolov via Users
 Hi Ritesh ,

I'm 90% confident it is a problem from the latest (4.3 to 4.4 ) or older 
migrations (4.2 to 4.3).

[root@ovirt2 ~]# ll 
/var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post 
lrwxrwxrwx. 1 root root 64 9 яну 23,55 
/var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post -> 
/usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
[root@ovirt2 ~]# ll -Z 
/var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post 
lrwxrwxrwx. 1 root root unconfined_u:object_r:glusterd_var_lib_t:s0 64 9 яну 
23,55 /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post -> 
/usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
[root@ovirt2 ~]# ls -lZ 
/usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
-rwxr-xr-x. 1 root root system_u:object_r:bin_t:s0 1883 12 окт 13,09 
/usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
[root@ovirt2 ~]# file 
/usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
/usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py: Python 
script, ASCII text executable


I've tried with SELINUX in permissive mode, so it's something not related to 
SELINUX. Also the sync works on the new cluster.

Any idea how to debug it and find what is the reason it doesn't like it ?

Best Regards,
Strahil Nikolov
 В понеделник, 10 януари 2022 г., 08:12:17 Гринуич+2, Ritesh Chikatwar 
 написа:  
 
 Hello Strahil,
I have a setup with version (4.4.9.3) but I don't see an issue, Maybe after 
migrating/upgrading. We are seeing this issue, can you share the content from 
this hook (delete-POST-57glusterfind-delete-post).
On Mon, Jan 10, 2022 at 3:55 AM Strahil Nikolov via Users  
wrote:

Hi All,

recently I have migrated from 4.3.10 to 4.4.9 and it seems something odd is 
happening.

Symptoms:
- A lot of warnings for Gluster hook discrepancies
- Trying to refresh the hooks via the sync button fails (engine error: 
https://justpaste.it/827zo )
- Existing "Default" cluster tracks more hooks than a fresh new cluster 
New cluster hooks: http://i.imgur.com/FEL2Z1D.png
Migrated cluster: https://i.imgur.com/L8dWYZY.png

What can I do to resolve the issue ? I've tried to resync the hooks, move away 
/var/lib/glusterd/hooks/1/ and reinstall gluster packages, try to resolve via 
the "Resolve Conflicts" in the UI and nothing helped so far.


Best Regards,
Strahil Nikolov
___
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/RYSNQTAGXEAX2O677ELEAYRXDAUX52IQ/

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


[ovirt-users] Gluster Hook differences between fresh and old clusters

2022-01-09 Thread Strahil Nikolov via Users
Hi All,

recently I have migrated from 4.3.10 to 4.4.9 and it seems something odd is 
happening.

Symptoms:
- A lot of warnings for Gluster hook discrepancies
- Trying to refresh the hooks via the sync button fails (engine error: 
https://justpaste.it/827zo )
- Existing "Default" cluster tracks more hooks than a fresh new cluster 
New cluster hooks: http://i.imgur.com/FEL2Z1D.png
Migrated cluster: https://i.imgur.com/L8dWYZY.png

What can I do to resolve the issue ? I've tried to resync the hooks, move away 
/var/lib/glusterd/hooks/1/ and reinstall gluster packages, try to resolve via 
the "Resolve Conflicts" in the UI and nothing helped so far.


Best Regards,
Strahil Nikolov
___
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/RYSNQTAGXEAX2O677ELEAYRXDAUX52IQ/


[ovirt-users] Re: give cloud-init the VM name

2022-01-09 Thread Strahil Nikolov via Users
I guess if you manage to script it (modification of the cloud init script), 
then you can use 'before_vm_start' to trigger your script.
Best Regards,Strahil Nikolov
 
 
  On Tue, Dec 28, 2021 at 16:01, Luca Contessa wrote:   
Hi list,
I have an oVirt node 4.4.9 installation with hyperconverged structure, on which 
i've created a pool of Linux VM (CentOS Stream 8).
I would like set as hostname the name of the VM + a static suffix appended at 
the end of the name (EXAMPLE: .static.suffix ), is there a way to pass 
to cloud-init the name of the VM and do this via cloud-init?
I've tried to look for something in oVirt and cloud-init documentation and 
found nothing.
Thanks a lot to everybody for the help and have a nice day.
___
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/K6S6E3AOVQYAFTHK6MDJ4N6EFWWRFFIF/
  
___
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/RO7Y6GT6AGMFTUMTUSDEAJ7PAEZMGWXU/


[ovirt-users] Re: [External] : Unrecoverable NMI error on HP Gen8 hosts.

2022-01-09 Thread Strahil Nikolov via Users
 
This means that most probably you are hitting a Firmware issue. (Most probably 
doesn't mean 100%).
Steps I would do:
- Check if latest iLO firmware is deployed (recently iLo4 got an update)
- Check that BIOS is up to date
- Check that HDD/Controller Firmware is up to date

Both iLO and HDD updates are not added in the HP SPP, as Gen8 is no longer 
actively supported.

Next, run the HP sum from 2017.04.00 
(https://support.hpe.com/hpesc/public/swd/detail?swItemId=MTX_3f6b4074ed734dc3baf007612d)
 that is the latest for Gen8

Check the IML logs and for further hardware-related topics check the HPE 
community.

Best Regards,
Strahil Nikolov В събота, 8 януари 2022 г., 19:57:52 Гринуич+2, Diggy Mc 
 написа:  
 
 > Hi Diggy,
> 
> I'm not sure if it's an oVirt issue, but it can be a network or firewall 
> issue. 
> Did you test the connection between oVirt hosts and the iLO interfaces?
> Simple tests like ping to ensure one host can reach others iLO interfaces and 
> ipmitool to
> ensure you can connect to the management interfaces?
> 
> Marcos
> 

It is not network or firewall related.  There is no firewall between the oVirt 
hosts/engine and the iLO interfaces.  When I configured oVirt power management, 
the offered test passed.  I'm not running IPMI.  On a side note, the problem 
exists both before and after enabling oVirt's power management feature.
___
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/OZ4ITKNEGD5MITTYMMPONQQ23EFJQFEY/
  ___
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/PBIAY4ND5KFVPKUMZWAWMW4QALOXBCKZ/


[ovirt-users] Re: VM pause and snapshot is in illegal state

2022-01-07 Thread Strahil Nikolov via Users
What kind of Storage domain do you use ?
Best Regards,Strahil Nikolov
 
 
Hi,

One of our VM is pause due to lack of storage space while the VM is in snapshot 
deleting task. Now can't restart or shutdown the VM, and can't delete the 
snapshot.
How i can fix this problem? Any help is much appreciated!

Thank you in advanced!

Regards,

Victor
___
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/XUHMPEFDPRBKYEFJV7DZQA4FIG3SRHC7/
  
___
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/YBIEIHU3QDHLDHCH6EOFTRP7XRL7XTGD/


[ovirt-users] Re: Linux VMs cannot boot from software raid0

2022-01-07 Thread Strahil Nikolov via Users
 Hi Vojta

My LVM version on the hypervisor is:
udisks2-lvm2-2.9.0-7.el8.x86_64
llvm-compat-libs-12.0.1-4.module_el8.6.0+1041+0c503ac4.x86_64
lvm2-libs-2.03.14-2.el8.x86_64
lvm2-2.03.14-2.el8.x86_64
libblockdev-lvm-2.24-8.el8.x86_64

LVM on VM:
[root@nextcloud ~]# rpm -qa | grep lvm
lvm2-libs-2.03.12-10.el8.x86_64
lvm2-2.03.12-10.el8.x86_64


VM disk layout is:

[root@nextcloud ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 5G 0 disk 
├─sda1 8:1 0 500M 0 part 
│ └─md127 9:127 0 2G 0 raid0 /boot
└─sda2 8:2 0 4,5G 0 part 
 └─nextcloud--system-root 253:0 0 10G 0 lvm /
sdb 8:16 0 5G 0 disk 
├─sdb1 8:17 0 500M 0 part 
│ └─md127 9:127 0 2G 0 raid0 /boot
└─sdb2 8:18 0 4,5G 0 part 
 └─nextcloud--system-root 253:0 0 10G 0 lvm /
sdc 8:32 0 5G 0 disk 
├─sdc1 8:33 0 500M 0 part 
│ └─md127 9:127 0 2G 0 raid0 /boot
└─sdc2 8:34 0 4,5G 0 part 
 └─nextcloud--system-root 253:0 0 10G 0 lvm /
sdd 8:48 0 5G 0 disk 
├─sdd1 8:49 0 500M 0 part 
│ └─md127 9:127 0 2G 0 raid0 /boot
└─sdd2 8:50 0 4,5G 0 part 
 └─nextcloud--system-root 253:0 0 10G 0 lvm /
sde 8:64 0 1G 0 disk 
└─nextcloud--db-db 253:2 0 4G 0 lvm /var/lib/mysql
sdf 8:80 0 1G 0 disk 
└─nextcloud--db-db 253:2 0 4G 0 lvm /var/lib/mysql
sdg 8:96 0 1G 0 disk 
└─nextcloud--db-db 253:2 0 4G 0 lvm /var/lib/mysql
sdh 8:112 0 1G 0 disk 
└─nextcloud--db-db 253:2 0 4G 0 lvm /var/lib/mysql
sdi 8:128 0 300G 0 disk 
└─data-slow 253:1 0 600G 0 lvm /var/www/html/nextcloud/data
sdj 8:144 0 300G 0 disk 
└─data-slow 253:1 0 600G 0 lvm /var/www/html/nextcloud/data
sr0




I have managed to start my VM as follows:
1. Start the VM
2. Dump the VM xml
3. Destroy
4. Add " to every disk entry in the dump file
5. virsh define VM.xml
6. virsh start VM


Sadly I can't set more than 1 disk as bootable in oVirt.


Best Regards,
Strahil Nikolov В петък, 7 януари 2022 г., 13:38:59 Гринуич+2, Vojtech 
Juranek  написа:  
 
 Hi,

> Hi All,
> I recently migrated from 4.3.10 to 4.4.9 and it seems that booting from
> software raid0 (I have multiple gluster volumes) is not possible with
> Cluster compatibility 4.6 . I've tested creating a fresh VM and it also
> suffers the problem. Changing various options (virtio-scsi to virtio,
> chipset, VM type) did not help . Booting from rescue media shows that the
> data is still there, but grub always drops to rescue. Any hints are
> welcome.
> Host: CentOS Stream 8 with qemu-6.0.0oVirt 4.4.9 (latest)VM OS:
> RHEL7.9/RHEL8.5 Best Regards,Strahil Nikolov

What is the lvm version? There was recently issue [1] with specific lvm version 
(lvm2-2.03.14-1.el8.x86_64) which could cause boot failures.

Vojta

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2026370

___
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/R2NI7T7QUD7MMIXWFRH4K7ZBTSCZSUWG/
  ___
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/NVJQXU2VKABK7XJP3YMI5AXQC2GO2SMP/


[ovirt-users] Re: Linux VMs cannot boot from software raid0

2022-01-07 Thread Strahil Nikolov via Users
 
Hi Vojta,

my storage domains are GlusterFS. I will boot in rescue to see the LVM version 
on the VMs themselves.
Yet, the 2 VMs I tested with, have a different LVM version (EL7 vs EL8).

When I "ls" from the grub rescue I see only:
(hd0) ) (hd0,msdos2) (hd0,msdos1) (md/boot)

As only hd0 is visible (I have 10 disks and at least 4 in the device.map), this 
indicates to me that it is the problem the colleagues from Proxmox has hit. Now 
I'm wondering how to bypass it , so I can power up the RHEL8 VM.

Best Regards,
Strahil Nikolov В петък, 7 януари 2022 г., 13:33:01 Гринуич+2, Vojtech 
Juranek  написа:  
 
 Hi,

> Hi All,
> I recently migrated from 4.3.10 to 4.4.9 and it seems that booting from
> software raid0 (I have multiple gluster volumes) is not possible with
> Cluster compatibility 4.6 . I've tested creating a fresh VM and it also
> suffers the problem. Changing various options (virtio-scsi to virtio,
> chipset, VM type) did not help . Booting from rescue media shows that the
> data is still there, but grub always drops to rescue. Any hints are
> welcome.
> Host: CentOS Stream 8 with qemu-6.0.0oVirt 4.4.9 (latest)VM OS:
> RHEL7.9/RHEL8.5 Best Regards,Strahil Nikolov

What is the lvm version? There was recently issue [1] with specific lvm version 
(lvm2-2.03.14-1.el8.x86_64) which could cause boot failures.

Vojta

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2026370

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


[ovirt-users] Re: Linux VMs cannot boot from software raid0

2022-01-06 Thread Strahil Nikolov via Users

To be honest in grub rescue I can see only hd0 which leaded me to the issue 
(and qemu-6.2+ has a fix for it): 
https://bugzilla.proxmox.com/show_bug.cgi?id=3010

Can someone also test creating a Linux VM with /boot being a raid0 software MD 
device ?

Best Regards,Strahil Nikolov
 
 
  On Fri, Jan 7, 2022 at 2:15, Strahil Nikolov via Users 
wrote:   Hi All,
I recently migrated from 4.3.10 to 4.4.9 and it seems that booting from 
software raid0 (I have multiple gluster volumes) is not possible with Cluster 
compatibility 4.6 .
I've tested creating a fresh VM and it also suffers the problem. Changing 
various options (virtio-scsi to virtio, chipset, VM type) did not help .
Booting from rescue media shows that the data is still there, but grub always 
drops to rescue.
Any hints are welcome.
Host: CentOS Stream 8 with qemu-6.0.0oVirt 4.4.9 (latest)VM OS: RHEL7.9/RHEL8.5
Best Regards,Strahil Nikolov___
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/OTMKYD3B5JTK5OUJVO2BN6J3BDFYJO6O/
  
___
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/QO55CYMZX7CFO4EOOJLVY6CZ7F5LASXH/


[ovirt-users] Re: Ovirt 4.4.9 install fails (guestfish)?

2022-01-06 Thread Strahil Nikolov via Users
 Can you write on the storage domain like this:
sudo -u vdsm if=/dev/zero of=/rhev//full/path/ oflag=direct 
bs=512 count=10
Best Regards,Strahil Nikolov
 
  On Fri, Jan 7, 2022 at 0:19, Andy via Users wrote:   
___
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/EKURCFRH66GOIYGDMBOOLHJKV3O7GD2G/
  
___
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/WOM6UEXE3ADZCNL7VTN5UKCLWWJA73VR/


[ovirt-users] Linux VMs cannot boot from software raid0

2022-01-06 Thread Strahil Nikolov via Users
Hi All,
I recently migrated from 4.3.10 to 4.4.9 and it seems that booting from 
software raid0 (I have multiple gluster volumes) is not possible with Cluster 
compatibility 4.6 .
I've tested creating a fresh VM and it also suffers the problem. Changing 
various options (virtio-scsi to virtio, chipset, VM type) did not help .
Booting from rescue media shows that the data is still there, but grub always 
drops to rescue.
Any hints are welcome.
Host: CentOS Stream 8 with qemu-6.0.0oVirt 4.4.9 (latest)VM OS: RHEL7.9/RHEL8.5
Best Regards,Strahil Nikolov___
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/OTMKYD3B5JTK5OUJVO2BN6J3BDFYJO6O/


[ovirt-users] Re: sanlock issues after 4.3 to 4.4 migration

2022-01-06 Thread Strahil Nikolov via Users
 
The engine was not starting till downgrading to 6.0.0 qemu rpms from the 
Advanced Virtualization

Best Regards,
Strahil Nikolov В четвъртък, 6 януари 2022 г., 11:51:27 Гринуич+2, Strahil 
Nikolov via Users  написа:  
 
  It seems that after the last attempt I managed to move forward:

systemctl start ovirt-ha-agent ovirt-ha-broker

then stopped the ovirt-ha-agent and run "hosted-engine --reinitialize-lockspace"

Now the situation changed a little bit:
# sanlock client status
daemon 5f37f400-b865-11dc-a4f5-2c4d54502372
p -1 helper
p -1 listener
p 89795 HostedEngine
p -1 status
s 
hosted-engine:1:/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f1:0
s 
ca3807b9-5afc-4bcd-a557-aacbcc53c340:1:/rhev/data-center/mnt/glusterSD/ovirt2\:_engine44/ca3807b9-5afc-4bcd-a557-aacbcc53c340/dom_md/ids:0
r 
ca3807b9-5afc-4bcd-a557-aacbcc53c340:292c2cac-8dad-4229-a9a3-e64811f4b34e:/rhev/data-center/mnt/glusterSD/ovirt2\:_engine44/ca3807b9-5afc-4bcd-a557-aacbcc53c340/images/1deecc6a-0584-4758-8fbb-6386662a8075/292c2cac-8dad-4229-a9a3-e64811f4b34e.lease:0:1
 p 89795

And the engine is running:
--== Host ovirt2.localdomain (id: 1) status ==--

Host ID : 1
Host timestamp : 31136
Score : 3400
Engine status : {"vm": "up", "health": "bad", "detail": "Up", "reason": "failed 
liveliness check"}
Hostname : ovirt2.localdomain
Local maintenance : False
stopped : False
crc32 : 5f5bbd94
conf_on_shared_storage : True
local_conf_timestamp : 31136
Status up-to-date : True
Extra metadata (valid at timestamp):
 metadata_parse_version=1
 metadata_feature_version=1
 timestamp=31136 (Thu Jan 6 11:46:23 2022)
 host-id=1
 score=3400
 vm_conf_refresh_time=31136 (Thu Jan 6 11:46:23 2022)
 conf_on_shared_storage=True
 maintenance=False
 state=EngineStarting
 stopped=False


I will leave it for a while before trying to troubleshoot.

Best Regards,
Strahil Nikolov
 В четвъртък, 6 януари 2022 г., 09:23:11 Гринуич+2, Strahil Nikolov via 
Users  написа:  
 
 Hello All,

I was trying to upgrade my single node setup (Actually it used to be 2+1 
arbiter, but one of the data nodes died) from 4.3.10 to 4.4.? 

The deployment failed on 'hosted-engine --reinitialize-lockspace --force' and 
it seems that sanlock fails to obtain a lock:

# hosted-engine --reinitialize-lockspace --force
Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/reinitialize_lockspace.py",
 line 30, in 
    ha_cli.reset_lockspace(force)
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/client/client.py", 
line 286, in reset_lockspace
    stats = broker.get_stats_from_storage()
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", 
line 148, in get_stats_from_storage
    result = self._proxy.get_stats()
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1112, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1452, in __request
    verbose=self.__verbose
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1154, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1166, in single_request
    http_conn = self.send_request(host, handler, request_body, verbose)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1279, in send_request
    self.send_content(connection, request_body)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1309, in send_content
    connection.endheaders(request_body)
  File "/usr/lib64/python3.6/http/client.py", line 1268, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.6/http/client.py", line 1044, in _send_output
    self.send(msg)
  File "/usr/lib64/python3.6/http/client.py", line 982, in send
    self.connect()
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/unixrpc.py", line 
74, in connect
    self.sock.connect(base64.b16decode(self.host))
FileNotFoundError: [Errno 2] No such file or directory

# grep sanlock /var/log/messages | tail
Jan  6 08:29:48 ovirt2 sanlock[1269]: 2022-01-06 08:29:48 19341 [77108]: s1777 
failed to read device to find sector size error -223 
/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f1
Jan  6 08:29:49 ovirt2 sanlock[1269]: 2022-01-06 08:29:49 19342 [1310]: s1777 
add_lockspace fail result -223
Jan  6 08:29:54 ovirt2 sanlo

[ovirt-users] Re: sanlock issues after 4.3 to 4.4 migration

2022-01-06 Thread Strahil Nikolov via Users
 It seems that after the last attempt I managed to move forward:

systemctl start ovirt-ha-agent ovirt-ha-broker

then stopped the ovirt-ha-agent and run "hosted-engine --reinitialize-lockspace"

Now the situation changed a little bit:
# sanlock client status
daemon 5f37f400-b865-11dc-a4f5-2c4d54502372
p -1 helper
p -1 listener
p 89795 HostedEngine
p -1 status
s 
hosted-engine:1:/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f1:0
s 
ca3807b9-5afc-4bcd-a557-aacbcc53c340:1:/rhev/data-center/mnt/glusterSD/ovirt2\:_engine44/ca3807b9-5afc-4bcd-a557-aacbcc53c340/dom_md/ids:0
r 
ca3807b9-5afc-4bcd-a557-aacbcc53c340:292c2cac-8dad-4229-a9a3-e64811f4b34e:/rhev/data-center/mnt/glusterSD/ovirt2\:_engine44/ca3807b9-5afc-4bcd-a557-aacbcc53c340/images/1deecc6a-0584-4758-8fbb-6386662a8075/292c2cac-8dad-4229-a9a3-e64811f4b34e.lease:0:1
 p 89795

And the engine is running:
--== Host ovirt2.localdomain (id: 1) status ==--

Host ID : 1
Host timestamp : 31136
Score : 3400
Engine status : {"vm": "up", "health": "bad", "detail": "Up", "reason": "failed 
liveliness check"}
Hostname : ovirt2.localdomain
Local maintenance : False
stopped : False
crc32 : 5f5bbd94
conf_on_shared_storage : True
local_conf_timestamp : 31136
Status up-to-date : True
Extra metadata (valid at timestamp):
 metadata_parse_version=1
 metadata_feature_version=1
 timestamp=31136 (Thu Jan 6 11:46:23 2022)
 host-id=1
 score=3400
 vm_conf_refresh_time=31136 (Thu Jan 6 11:46:23 2022)
 conf_on_shared_storage=True
 maintenance=False
 state=EngineStarting
 stopped=False


I will leave it for a while before trying to troubleshoot.

Best Regards,
Strahil Nikolov
 В четвъртък, 6 януари 2022 г., 09:23:11 Гринуич+2, Strahil Nikolov via 
Users  написа:  
 
 Hello All,

I was trying to upgrade my single node setup (Actually it used to be 2+1 
arbiter, but one of the data nodes died) from 4.3.10 to 4.4.? 

The deployment failed on 'hosted-engine --reinitialize-lockspace --force' and 
it seems that sanlock fails to obtain a lock:

# hosted-engine --reinitialize-lockspace --force
Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/reinitialize_lockspace.py",
 line 30, in 
    ha_cli.reset_lockspace(force)
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/client/client.py", 
line 286, in reset_lockspace
    stats = broker.get_stats_from_storage()
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", 
line 148, in get_stats_from_storage
    result = self._proxy.get_stats()
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1112, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1452, in __request
    verbose=self.__verbose
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1154, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1166, in single_request
    http_conn = self.send_request(host, handler, request_body, verbose)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1279, in send_request
    self.send_content(connection, request_body)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1309, in send_content
    connection.endheaders(request_body)
  File "/usr/lib64/python3.6/http/client.py", line 1268, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.6/http/client.py", line 1044, in _send_output
    self.send(msg)
  File "/usr/lib64/python3.6/http/client.py", line 982, in send
    self.connect()
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/unixrpc.py", line 
74, in connect
    self.sock.connect(base64.b16decode(self.host))
FileNotFoundError: [Errno 2] No such file or directory

# grep sanlock /var/log/messages | tail
Jan  6 08:29:48 ovirt2 sanlock[1269]: 2022-01-06 08:29:48 19341 [77108]: s1777 
failed to read device to find sector size error -223 
/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f1
Jan  6 08:29:49 ovirt2 sanlock[1269]: 2022-01-06 08:29:49 19342 [1310]: s1777 
add_lockspace fail result -223
Jan  6 08:29:54 ovirt2 sanlock[1269]: 2022-01-06 08:29:54 19347 [77113]: s1778 
failed to read device to find sector size error -223 
/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f

[ovirt-users] sanlock issues after 4.3 to 4.4 migration

2022-01-05 Thread Strahil Nikolov via Users
Hello All,

I was trying to upgrade my single node setup (Actually it used to be 2+1 
arbiter, but one of the data nodes died) from 4.3.10 to 4.4.? 

The deployment failed on 'hosted-engine --reinitialize-lockspace --force' and 
it seems that sanlock fails to obtain a lock:

# hosted-engine --reinitialize-lockspace --force
Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/reinitialize_lockspace.py",
 line 30, in 
ha_cli.reset_lockspace(force)
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/client/client.py", 
line 286, in reset_lockspace
stats = broker.get_stats_from_storage()
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", 
line 148, in get_stats_from_storage
result = self._proxy.get_stats()
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1112, in __call__
return self.__send(self.__name, args)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1452, in __request
verbose=self.__verbose
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1154, in request
return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1166, in single_request
http_conn = self.send_request(host, handler, request_body, verbose)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1279, in send_request
self.send_content(connection, request_body)
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 1309, in send_content
connection.endheaders(request_body)
  File "/usr/lib64/python3.6/http/client.py", line 1268, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.6/http/client.py", line 1044, in _send_output
self.send(msg)
  File "/usr/lib64/python3.6/http/client.py", line 982, in send
self.connect()
  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/unixrpc.py", line 
74, in connect
self.sock.connect(base64.b16decode(self.host))
FileNotFoundError: [Errno 2] No such file or directory

# grep sanlock /var/log/messages | tail
Jan  6 08:29:48 ovirt2 sanlock[1269]: 2022-01-06 08:29:48 19341 [77108]: s1777 
failed to read device to find sector size error -223 
/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f1
Jan  6 08:29:49 ovirt2 sanlock[1269]: 2022-01-06 08:29:49 19342 [1310]: s1777 
add_lockspace fail result -223
Jan  6 08:29:54 ovirt2 sanlock[1269]: 2022-01-06 08:29:54 19347 [77113]: s1778 
failed to read device to find sector size error -223 
/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f1
Jan  6 08:29:55 ovirt2 sanlock[1269]: 2022-01-06 08:29:55 19348 [1310]: s1778 
add_lockspace fail result -223
Jan  6 08:30:00 ovirt2 sanlock[1269]: 2022-01-06 08:30:00 19353 [77138]: s1779 
failed to read device to find sector size error -223 
/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f1
Jan  6 08:30:01 ovirt2 sanlock[1269]: 2022-01-06 08:30:01 19354 [1311]: s1779 
add_lockspace fail result -223
Jan  6 08:30:06 ovirt2 sanlock[1269]: 2022-01-06 08:30:06 19359 [77144]: s1780 
failed to read device to find sector size error -223 
/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f1
Jan  6 08:30:07 ovirt2 sanlock[1269]: 2022-01-06 08:30:07 19360 [1310]: s1780 
add_lockspace fail result -223
Jan  6 08:30:12 ovirt2 sanlock[1269]: 2022-01-06 08:30:12 19365 [77151]: s1781 
failed to read device to find sector size error -223 
/run/vdsm/storage/ca3807b9-5afc-4bcd-a557-aacbcc53c340/39ee18b2-3d7b-4d48-8a0e-3ed7947b5038/d95ae3ee-b6d3-46c4-b6a2-75f96134c7f1
Jan  6 08:30:13 ovirt2 sanlock[1269]: 2022-01-06 08:30:13 19366 [1310]: s1781 
add_lockspace fail result -223


# sanlock client status
daemon 5f37f400-b865-11dc-a4f5-2c4d54502372
p -1 helper
p -1 listener
p -1 status
s 
ca3807b9-5afc-4bcd-a557-aacbcc53c340:1:/rhev/data-center/mnt/glusterSD/ovirt2\:_engine44/ca3807b9-5afc-4bcd-a557-aacbcc53c340/dom_md/ids:0


Could it be related to the sector size of the Gluster's Brick?

# smartctl -a /dev/sdb | grep  'Sector Sizes'
Sector Sizes: 512 bytes logical, 4096 bytes physical


Any hint will be helpful


Best Regads,
Strahil Nikolov
___
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: 

[ovirt-users] Re: Unrecoverable NMI error on HP Gen8 hosts.

2022-01-03 Thread Strahil Nikolov via Users
I'm not sure if fencing is not generating those NMI options.
Have you tested the fencing ? If not, follow the documentation to test fencing 
and if that's the reason for the NMI.Also check any pending firmware updates 
like the newest iLO4.
Best Regards,Strahil Nikolov
 
 
  On Sun, Jan 2, 2022 at 17:44, Gilboa Davara wrote:   
___
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/MXADE3ZVXA3VNQISODECP5XQEBEUYA4Y/
  
___
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/OTIXFYGQOMM2BWOQTGZ4XRP3JP5IARY6/


[ovirt-users] Re: With libgfapi gone - ? - qcow2 backups

2021-12-31 Thread Strahil Nikolov via Users
I see 2 options :- backup via snapshot- snapshot on Gluster level and backup it
Of course last option is to do file backup from OS.
Best Regards,Strahil Nikolov
 
 
  On Fri, Dec 31, 2021 at 12:28, lejeczek via Users wrote:   
hi guys

Now with libgfapi support removed from qemu/libvirt - 
certainly in binaries from oVirt repos for CentOS 9 - how 
does one take qcow2 backups?
Would that be some specific options to mount gluster vol in 
order to overcome:

-> $ qemu-img convert -O qcow2 ./ubuntu.qcow2.bkp ubuntu.qcow2
qemu-img: Could not open './ubuntu-tor.qcow2.bkp': Could not 
open backing file: Failed to get shared "write" lock
Is another process using the image [/VMs3/ubuntu.qcow2]?

or perhaps 'qemu-img' can do the trick somehow?

all thoughts shared are much appreciated.
many thanks, L>
___
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/SIXBM2ZYDK2XBKPNXG7IQB7DH54JT3AY/
  
___
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/YQSGRLYGEU4UXUZRPGAA6FIBEQREPNYV/


[ovirt-users] Re: what are the Gluster config files must be backed up for the restoration purpose

2021-12-30 Thread Strahil Nikolov via Users
/etc/glusterfs & /var/lib/glusterd
Best Regards,Strahil Nikolov
 
 
  On Tue, Dec 28, 2021 at 5:09, dhanaraj.ramesh--- via Users 
wrote:   Hi Team

As part of Hyperconverged setup, what are the Gluster config files must be 
backed up in daily basis to restore in case of disaster? 
___
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/7JP4IT7MYTAQTMY2KQ7GESEKF25GLSOM/
  
___
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/JHGM7NPTUGHOQSULF5TUDCGKPR5CQTQG/


[ovirt-users] Re: Help installing oVirt on single machine, without cockpit

2021-12-30 Thread Strahil Nikolov via Users
The migration from 4.3 to 4.4 is done by the same method... It always worked 
but for major version upgrade there is a strict requirement which version the 
backup was done.
Even if it doesn't work - a fresh engine can still recover the VMs by importing 
the storage domain (no VM snapshots are allowed), yet other settings might be 
lost (VM networks, users,etc)

Also, I forgot to mention that with GlusterFS, you can create a snapshot as a 
point in time recovery (shut down the engine first as it has a DB) on the 
Engine's volume.
Happy Holidays!
Best Regards,Strahil Nikolov
 
 
  On Fri, Dec 31, 2021 at 2:33, Strahil Nikolov wrote:   
Well, you can shut down the engine (don't forget the global maintenance), yum 
update, reboot -> the host is updated
Then wait for ovirt-ha-agent & ovirt-ha-broker to bring the engine up.Global 
maintenance, wipe the storage (assuming NFS/GlusterFS is used) or at least 
rename the subdirectory to something different.Restore from backup and it 
should be back as new.


Best Regards,Strahil Nikolov
 
 
  On Tue, Dec 28, 2021 at 0:27, Joseph Goldman wrote:   
___
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/SZWVLPZDESDW24FHPDPOBXZR26RF3WAG/
  
  
___
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/FVFKEMSGQEMVOUMLRPPQE362SYDZRNF6/


[ovirt-users] Re: Help installing oVirt on single machine, without cockpit

2021-12-30 Thread Strahil Nikolov via Users
Well, you can shut down the engine (don't forget the global maintenance), yum 
update, reboot -> the host is updated
Then wait for ovirt-ha-agent & ovirt-ha-broker to bring the engine up.Global 
maintenance, wipe the storage (assuming NFS/GlusterFS is used) or at least 
rename the subdirectory to something different.Restore from backup and it 
should be back as new.


Best Regards,Strahil Nikolov
 
 
  On Tue, Dec 28, 2021 at 0:27, Joseph Goldman wrote:   
___
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/SZWVLPZDESDW24FHPDPOBXZR26RF3WAG/
  
___
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/IBLCHUIVGR6AV6YYTCFCEDPCEQXBWCVX/


[ovirt-users] Re: Using IBM Spectrum Scale as POSIX compliant filesystem under oVirt 4.4 results in oVirt host reboot.

2021-12-30 Thread Strahil Nikolov via Users
When you mount it, did you try to:
chown 36:36   /mnt/b4tsz001chmod 755  /mnt/b4tsz001
Best Regards,Strahil Nikolov
 
 
  On Wed, Dec 22, 2021 at 16:12, Andi Nør Christiansen 
wrote:
Hi,
 
  
 
Does anyone know how to mount a spectrum scale filesystem as a storage domain 
using the POSIX compliant storage option.
 
  
 
I’ve tried to follow an earlier post about this 
-https://lists.ovirt.org/archives/list/users@ovirt.org/thread/LLXLSI4ZQFU32PV7AXLYD5LJBS23HBKO/
 
  
 
specifically the options provided by jtorres:
 
  
 
Domain Function: Data
 
Name: name_of_the_domain
 
Storage Type: Posix Compliant FS
 
Path: gpfs_kvm (the name of the "device"/"filesystem" created, not an
 
absoluthe path)
 
VFS Type: gpfs
 
Mount Options: rw,relatime,dev=gpfs_kvm (the dev parameter is the key to mount 
the
 
filesystem).
 
  
 
Using those options, the webinterface just tells me it cannot communicate with 
the storage.
 
  
 
If I change it to:
 
  
 
Domain Function: Data
 
Name: name_of_the_domain
 
Storage Type: Posix Compliant FS
 
Path: /mnt/b4tsz001
 
VFS Type: gpfs
 
Mount Options: rw,relatime
 
  
 
The oVirt host reboots immediately.
 
  
 
I have mounted the filesystem locally on the oVirt Host under /mnt/
 
Change the owner to: vdsm:kvm
 
  
 
Am I missing something or is this a general bug between spectrum scale and 
oVirt.
 
  
 
Any ideas will be appreciated! Thanks
 
  
 
Best Regards
 
Andi Christiansen
 

 ___
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/SFSWSYUUDQNSJC73VA4SVXE6EPPR2QA2/
  
___
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/TNU4WZ3UINIZOXTUQVFU4L7UTQGFLVEQ/


[ovirt-users] Re: Help installing oVirt on single machine, without cockpit

2021-12-26 Thread Strahil Nikolov via Users
Have you thought about deploying HostedEngine and when you need to update the 
engine -> put the host in maintenance -> backup & restore .This way you both 
test the backup and upgrade your versions.
Best Regards,Strahil Nikolov
 
 
  On Sat, Dec 25, 2021 at 2:38, Cameron Showalter 
wrote:   The reply button is making me write an email, so hopefully this 
reaches you all.
> I think this thread (even if the title is not so clear about thediscussions 
> born inside) could be a good read regarding single hostlimitations in terms 
> of updating the environment, after the initialdeployment
Cool, thanks for the advice! Based on the link, it seems like the hosted engine 
can't update on a "single machine" install. But if you install the engine 
directly to the host, the VM doesn't need to be running, so it might be able 
to. Thankfully I wasn't too far down playing with the hosted engine, or 
container setup yet.
So with installing an engine directly to the node, I got it to install 
ovirt-engine, by enabling the appstream, baseos, extras, and powertools repo. 
Then I commented out all "includepkgs = ..." in both 
`/etc/yum.repos.d/ovirt-*.repo` files. I can also get through all of the 
`engine-setup` questions, but then it fails with starting the `ovirt-imageio` 
service at the very end.
The logs in `/var/log/ovirt-imageio/daemon.log`:```txtFile 
"/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/ssl.py",line 16, in 
server_context    purpose=ssl.Purpose.CLIENT_AUTH, cafile=cafile)File 
"/usr/lib64/python3.6/ssl.py", line 468, in create_default_context    
context.load_verify_locations(cafile, capath, cadata)FileNotFoundError: [Errno 
2] No such file or directory```

Which is the same error as this forum here: 
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/DNB73ZMUB5DIMV7UK74MTFYTE7SGZ5J7/But
 all the info about solving it is "Found it;Default route was set to the NFS / 
SAN Network Gateway, not the Actualgateway.", and I'm not exactly sure what 
that means.
I also tried the engine install/setup in a CentOS workstation VM, and it worked 
great, so I thought the node is missing a package? I installed `openssl-devel` 
without any luck. In both the VM and the node, I tried `route -n`, and both 
CentOS vm / node had similar/expected output. I tried to do as many default 
options as possible on both, so I'm surprised the gateway is different between 
them.
Any idea how to get past this? I'm also open to switching to plain CentOS if 
that might be more stable, and installing to that. I just love how a lot of the 
node comes pre-packaged for you, and I'm not sure if you can install a "node 
hypervisor" straight to CentOS. That's also outside my comfort zone, so I'm 
open to advice either way.
Thanks all for letting me get just this far!
___
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/C4Z65RXLFPOCS6OD3FREAJLNFM2GD2KQ/
  
___
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/XC6PEV7KU3GJPR4373KC44H52DGMOSRP/


[ovirt-users] Re: remote-viewer VNC mode issue

2021-12-14 Thread Strahil Nikolov via Users
The most common problem is the CA of oVirt not trusted in the web browser of 
the client.

Best Regards,Strahil Nikolov
 
 
  On Sun, Dec 12, 2021 at 0:00, Patrick Hibbs wrote:   
Hello,

    As oVirt unfortuately now requires VNC for the VM consoles,
I've been attempting to get VNC mode working on my end user clients.

    The noVNC browser client works just fine, but for some reason
the default download to remote-viewer fails on the same hosts.

All the end-user gets is a quick flash of the remote-viewer window on
their screen.

Running remote-viewer in debug mode I get this:

---log snip---

$ remote-viewer -v --debug Downloads/console.vv
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:35.906: Opening display
to Downloads/console.vv
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:35.906: Guest (null) has
a vnc display
Guest (null) has a vnc display
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:35.952: Spice foreign
menu updated
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:35.952: After open
connection callback fd=-1
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:35.952: Opening
connection to display at Downloads/console.vv
Opening connection to display at Downloads/console.vv
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:35.953: fullscreen
display 0: 0
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:35.953: notebook show
status 0x560a419d2280
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.032: notebook show
status 0x560a419d2280
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.032: Insert display 0
0x560a423fa1e0
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.032: notebook show
status 0x560a419d2280
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.052: Allocated
1024x740
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.052: Child allocate
1024x640
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.053: Got VNC
credential request for 1 credential(s)
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.067: Not removing
main window 0 0x560a4195d910
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.067: Disconnected
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.067: close
vnc=0x560a419fc220
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.068: notebook show
status 0x560a419d2280
(remote-viewer:4056): virt-viewer-DEBUG: 16:35:36.068: Guest (null)
display has disconnected, shutting down
Guest (null) display has disconnected, shutting down

---log snip---

It seems to be failing a credential request, but I'm not sure why. The
engine logs only show the VM console ticket being created, but does not
show any connection attempts unless noVNC is used.

---log snip---

2021-12-11 16:48:23,402-05 INFO 
[org.ovirt.engine.core.bll.SetVmTicketCommand] (default task-16)
[68b90cfe] Running command: SetVmTicketCommand internal: false.
Entities affected :  ID: bb05ab12-91e5-4ab6-92b1-b911ed78f64f Type:
VMAction group CONNECT_TO_VM with role type USER
2021-12-11 16:48:23,414-05 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
(default task-16) [68b90cfe] START, SetVmTicketVDSCommand(HostName = --
REDACTED--, SetVmTicketVDSCommandParameters:{hostId='1fdd841b-477f-
4d13-9935-7908924dd5a1', vmId='bb05ab12-91e5-4ab6-92b1-b911ed78f64f',
protocol='VNC', ticket='ocziPsEOF4km', validTime='120', userName='--
REDACTED--@--REDACTED--', userId='e83ab2b3-c464-49a4-a0ab-
4e62e8131304', disconnectAction='LOCK_SCREEN'}), log id: f6dccdd
2021-12-11 16:48:23,435-05 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
(default task-16) [68b90cfe] FINISH, SetVmTicketVDSCommand, return: ,
log id: f6dccdd
2021-12-11 16:48:23,461-05 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-16) [68b90cfe] EVENT_ID: VM_SET_TICKET(164), User --
REDACTED--@--REDACTED--@--REDACTED-- initiated console session for VM
Test
#

---log snip---

What else can I do to troubleshoot this?

- Patrick Hibbs

___
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/Q5ENXJJU5V7LJOHFB6D6VODNRAW33KQQ/
  
___
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/IR67OG73QVLVKZUJQ2JFMQCBLGWJSB73/


[ovirt-users] Re: no QXL ?

2021-12-08 Thread Strahil Nikolov via Users
On oVirt 4.3 I use noVNC , so console is reachable as long as you can reach the 
engine.
Best Regards,Strahil Nikolov


 
 
  On Wed, Dec 8, 2021 at 10:36, Colin Coe wrote:   
___
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/3TTZPWJU46MLORAT5H4TODJ5HDFWYIKM/
  
___
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/BIN3VDVGA2QK46XSO3DINSW5IRWKSJG4/


[ovirt-users] Re: what is the best practices to delete vdisks in 100% used gluster stoargedoamin

2021-12-07 Thread Strahil Nikolov via Users
Can you show the current volume info ?
If it's still distributed-replicated, you need to rebalance.
Best Regards,Strahil Nikolov
 
 
  On Thu, Dec 2, 2021 at 6:57, dhanaraj.ramesh--- via Users 
wrote:   Hi Strahil Nikolov

Thank you so much all your valuable input. Finally resolved the issue with 
below actions 

1) shutdown all the vms running in the volume, 
2)  temporarily created new folders in another hdd drive ( in all three hosts) 
where it had enough free space 
3) expanded the issue volume by adding those new folders as a new bricks  ( 
volume changed from replicate to distributed replicate ) 
4) brought up the storage domain online and moved the over utilized disks to 
another storage domain 
5) removed the new bricks 

now all are back to original setup.
___
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/KWZ5MR7XX3SIASL5GZC2ZFXID5PUVPCL/
  
___
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/XVV2WKRV42REJDDCXGAA5AORLPX3HG2M/


[ovirt-users] Re: oVirt 3 Node with GlusterFS

2021-12-03 Thread Strahil Nikolov via Users
Yep,
raid10 will be far better for writes.If you stick with the HW controller and 
you don't use the oVirt/Ansible, don't forget to align the I/O .
Best Regards,Strahil Nikolov 
 
  On Thu, Dec 2, 2021 at 23:49, Marcel d'Heureuse wrote:   
___
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/KCFF4VAZ7PNWJWKTBV5BWWI55KJZNRNP/
  
___
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/IK6D3C6UZ7UGC3ED5CD52FCYQGVIZ66A/


[ovirt-users] Re: oVirt 3 Node with GlusterFS

2021-12-02 Thread Strahil Nikolov via Users
For SSDs , I would use each ssd as a single brick.
Don't forget to align the LVM/XFS in case you are not using Gluster's Ansible 
/which oVirt also uses for deployment/ : 
https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.5/html/administration_guide/brick_configuration
Best Regards,Strahil Nikolov
 
 
  On Thu, Dec 2, 2021 at 9:48, Joseph Goldman wrote:   
Sorry to be clearer

There is 15 Spin disks total

9 SSD disks total

Spin will be split into 3x RAID-5's on the physical hosts (5 disks)
SSD will be split into 3x RAID-5's on the physical hosts (3 disks)

My plan was as you said, create a single brick on each of the 3 spin 
RAID-5's and a single brick on each of the 3 SSD RAID-5's - just wasn't 
sure if there was a better way to go about it.

Thanks,
Joe

-- Original Message --
From: "dhanaraj.ramesh--- via Users" 
To: users@ovirt.org
Sent: 2/12/2021 5:40:47 PM
Subject: [ovirt-users] Re: oVirt 3 Node with GlusterFS

>if you go with RAID 5 option it is expected to have performance degradation 
>but you will have double protection for your data.
>
>my suggestion, go with each HDD disks as individual bricks with replica 3 
>volumes and same for SSD's
>___
>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/6777XHHUNWWFXWPN7VNKJC35QHS4JDE5/
___
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/IX7ECAXCG3PTHDVPY6JT5GQFP2TV2W4O/
  
___
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/GUYTHI2W247WLIHBTXKFHEZCLVMVHGZG/


[ovirt-users] Re: broker.log file filling up

2021-12-02 Thread Strahil Nikolov via Users
You need to restart ovirt-ha-broker.service and ovirt-ha-agent.service
Best Regards,Strahil Nikolov
 
 
  On Mon, Nov 29, 2021 at 18:31, Valerio Luccio wrote:  
 ___
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/ABCACVKMVJ6YE2UE2TSOAQSFUOXRWNMN/
  
___
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/7DKRCZFI6P2RVCWFYCCARPXQMFWZVU7A/


[ovirt-users] Re: Creating VMs from templates with their own disks

2021-11-28 Thread Strahil Nikolov via Users
I would put that code in vm_create.yml
and then you can:
- name: Create VMs  include_tasks: vm_create.yml  loop:    - VM1    - VM2  
loop_control:    loop_var: vm_name

Then inside your vm_create.yml you will use "{{ vm_name }}" as the name of the 
VM.
Best Regards,Strahil Nikolov
 
 
  On Sun, Nov 28, 2021 at 16:42, Sina Owolabi wrote:   
Amazing.

Thanks! Works!
No to figure out how to create multiple vms at a time!

On Sun, Nov 28, 2021 at 2:32 PM Gianluca Cecchi
 wrote:
>
> On Sun, Nov 28, 2021 at 3:44 AM Sina Owolabi  wrote:
>>
>>
>>    - name: Print vm attributes
>>      ovirt.ovirt.ovirt_vm_info:
>>        auth: "{{ ovirt_auth }}"
>>        pattern: name="{{ vm_fqdn }}"
>>      register: vm_info
>>    - debug:
>>        msg: "{{ vm_info.ovirt_vms[0] }}"
>>
>
> here above you get an empty disk_attachments field.
> You have to add fetch_nested: true to traverse and get the disk attachments 
> values
>
> Eg:
>    - name: Print vm attributes
>      ovirt.ovirt.ovirt_vm_info:
>        auth: "{{ ovirt_auth }}"
>        pattern: name="{{ vm_fqdn }}"
>        fetch_nested: true
>      register: vm_info
>    - debug:
>        msg: "{{ vm_info.ovirt_vms[0] }}"
>
>>
>>    - name: Rename disk
>>      ovirt.ovirt.ovirt_disk:
>>        auth: "{{ ovirt_auth }}"
>>        id: "{{ vm_info.ovirt_vms[0].id }}"
>>        storage_domain: lrg0-ovirt-mydom-internal-Local
>>        name: "{{ vm_fqdn }}-osdisk0"
>>        vm_name: "{{ vm_fqdn }}"
>>
>
> Here, supposing from pattern filter above you get only 1 VM so you can use 
> index 0 and you get only 1 disk inside the VM and you can use index 0 also 
> for disk, you can use:
> See also "ansible-doc ovirt_vm_info" help page, where you can filter the 
> nested_attributes...
> Then the rename disk task would become
>
>    - name: Rename disk
>      ovirt.ovirt.ovirt_disk:
>        auth: "{{ ovirt_auth }}"
>        id: "{{ vm_info.ovirt_vms[0].disk_attachments[0].id }}"
>        storage_domain: lrg0-ovirt-mydom-internal-Local
>        name: "{{ vm_fqdn }}-osdisk0"
>        vm_name: "{{ vm_fqdn }}"
>
> This works for me in a 4.4.7 test environment
>
> HIH,
> Gianluca
>
>
>


-- 

cordially yours,

Sina Owolabi

+2348176469061
___
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/XNBRIBAOLD4GK5LKVUJNJPACCNPZ7K66/
  
___
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/CQOITGRVPOOYYOD72W6LLLF6UHVOAT3M/


[ovirt-users] Re: Attaching LVM logical volume to VM

2021-11-28 Thread Strahil Nikolov via Users
Usually in oVirt you are want your VMs to be on a shared storage, so they can 
live migrate between the hosts.
Such shared storages are: iSCSI, SAN, NFS & GlusterFS (CEPH is still 
"experimental") or any other POSIX Filesystem.
If you wish to use local storage, previously (I'm not sure if this is possible 
any more) the host must be in a separate cluster on a separate Datacenter and 
then you could use that local storage.
One way to achive this setup and be able to expand in the future is to use a 
single-nide oVirt with single brick (term for server+mountpoint combo) 
GlusterFS.Adding more servers in the future will be seamless and without 
downtime , yet oVirt supports only single server and 3-server setups 
(3,6,9,12...n*3).
Of course creating an iSCSI/NFS server from the Hypervisor is possible , but I 
would not recommend it as the node becomes single point of failure.

Best Regards,Strahil Nikolov
 
 
  On Sun, Nov 28, 2021 at 16:23, Nir Soffer wrote:   On 
Sun, Nov 28, 2021 at 2:06 PM  wrote:
>
> Thanks for your reply. Greatly appreciated.
>
> > The oVirt way is to create a block storage domain, and create a raw
> > preallocated disk.
> > This will attach a logical volume to the VM.
>
> Problem is that I already have an existing LV that was used before.
> But I guess if I mount that LV on the host I could copy all the data over 
> through scp or similar to the VM with the newly created LV (which requires me 
> to have double the disk space).
>
> Do I understand correctly that a designated VG is used and LVs are created in 
> it and those are exposed as iSCSI volumes and mounted as such in the guest OS?
>

No. It works like this:

1. You configure iSCSI server (e.g. using targetcli), and export one
or more LUNs.
2. You create a iSCSI storage domain in oVirt, connecting to your iSCSI target
3. You select the LUN(s) that should be part of this storage domain
4. oVirt creates a VG with the specified LUN(s)
5. oVirt creates special logical volumes for management (~5G)
6. You create a new disk in oVirt on this storage domain
    to use the same raw lv as you used before, use "allocation policy:
preallocated"
7. oVirt creates a logical volume in the VG

So if you want to use existing LV content, you need to create the disk
in oVirt, and then
you can copy the logical volume from the original LV to the new disk:

You need to find the logical volume created for the VM disk, can be done using:

  lvs -o lv_name,tags storage-domain-id | grep disk-id

Then you need to active both lvs, and copy the image:

  lvchange -ay old-vg/old-lv
  lvchange -ay storage-domain-id/lv-name
  qemu-img convert -p -f raw -O raw -t none -T none -n -W
/dev/old-vg/olv-lv dev/storage-domain-id/lv-name
  lvchange -an old-vg/old-lv
  lvchange -an storage-domain-id/lv-name

> The disk space is already allocated to VolumeGroups so I'd have to fiddle to 
> be able to get an extra VG for that storage domain unless I add a disk.

Note that the iSCSI storage domain must be accessible to all hosts in
the data center.
If not you will not be able to activate all the hosts.

Keeping the storage on one of the hypervisors is possible but not recommended.

> I prefer to keep it simple. Perhaps I should create an NFS share and mount 
> that in the guest but then again I'm not that fond of putting it on an NFS 
> share.
>
> >
> > The difference is that the logical volume is served by iSCSI or FC
> > storage server,
> > and you can migrate the VM between hosts.
> >
> > If you really want to use local host storage, the best way is to
> > create a local DC
> > that will include only this host, and use raw preallocated file on the
> > local storage
> > domain.
>
> That would kind of defeat the purpose for me. With the setup I had I could 
> directly mount the LV on the host.
> Perhaps I misunderstand what you're saying here.

oVirt does not support attaching LVs or a local file directly to VMs.

You can also continue to use libvirt and qemu to manage this VM. oVirt
will see it as
external VM running on the host, and it should not try to manage it.

The feature you need, attach logical volume to a VM does not exist, so you
need to either use what the system provides, or manage the VM outside
of the system.

Nir
___
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/VZGX6VBATSBPIHLGVI5LCTAFIXYMMHJ5/
  
___
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: 

[ovirt-users] Re: Creating VMs from templates with their own disks

2021-11-27 Thread Strahil Nikolov via Users
Does it work when you remove the 'custom_script' section ?
Best Regards,Strahil Nikolov
 
 
  On Sat, Nov 27, 2021 at 7:35, Sina Owolabi wrote:   No 
errors at all
Same results again
Screenshot attached for a better view, but this is where it's at right now:

      sso: true
        disk_format: raw
        graphical_console:
          protocol:
            - spice
            - vnc
        cloud_init:
          regenerate_ssh_keys: true
          host_name: "{{ vm_fqdn }}"
          dns_search: mydom.internal
          dns_servers:  
          custom_script: |
            write_files:
            - path: /tmp/setup.sh
              permissions: '0755'
              content: |
                #!/bin/bash
                echo "$(hostname -f)" >> /tmp/myhostname.txt
                ipa-client-install --hostname=`hostname -f` \
                --mkhomedir --domain=services.mydom.internal \
                --realm=SERVICES.MYDOM.INTERNAL  --no-ntp \
                --principal=admin --password= \
                --enable-dns-updates --unattended
          user_name: mydomadmin
          root_password: 

    - name: Print vm attributes
      ovirt.ovirt.ovirt_vm_info:
        auth: "{{ ovirt_auth }}"
        pattern: name="{{ vm_fqdn }}"
      register: vm_info
    - debug:
        msg: "{{ vm_info.ovirt_vms[0] }}"

On Sat, Nov 27, 2021 at 12:51 AM Strahil Nikolov  wrote:
>
> yaml is picky...
>
>
> write_files:
>            - path: /tmp/setup.sh
>            permissions: '0755'
>            content: |
>
> permissions & content should be on the same indentation with path:
>
> - path
>  permissions
>  content
>
> What is the error you receive ?
>
>
> Best Regards,
> Strahil Nikolov
>
> On Sat, Nov 27, 2021 at 1:19, Sina Owolabi
>  wrote:
> ___
> 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/HLTC34PWJICMOLLVCZBE44XOZG7TGWU7/
>


-- 

cordially yours,

Sina Owolabi

+2348176469061
  
___
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/7MF5TFHPGCYCDYW7OFLOP4HBIELLMJXA/


[ovirt-users] Re: Creating VMs from templates with their own disks

2021-11-26 Thread Strahil Nikolov via Users
yaml is picky...

write_files:            - path: /tmp/setup.sh            permissions: '0755'    
        content: |
permissions & content should be on the same indentation with path:
- path  permissions  content
What is the error you receive ?

Best Regards,Strahil Nikolov
 
 
  On Sat, Nov 27, 2021 at 1:19, Sina Owolabi wrote:   
___
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/HLTC34PWJICMOLLVCZBE44XOZG7TGWU7/
  
___
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/RU4B5524HSHMPK4K2CPUJVM4GFMLO73E/


[ovirt-users] Re: Creating VMs from templates with their own disks

2021-11-26 Thread Strahil Nikolov via Users
 Yep.

Your code:
 cloud_init:
 custom_script: |
 host_name: "{{ vm_fqdn }}"
 user_name: myadmin
 user_password: 
 write_files:
 - path: /tmp/setup.sh
 permissions: '0755'
 content: |
 #!/bin/bash
 echo "$(hostnamectl)" >> /tmp/myhostname.txt

Yet, in "custom_script" there is no "host_name" (indentation shows that 
host_name is part of the custom script, not to mention the "|" character).

Try with:

 cloud_init:
 host_name: "{{ vm_fqdn }}"
 user_name: myadmin
 # I can't find this one in 
https://docs.ansible.com/ansible/latest/collections/ovirt/ovirt/ovirt_vm_module.html
 #user_password: 
 root_password: 
 custom_script: |
 write_files:
 - path: /tmp/setup.sh
 permissions: '0755'
 content: |
 #!/bin/bash
 echo "$(hostnamectl)" >> /tmp/myhostname.txt



Best Regards,
Strahil Nikolov В петък, 26 ноември 2021 г., 19:33:16 Гринуич+2, 
Staniforth, Paul  написа:  
 
 #yiv9174097940 P {margin-top:0;margin-bottom:0;}Hi Sina,
  These should be part of the cloud-init dictionary and are strict about 
indentation.
e.g. from the documentation.

- name: Run VM with cloud init  ovirt.ovirt.ovirt_vm:    name: rhel7    
template: rhel7    cluster: Default    memory: 1GiB    high_availability: true  
  high_availability_priority: 50  # Available from Ansible 2.5    cloud_init:   
   dns_servers: '8.8.8.8 8.8.4.4'      nic_boot_protocol: static      
nic_ip_address: 10.34.60.86      nic_netmask: 255.255.252.0      nic_gateway: 
10.34.63.254      nic_name: eth1      host_name: example.com      
custom_script: |        write_files:         - content: |             Hello, 
world!           path: /tmp/greeting.txt           permissions: '0644'      
user_name: root      root_password: super_passwordRegards,
 Paul S.
From: Sina Owolabi 
Sent: 26 November 2021 16:43
To: Staniforth, Paul 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] Re: Creating VMs from templates with their own disks 
Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Same thing when its written as 'hostname':

atal: [ovirt.ovirt.trove.internal]: FAILED! => {"changed": false,
"msg": "Unsupported parameters for (ovirt.ovirt.ovirt_vm) module:
hostname Supported parameters include: affinity_gr
gs, affinity_label_mappings, allow_partial_import, auth,
ballooning_enabled, bios_type, boot_devices, boot_menu, cd_iso, clone,
clone_permissions, cloud_init, cloud_init_nics, cloud_i
t, cluster, cluster_mappings, comment, cpu_cores, cpu_mode,
cpu_pinning, cpu_shares, cpu_sockets, cpu_threads,
custom_compatibility_version, custom_emulated_machine,
custom_properties
rotected, description, disk_format, disks, domain_mappings, exclusive,
export_domain, export_ova, fetch_nested, force, force_migrate,
graphical_console, high_availability, high_availa
ority, host, host_devices, id, initrd_path, instance_type, io_threads,
kernel_params, kernel_params_persist, kernel_path, kvm, lease,
lun_mappings, memory, memory_guaranteed, memory_m
e, name, nested_attributes, next_run, nics, numa_nodes,
numa_tune_mode, operating_system, placement_policy,
placement_policy_hosts, poll_interval, quota_id, reassign_bad_macs,
rng_dev
mappings, serial_console, serial_policy, serial_policy_value,
smartcard_enabled, snapshot_name, snapshot_vm, soundcard_enabled, sso,
state, stateless, storage_domain, sysprep, templat
e_version, ticket, timeout, timezone, type, usb_support,
use_latest_template_version, vmware, vnic_profile_mappings, wait,
watchdog, xen"}

On Fri, Nov 26, 2021 at 5:35 PM Sina Owolabi  wrote:
>
> And Paul
>
> when I try to add host_name,  I get this error:
>
> TASK [Creates new virtual machine]
> 
> fatal: [ovirt.ovirt.trove.internal]: FAILED! => {"changed": false,
> "msg": "Unsupported parameters for (ovirt.ovirt.ovirt_vm) module:
> host_name, regenerate_ssh_keys Supported parameter
>  affinity_group_mappings, affinity_label_mappings,
> allow_partial_import, auth, ballooning_enabled, bios_type,
> boot_devices, boot_menu, cd_iso, clone, clone_permissions, cloud_init,
> cl
> ics, cloud_init_persist, cluster, cluster_mappings, comment,
> cpu_cores, cpu_mode, cpu_pinning, cpu_shares, cpu_sockets,
> cpu_threads, custom_compatibility_version, custom_emulated_mach
> m_properties, delete_protected, description, disk_format, disks,
> domain_mappings, exclusive, export_domain, export_ova, fetch_nested,
> force, force_migrate, graphical_console, high_ava
>  high_availability_priority, host, host_devices, id, initrd_path,
> instance_type, io_threads, kernel_params, kernel_params_persist,
> kernel_path, kvm, lease, lun_mappings, memory, memor
> ed, memory_max, migrate, name, nested_attributes, next_run, nics,
> numa_nodes, numa_tune_mode, operating_system, placement_policy,
> placement_policy_hosts, poll_interval, quota_id, reas
> acs, rng_device, 

[ovirt-users] Re: Creating VMs from templates with their own disks

2021-11-26 Thread Strahil Nikolov via Users
I don't seeany Ansible code bellow.
Best Regards,Strahil Nikolov
 
 
  On Fri, Nov 26, 2021 at 17:04, Sina Owolabi wrote:   
___
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/EUSFOOXTU6TXQFD6K5IW4JPVMBF5J7WC/
  
___
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/ZFBMY5NKTZHZSHV5ARF6KDHVSVKTKFHG/


[ovirt-users] Re: broker.log file filling up

2021-11-25 Thread Strahil Nikolov via Users
The broker logs can be changed... No need to shutdown the VM.
Just use the hosted-engine tool to put the vm in global maintenance, then 
change the log level and restart the broker/agent service.
After several minutes  (wait at least 5 min) 'hosted-engine --vm-status' should 
show that the situation is OK and you can remove the maintenance.
Best Regards,Strahil Nikolov
 
 
  On Thu, Nov 25, 2021 at 18:05, Valerio Luccio wrote:  
 ___
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/AIVNDIUJ7THFY5GQ5TIFP7FYSXNQTWE2/
  
___
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/EWSR4ZZU4HYJRTVCEZFKZQFNXNLPSG4K/


[ovirt-users] Re: what is the best practices to delete vdisks in 100% used gluster stoargedoamin

2021-11-25 Thread Strahil Nikolov via Users
When expanding volumes by adding more bricks (server+mountpoint combination), 
ensure the cluster.lookup-optimize is off:
gluster volume set   cluster.lookup-optimize off
For details 
see:https://github.com/gluster/glusterfs/issues/1918https://access.redhat.com/solutions/5896761

Best Regards,Strahil Nikolov

 
 
  On Thu, Nov 25, 2021 at 18:18, Strahil Nikolov via Users 
wrote:   ___
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/OPTTG2A52WBPGEK4MIIIXRTMFOGAJ7IU/
  
___
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/JCRTCBTHBZK22CWROF254A5CQQCJYO4T/


[ovirt-users] Re: what is the best practices to delete vdisks in 100% used gluster stoargedoamin

2021-11-25 Thread Strahil Nikolov via Users
Usually, gluster has the following 
options:cluster.min-free-diskcluster.min-free-inodes
The cluster.min-free-disk is set to 10% which means that you have the option to:
- Identify VMs/disks/objects that can be quickly deleted (snapshot deletion is 
not fast enough)- set the option to lower percent- Immediately delete the 
identified objects

Another option is to increase the brick disk space or adding a new set of 
bricks (and automatically converting the volume to 'distributed-replicated') 
and rebalance the whole volume.
The second approach (adding more space either by adding new bricks + rebalance, 
or via expanding existing bricks) is far more safer and straight forward.
Best Regards,Strahil Nikolov
 
 
  On Wed, Nov 24, 2021 at 11:24, dhanaraj.ramesh--- via Users 
wrote:   Hi Team

In my one of three node Hyperconverged (gluster + ovirt) setup, one of the 
storage domain went offline from Datacenter due to 100% storage space 
utilization, but luckily it is still online in Gluster. how should I properly 
delete some of the vdisks in that offline stoarge domain from Gluster and bring 
back to online?  
___
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/ROH76BP2WVIPCKM5TY2MWSVPG2TCENQI/
  
___
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/OPTTG2A52WBPGEK4MIIIXRTMFOGAJ7IU/


[ovirt-users] Re: Add static route to ovirt nodes

2021-11-20 Thread Strahil Nikolov via Users
 
Hi,

according to https://access.redhat.com/solutions/5982361 (which can be seen if 
you obtain a free RH developer subscription) you will need to use nmstate.

First create a yaml like this one (indentation must follow yaml requirements):

routes:
 config:
 - destination: 10.9.0.0/16
 next-hop-address: 10.13.0.1
 next-hop-interface: enp65s0f0

And then apply via 'nmstatectl set my_ceph_static_route.yml' on every host that 
needs the static route.


P.S.: Of course maintenance mode and reboot will be mandatory for testing the 
persistence of the static route.


Best Regards,
Strahil Nikolov 
 В петък, 19 ноември 2021 г., 23:03:16 Гринуич+2, Michael Thomas 
 написа:  
 
 I'm running ovirt 4.4.2 on CentOS 8.2. My ovirt nodes have two network 
addresses, ovirtmgmt and a second used for normal routed traffic to the 
cluster and WAN.

After the ovirt nodes were set up, I found that I needed to add an extra 
static route to the cluster interface to allow the hosts to see my ceph 
storage nodes (to make the rbd images visible to the VMs):

10.9.0.0/16 via 10.13.0.1

I can add this route using three different methods:

1) ip route add 10.9.0.0/16 via 10.13.0.1

2) nmcli conn modify enp65s0f0 ipv4.routes "10.9.0.0/16 10.13.0.1"
    nmcli conn down enp65s0f0
    nmcli conn up enp65s0f0

3) vi /etc/sysconfig/network-scripts/route-enp65s0f0
    ifdown enp65s0f0
    ifup enp65s0f0

However, when I reboot the host, the static route goes away.  Methods 2 
and 3 have always given me a persistent static route on other EL8 hosts, 
but not on my ovirt nodes.

What is the correct way to add a persistent static route on an ovirt host?

--Mike
___
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/L4M7MBYH5ZVGMR3W7U2OMVHE7UQJJBW2/
  ___
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/6YPTEUPLOZ76POJC5PAML46L6VYN33YO/


[ovirt-users] Re: how to forcibly remove dead node from Gluster 3 replica 1 arbiter setup?

2021-11-12 Thread Strahil Nikolov via Users
As I mentioned in the slack, the safest approach is to:
1. Reduce the volume to replica 1 (there is no need to keep the arbiter until 
resynchronization
gluster volume remove-brick VOLUME replica 1  
beclovkvma02.bec.net:/data/brick2/brick2   
beclovkvma03.bec.net:/data/brick1/brick2 
beclovkvma02.bec.net:/data/brick3/brick3 
beclovkvma03.bec.net:/data/brick1/brick3 
beclovkvma02.bec.net:/data/brick4/brick4 
beclovkvma03.bec.net:/data/brick1/brick4 
beclovkvma02.bec.net:/data/brick5/brick5 
beclovkvma03.bec.net:/data/brick1/brick5 
beclovkvma02.bec.net:/data/brick6/brick6 
beclovkvma03.bec.net:/data/brick1/brick6 
beclovkvma02.bec.net:/data/brick7/brick7 
beclovkvma03.bec.net:/data/brick1/brick7 
beclovkvma02.bec.net:/data/brick8/brick8 
beclovkvma03.bec.net:/data/brick1/brick8 force
Note: I might have missed a brick, so verify that you are selecting all bricks 
for the arbiter and beclovkvma02
2. Remove the broken nodegluster peer detach beclovkvma02.bec.net force
3. Add the freshly installed host:gluster peer probe beclovkvma04.bec.net
4. Umount all bricks on the arbiter.Then reformat them:mkfs.xfs -f -i size=512 
/path/to/each/arbiter/brick/LV
5. Check if fstab is using UUID and if yes -> update with the /dev/VG/LV or 
with the new UUIDs (blkid should help)
6. Mount all bricks on the arbiter - no errors should be reported:mount -a
7. Umount , reformat and remount all bricks on beclovkvma04.bec.net . Don't 
forget to check the fstab. 'mount -a' is your first friend
8. Readd the bricks to the volume. Order is important (first 04, then arbiter, 
04, arbiter...)
gluster volume brick-add VOLUME replica 3 arbiter1 
beclovkvma04.bec.net:/data/brick2/brick2   
beclovkvma03.bec.net:/data/brick1/brick2 
beclovkvma04.bec.net:/data/brick3/brick3 
beclovkvma03.bec.net:/data/brick1/brick3 
beclovkvma04.bec.net:/data/brick4/brick4 
beclovkvma03.bec.net:/data/brick1/brick4 
beclovkvma04.bec.net:/data/brick5/brick5 
beclovkvma03.bec.net:/data/brick1/brick5 
beclovkvma04.bec.net:/data/brick6/brick6 
beclovkvma03.bec.net:/data/brick1/brick6 
beclovkvma04.bec.net:/data/brick7/brick7 
beclovkvma03.bec.net:/data/brick1/brick7 
beclovkvma04.bec.net:/data/brick8/brick8 
beclovkvma03.bec.net:/data/brick1/brick8
9. Trigger the full heal:gluster volume heal VOLUME full
10. If your bricks are high performant and you need to speed up the healing you 
can increase these volume settings:
- cluster.shd-max-threads- cluster.shd-wait-qlenght

Best Regards,Strahil Nikolov 
 
  On Fri, Nov 12, 2021 at 8:21, dhanaraj.ramesh--- via Users 
wrote:   wanted to remove beclovkvma02.bec.net as the node was dead, now I 
reinstalled this node and trying to add as 4th node - beclovkvma04.bec.net 
however since the system UUID is same Im not able to add the node in ovirt 
gluster.. 
___
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/XXY6FD7G6PUYKEBQ6ZORVYZI4L6NSRFW/
  
___
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/QJONICSZUUAXJJAMBJQYMJRCM73S4VKG/


[ovirt-users] Re: how to forcibly remove dead node from Gluster 3 replica 1 arbiter setup?

2021-11-11 Thread Strahil Nikolov via Users
Please provide  'gluster volume info datastore1' and specify which bricks you 
want to remove.

Best Regards,Strahil Nikolov
 
 
  On Thu, Nov 11, 2021 at 6:13, dhanaraj.ramesh--- via Users 
wrote:   Hi Strahil Nikolov

Thank you for the suggestion but it does not help... 



[root@beclovkvma01 ~]# sudo gluster volume remove-brick datastore1 replica 1 
beclovkvma02.bec..net:/data/brick2/brick2  
beclovkvma02.bec..net:/data/brick3/brick3  
beclovkvma02.bec..net:/data/brick4/brick4  
beclovkvma02.bec..net:/data/brick5/brick5  
beclovkvma02.bec..net:/data/brick6/brick6  
beclovkvma02.bec..net:/data/brick7/brick7 
beclovkvma02.bec..net:/data/brick8/brick8 force
Remove-brick force will not migrate files from the removed bricks, so they will 
no longer be available on the volume.
Do you want to continue? (y/n) y
volume remove-brick commit force: failed: need 14(xN) bricks for reducing 
replica count of the volume from 3 to 1
[root@beclovkvma01 ~]# sudo gluster volume remove-brick datastore1 replica 1 
beclovkvma02.bec..net:/data/brick2/brick2  forceRemove-brick force will not 
migrate files from the removed bricks, so they will no longer be available on 
the volume.
Do you want to continue? (y/n) y
volume remove-brick commit force: failed: need 14(xN) bricks for reducing 
replica count of the volume from 3 to 1
[root@beclovkvma01 ~]# sudo gluster volume remove-brick datastore1 replica 2 
beclovkvma02.bec..net:/data/brick2/brick2  force
Remove-brick force will not migrate files from the removed bricks, so they will 
no longer be available on the volume.
Do you want to continue? (y/n) y
volume remove-brick commit force: failed: need 7(xN) bricks for reducing 
replica count of the volume from 3 to 2
___
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/7M7IZI7AP7NWDNMXBXNYZZSSY64UTPMC/
  
___
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/KXZVE62TCDE3G747RXEBAETET2LMHDGU/


[ovirt-users] Re: how to forcibly remove dead node from Gluster 3 replica 1 arbiter setup?

2021-11-10 Thread Strahil Nikolov via Users
You have to specify the volume type.When you remove 1 brick from a replica 3 
volume - you are actually converting it to replica 2.
As you got 2 data bricks + 1 arbiter, then Just remove the arbiter brick and 
the missing node's brick:
gluster volume remove-brick VOL replica 1 node2:/brick node3:/brick force
What is the output of 'gluster volume info VOL' & 'gluster volume heal VOL info 
summary' ?

Best Regards,Strahil Nikolov
 
 
  On Wed, Nov 10, 2021 at 11:42, dhanaraj.ramesh--- via Users 
wrote:   the volume configured with Distributed Replicate volume with 7 bricks, 
when I try from GUI getting below error. 

Error while executing action Remove Gluster Volume Bricks: Volume remove brick 
force failed: rc=-1 out=() err=['Remove arbiter brick(s) only when converting 
from arbiter to replica 2 subvolume_']
___
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/QXPOVQASYSANKXJN3Y2WK3TRNIHPPPNQ/
  
___
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/MZKGRLYYZRMBFLHZEWD3LGLORGY4DJLJ/


[ovirt-users] Re: oVirt networks

2021-11-09 Thread Strahil Nikolov via Users
Have you thought about bonding modes 2 with option 'xmit_hash_policy=layer3+4') 
or 6 ?
Best Regards,Strahil Nikolov
 
 
  On Tue, Nov 9, 2021 at 18:22, Sandro Bonazzola wrote:   
___
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/4FJNUF7FXWSC62GRQBBK4NXYTCRFWGN7/
  
___
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/LM4YW2SMDKD35YETDBMSESRY3AFLGJWP/


[ovirt-users] Re: Issues with resizing Gluster Volumes with sharding and lookup-optimize enabled

2021-11-08 Thread Strahil Nikolov via Users
What about Listing volumes via:
http://ovirt.github.io/ovirt-engine-api-model/4.4/#services/gluster_volumes -> 
list

And changing the option via:
http://ovirt.github.io/ovirt-engine-api-model/4.4/#services/gluster_volume -> 
setoption


Best Regards,
Strahil Nikolov




В понеделник, 8 ноември 2021 г., 16:47:06 ч. Гринуич+2, Gobinda Das 
 написа: 







On Mon, Nov 8, 2021 at 7:45 PM Satheesaran Sundaramoorthi  
wrote:
> On Mon, Nov 8, 2021 at 4:01 PM Sandro Bonazzola  wrote:
>> Il giorno dom 7 nov 2021 alle ore 17:27 Strahil Nikolov 
>>  ha scritto:
>>> Hello All,
>>> 
>>> I recently found a RH solution regards issues with resizing Gluster volumes 
>>> with lookup-optimize enabled and I think it's worth sharing:
>>> https://access.redhat.com/solutions/5896761
>>> https://github.com/gluster/glusterfs/issues/1918
>>> 
>>> @Sandro,
>>> Do you think it's worth checking and disabling that Gluster option on oVirt 
>>> upgrade ? It might affect older setups that might still have it enabled.
>>> 
>>> Best Regards,
>>> Strahil Nikolov
>>> 
> Hello Strahil and others,
> 
> Yes, it would definitely help if we could disable the gluster volume option 
> 'lookup-optimize' during upgrade.
> The challenge here would be how to achieve this, we do not have any hooks in 
> place for upgrade neither in ovirt nor in gluster.
> @Gobinda Das Do you see any way to achieve this ?
I don't remember any option available for this instead of a manual way. 
> 
> Thanks,
> Satheesaran Sundaramoorthi
> 
> 


-- 


Thanks,
Gobinda
___
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/T6YLQROR2ANQWFELCFPSH73SAXOKGUDY/


[ovirt-users] Issues with resizing Gluster Volumes with sharding and lookup-optimize enabled

2021-11-07 Thread Strahil Nikolov via Users
Hello All,
I recently found a RH solution regards issues with resizing Gluster volumes 
with lookup-optimize enabled and I think it's worth 
sharing:https://access.redhat.com/solutions/5896761https://github.com/gluster/glusterfs/issues/1918
@Sandro,Do you think it's worth checking and disabling that Gluster option on 
oVirt upgrade ? It might affect older setups that might still have it enabled.
Best Regards,Strahil Nikolov

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


[ovirt-users] Re: New Install. 3 node HCI using 4.4.8 ISO

2021-11-03 Thread Strahil Nikolov via Users
Check if you have gluster-selinux rpm installed.

Best Regards,Strahil Nikolov
 
 
  On Tue, Nov 2, 2021 at 8:05, shane.kr...@gmail.com 
wrote:   Hello everyone. First time posting. Sorry if this is already been 
spoken to... I didn't see anything with a quick search that I did. 

3 nodes running dual E5-2600 series V4 CPUs with 256G memory in a Hybrid 
storage config.  2x 1.9TB SSDs and 6x 600G SAS spinners attached to a SAS/SATA 
HBA. 4x 1G ports. 
During initial boot from the 4.4.8. ISO oVirt installer I set static IPs, added 
DNS entries and copied ssh keys copied to each host.

First issue with deploying the cluster was complaining about partitions found 
on sdb even though I reclaimed and deleted everything on all drives. Ended up 
zero'ing the drives and started over. Then sdb was on the filter list. So I 
edited the LVM.conf file.  now I am stuck on "Gluster brick_t is invalid, must 
be a file or device"  No idea what to do about that one. 

 Also, I am not sure if its actually pulling in the 600G 10k drives into the 
mix at all.  How would I confirm this?

First 1.9TB SSD drive Is where I am installing the OS.  Should I change this to 
some other drive or usb stick and have the 2x SSDs as cache and all spinners as 
capacity data?  not sure how all that is supposed to work as I am not too 
familiar with Gluster. 

I know Nutanix and vSAN pretty well.  I wanted to try oVirt.  I am having a 
MUCH harder time with initial setup.  I appreciate any help / suggestions on 
best practice for my hardware setup. 
___
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/W4AATE4UKLN5PLTV6RPAUMIIEWDE6KYX/
  
___
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/HOTJHW7VE6GF4GTTHCYUOJNRY55SHNY5/


[ovirt-users] Re: how to forcibly remove dead node from Gluster 3 replica 1 arbiter setup?

2021-11-03 Thread Strahil Nikolov via Users
In order to remove a dead host you will need to:- Remove all bricks 
(originating from that host ) in all volumes of the TSPgluster volume 
remove-brick engine host3:/gluster_bricks/brick1/ force- Remove the host from 
the TSPgluster peer-detach host3
- Next remove the host from oVirt. In some cases you have to mark the host as 
rebooted, so the engine can cancel any tasks that were supposed to run there. 
IT IS MANDATORY YO VERIFY THAT THE HOST IS OFFLINE AND HAS NO ACCESS TO THE 
STORAGE. IF THE NODE IS STILL ALIVE - FIX VDSM!
Best Regards,Strahil Nikolov 
 
  On Tue, Nov 2, 2021 at 7:51, Ritesh Chikatwar wrote:   
___
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/35TGVIMOQ4LLJKTYMIEFNEODPLNP4NNH/
  
___
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/YPUBVD2I2WE3OYTB3WSVNOF5HFG5ADOV/


[ovirt-users] Re: question about engine deployment success rate

2021-11-02 Thread Strahil Nikolov via Users
40-50% is low. Usually it should be above 90% but some versions are more buggy 
than others (depending on the version).
4.3.10 is the latest 4.3 version and is the only supported for migration to 
4.4/4.5, so consider altering the deployment process.
When an engine constantly restarts -> put it in global maintenance and connect 
to the HE (either via the 'hosted-engine' or ssh). Then you can investigate 
further.As the deployment uses Ansible - it should be fully idempotent.
Best Regards,Strahil Nikolov
 
 
  On Mon, Nov 1, 2021 at 13:34, Henning Sprang wrote: 
  Hi,
Thanks for your reply.

If you say "The process could get some polishing" - does it mean you
confirm that it is somewhat normal to have a success rate of 40-50%?

I inherited this project and have been told I should to use 4.3.9 so
far because that's the version other parts of the system have been
tested with.
But I can check what is necessary to upgrade the PXE/Kickstart bare
metal OS+ovirt install to 4.3.10 if that is promising to make it more
reliable.

The symptoms I observed where changing between the deployment process
seeming not to be able to transfer the "LocalHostedEngine" VM to the
glusterFS storage to become a "HostedEngine", and the other seems to
be when the engine is already up and running, but never being really
connected to the Ovirt system, continuously restarting, and also
showing XFS filesystem errors in it's dmesg output.

There is a whole lot of output, but none that I can identify as
telling me something like "X is wrong, check the config of service Y
please".
The log of the main deployment script says in it's logfile "please
look at the logfile..." and states it's own filename.

Do you need any specific log file or config?
I have to get them from my next failed install then.

Thanks,
Henning

On Sat, Oct 30, 2021 at 7:29 PM Strahil Nikolov  wrote:
>
> Well, it (the install process)requires some polishing. Any reason not to use 
> 4.3.10 ? This is the only supported version for migration to 4.4
>
>
> Can you share what were the errors ?
>
>
> Best Regards,
> Strahil Nikolov
>
> On Sat, Oct 30, 2021 at 20:25, Henning Sprang
>  wrote:
> Hi Strahil,
>
> Thanks for your reply!
>
> Since we are using 4.3.9 from the installation ISO, issues regarding CentOS 8 
> rolling releases do not apply here.
> We will do that upgrade sooner or later, but then i would try to do local yum 
> repository mirrors that are always snapshots. More or less how you suggest…
>
> So my success rate of 4 in 10 attempts has nothing to do with changing 
> package or Ovirt versions.
>
> It happens when applying exactly the same procedure, scripts, installation 
> media, on the exact same machine.
> So the input is always the same, but the result is at least 2 different error 
> states in 6 cases, and only 4 times a working system.
>
> I would like to understand if that is normal and everybody needs their 
> handful of attempts to deploy the engine until it succeeds or if this is a 
> sign that we still do something wrong that we need to track down and fix.
>
> Thanks,
> Henning
>
>
> On Sat 30. Oct 2021 at 14:31, Strahil Nikolov  wrote:
>
> If you want to increase your deployment success, you will need to use 
> repository management and freeze your OS & oVirt repos to a working level .
> For example if you use RHEL 8.4 and current level of oVirt - you will have 
> dependency issues until RHEL 8.5 is released.
>
> Once this happens and your build succeeds, you will lock your repos and 
> deploy from them again.Once you test each 'batch' of repos and confirm they 
> work for you -> you will create a new set of repos ...
>
> oVirt is dynamic project with new features constantly comming up (and 
> sometimes go away).
>
> Another approach is to use the ovirt Node image which is based on CentOS 
> Stream and is validated in the dev infrastructure .
>
>
> Best Regards,
> Strahil Nikolov
>
> On Wed, Oct 27, 2021 at 21:39, Henning Sprang
>  wrote:
>
> Hello,
>
> I've just inherited a project where we need to bring a prototype of a
> small Ovirt system (single node or 3 node hyperconverged, with
> glusterFS on the same machine, a bunch of different VM's ) running in
> an industrial machine into serial production.
>
> This means, we want to build a new 1 or 3 node Ovirt system each day
> up until 3 times a day.
>
> In my tests so far, the failure rate of the Ovirt engine deployment
> (via the included scripts as well as the web UI) turns out to be
> pretty high - it's between 40-60%, meaning until we have a running
> system, we would have to try the installation and/or final engine
> deployment about 2-4 times until we are successful.
>
> So far I could not identify clear error messages that let me tell how
> to fix the problem.
>
> Before going into details of the errors I would like to ask if people
> deeper into Ovirt would consider this a somewhat normal success rate,
> or if this indicates we are doing something generally wrong and we
> should definitely 

[ovirt-users] Re: Gluster Install Fail again :(

2021-10-30 Thread Strahil Nikolov via Users
OK, that's odd .
Can you check the following:
On all nodes:
grep storage[1-3].private /etc/hosts
for i in {1..3}; do host storage${i}.private.net; done
On the first node:
gluster peer probe storage1.private.netgluster peer probe 
storage2.private.netgluster peer probe storage3.private.net
gluster pool list
gluster peer status
Best Regards,Strahil Nikolov
 
 
___
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/RL452O2NMF4ULZI2FIV2Y5LGRL2QYW2L/
  
___
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/IARG3H7ZIQDSOMJIY7VC3AAFKAOT3MCH/


[ovirt-users] Re: question about engine deployment success rate

2021-10-30 Thread Strahil Nikolov via Users
Well, it (the install process)requires some polishing. Any reason not to use 
4.3.10 ? This is the only supported version for migration to 4.4

Can you share what were the errors ?

Best Regards,Strahil Nikolov
 
 
  On Sat, Oct 30, 2021 at 20:25, Henning Sprang 
wrote:   Hi Strahil, 
Thanks for your reply!
Since we are using 4.3.9 from the installation ISO, issues regarding CentOS 8 
rolling releases do not apply here.We will do that upgrade sooner or later, but 
then i would try to do local yum repository mirrors that are always snapshots. 
More or less how you suggest…
So my success rate of 4 in 10 attempts has nothing to do with changing package 
or Ovirt versions. 
It happens when applying exactly the same procedure, scripts, installation 
media, on the exact same machine. So the input is always the same, but the 
result is at least 2 different error states in 6 cases, and only 4 times a 
working system.
I would like to understand if that is normal and everybody needs their handful 
of attempts to deploy the engine until it succeeds or if this is a sign that we 
still do something wrong that we need to track down and fix.
Thanks,Henning

On Sat 30. Oct 2021 at 14:31, Strahil Nikolov  wrote:

If you want to increase your deployment success, you will need to use 
repository management and freeze your OS & oVirt repos to a working level .For 
example if you use RHEL 8.4 and current level of oVirt - you will have 
dependency issues until RHEL 8.5 is released.
Once this happens and your build succeeds, you will lock your repos and deploy 
from them again.Once you test each 'batch' of repos and confirm they work for 
you -> you will create a new set of repos ...
oVirt is dynamic project with new features constantly comming up (and sometimes 
go away).
Another approach is to use the ovirt Node image which is based on CentOS Stream 
and is validated in the dev infrastructure .

Best Regards,Strahil Nikolov
 
 


  On Wed, Oct 27, 2021 at 21:39, Henning Sprang 
wrote:  



 Hello,

I've just inherited a project where we need to bring a prototype of a
small Ovirt system (single node or 3 node hyperconverged, with
glusterFS on the same machine, a bunch of different VM's ) running in
an industrial machine into serial production.

This means, we want to build a new 1 or 3 node Ovirt system each day
up until 3 times a day.

In my tests so far, the failure rate of the Ovirt engine deployment
(via the included scripts as well as the web UI) turns out to be
pretty high - it's between 40-60%, meaning until we have a running
system, we would have to try the installation and/or final engine
deployment about 2-4 times until we are successful.

So far I could not identify clear error messages that let me tell how
to fix the problem.

Before going into details of the errors I would like to ask if people
deeper into Ovirt would consider this a somewhat normal success rate,
or if this indicates we are doing something generally wrong and we
should definitely spend a few more hours or maybe days into finding
sources of problems.

More info about the system and errors

* OVirt 4.3.9 (because the prototype was made and verified with that
version - would be interesting to know, too, if it's strongly
considered to upgrade for more stable installation/deployment)
* The errors that appear are changing between the deployment process
seeming not to be able to transfer the "LocalHostedEngine" VM to the
glusterFS storage to become a "HostedEngine", and the other seems to
be when the engine is already up and running, but never being really
connected to the Ovirt system, continuously restarting, and also
showing XFS filesystem errors in it's dmesg output.

Any hints on our chances on getting this solved or requests for more
information about the error are welcome - thanks in advance.

Henning


___


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/PAX7UPTXTGISDSFCABRLBHE63Y5GD6RR/
  

-- 
Henning Sprang
http://www.sprang.de  
___
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/7SWGEE5GLGPFJCKTYGOQBQ6GBJDSSGZX/


[ovirt-users] Re: Gluster Install Fail again :(

2021-10-30 Thread Strahil Nikolov via Users
What is the output of :gluster peer list (from all nodes)
Output from the ansible will be useful.

Best Regards,Strahil Nikolov
 
 
I have been working on getting this up and running for about a week now and 
I am totally frustrated.  I am not sure even where to begin.  Here is the error 
I get when it fails,

TASK [gluster.features/roles/gluster_hci : Create the GlusterFS volumes] ***

An exception occurred during task execution. To see the full traceback, use 
-vvv. The error was: NoneType: None
failed: [storage1.private.net] (item={'volname': 'engine', 'brick': 
'/gluster_bricks/engine/engine', 'arbiter': 0}) => {"ansible_loop_var": "item", 
"changed": false, "item": {"arbiter": 0, "brick": 
"/gluster_bricks/engine/engine", "volname": "engine"}, "msg": "error running 
gluster (/usr/sbin/gluster --mode=script volume create engine replica 3 
transport tcp storage1.private.net:/gluster_bricks/engine/engine 
storage2.private.net:/gluster_bricks/engine/engine 
storage3.private.net:/gluster_bricks/engine/engine force) command (rc=1): 
volume create: engine: failed: Staging failed on storage3.private.net. Error: 
Host storage1.private.net not connected\nStaging failed on 
storage2.private.net. Error: Host storage1.private.net not connected\n"}

An exception occurred during task execution. To see the full traceback, use 
-vvv. The error was: NoneType: None
failed: [storage1.private.net] (item={'volname': 'data', 'brick': 
'/gluster_bricks/data/data', 'arbiter': 0}) => {"ansible_loop_var": "item", 
"changed": false, "item": {"arbiter": 0, "brick": "/gluster_bricks/data/data", 
"volname": "data"}, "msg": "error running gluster (/usr/sbin/gluster 
--mode=script volume create data replica 3 transport tcp 
storage1.private.net:/gluster_bricks/data/data 
storage2.private.net:/gluster_bricks/data/data 
storage3.private.net:/gluster_bricks/data/data force) command (rc=1): volume 
create: data: failed: Staging failed on storage2.private.net. Error: Host 
storage1.private.net not connected\nStaging failed on storage3.private.net. 
Error: Host storage1.private.net not connected\n"}

An exception occurred during task execution. To see the full traceback, use 
-vvv. The error was: NoneType: None
failed: [storage1.private.net] (item={'volname': 'vmstore', 'brick': 
'/gluster_bricks/vmstore/vmstore', 'arbiter': 0}) => {"ansible_loop_var": 
"item", "changed": false, "item": {"arbiter": 0, "brick": 
"/gluster_bricks/vmstore/vmstore", "volname": "vmstore"}, "msg": "error running 
gluster (/usr/sbin/gluster --mode=script volume create vmstore replica 3 
transport tcp storage1.private.net:/gluster_bricks/vmstore/vmstore 
storage2.private.net:/gluster_bricks/vmstore/vmstore 
storage3.private.net:/gluster_bricks/vmstore/vmstore force) command (rc=1): 
volume create: vmstore: failed: Staging failed on storage3.private.net. Error: 
Host storage1.private.net not connected\nStaging failed on 
storage2.private.net. Error: Host storage1.private.net is not in 'Peer in 
Cluster' state\n"}

Here are the facts.

using 4.4.9 of ovirt.
using ovirtnode os 
partion for gluster:  /dev/vda4  > 4T in unformatted space.

able to ssh into each host on the private.net and known hosts and fqdn passes 
fine.

On the volume  page:
all default settings.

On the bricks page:
JBOD / Blacklist true / storage host  storage1.private.net / default lvm except 
the device is /dev/sda4 

I really need to get this setup.  The first failure was the filter error, so I 
edited the /etc/lvm/lvm.conf  to comment out the filter line.  Then without 
doing a clean up I reran the deployment and got the above error.  

Thanks in advance
Brad

___
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/SAYZ3STV3ILDE42T6JUXLKVHSIX7LRI5/
  
___
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/ONOEUHHYL6YVIAREMQQLDWSUY3PR2RWO/


[ovirt-users] Re: Q: oVirt guest agent + spice-vdagent on Debian 11 Bullseye

2021-10-30 Thread Strahil Nikolov via Users
You need qemu-guest-agent as ovirt agent is no longer needed, nor available.
Best Regards,Strahil Nikolov
 
 
  On Fri, Oct 29, 2021 at 12:33, Andrei Verovski wrote:   
Hi,


Anyone have compiled these deb packages for Debian 11 Bullseye?
oVirt guest agent + spice-vdagent

Packages from Buster can’t be installed on Bullseye because of broken libnl 
dependencies.

Thanks in advance.
Andrei
___
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/FYF7FKKSVZHBO6U3HOBQ7R6AJSATEES3/
  
___
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/SCHHN6ZDXWBQVEZYGBAXTPCUHWHFYHSB/


[ovirt-users] Re: Engine VM FQDN will not validate.

2021-10-30 Thread Strahil Nikolov via Users
Do you have a PTR record for the engine's IP ?
Best Regards,Strahil Nikolov
 
 
Hello,

I am trying to install the Hosted engine using the wizard.  I am NOT using the 
hyper converged.  When I add the fqdn  of  vmengine1.domain.com  I get the 
error. localhost is not a valid address.  When I add the host fqdn in the 
advanced area it validates, if I put the vmengine1.domain.com in the the host 
section it validates.

Facts:
- I have the domain in dns, confirmed by dig to resolve to the public IP of the 
host.
- I have the domain in hosts file confirmed by using ping and dig
- I have generated a ssh key for the root user on the host and I have added it 
to the known hosts file.
- I have logged into via ssh to all forms of addressing, so the known hosts 
file has been updated.  

localhost ecdsa-sha2-nistp256 
host1 ecdsa-sha2-nistp256 
host1.localhost ecdsa-sha2-nistp256 
vmengine.localhost ecdsa-sha2-nistp256 
host1.domain.com ecdsa-sha2-nistp256 
vmengine1.domain.com ecdsa-sha2-nistp256 

The reading suggests that the error doesn't mean what it says, but something 
about ssh not able to login to the host.  I have been able to login to the host 
with ssh manually from the cli.  Any help would be greatly appreciated.

thanks
Brad
___
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/N7TRXSW3UZRXCA536WJCIJILWA5TJVBQ/
  
___
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/7GZNP2SAE5HMTQ67BO5RCBZ2Y5CVH45A/


[ovirt-users] Re: question about engine deployment success rate

2021-10-30 Thread Strahil Nikolov via Users
If you want to increase your deployment success, you will need to use 
repository management and freeze your OS & oVirt repos to a working level .For 
example if you use RHEL 8.4 and current level of oVirt - you will have 
dependency issues until RHEL 8.5 is released.
Once this happens and your build succeeds, you will lock your repos and deploy 
from them again.Once you test each 'batch' of repos and confirm they work for 
you -> you will create a new set of repos ...
oVirt is dynamic project with new features constantly comming up (and sometimes 
go away).
Another approach is to use the ovirt Node image which is based on CentOS Stream 
and is validated in the dev infrastructure .

Best Regards,Strahil Nikolov
 
 
  On Wed, Oct 27, 2021 at 21:39, Henning Sprang 
wrote:   Hello,

I've just inherited a project where we need to bring a prototype of a
small Ovirt system (single node or 3 node hyperconverged, with
glusterFS on the same machine, a bunch of different VM's ) running in
an industrial machine into serial production.

This means, we want to build a new 1 or 3 node Ovirt system each day
up until 3 times a day.

In my tests so far, the failure rate of the Ovirt engine deployment
(via the included scripts as well as the web UI) turns out to be
pretty high - it's between 40-60%, meaning until we have a running
system, we would have to try the installation and/or final engine
deployment about 2-4 times until we are successful.

So far I could not identify clear error messages that let me tell how
to fix the problem.

Before going into details of the errors I would like to ask if people
deeper into Ovirt would consider this a somewhat normal success rate,
or if this indicates we are doing something generally wrong and we
should definitely spend a few more hours or maybe days into finding
sources of problems.

More info about the system and errors

* OVirt 4.3.9 (because the prototype was made and verified with that
version - would be interesting to know, too, if it's strongly
considered to upgrade for more stable installation/deployment)
* The errors that appear are changing between the deployment process
seeming not to be able to transfer the "LocalHostedEngine" VM to the
glusterFS storage to become a "HostedEngine", and the other seems to
be when the engine is already up and running, but never being really
connected to the Ovirt system, continuously restarting, and also
showing XFS filesystem errors in it's dmesg output.

Any hints on our chances on getting this solved or requests for more
information about the error are welcome - thanks in advance.

Henning
___
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/PAX7UPTXTGISDSFCABRLBHE63Y5GD6RR/
  
___
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/Z7SNEP7B5VIMWLYI6USES2U5UHG2Z73S/


[ovirt-users] Re: The Engine VM (/32) and this host (/32) will not be in the same IP subnet.

2021-10-27 Thread Strahil Nikolov via Users
Prefix of '32' means that there are no other IPs in the subnet -> usually this 
prefix is used in firewalls to indicate that the rule is only for that IP.
It doesn't seem legit to me.

Best Regards,Strahil Nikolov
 
 
Hi list, 

'The Engine VM (10.200.30.5/32) and this host (10.200.30.3/32) will not be in 
the same IP subnet.'
This happens when I select a static IP address configuration for the engine.

Ive been struggling with setting up ovirt-hosted-engine on CentOS 8 servers in 
the Equinix network, using hosted-engine --deploy.
Why would the setup not want the engine and the host it's being setup on, not 
be in the same subnet?
Can someone please help me understand what prerequisites I am missing?
___
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/FY2ND5DQWX43XMHOU7MRE7BTRRQ56BTA/
  
___
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/NDIIEIPEXEOPFSCJCFVHJQBJ5R44CDKH/


[ovirt-users] Re: upgrade dependency issues

2021-10-25 Thread Strahil Nikolov via Users
Hi,

what is the output from:
'yum repolist' ?

Best Regards,
Strahil Nikolov





В понеделник, 25 октомври 2021 г., 17:12:58 ч. Гринуич+3, John Florian 
 написа: 







I recently upgrade my engine to 4.4.9 following the usual engine-setup 
procedure.  Once that was done, I tried to do a dnf upgrade to get everything 
else and found:

Error: Problem: cannot install the best update candidate for package 
ovirt-engine-metrics-1.4.3-1.el8.noarch  - nothing provides rhel-system-roles 
>= 1.7.2-1 needed by ovirt-engine-metrics-1.4.4-1.el8.noarch(try to add 
'--skip-broken' to skip uninstallable packages or '--nobest' to use not only 
best candidate packages)



I was also trying to update my hosts thru the GUI and that was failing also.  I 
couldn't find the right log with good details as to why, so I just tried to dnf 
upgrade from the shell to see what got reported and found:

Error:  Problem 1: cannot install the best update candidate for package 
ovirt-host-dependencies-4.4.8-1.el8.x86_64  - nothing provides rsyslog-openssl 
needed by ovirt-host-dependencies-4.4.9-2.el8.x86_64 Problem 2: cannot install 
the best update candidate for package 
ovirt-hosted-engine-setup-2.5.3-1.el8.noarch  - nothing provides ovirt-host >= 
4.5.0 needed by ovirt-hosted-engine-setup-2.5.4-1.el8.noarch  - nothing 
provides vdsm-python >= 4.50 needed by 
ovirt-hosted-engine-setup-2.5.4-1.el8.noarch Problem 3: cannot install the best 
update candidate for package vdsm-4.40.80.5-1.el8.x86_64  - nothing provides 
libvirt-daemon-kvm >= 7.6.0-2 needed by vdsm-4.40.90.3-1.el8.x86_64 Problem 4: 
package ovirt-host-4.4.9-2.el8.x86_64 requires ovirt-host-dependencies = 
4.4.9-2.el8, but none of the providers can be installed  - cannot install the 
best update candidate for package ovirt-host-4.4.8-1.el8.x86_64  - nothing 
provides rsyslog-openssl needed by ovirt-host-dependencies-4.4.9-2.el8.x86_64 
Problem 5: package vdsm-hook-fcoe-4.40.90.3-1.el8.noarch requires vdsm, but 
none of the providers can be installed  - package vdsm-4.40.80.5-1.el8.x86_64 
requires vdsm-http = 4.40.80.5-1.el8, but none of the providers can be 
installed  - package vdsm-4.40.17-1.el8.x86_64 requires vdsm-http = 
4.40.17-1.el8, but none of the providers can be installed  - package 
vdsm-4.40.18-1.el8.x86_64 requires vdsm-http = 4.40.18-1.el8, but none of the 
providers can be installed  - package vdsm-4.40.19-1.el8.x86_64 requires 
vdsm-http = 4.40.19-1.el8, but none of the providers can be installed  - 
package vdsm-4.40.20-1.el8.x86_64 requires vdsm-http = 4.40.20-1.el8, but none 
of the providers can be installed  - package vdsm-4.40.21-1.el8.x86_64 requires 
vdsm-http = 4.40.21-1.el8, but none of the providers can be installed  - 
package vdsm-4.40.22-1.el8.x86_64 requires vdsm-http = 4.40.22-1.el8, but none 
of the providers can be installed  - package vdsm-4.40.26.3-1.el8.x86_64 
requires vdsm-http = 4.40.26.3-1.el8, but none of the providers can be 
installed  - package vdsm-4.40.30-1.el8.x86_64 requires vdsm-http = 
4.40.30-1.el8, but none of the providers can be installed  - package 
vdsm-4.40.31-1.el8.x86_64 requires vdsm-http = 4.40.31-1.el8, but none of the 
providers can be installed  - package vdsm-4.40.32-1.el8.x86_64 requires 
vdsm-http = 4.40.32-1.el8, but none of the providers can be installed  - 
package vdsm-4.40.33-1.el8.x86_64 requires vdsm-http = 4.40.33-1.el8, but none 
of the providers can be installed  - package vdsm-4.40.34-1.el8.x86_64 requires 
vdsm-http = 4.40.34-1.el8, but none of the providers can be installed  - 
package vdsm-4.40.35-1.el8.x86_64 requires vdsm-http = 4.40.35-1.el8, but none 
of the providers can be installed  - package vdsm-4.40.35.1-1.el8.x86_64 
requires vdsm-http = 4.40.35.1-1.el8, but none of the providers can be 
installed  - package vdsm-4.40.36-1.el8.x86_64 requires vdsm-http = 
4.40.36-1.el8, but none of the providers can be installed  - package 
vdsm-4.40.37-1.el8.x86_64 requires vdsm-http = 4.40.37-1.el8, but none of the 
providers can be installed  - package vdsm-4.40.38-1.el8.x86_64 requires 
vdsm-http = 4.40.38-1.el8, but none of the providers can be installed  - 
package vdsm-4.40.39-1.el8.x86_64 requires vdsm-http = 4.40.39-1.el8, but none 
of the providers can be installed  - package vdsm-4.40.40-1.el8.x86_64 requires 
vdsm-http = 4.40.40-1.el8, but none of the providers can be installed  - 
package vdsm-4.40.50.8-1.el8.x86_64 requires vdsm-http = 4.40.50.8-1.el8, but 
none of the providers can be installed  - package vdsm-4.40.50.9-1.el8.x86_64 
requires vdsm-http = 4.40.50.9-1.el8, but none of the providers can be 
installed  - package vdsm-4.40.60.6-1.el8.x86_64 requires vdsm-http = 
4.40.60.6-1.el8, but none of the providers can be installed  - package 
vdsm-4.40.60.7-1.el8.x86_64 requires vdsm-http = 4.40.60.7-1.el8, but none of 
the providers can be installed  - package vdsm-4.40.70.6-1.el8.x86_64 requires 
vdsm-http = 4.40.70.6-1.el8, but none of the providers can be installed  - 

[ovirt-users] Re: Unable to put host in maintenance mode & unable to login to Postgres

2021-10-23 Thread Strahil Nikolov via Users
That's why I put the user and the pass in single quotes... Like this: 
'user@domain'@'pass'
Best Regards,Strahil Nikolov
 
 
  On Thu, Oct 21, 2021 at 23:47, David White via Users wrote:  
 ___
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/ZHKLXPAKQTCIWESHO33UAJA5ZO65BOGT/
  
___
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/FTJ7ACB32Q2KOZ4U4JJRFSP7HIZ7SXDM/


[ovirt-users] Re: TPM 2.0 Support in Ovirt

2021-10-21 Thread Strahil Nikolov via Users
Have you tried 
https://www.ovirt.org/documentation/virtual_machine_management_guide/#Adding_TPM_devices
 ?
Best Regards,Strahil Nikolov
 
 
  On Thu, Oct 21, 2021 at 19:21, bob.franzke--- via Users 
wrote:   Need to deploy a VM of a Windows 11 guest. Windows 11 requires TPM 2.0 
support for it to be able to install. Does Ovirt support TPM devices somehow 
and if so how do I present the VM with a TPM device that can be detected by the 
Windows 11 setup installer? Thanks in advance for any help here.
___
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/ORXF2PISPI2I63HBAAHUE2I6IRS46QWG/
  
___
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/FF37YIOLLLFMBEFE7K4RIFKWFSFZ4ZL2/


[ovirt-users] Re: Hosted Engine Deployment failure

2021-10-21 Thread Strahil Nikolov via Users
Do you use proxy ?

Best Regards,Strahil Nikolov
 
 
  On Thu, Oct 21, 2021 at 5:07, Raj P wrote:   Hi 
Sandro,

Am not sure where the problem is, I am on a 1gig link with 500 mbps upload 
download on average.

I think its just happening with the repos and its a different error every time.

[root@ovirt-node1 ~]# dnf update -y
oVirt Node Optional packages from CentOS Stream 8 - BaseOS                      
                                                                                
                45 kB/s | 106 kB    00:02    
Error: Failed to download metadata for repo 'onn-baseos': repomd.xml parser 
error: Parse error at line: 68 (xmlParseStartTag: invalid element name
)
___
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/ENTBPXPDEQOYCWHBSNJDRJQO2ASCGKXR/
  
___
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/IRKU67MNPBHB5HUULMB4BRDUWTX2CSGS/


[ovirt-users] Re: Unable to put host in maintenance mode & unable to login to Postgres

2021-10-20 Thread Strahil Nikolov via Users
Try with curl -u 'admin@internal'@'pass' ...
Best Regards,Strahil Nikolov
 
 
  On Thu, Oct 21, 2021 at 2:17, David White via Users wrote:   
___
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/7Z33Y3DIMNVC72N72XZP4ZZSTF3GHMWP/
  
___
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/D6VNRR7IFU2DDMDUJDKCCMAFWI7DROF2/


[ovirt-users] Re: fresh hyperconverged Gluster setup failed in ovirt 4.4.8

2021-10-20 Thread Strahil Nikolov via Users
It was later discovered that the selinux policy was removed from the selinux 
packages. You will need gluster-selinux which should be available in the latest 
version of oVirt.
Best Regards,Strahil Nikolov
 
 
  On Wed, Oct 20, 2021 at 3:17, 
ad...@foundryserver.com wrote:   I have the same 
issue.  I am trying to figure out where you want me to make the change.  You 
said in the ui, but I can see where. Can you help please,

Thanks
Brad
___
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/ZABW725GVWMSIHF5JUPKHPUZ3T53SZ6F/
  
___
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/76CS5462K74Y4PNHXIEAOYGVDXNIVLTG/


[ovirt-users] Re: Unable to put host in maintenance mode & unable to login to Postgres

2021-10-17 Thread Strahil Nikolov via Users
Try unlock_entitiy.sh with '-t all -r'
Best Regards,Strahil Nikolov
 
 
  On Sat, Oct 16, 2021 at 13:43, David White via Users wrote:  
 ___
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/4CUOM4K4EUKT5XUR2AW35ZCI3XKVU5TL/
  
___
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/R2M4H5PMS27MWTFJYTZACPBOUF6YIBYA/


[ovirt-users] Re: cannot stop vm normally

2021-10-14 Thread Strahil Nikolov via Users
Shitdown needs integration and cooperation from the VM OS. Did you install the 
qemu-guest-agent , is it working properly ?

Best Regards,Strahil Nikolov
 
 
  On Fri, Oct 15, 2021 at 4:12, 
zhou...@vip.friendtimes.net wrote:   
#yiv1327093825 body {line-height:1.5;}#yiv1327093825 blockquote 
{margin-top:0px;margin-bottom:0px;margin-left:0.5em;}#yiv1327093825 p 
{margin-top:0px;margin-bottom:0px;}#yiv1327093825 
div.yiv1327093825FoxDiv20211015085904260695 
{word-wrap:break-word;}#yiv1327093825 body {font-size:10.5pt;color:rgb(0, 0, 
0);line-height:1.5;}看着像老乡啊,一般虚拟机正常情况下是可以关机成功的,有时候关机后会显示正在关机,那么你再关一次也可以成功关机还有一种特别的情况,虚拟机本身卡死,进行强制关机操作,有概率变成僵尸进程(父进程是1的这种),这种情况只能重启宿主机了,我碰到过几次,没有解决方案(通常出现在高IO操作情况下导致的超时)
zhou...@vip.friendtimes.net
 From: Tommy SwayDate: 2021-10-15 00:04To: 'users'Subject: [ovirt-users] cannot 
stop vm normally
Sometimes, some vm failed to stop it by press the shutdown button on the 
management portal, it will show such message in log: shutdown of vm *** failed.

  

And I want to know:

1. why cannot shutdown it normally ?

2. what difference between the shutdown and power off ? (For example, what 
are the different signals sent to the QEMU process)

  

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/KVNRWBB4BWGJXMNTHBXW3E7RQQCEURSA/
  
___
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/ZP5YIEBGPHAH5Z2KEJ3VM3POIUNDVJON/


[ovirt-users] Re: Engine insists on running on 1 host in cluster when that host is online

2021-10-14 Thread Strahil Nikolov via Users
For the score issue you can check 
https://www.google.com/url?sa=t=web=j=https://www.ovirt.org/images/Hosted-Engine-4.3-deep-dive.pdf=2ahUKEwiWlZu5yMvzAhX0hf0HHaDACzQQFnoECAQQAQ=AOvVaw2SJWnH5ghQoZq7CV_f-9hs
 and then identify your problem and fix it.
For the he_local, you can use hosted-engine --set-shared-config mnt_options
backup-volfile-servers=:
But most probably you will need to set each host in maintenance and reboot it 
(there are other ways but that's the simplest) to take effect.
Best Regards,Strahil Nikolov
 
 
  On Wed, Oct 13, 2021 at 2:49, David White via Users wrote:   
___
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/OOJAMPZK2P2HTZ2T45LUZ2KLJRUXXDGD/
  
___
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/5HFELDDC3YJBBJHH7RXBTGXOBP43KXX2/


[ovirt-users] Re: Engine insists on running on 1 host in cluster when that host is online

2021-10-12 Thread Strahil Nikolov via Users
>How do I reconfigure oVirt to use the 2nd replica as a secondary mount point?
Verify that your engine's volume is really OK.
gluster volume info enginegluster volume status enginegluster volume heal 
engine info summary
>I cannot migrate the engine off of c.
And if the engine is running on the other host a, then I turn host c back on, 
the engine shuts down from a, and comes back up on c.
Check the scores of the systems via 'hosted-engine --vm-status'.Check vdsm logs 
on both hosts.Check the logs in the engine itself.
Best Regards,Strahil Nikolov 
 
  On Tue, Oct 12, 2021 at 13:34, David White via Users wrote:  
 About a month ago, I completely rebuilt my oVirt cluster, as I needed to move 
all my hardware from 1 data center to another with minimal downtime.
All my hardware is in the new data center (yay for HIPAA compliance and 24/7 
access, unlike the old place!)

I originally built the cluster as a single-node hyperconverged. I then added 
nodes to it, and then, finally, I reconfigured gluster to run in a replica 2 / 
arbiter 1 configuration.

As of now:
   
   - I have 4 compute hosts   

   - Gluster is running fine and replicating fine between the two full 
replicas, along with the arbiter node   

   
   - I need to revisit my recent email about gluster replication speed, though
However, I'm worried about two things:
   
   - I think that my hosts, and hosted-engine, are all still configured to use 
the single mount point from the original single-node hyperconverged ... i.e. if 
I shutdown / reboot that host, then the storage "goes away"   

   
   - How do I reconfigure oVirt to use the 2nd replica as a secondary mount 
point?   
   

   
   - Currently, the Engine is deployed on two of the servers (a and c). But any 
time one of those servers is online (c), the hosted-engine insists on running 
on that server c. I cannot migrate the engine off of c.
And if the engine is running on the other host a, then I turn host c back on, 
the engine shuts down from a, and comes back up on c.
   
   - How do I "fix" this so that the engine will run on host a, even when host 
c is turned on?   

   - How do I deploy the hosted-engine to host b?   

   
   - Is it as simple as logging into host b, and running "hosted-engine 
--deploy" ?   




Sent with ProtonMail Secure Email.
___
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/74UV4MC3VH2DSNWBO6CWFRRBR27XJ5XR/
  
___
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/LT6JPVHX6BKLNUDEHFDLFA7OZ3YQK5HG/


[ovirt-users] Re: fresh hyperconverged Gluster setup failed in ovirt 4.4.8

2021-10-10 Thread Strahil Nikolov via Users
Actually it seems that glusterfs-selinux should fix the problem.
Best Regards,Strahil Nikolov
 
 
  On Mon, Oct 11, 2021 at 0:28, Strahil Nikolov via Users 
wrote:   ___
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/GWDN72YVDZLXYXCJ63J6DNA2ZMQ7YZRX/
  
___
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/EO3ICC3T2SBIZEK56CUUIZ32X6453FGA/


[ovirt-users] Re: fresh hyperconverged Gluster setup failed in ovirt 4.4.8

2021-10-10 Thread Strahil Nikolov via Users
Hey Sandro,

do we know why this has been done ?
Best Regards,Strahil Nikolov
 
 
  On Sun, Oct 10, 2021 at 16:48, Ax Olmos wrote:   
The problem is that the ‘glusterd_brick_t’ file context is missing from 
selinux-policy-targeted 3.14.3-80 on CentOS 8 Stream.

It exists in the CentOS 8.4 version:
rpm -qpl selinux-policy-targeted-3.14.3-67.el8_4.2.noarch.rpm | grep gluster
/usr/share/selinux/targeted/default/active/modules/100/glusterd
/usr/share/selinux/targeted/default/active/modules/100/glusterd/cil
/usr/share/selinux/targeted/default/active/modules/100/glusterd/lang_ext
/var/lib/selinux/targeted/active/modules/100/glusterd
/var/lib/selinux/targeted/active/modules/100/glusterd/cil
/var/lib/selinux/targeted/active/modules/100/glusterd/hll
/var/lib/selinux/targeted/active/modules/100/glusterd/lang_ext

Not on CentOS 8 Stream:
rpm -qpl selinux-policy-targeted-3.14.3-80.el8.noarch.rpm | grep gluster

You can remove the selinux checks from:
/etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/mount.yml
but I’m not sure of the implications of that.

This is a show stopper for oVirt and someone from oVirt needs to contact the 
CentOS 8 Stream maintainers and have them put the selinux context back, or come 
up with some other workaround.
___
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/EYZWYQRCC5YOL2OB6QI27FJHPLQNPC5Z/
  
___
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/GWDN72YVDZLXYXCJ63J6DNA2ZMQ7YZRX/


[ovirt-users] Re: Slow gluster replication

2021-10-10 Thread Strahil Nikolov via Users
gluster volume set help | grep shd
Most probably you want to change cluster.shd-max-threads if your hardware can 
supoort it.
Best Regards,Strahil Nikolov
 
 
  On Sun, Oct 10, 2021 at 2:26, David White via Users wrote:   
I can't remember if I've asked this already, or if someone else has brought 
this up.
I have noticed that gluster replication in a hyperconverged environment is very 
slow.

I just (successfully, this time) added a brick to volume that was originally 
built on a single-node Hyperconverged cluster. 

One of my volumes has over 600GB, but the network is 10Gbps, so replication 
really shouldn't take that long.

It's been over two hours, and that volume has only replicated a little over 
400GB. It feels like it's taking about 1GB every 30 seconds - 1 minute or so...

Why would this replication be so slow?
Sent with ProtonMail Secure Email.
___
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/GWTZT4F732LN2EFFXIXQS5QA6BGRJJBI/
  
___
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/HTKZTC3JU7H4ES3RHUOUSGRQQBKWGZ2F/


[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-04 Thread Strahil Nikolov via Users
I would check the api guide at https://ovirt.somedomain/ovirt-engine/apidoc/#/
Best Regards,Strahil Nikolov
 
 
Hello, please how to increase extend resize disk of VM?

I can working with ansible or REST API.

Ansible working is here, but i not found manual for update size: 
https://docs.ansible.com/ansible/2.3/ovirt_disks_module.html

On official ovirt documentation i cant found how to update. I found only old 
manual in KB page, but not working on lastest: 
https://www.ovirt.org/develop/release-management/features/storage/online-virtual-drive-resize.html

PUT /api/vms/{VM_ID}/disks/{DISK_ID} HTTP/1.1
Accept: application/xml
Content-type: application/xml

    
        {NEW_SIZE_IN_BYTES}
    

Thanks for advice.
___
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/EBIMZ4GMNOYANXDAFZPN3YZX7XDQW3KG/
  
___
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/NGVK2KOFJH2VXON6AC5GF6YQ62BHCLC2/


[ovirt-users]Re: 回复:Re: 回复:Re: 回复: Re: About the vm memory limit

2021-10-04 Thread Strahil Nikolov via Users
Due to 4.3 issues pick option3 for the host (Hypervisor) and for the VM - 
disabled THP and defined regular (2M) hugepages .Once you migrate to 4.4 - you 
will enable Hugepages on the Hypervisors without needing downtime for the DB in 
the VM.
Best Regards,Strahil Nikolov
 
 
  On Sun, Oct 3, 2021 at 16:46, ‪‪‪tommy‬ wrote:   My 
virtual machine environment is advised by Oracle to use traditional huge pages 
and turn off transparent huge pages. 
At the same time, I have three choices on the KVM server: first, use the 
transparent huge page as the system default; second, use the traditional huge 
page as the VIRTUAL machine; third, disable the transparent huge page without 
activating the traditional huge page. 
I'd like to know if there is a recommendation order for these three plans?
Because I feel that the amount of memory managed and used by the phisical 
machine is much larger than that of the virtrual machine, if large pages are 
not enabled on physical machines, will it be effective to enable large pages on 
virtual machines?
Even it's possible to set traditional huge pages on virtual machines on this 
condation, but I'm not sure it will work as expected.

发自我的华为手机

 原始邮件 
发件人: Strahil Nikolov 
日期: 2021年10月3日周日 17:05
收件人: sz_cui...@163.com, Strahil Nikolov via Users 
抄送: Simon Coter 
主 题: Re: [ovirt-users]Re: 回复:Re: 回复: Re: About the vm memory limit

For 4.3 - yes. This is due to the issues in 4.3Once you move to 4.4 , you 
should be able to enable HugePages (not THP) on the Hypervisors without 
troubles.
I assume that your workload is 'in production' and stability (no downtime) is 
more important that some performance gain from HugePages on the Hypervisors.
@Simon,
any hints when OLVM 4.4 will be released ?
Best Regards,Strahil Nikolov
 
 
  On Sun, Oct 3, 2021 at 6:29, tommy sway wrote:   
___
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/KLHJDZMPLKPPXABYSP55DA472UPCKCDO/
  

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


[ovirt-users]Re: 回复:Re: 回复: Re: About the vm memory limit

2021-10-03 Thread Strahil Nikolov via Users
if you are eligible for the developr subscription you can subscribe at : 
https://developers.redhat.com/register 
P.S.: It now includes up to 16 RHEL machines for production usage.
Best Regards,Strahil Nikolov
 
 
  On Sun, Oct 3, 2021 at 12:57, Tommy Sway wrote:   
___
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/7O3MGF5IGJQJ4SP7ILZU4NI2JAVGMK4Y/
  
___
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/RIR2DJOGDMNXAXDDNYQZVEGSI7LWKN6I/


[ovirt-users]Re: 回复:Re: 回复: Re: About the vm memory limit

2021-10-03 Thread Strahil Nikolov via Users
For 4.3 - yes. This is due to the issues in 4.3Once you move to 4.4 , you 
should be able to enable HugePages (not THP) on the Hypervisors without 
troubles.
I assume that your workload is 'in production' and stability (no downtime) is 
more important that some performance gain from HugePages on the Hypervisors.
@Simon,
any hints when OLVM 4.4 will be released ?
Best Regards,Strahil Nikolov
 
 
  On Sun, Oct 3, 2021 at 6:29, tommy sway wrote:   
___
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/KLHJDZMPLKPPXABYSP55DA472UPCKCDO/
  
___
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/4ULRPOJFX2SI4ZWQJYGZ2NA6FO7GTOIN/


[ovirt-users]Re: 回复: Re: About the vm memory limit

2021-10-02 Thread Strahil Nikolov via Users
HugePages filter -> expects preallocated Huge Pages (not THP)
So either use dynamic allocation with disabled filter or on the contrary -> 
fixed ammount of pages 
Best Regards,Strahil Nikolov
 
 
  On Sat, Oct 2, 2021 at 14:25, Tommy Sway wrote:   
___
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/LSXZBRBTPIF7RVCRA2OIYMWHGODB7PCS/
  
___
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/FNJZWSGLKUJIRCGAAF5TDFX4MQ3BP3UY/


[ovirt-users] Re: fresh hyperconverged Gluster setup failed in ovirt 4.4.8

2021-10-02 Thread Strahil Nikolov via Users
I just checked the module source and it should be working with 
'glusterd_brick_t'.
Do you have gluster-server installed on all nodes ?

Best Regards,Strahil Nikolov
 
 
  On Sat, Oct 2, 2021 at 23:13, Strahil Nikolov via Users 
wrote:   ___
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/6K7JXZZLKIM3N74KPPYZTRDMQ5E4N6SC/
  
___
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/S3CMLGX3XO4AXH4PHYFVPPYM5Z4CXYTN/


[ovirt-users] Re: fresh hyperconverged Gluster setup failed in ovirt 4.4.8

2021-10-02 Thread Strahil Nikolov via Users
Don't you have a task just like 
 
https://github.com/gluster/gluster-ansible-infra/blob/master/roles/backend_setup/tasks/mount.yml#L64-L70
?
Best Regards,Strahil Nikolov
 
  On Sat, Oct 2, 2021 at 23:00, Woo Hsutung wrote:   
___
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/WEZBFDCBJDPAXS46V5S4LAHVU22OPQPO/
  
___
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/6K7JXZZLKIM3N74KPPYZTRDMQ5E4N6SC/


[ovirt-users]Re: 回复:Re: 回复: Re: About the vm memory limit

2021-10-02 Thread Strahil Nikolov via Users

vdsm supports dynamic allocation of Huge Pages, but 
https://access.redhat.com/solutions/4904441 indicates the issues in 4.3 related 
to hugepages (you can see the solution via RH dev subscription).If you needed 
to set them manually and everything works normally, I would have picked 
something like 90-95% in HugePages.

Yet, due to the issues described in that solution - it's better to enable 
HugePages only in the Guest.
Best Regards,Strahil Nikolov

 
  On Sat, Oct 2, 2021 at 10:13, Tommy Sway wrote:   
___
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/CEXZE5QYTWWNMFQU5ASJR75IWOOIFYLJ/
  
___
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/IMERYEBAAAFH5GRXTVLF6FDLPTWBWNXQ/


[ovirt-users] Re: fresh hyperconverged Gluster setup failed in ovirt 4.4.8

2021-10-02 Thread Strahil Nikolov via Users
Also, you can edit the /etc/fstab entries by adding in the mount options:
context="system_u:object_r:glusterd_brick_t:s0"
Then remount the bricks (umount ; mount ). This tells the kernel to 
skip selinux lookups and assume everything has gluster brick files, which will 
reduce the I/O.
Best Regards,Strahil Nikolov 
 
  On Sat, Oct 2, 2021 at 11:02, Strahil Nikolov wrote:   
Most probably it's in a variable.
just run the following:semanage fcontext -a -t  
"system_u:object_r:glusterd_brick_t:s0" "/gluster_bricks(/.*)?"
restorecon -RFvv /gluster_bricks/
Best Regards,Strahil Nikolov
 
 
  On Sat, Oct 2, 2021 at 3:08, Woo Hsutung wrote:   
Strahil,
Thanks for your response!
Below is ansible script I can edit at last step:
-hc_nodes:
  hosts:    node00:      gluster_infra_volume_groups:        - vgname: 
gluster_vg_sdd          pvname: /dev/sdd      gluster_infra_mount_devices:      
  - path: /gluster_bricks/engine          lvname: gluster_lv_engine          
vgname: gluster_vg_sdd        - path: /gluster_bricks/data          lvname: 
gluster_lv_data          vgname: gluster_vg_sdd        - path: 
/gluster_bricks/vmstore          lvname: gluster_lv_vmstore          vgname: 
gluster_vg_sdd      blacklist_mpath_devices:        - sdd      
gluster_infra_thick_lvs:        - vgname: gluster_vg_sdd          lvname: 
gluster_lv_engine          size: 100G      gluster_infra_thinpools:        - 
vgname: gluster_vg_sdd          thinpoolname: gluster_thinpool_gluster_vg_sdd   
       poolmetadatasize: 2G      gluster_infra_lv_logicalvols:        - vgname: 
gluster_vg_sdd          thinpool: gluster_thinpool_gluster_vg_sdd          
lvname: gluster_lv_data          lvsize: 400G        - vgname: gluster_vg_sdd   
       thinpool: gluster_thinpool_gluster_vg_sdd          lvname: 
gluster_lv_vmstore          lvsize: 400G  vars:    gluster_infra_disktype: JBOD 
   gluster_set_selinux_labels: true    gluster_infra_fw_ports:      - 2049/tcp  
    - 54321/tcp      - 5900/tcp      - 5900-6923/tcp      - 5666/tcp      - 
16514/tcp    gluster_infra_fw_permanent: true    gluster_infra_fw_state: 
enabled    gluster_infra_fw_zone: public    gluster_infra_fw_services:      - 
glusterfs    gluster_features_force_varlogsizecheck: false    cluster_nodes:    
  - node00    gluster_features_hci_cluster: '{{ cluster_nodes }}'    
gluster_features_hci_volumes:      - volname: engine        brick: 
/gluster_bricks/engine/engine        arbiter: 0      - volname: data        
brick: /gluster_bricks/data/data        arbiter: 0      - volname: vmstore      
  brick: /gluster_bricks/vmstore/vmstore        arbiter: 0    
gluster_features_hci_volume_options:      storage.owner-uid: '36'      
storage.owner-gid: '36'      features.shard: 'on'      
performance.low-prio-threads: '32'      performance.strict-o-direct: 'on'      
network.remote-dio: 'off'      network.ping-timeout: '30'      user.cifs: 'off' 
     nfs.disable: 'on'      performance.quick-read: 'off'      
performance.read-ahead: 'off'      performance.io-cache: 'off'      
cluster.eager-lock: 
enable-
There is no words “glusterd_brick_t”:(
At last, I change the value of “gluster_set_selinux_labels”  from “ true” to 
false, the deployment is successfully completed.
But I don’t know whether this change will impact the system…., could you give 
some suggestions? BR,Hsutung



在 2021年10月1日,下午10:58,Strahil Nikolov  写道:
In cockpit installer last step allows you to edit the ansible before running 
it.Just search for glusterd_brick_t and replace it.
Best Regards,Strahil Nikolov
 
 
  On Fri, Oct 1, 2021 at 17:48, Woo Hsutung wrote:   Same 
issue happens when I deploy on single node.
And I can’t find where I can edit text to replace glusterd_brick_t with 
system_u:object_r:glusterd_brick_t:s0
Any suggestion?
Best RegardsHsutung ___
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:
  


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


[ovirt-users] Re: fresh hyperconverged Gluster setup failed in ovirt 4.4.8

2021-10-02 Thread Strahil Nikolov via Users
Most probably it's in a variable.
just run the following:semanage fcontext -a -t  
"system_u:object_r:glusterd_brick_t:s0" "/gluster_bricks(/.*)?"
restorecon -RFvv /gluster_bricks/
Best Regards,Strahil Nikolov
 
 
  On Sat, Oct 2, 2021 at 3:08, Woo Hsutung wrote:   
Strahil,
Thanks for your response!
Below is ansible script I can edit at last step:
-hc_nodes:
  hosts:    node00:      gluster_infra_volume_groups:        - vgname: 
gluster_vg_sdd          pvname: /dev/sdd      gluster_infra_mount_devices:      
  - path: /gluster_bricks/engine          lvname: gluster_lv_engine          
vgname: gluster_vg_sdd        - path: /gluster_bricks/data          lvname: 
gluster_lv_data          vgname: gluster_vg_sdd        - path: 
/gluster_bricks/vmstore          lvname: gluster_lv_vmstore          vgname: 
gluster_vg_sdd      blacklist_mpath_devices:        - sdd      
gluster_infra_thick_lvs:        - vgname: gluster_vg_sdd          lvname: 
gluster_lv_engine          size: 100G      gluster_infra_thinpools:        - 
vgname: gluster_vg_sdd          thinpoolname: gluster_thinpool_gluster_vg_sdd   
       poolmetadatasize: 2G      gluster_infra_lv_logicalvols:        - vgname: 
gluster_vg_sdd          thinpool: gluster_thinpool_gluster_vg_sdd          
lvname: gluster_lv_data          lvsize: 400G        - vgname: gluster_vg_sdd   
       thinpool: gluster_thinpool_gluster_vg_sdd          lvname: 
gluster_lv_vmstore          lvsize: 400G  vars:    gluster_infra_disktype: JBOD 
   gluster_set_selinux_labels: true    gluster_infra_fw_ports:      - 2049/tcp  
    - 54321/tcp      - 5900/tcp      - 5900-6923/tcp      - 5666/tcp      - 
16514/tcp    gluster_infra_fw_permanent: true    gluster_infra_fw_state: 
enabled    gluster_infra_fw_zone: public    gluster_infra_fw_services:      - 
glusterfs    gluster_features_force_varlogsizecheck: false    cluster_nodes:    
  - node00    gluster_features_hci_cluster: '{{ cluster_nodes }}'    
gluster_features_hci_volumes:      - volname: engine        brick: 
/gluster_bricks/engine/engine        arbiter: 0      - volname: data        
brick: /gluster_bricks/data/data        arbiter: 0      - volname: vmstore      
  brick: /gluster_bricks/vmstore/vmstore        arbiter: 0    
gluster_features_hci_volume_options:      storage.owner-uid: '36'      
storage.owner-gid: '36'      features.shard: 'on'      
performance.low-prio-threads: '32'      performance.strict-o-direct: 'on'      
network.remote-dio: 'off'      network.ping-timeout: '30'      user.cifs: 'off' 
     nfs.disable: 'on'      performance.quick-read: 'off'      
performance.read-ahead: 'off'      performance.io-cache: 'off'      
cluster.eager-lock: 
enable-
There is no words “glusterd_brick_t”:(
At last, I change the value of “gluster_set_selinux_labels”  from “ true” to 
false, the deployment is successfully completed.
But I don’t know whether this change will impact the system…., could you give 
some suggestions? BR,Hsutung



在 2021年10月1日,下午10:58,Strahil Nikolov  写道:
In cockpit installer last step allows you to edit the ansible before running 
it.Just search for glusterd_brick_t and replace it.
Best Regards,Strahil Nikolov
 
 
  On Fri, Oct 1, 2021 at 17:48, Woo Hsutung wrote:   Same 
issue happens when I deploy on single node.
And I can’t find where I can edit text to replace glusterd_brick_t with 
system_u:object_r:glusterd_brick_t:s0
Any suggestion?
Best RegardsHsutung ___
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:
  


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


[ovirt-users]Re: 回复:Re: 回复: Re: About the vm memory limit

2021-10-01 Thread Strahil Nikolov via Users
KVM host -> Just enable it. All VMs will be in Hugepages.
VM -> just for the SGA.
Best Regards,Strahil Nikolov
 
 
  On Fri, Oct 1, 2021 at 18:01, ‪‪‪tommy‬ wrote:   If both 
the KVM server and the VIRTUAL machine are configured with traditional large 
pages, there is also the issue of configuring size. 
Since only THE SGA uses large pages, other database components cannot use them. 
Should the KVM server and virtual machine use the same memory ratio for large 
pages? For example, use 50% of the total memory size to avoid imbalance caused 
by improper proportion.


 原始邮件 
发件人: Strahil Nikolov 
日期: 2021年10月1日周五 22:52
收件人: tommy sway , Strahil Nikolov via Users 
主 题: Re: [ovirt-users]Re: 回复: Re: About the vm memory limit

Actually yes - should speedup the process. I've edited that draft too many 
times :)
 
 
  On Fri, Oct 1, 2021 at 7:32, tommy sway wrote:   
___
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/LMPJISCMPKRWJN4KW5DVVWEXLRK45L7L/
  

  
___
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/76DJKE4T7ZVRCOTUS6OEOVNZHJNYCJ3B/


[ovirt-users] Re: fresh hyperconverged Gluster setup failed in ovirt 4.4.8

2021-10-01 Thread Strahil Nikolov via Users
In cockpit installer last step allows you to edit the ansible before running 
it.Just search for glusterd_brick_t and replace it.
Best Regards,Strahil Nikolov
 
 
  On Fri, Oct 1, 2021 at 17:48, Woo Hsutung wrote:   Same 
issue happens when I deploy on single node.
And I can’t find where I can edit text to replace glusterd_brick_t with 
system_u:object_r:glusterd_brick_t:s0
Any suggestion?
Best RegardsHsutung ___
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:
  
___
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/62YZH6TFFBB7HDSSA6FH5LXPBZJKU2E2/


[ovirt-users] Re: gluster 5834 Unsynced entries present

2021-10-01 Thread Strahil Nikolov via Users
Put ovnode2 in maintenance (put a tick for stopping gluster), wait till all VMs 
evacuate and the host is really in maintenance and activate it back.
Restarting the glusterd also should do the trick, but it's always better to 
ensure no gluster processes have been left running(inclusing the mount points.
Best Regards,Strahil Nikolov
 
 
  On Fri, Oct 1, 2021 at 17:06, Dominique D 
wrote:   yesterday I had a glich and my second ovnode2 server restarted 

here are some errors in the events :

VDSM ovnode3.telecom.lan command SpmStatusVDS failed: Connection timeout for 
host 'ovnode3.telecom.lan', last response arrived 2455 ms ago.
Host ovnode3.telecom.lan is not responding. It will stay in Connecting state 
for a grace period of 86 seconds and after that an attempt to fence the host 
will be issued.
Invalid status on Data Center Default. Setting Data Center status to Non 
Responsive (On host ovnode3.telecom.lan, Error: Network error during 
communication with the Host.).
Executing power management status on Host ovnode3.telecom.lan using Proxy Host 
ovnode1.telecom.lan and Fence Agent ipmilan:10.5.1.16.

Now my 3 bricks have errors from my gluster volume 


[root@ovnode2 ~]# gluster volume status
Status of volume: datassd
Gluster process                            TCP Port  RDMA Port  Online  Pid
--
Brick ovnode1s.telecom.lan:/gluster_bricks/
datassd/datassd                            49152    0          Y      4027
Brick ovnode2s.telecom.lan:/gluster_bricks/
datassd/datassd                            49153    0          Y      2393
Brick ovnode3s.telecom.lan:/gluster_bricks/
datassd/datassd                            49152    0          Y      2347
Self-heal Daemon on localhost              N/A      N/A        Y      2405
Self-heal Daemon on ovnode3s.telecom.lan    N/A      N/A        Y      2366
Self-heal Daemon on 172.16.70.91            N/A      N/A        Y      4043

Task Status of Volume datassd
--
There are no active volume tasks


gluster volume heal datassd info | grep -i "Number of entries:" | grep -v 
"entries: 0"
Number of entries: 5759

in the webadmin all the bricks are green with comments for two : 

ovnode1 Up, 5834 Unsynced entries present
ovnode2 Up,
ovnode3 Up, 5820 Unsynced entries present

I tried this without success 

gluster volume heal datassd 
Launching heal operation to perform index self heal on volume datassd has been 
unsuccessful:
Glusterd Syncop Mgmt brick op 'Heal' failed. Please check glustershd log file 
for details.

What are the next steps ? 

Thank you
___
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/QRI2K34O2X3NEEYLWTZJYG26EYH6CJQU/
  
___
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/L4SWBS2VMHJC6JCWARQI5SHIQQJVJ6GQ/


[ovirt-users]Re: 回复: Re: About the vm memory limit

2021-10-01 Thread Strahil Nikolov via Users
Actually yes - should speedup the process. I've edited that draft too many 
times :)
 
 
  On Fri, Oct 1, 2021 at 7:32, tommy sway wrote:   
___
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/LMPJISCMPKRWJN4KW5DVVWEXLRK45L7L/
  
___
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/7YLMDROOU5CM4O7DHYXANPBWYY2BPWGD/


[ovirt-users] Re: about the expiration time of the oVirt certs

2021-10-01 Thread Strahil Nikolov via Users
I was thinking the same.Would you open a feature request to bugzilla.redhat.com 
?
I know that certmonger can renew automatically all certs via an external CA, so 
that would be a great feature.

Best Regards,Strahil Nikolov 
 
  On Fri, Oct 1, 2021 at 7:41, tommy sway wrote:   
___
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/RQZP2LZYZ74SXYN75JWV4WKLEYDTM6U7/
  
___
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/S7JIJVSNGP5D3YQZ3M23SF2AWOIKCGAY/


[ovirt-users] Re: about the expiration time of the oVirt certs

2021-09-30 Thread Strahil Nikolov via Users
I think you are looking for certmonger, but it will require some manual steps:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/certmongerx
Best Regards,Strahil Nikolov
 
 
  On Thu, Sep 30, 2021 at 10:17, Tommy Sway wrote:   

As you know, there are many kinds of certificates in Ovirt, used for 
communication, authentication and so on.

However, in practice, there is a security risk related to the above 
certificates. 

  

That is, you need to generate a new certificate after the certificate expires. 
Otherwise, a problem will occur. 

In addition, different certificates expire at different times, which brings a 
lot of management trouble to users. 

Especially in the production system, a huge virtualization cluster may run 
thousands of VMS. If a cluster certificate has a problem, the impact is very 
serious.

  

So I felt there was an urgent need for a technical tool that could help users 
quickly locate certificates, identify their expiration dates, and rebuild them.

Even if there is no tool, there should be a way to solve the problems caused by 
partial certificate expiration. I think it should include the following points:

First, how to list the certificate in detail

Second, how to check the certificate expiration time

Third, how to rebuild the certificate

  

Does anyone else have this kind of confusion? What's a good solution?

  

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/3WFDWAZ2ZE6L44YAYXK7Q5NUNZSDR4AU/
  
___
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/6UKQQE7QYIRCEEDAPJ4MQ4CUY7UK2XOX/


[ovirt-users]Re: 回复: Re: About the vm memory limit

2021-09-30 Thread Strahil Nikolov via Users
Each VM for that 4TB host will be a single process. When that process addresses 
some memory location, the kernel will lookup in the translation lookaside 
buffer (TLB) and in case the Host is using Hugepages the kernel needs less time 
to find the memory page (page table walk), which slows the process (in your 
case the VM).
Simplified said -> the VM process should be seen as an Oracle DB. On bare metal 
you want to disable transparent hugepages and enable the 2M hugepages for ODB - 
so logically VMs doing the same workload should be treated the same way.

Here is a link to Oracle's OLVM (based on oVirt): 
https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manager/admin/gs-optimize.html#optimize-vm-perf
Best Regards,Strahil Nikolov


 
 
  On Thu, Sep 30, 2021 at 6:25, Tommy Sway wrote:   In my 
scenario, the physical machine has a lot of memory (4TB), with dozens of 
virtual machines running on it, each vm is running a database, and every vm is 
set up with traditional large-page memory.
In this case, whether it is necessary to set up large page memory on the 
physical machine and what type of large page memory should be set up, this 
issue has not been determined, I am also very confused.







-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Wednesday, September 29, 2021 8:50 PM
To: 'users' ; Tommy Sway 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit

I got a 3 TB host (physical) with Oracle without Traditional Hugepages. The DB 
will work even without hugepages... but how much memory will be lost - that's 
another story.

Disable the transparent Huge Pages and check this documentation - should be 
valid for oVirt 4.3 and OLVM 4.3 as they share the same source:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virtual_machine_management_guide/configuring_high_performance_virtual_machines_templates_and_pools#Configuring_Huge_Pages

Best Regards,
Strahil Nikolov





В сряда, 29 септември 2021 г., 15:20:54 ч. Гринуич+3, Tommy Sway 
 написа: 






I’am 4.3, but the memory of the VM and the SGA is large , 32GB, so the vm 
should set the traditional hugepage for the database SGA.
 
I don't know how to set up a large page on a KVM host.
Because if I make it a traditional big page, how big should I make it? Will 
non-VM SGA usage of many VMs be affected?
After all, not all memory used by QEMU needs to be HugePage, and traditional 
large page memory needs to be used by specific code calls and is not 
transparent.
 
These are all questions.
 
 
 
 
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Wednesday, September 29, 2021 5:39 PM
To: Tommy Sway ; 'users' 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
 
If you are on 4.3 -> disable transparent hugepages both Hypervisor and VM.
If you are using 4.4 -> disable transparent hugepages and also cobfigure 
regular huge pages.
 
Best Regards,
Strahil Nikolov
> On Wed, Sep 29, 2021 at 5:34, Tommy Sway  wrote:
> From the Oracle OLVM support:
> 
> Configuring the Hugepages for guest VMs should be suffice, however, it needs 
> the KVM hosts too configured with the Hugepages.
> Since, if it not you may end with issues while staring the guest VMs.
> 
> I really don't know what to do now.
> 
> 
> 
> 
> 
> -Original Message-
> From: users-boun...@ovirt.org  On Behalf Of 
> Strahil Nikolov via Users
> Sent: Tuesday, September 28, 2021 3:39 PM
> To: 'users' ; Tommy Sway 
> Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
> 
> I think that if you run VMs with Databases, you must disable transparent huge 
> pages on Hypervisour level and on VM level. Yet, if you wish you can use 
> regular huge pages on VM level.
> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
> 
> В вторник, 28 септември 2021 г., 09:21:09 ч. Гринуич+3, Tommy Sway 
>  написа: 
> 
> 
> 
> 
> 
> 
> What problem will appear if I use the default transparent huge page enabled 
> mode for physical hosts, but configure traditional huge page memory on the 
> virtual machine for database SGA ? 
> Or is it better to disable transparent huge page on physical machines and 
> still use traditional huge page memory on virtual machines?
> 
> Which one is prefer ?
> 
> 
> From: users-boun...@ovirt.org  On Behalf Of 
> Strahil Nikolov via Users
> Sent: Tuesday, September 28, 2021 12:05 AM
> To: ‪‪‪tommy ; 'users' 
> Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
> 
> https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/di
> sabling-transparent-hugepages.html
> 
> https://access.redhat.com/solutions/1320153 (requires RH dev 
> subscription or other type of subscription) -> In short add 
> 'transparent_hugepage=never' to the 

[ovirt-users] Re: Host reboots when network switch goes down

2021-09-29 Thread Strahil Nikolov via Users
Tinkering with timeouts could be risky, so in case you can't have a second 
switch - your solution (shutting down all VMs, maintenance, etc) should be the 
safest.
If possible test it on a cluster on VMs, so you get used to the whole procedure.
 Best Regards,Strahil Nikolov
 
 
  On Wed, Sep 29, 2021 at 16:16, cen wrote:   On 29. 09. 21 
13:31, Vojtech Juranek wrote:
> this is possible, but changing sanlock timeouts can be very tricky and can
> have unwanted/unexpected consequences, so be very careful. Here is a guideline
> how to do it:
>
> https://github.com/oVirt/vdsm/blob/master/doc/io-timeouts.md

Thank you for your feedback, this seems to be exactly what is happening.

After reading the doc, my gut feeling tells me it would be smarter to 
shut down our VMs, go into maintenance mode and then perform any switch 
upgrades/reboots instead of trying to tweak the timeouts to survive a 
possible 3min+ reboot. We don't have any serious uptime requirements so 
this seems like the easiest and safest way forward.


Best regards,

cen
___
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/JEJMMLI2WH72J4PPRKSYHAEQFTIEBPZ5/
  
___
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/3TYARHX4QMALGVGF7DWUJV7LRC7LVJWP/


[ovirt-users]Re: 回复: Re: About the vm memory limit

2021-09-29 Thread Strahil Nikolov via Users
I got a 3 TB host (physical) with Oracle without Traditional Hugepages. The DB 
will work even without hugepages... but how much memory will be lost - that's 
another story.

Disable the transparent Huge Pages and check this documentation - should be 
valid for oVirt 4.3 and OLVM 4.3 as they share the same source:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virtual_machine_management_guide/configuring_high_performance_virtual_machines_templates_and_pools#Configuring_Huge_Pages

Best Regards,
Strahil Nikolov





В сряда, 29 септември 2021 г., 15:20:54 ч. Гринуич+3, Tommy Sway 
 написа: 






I’am 4.3, but the memory of the VM and the SGA is large , 32GB, so the vm 
should set the traditional hugepage for the database SGA.
 
I don't know how to set up a large page on a KVM host.
Because if I make it a traditional big page, how big should I make it? Will 
non-VM SGA usage of many VMs be affected?
After all, not all memory used by QEMU needs to be HugePage, and traditional 
large page memory needs to be used by specific code calls and is not 
transparent.
 
These are all questions.
 
 
 
 
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Wednesday, September 29, 2021 5:39 PM
To: Tommy Sway ; 'users' 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
 
If you are on 4.3 -> disable transparent hugepages both Hypervisor and VM.
If you are using 4.4 -> disable transparent hugepages and also cobfigure 
regular huge pages.
 
Best Regards,
Strahil Nikolov
> On Wed, Sep 29, 2021 at 5:34, Tommy Sway
>  wrote:
> From the Oracle OLVM support:
> 
> Configuring the Hugepages for guest VMs should be suffice, however, it needs 
> the KVM hosts too configured with the Hugepages.
> Since, if it not you may end with issues while staring the guest VMs.
> 
> I really don't know what to do now.
> 
> 
> 
> 
> 
> -Original Message-
> From: users-boun...@ovirt.org  On Behalf Of Strahil 
> Nikolov via Users
> Sent: Tuesday, September 28, 2021 3:39 PM
> To: 'users' ; Tommy Sway 
> Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
> 
> I think that if you run VMs with Databases, you must disable transparent huge 
> pages on Hypervisour level and on VM level. Yet, if you wish you can use 
> regular huge pages on VM level.
> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
> 
> В вторник, 28 септември 2021 г., 09:21:09 ч. Гринуич+3, Tommy Sway 
>  написа: 
> 
> 
> 
> 
> 
> 
> What problem will appear if I use the default transparent huge page enabled 
> mode for physical hosts, but configure traditional huge page memory on the 
> virtual machine for database SGA ? 
> Or is it better to disable transparent huge page on physical machines and 
> still use traditional huge page memory on virtual machines?
> 
> Which one is prefer ?
> 
> 
> From: users-boun...@ovirt.org  On Behalf Of Strahil 
> Nikolov via Users
> Sent: Tuesday, September 28, 2021 12:05 AM
> To: ‪‪‪tommy ; 'users' 
> Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
> 
> https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/disabling-transparent-hugepages.html
> 
> https://access.redhat.com/solutions/1320153 (requires RH dev subscription or 
> other type of subscription) -> In short add 'transparent_hugepage=never' to 
> the kernel params
> 
> SLES11/12/15 -> 
> https://www.suse.com/c/sles-1112-os-tuning-optimisation-guide-part-1/
> 
> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
>> On Mon, Sep 27, 2021 at 16:33, ‪‪‪tommy  wrote:
>> thank you!
>>  
>> and how to get the config info of Transparent huge pages and how to 
>> disable it?
>>  
>>  
>>  
>> 
>> 
>> 发自我的华为手机
>> 
>> 
>>  原始邮件 
>> 发件人: Strahil Nikolov 
>> 日期: 2021年9月27日周一 21:13
>> 收件人: 'users' , Tommy Sway 
>> 主 题: Re: [ovirt-users] Re: About the vm memory limit>> Transparent huge 
>> pages are enabled by default, so you need to stop >> them.I would use huge 
>> pages on both host and VM, but theoretically it >> shouldn't be a problem 
>> running a VM with enabled HugePages without >> configuring on Host.Best 
>> Regards,Strahil NikolovВ събота, 25 >> септември 2021 г., 15:25:10 ч. 
>> Гринуич+3, Tommy Sway >>  написа: transparent huge pages 
>> are not used on vm >> and physical host. But, can I enable hugepage memory 
>> on  virtual >> machines but not on a physical machine?For database running 
>> on vm, >> and it needs to config hugepage.  From: Strahil Nikolov >> 
>>  Sent: Saturday, September 25, 2021 5:32 PMTo: >> 
>>

[ovirt-users]Re: 回复: Re: About the vm memory limit

2021-09-29 Thread Strahil Nikolov via Users
If you are on 4.3 -> disable transparent hugepages both Hypervisor and VM.If 
you are using 4.4 -> disable transparent hugepages and also cobfigure regular 
huge pages.
Best Regards,Strahil Nikolov
 
 
  On Wed, Sep 29, 2021 at 5:34, Tommy Sway wrote:   From the 
Oracle OLVM support:

Configuring the Hugepages for guest VMs should be suffice, however, it needs 
the KVM hosts too configured with the Hugepages.
Since, if it not you may end with issues while staring the guest VMs.

I really don't know what to do now.





-Original Message-
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Tuesday, September 28, 2021 3:39 PM
To: 'users' ; Tommy Sway 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit

I think that if you run VMs with Databases, you must disable transparent huge 
pages on Hypervisour level and on VM level. Yet, if you wish you can use 
regular huge pages on VM level.

Best Regards,
Strahil Nikolov






В вторник, 28 септември 2021 г., 09:21:09 ч. Гринуич+3, Tommy Sway 
 написа: 






What problem will appear if I use the default transparent huge page enabled 
mode for physical hosts, but configure traditional huge page memory on the 
virtual machine for database SGA ? 
Or is it better to disable transparent huge page on physical machines and still 
use traditional huge page memory on virtual machines?
 
Which one is prefer ?
 
 
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Tuesday, September 28, 2021 12:05 AM
To: ‪‪‪tommy ; 'users' 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
 
https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/disabling-transparent-hugepages.html
 
https://access.redhat.com/solutions/1320153 (requires RH dev subscription or 
other type of subscription) -> In short add 'transparent_hugepage=never' to the 
kernel params
 
SLES11/12/15 -> 
https://www.suse.com/c/sles-1112-os-tuning-optimisation-guide-part-1/
 
 
Best Regards,
Strahil Nikolov
 
 
 
 
 
> On Mon, Sep 27, 2021 at 16:33, ‪‪‪tommy  wrote:
> thank you!
>  
> and how to get the config info of Transparent huge pages and how to 
> disable it?
>  
>  
>  
> 
> 
> 发自我的华为手机
> 
> 
>  原始邮件 
> 发件人: Strahil Nikolov 
> 日期: 2021年9月27日周一 21:13
> 收件人: 'users' , Tommy Sway 
> 主 题: Re: [ovirt-users] Re: About the vm memory limit
>> Transparent huge pages are enabled by default, so you need to stop 
>> them.I would use huge pages on both host and VM, but theoretically it 
>> shouldn't be a problem running a VM with enabled HugePages without 
>> configuring on Host.Best Regards,Strahil NikolovВ събота, 25 
>> септември 2021 г., 15:25:10 ч. Гринуич+3, Tommy Sway 
>>  написа: transparent huge pages are not used on vm 
>> and physical host. But, can I enable hugepage memory on  virtual 
>> machines but not on a physical machine?For database running on vm, 
>> and it needs to config hugepage.  From: Strahil Nikolov 
>>  Sent: Saturday, September 25, 2021 5:32 PMTo: 
>> Tommy Sway Subject: Re: [ovirt-users] About the vm 
>> memory limit It depends on the numa configuration of the host. If you 
>> have 256G per CPU, it's best to stay into that range. Also, consider 
>> disabling transparent huge pages on the host & VM. Since 4.4 Regular 
>> Huge Pages (do not confuse them with THP) can be used on the 
>> Hypervisors, while on 4.3 there were some issues but I can't provode 
>> any details. Best Regards,Strahil Nikolov> On Fri, Sep 24, 2021 at 
>> 6:40, Tommy Sway>  wrote:> I would like to ask if 
>> there is any limit on the memory size of virtual machines, or 
>> performance curve or something like that?> As long as there is memory 
>> on the physical machine, the more virtual machines the better?>  > In 
>> our usage scenario, there are many virtual machines with databases, 
>> and their memory varies greatly. > For some virtual machines, 4G 
>> memory is enough, while for some virtual machines, 64GB memory is 
>> needed.>  > I want to know what is the best use of memory for a 
>> virtual machine, since the virtual machine is just a QEMU emulation 
>> process on a physical machine, and I worry that it is not using as 
>> much memory as a physical machine. Understand this so that we can 
>> develop guidelines for optimal memory usage scenarios for virtual 
>> machines.>  > Thank you!>  >  > 
>> ___Users mailing list -- 
>> users@ovirt.orgTo unsubscribe send an email to 
>> users-leave@ovirt.orgPrivacy Statement: 
>> https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/List 
>>

[ovirt-users] Re: oVirt / Hyperconverged

2021-09-28 Thread Strahil Nikolov via Users
Yes, you can use with 4 nodes. 
You have to check what has caused the crash before starting over or loosing the 
logs.

Best Regards,
Strahil Nikolov






В вторник, 28 септември 2021 г., 09:56:30 ч. Гринуич+3,  
написа: 





I have 4 servers of identical hardware. The documentation says "you need 3", 
not "you need 3 or more"; is it possible to run hyperconverged with 4 servers. 
Currently all the 4 nodes server has been crashed n after the 4th node try 
joining the hyperconverged 3nodes cluster. Kindly advise.
FYI currently i'm trying to reinstall back all the OS back due mentioned 
incident happen.

/BR
Faizal
___
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/7JZIURV7ZHTTT4BLDGFUX475ICWNEUBC/
___
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/CEIFT6LHNEQD73VZS6BN2JA74XJ4C4CK/


[ovirt-users]Re: 回复: Re: About the vm memory limit

2021-09-28 Thread Strahil Nikolov via Users
I think that if you run VMs with Databases, you must disable transparent huge 
pages on Hypervisour level and on VM level. Yet, if you wish you can use 
regular huge pages on VM level.

Best Regards,
Strahil Nikolov






В вторник, 28 септември 2021 г., 09:21:09 ч. Гринуич+3, Tommy Sway 
 написа: 






What problem will appear if I use the default transparent huge page enabled 
mode for physical hosts, but configure traditional huge page memory on the 
virtual machine for database SGA ? 
Or is it better to disable transparent huge page on physical machines and still 
use traditional huge page memory on virtual machines?
 
Which one is prefer ?
 
 
From: users-boun...@ovirt.org  On Behalf Of Strahil 
Nikolov via Users
Sent: Tuesday, September 28, 2021 12:05 AM
To: ‪‪‪tommy ; 'users' 
Subject: [ovirt-users]Re: 回复: Re: About the vm memory limit
 
https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/disabling-transparent-hugepages.html
 
https://access.redhat.com/solutions/1320153 (requires RH dev subscription or 
other type of subscription) -> In short add 'transparent_hugepage=never' to the 
kernel params
 
SLES11/12/15 -> 
https://www.suse.com/c/sles-1112-os-tuning-optimisation-guide-part-1/
 
 
Best Regards,
Strahil Nikolov
 
 
 
 
 
> On Mon, Sep 27, 2021 at 16:33, ‪‪‪tommy
>  wrote:
> thank you!
>   
> and how to get the config info of Transparent huge pages and how to disable 
> it?
>   
>   
>   
> 
> 
> 发自我的华为手机
> 
> 
>  原始邮件 
> 发件人: Strahil Nikolov 
> 日期: 2021年9月27日周一 21:13
> 收件人: 'users' , Tommy Sway 
> 主 题: Re: [ovirt-users] Re: About the vm memory limit
>> Transparent huge pages are enabled by default, so you need to stop them.I 
>> would use huge pages on both host and VM, but theoretically it shouldn't be 
>> a problem running a VM with enabled HugePages without configuring on 
>> Host.Best Regards,Strahil NikolovВ събота, 25 септември 2021 г., 15:25:10 ч. 
>> Гринуич+3, Tommy Sway  написа: transparent huge pages are 
>> not used on vm and physical host. But, can I enable hugepage memory on  
>> virtual machines but not on a physical machine?For database running on vm, 
>> and it needs to config hugepage.  From: Strahil Nikolov 
>>  Sent: Saturday, September 25, 2021 5:32 PMTo: Tommy 
>> Sway Subject: Re: [ovirt-users] About the vm memory limit 
>> It depends on the numa configuration of the host. If you have 256G per CPU, 
>> it's best to stay into that range. Also, consider disabling transparent huge 
>> pages on the host & VM. Since 4.4 Regular Huge Pages (do not confuse them 
>> with THP) can be used on the Hypervisors, while on 4.3 there were some 
>> issues but I can't provode any details. Best Regards,Strahil Nikolov> On 
>> Fri, Sep 24, 2021 at 6:40, Tommy Sway>  wrote:> I would 
>> like to ask if there is any limit on the memory size of virtual machines, or 
>> performance curve or something like that?> As long as there is memory on the 
>> physical machine, the more virtual machines the better?>  > In our usage 
>> scenario, there are many virtual machines with databases, and their memory 
>> varies greatly. > For some virtual machines, 4G memory is enough, while for 
>> some virtual machines, 64GB memory is needed.>  > I want to know what is the 
>> best use of memory for a virtual machine, since the virtual machine is just 
>> a QEMU emulation process on a physical machine, and I worry that it is not 
>> using as much memory as a physical machine. Understand this so that we can 
>> develop guidelines for optimal memory usage scenarios for virtual machines.> 
>>  > Thank you!>  >  > ___Users 
>> mailing list -- users@ovirt.orgTo unsubscribe send an email to 
>> users-leave@ovirt.orgPrivacy Statement: 
>> https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y6XDOIMKCP4JEJF7M5DLJ33U2ENJKGAN/___Users
>>  mailing list -- users@ovirt.orgTo unsubscribe send an email to 
>> users-leave@ovirt.orgPrivacy Statement: 
>> https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/3YHTUBAG42YRNEUCWG4DF5TEP2I22DMH/
___
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/GRNMITHSDUEUB2JL2HM522ZGBTF4OPIC/


[ovirt-users]Re: 回复: Re: About the vm memory limit

2021-09-27 Thread Strahil Nikolov via Users
https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/disabling-transparent-hugepages.html
https://access.redhat.com/solutions/1320153 (requires RH dev subscription or 
other type of subscription) -> In short add 'transparent_hugepage=never' to the 
kernel params
SLES11/12/15 -> 
https://www.suse.com/c/sles-1112-os-tuning-optimisation-guide-part-1/

Best Regards,Strahil Nikolov



 
 
  On Mon, Sep 27, 2021 at 16:33, ‪‪‪tommy‬ wrote:   thank 
you!
and how to get the config info of Transparent huge pages and how to disable it?




发自我的华为手机

 原始邮件 
发件人: Strahil Nikolov 
日期: 2021年9月27日周一 21:13
收件人: 'users' , Tommy Sway 
主 题: Re: [ovirt-users] Re: About the vm memory limit

Transparent huge pages are enabled by default, so you need to stop them.

I would use huge pages on both host and VM, but theoretically it shouldn't be a 
problem running a VM with enabled HugePages without configuring on Host.


Best Regards,
Strahil Nikolov






В събота, 25 септември 2021 г., 15:25:10 ч. Гринуич+3, Tommy Sway 
 написа: 






transparent huge pages are not used on vm and physical host.
 
But, can I enable hugepage memory on  virtual machines but not on a physical 
machine?
For database running on vm, and it needs to config hugepage.
 
 
From: Strahil Nikolov  Sent: Saturday, September 25, 
2021 5:32 PMTo: Tommy Sway Subject: Re: [ovirt-users] About 
the vm memory limit
 
It depends on the numa configuration of the host.
 
If you have 256G per CPU, it's best to stay into that range.
 
Also, consider disabling transparent huge pages on the host & VM.
 
Since 4.4 Regular Huge Pages (do not confuse them with THP) can be used on the 
Hypervisors, while on 4.3 there were some issues but I can't provode any 
details.
 
Best Regards,
Strahil Nikolov
> On Fri, Sep 24, 2021 at 6:40, Tommy Sway
>  wrote:
> I would like to ask if there is any limit on the memory size of virtual 
> machines, or performance curve or something like that?
> As long as there is memory on the physical machine, the more virtual machines 
> the better?
>  
> In our usage scenario, there are many virtual machines with databases, and 
> their memory varies greatly. 
> For some virtual machines, 4G memory is enough, while for some virtual 
> machines, 64GB memory is needed.
>  
> I want to know what is the best use of memory for a virtual machine, since 
> the virtual machine is just a QEMU emulation process on a physical machine, 
> and I worry that it is not using as much memory as a physical machine. 
> Understand this so that we can develop guidelines for optimal memory usage 
> scenarios for virtual machines.
>  
> Thank you!
>  
>  
> ___Users mailing list -- 
> users@ovirt.orgTo unsubscribe send an email to users-leave@ovirt.orgPrivacy 
> Statement: https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y6XDOIMKCP4JEJF7M5DLJ33U2ENJKGAN/
___
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/3YHTUBAG42YRNEUCWG4DF5TEP2I22DMH/

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


  1   2   3   4   5   6   7   8   9   >