[ovirt-users] Re: Ovirt SYSTEM user does not allow deletion of VM networks

2020-07-25 Thread Konstantinos B
Hi all

So came back with a totally messed up network situation.
VM Networks are completely broken and as such no VMs can start.

The requested information can be viewed below:
Ovirt Engine
Installed Packages
centos-release.x86_64   
 7-8.2003.0.el7.centos  
 @anaconda
glusterfs.x86_64
 6.9-1.el7  
 @ovirt-4.3-centos-gluster6
ovirt-engine.noarch 
 4.3.10.4-1.el7 
 @ovirt-4.3
ovirt-release43.noarch  
 4.3.10-1.el7   
 @/ovirt-release43

Ovirt node 1
centos-release.x86_64   
 7-8.2003.0.el7.centos  
  installed
glusterfs.x86_64
 6.9-1.el7  
  installed
ovirt-release-host-node.noarch  
 4.3.10-1.el7   
  installed
ovirt-release43.noarch  
 4.3.10-1.el7   
  installed
vdsm.x86_64 
 4.30.46-1.el7  
  installed

Ovirt node 2.Installed Packages
centos-release.x86_64   
 7-8.2003.0.el7.centos  
 @base
glusterfs.x86_64
 6.9-1.el7  
 @ovirt-4.3-centos-gluster6
ovirt-release43.noarch  
 4.3.10-1.el7   
 @/ovirt-release43
vdsm.x86_64 
 4.30.46-1.el7  
 @ovirt-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/63HWAFLPQXNIDK7JPAXWXZ64EQWYQH3Z/


[ovirt-users] Re: Shutdown procedure for single host HCI Gluster

2020-07-25 Thread Gianluca Cecchi
On Wed, Apr 15, 2020 at 4:52 PM Gianluca Cecchi 
wrote:
[snip]

> Snippet for hosted engine hosts shutdown:
>
> - name: Shutdown of HE hosts
>   command: >-
> ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
> -i /etc/pki/ovirt-engine/keys/engine_id_rsa -p {{
> item.ssh.port }}
> -t root@{{ item.address }} '{{ he_shutdown_cmd }}'
>   async: 1000
>   poll: 0
>   with_items:
> - "{{ he_hosts }}"
>
> where the he_shutdown_cmd var is defined as:
>
> he_shutdown_cmd: >-
>   while hosted-engine --vm-status | grep "\"vm\": \"up\""
> >/dev/null;
>   do sleep 5;
>   done;
>   sanlock client shutdown -f 1;
>   shutdown -h now
>
> Snippet for the Engine VM shutdown
>
> - name: Shutdown engine host/VM
>   command: shutdown -h now
>   async: 1000
>   poll: 0
>
> [snip]

>
> Could it be useful to insert the
> /usr/share/glusterfs/scripts/stop-all-gluster-processes.sh command, as
> suggested by Strahil, after the sanlock one, in case of GlusterFS domain?
>
> Also one further note:
> inside the role it is used the ovirt_host_facts module. I get this when I
> use it and debug its content:
> {
> "msg": "The 'ovirt_host_facts' module has been renamed to
> 'ovirt_host_info', and the renamed one no longer returns ansible_facts",
> "version": "2.13"
> }
>
> So perhaps it should be considered to change and use ovirt_host_info
> instead? Any plan?
>
> Thanks for reading.
>
> Gianluca
>
>
>
Hello,
I would like to keep on with this to have a better experience.
Environment is physical 4.3.10 single host HCI that shows the same problems
as above.
So I modified the role file adding after sanlock shutdown the gluster stop
script

[root@ovengine tasks]# pwd
/root/roles/ovirt.shutdown_env/tasks

[root@ovengine tasks]# diff main.yml main.yml.orig
79d78
<   /usr/share/glusterfs/scripts/stop-all-gluster-processes.sh
[root@ovengine tasks]#

Now the poweroff completes, even if get these errors about stopping swap
and gluster bricks filesystems:
https://drive.google.com/file/d/1oh0sNC3ta5qP0KAcibTdDc5N_lpil8pS/view?usp=sharing


When I power on again the server in a second time, the environment starts
ok in global maintenance and when I exit it, engine and gluster volumes
start ok.
Even if there is a 2-3 minutes delay (I already opened a thread about this)
from the moment when you see the storage domains up in the web admin gui
and the moment when they are truely up (file systems
/rhev/data-center/mnt/glusterSD/... mounted). So if in the mean time you
try to start a VM you get an error because disks not found...

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


[ovirt-users] Re: CentOS 8.2, ovVirt 4.4.1.8, SHE -- kernel: device-mapper: core: ovirt-ha-broker: sending ioctl 5401 to DM device without required privilege

2020-07-25 Thread Strahil Nikolov via Users
You can suppress  them  by following  
https://access.redhat.com/solutions/3556491
if $msg contains "messsage to suppress" then stop


На 24 юли 2020 г. 18:46:37 GMT+03:00, Dmitry Kharlamov  
написа:
>Yes! Happened! Thank you so much!
>Didn't know about this possibility.
>
>Oops, the solution is very peculiar ...)))
>"The messages are benign and can be ignored."
>
>It's very good that everything is in order, but how to get rid of this
>stream of messages ???
>The log file grows very quickly and other messages are lost. Likewise,
>the console is constantly full of these "good" messages ..
>___
>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/XSHUBZAFD7GKQZGC3664HVJTAGTKVVHD/
___
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/3VHRCQXXA6JET6ZCG2O4SHXQUXETDP57/