[ovirt-users] Re: Data Centers status Not Operational

2021-06-06 Thread nexpron
I saw that daemon libvirt has stopped. Start result
/etc/init.d/libvirtd start
is
Starting libvirtd daemon: libvirtd: error: Unable to initialize network 
sockets. Check /var/log/messages or run without --daemon for more info.

I checked messages log, but I found nothing. So I edited 
/etc/libvirt/libvirtd.conf , uncommented line to get more verbose info
log_outputs="3:syslog:libvirtd"
and started libvirtd again. Result was the same as previous, but in messages 
log I found

Jun  6 19:50:47 hv3 libvirtd: 39319: info : libvirt version: 0.10.2, package: 
29.el6_5.9 (CentOS BuildSystem , 2014-06-10-12:45:15, 
c6b9.bsys.dev.centos.org)
Jun  6 19:50:47 hv3 libvirtd: 39319: error : virNetTLSContextCheckCertTimes:146 
: The server certificate /etc/pki/vdsm/certs/vdsmcert.pem has expired.

I guess that libvirt is a problem, because vdsm work through that api own 
operations. How I could create new certificate?
___
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/6MV7DAFVPZRTBKSHLE73LXWW3FRBBLZI/


[ovirt-users] Re: Data Centers status Not Operational

2021-05-27 Thread nexpron
vdsmd has been started

service vdsmd start
vdsm: already running  [  OK  ]
vdsm start [  OK  ]

I checked /var/log/vdsm/vdsm.log . 7 MB.
Most repeated errors

VM Channels Listener::DEBUG::2021-05-26 
15:01:01,741::vmChannels::128::vds::(_handle_unconnected) Trying to connect 
fileno 95.
GuestMonitor-SFTP-R::DEBUG::2021-05-26 
15:01:01,938::vm::645::vm.Vm::(_getDiskStats) 
vmId=`cc75abe4-94d3-44da-8a9c-f05a5c55f55f`::Disk hdc stats not available
GuestMonitor-SFTP-R::DEBUG::2021-05-26 
15:01:01,939::vm::645::vm.Vm::(_getDiskStats) 
vmId=`cc75abe4-94d3-44da-8a9c-f05a5c55f55f`::Disk vda stats not available
GuestMonitor-SFTP-R::DEBUG::2021-05-26 
15:01:01,939::vm::684::vm.Vm::(_getDiskLatency) 
vmId=`cc75abe4-94d3-44da-8a9c-f05a5c55f55f`::Disk hdc latency not available
GuestMonitor-SFTP-R::DEBUG::2021-05-26 
15:01:01,939::vm::684::vm.Vm::(_getDiskLatency) 
vmId=`cc75abe4-94d3-44da-8a9c-f05a5c55f55f`::Disk vda latency not available

VM Channels Listener::DEBUG::2021-05-26 
15:01:01,987::vmChannels::128::vds::(_handle_unconnected) Trying to connect 
fileno 95.
VM Channels Listener::DEBUG::2021-05-26 
15:01:02,988::vmChannels::128::vds::(_handle_unconnected) Trying to connect 
fileno 95.
BindingXMLRPC::ERROR::2021-05-26 
15:01:03,732::BindingXMLRPC::84::vds::(threaded_start) xml-rpc handler exception
Traceback (most recent call last):
  File "/usr/share/vdsm/BindingXMLRPC.py", line 80, in threaded_start
self.server.handle_request()
  File "/usr/lib64/python2.6/SocketServer.py", line 278, in handle_request
self._handle_request_noblock()
  File "/usr/lib64/python2.6/SocketServer.py", line 288, in 
_handle_request_noblock
request, client_address = self.get_request()
  File "/usr/lib64/python2.6/SocketServer.py", line 456, in get_request
return self.socket.accept()
  File "/usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py", line 
136, in accept
raise SSL.SSLError("%s, client %s" % (e, address[0]))
SSLError: sslv3 alert certificate unknown, client 127.0.0.1
VM Channels Listener::DEBUG::2021-05-26 
15:01:03,742::vmChannels::91::vds::(_handle_timeouts) Timeout on fileno 91.
VM Channels Listener::DEBUG::2021-05-26 
15:01:03,743::vmChannels::128::vds::(_handle_unconnected) Trying to connect 
fileno 95.
VM Channels Listener::DEBUG::2021-05-26 
15:01:04,744::vmChannels::128::vds::(_handle_unconnected) Trying to connect 
fileno 95.

So I checked disks
df -h
df: `/rhev/data-center/mnt/10.10.0.56:_vm': Input/output error
FilesystemSize  Used Avail Use% Mounted on
/dev/mapper/vg_hv3-lv_root
   50G   21G   27G  44% /
tmpfs 7.8G   20K  7.8G   1% /dev/shm
/dev/sda1 485M   68M  393M  15% /boot
/dev/mapper/vg_hv3-lv_home
   49G   12G   35G  25% /home
/dev/mapper/vg_hv3-LogVol03
  445G  355G   68G  85% /vm
hv3.RCV-wmc.local:/ISO
   50G   21G   27G  44% 
/rhev/data-center/mnt/hv3.RCV-wmc.local:_ISO
hv3.RCV-wmc.local:/vm
  445G  355G   68G  85% 
/rhev/data-center/mnt/hv3.RCV-wmc.local:_vm
10.10.0.60:/vm489G   51G  438G  11% /rhev/data-center/mnt/10.10.0.60:_vm
10.10.0.28:/bacula457G  379G   79G  83% 
/rhev/data-center/mnt/10.10.0.28:_bacula
10.10.0.28:/BACKUP_oVirt
  457G  379G   79G  83% 
/rhev/data-center/mnt/10.10.0.28:_BACKUP__oVirt

I guess that below is a real problem

/rhev/data-center/mnt/10.10.0.56:_vm': Input/output error

I still digging :)
___
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/H7Q6B7D2BWXMDXQNEMQG4ASNA6HER22P/


[ovirt-users] Re: Data Centers status Not Operational

2021-05-26 Thread Vojtech Juranek
On Tuesday, 25 May 2021 19:56:29 CEST nexp...@gmail.com wrote:
> Thank you for your time.
> 
> SSH is working in every host and I can connect to everyone.
> 
> I'm not sure Super VDSM daemon server is vdsmd service.

No, it's something little it different. I'm not sure if " VDS daemon server" 
in 3.X is the same as vdsmd. Try to start vdsmd service and check vdsm logs.

> 
> See commands and responses from HV3
> 
> systemctl
> -bash: systemctl: command not found
> 
> service --status-all
> 
> 
> abrt-ccpp hook is not installed
> abrtd (pid  2709) is running...
> abrt-dump-oops is stopped
> acpid (pid  2163) is running...
> atd (pid  2775) is running...
> auditd (pid  1903) is running...
> automount (pid  2404) is running...
> certmonger (pid  2814) is running...
> Running
> cgred is stopped
> cpuspeed is stopped
> crond (pid  2762) is running...
> cupsd (pid  2138) is running...
> dnsmasq is stopped
> # Generated by ebtables-save v1.0 on Tue May 25 18:54:05 CEST 2021
> *nat
> 
> :PREROUTING ACCEPT
> :OUTPUT ACCEPT
> :POSTROUTING ACCEPT
> :libvirt-I-vnet7 ACCEPT
> :I-vnet7-mac ACCEPT
> :I-vnet7-arp-mac ACCEPT
> :libvirt-I-vnet0 ACCEPT
> :I-vnet0-mac ACCEPT
> :I-vnet0-arp-mac ACCEPT
> :libvirt-I-vnet4 ACCEPT
> :I-vnet4-mac ACCEPT
> :I-vnet4-arp-mac ACCEPT
> :libvirt-I-vnet5 ACCEPT
> :I-vnet5-mac ACCEPT
> :I-vnet5-arp-mac ACCEPT
> :libvirt-I-vnet1 ACCEPT
> :I-vnet1-mac ACCEPT
> :I-vnet1-arp-mac ACCEPT
> :libvirt-I-vnet2 ACCEPT
> :I-vnet2-mac ACCEPT
> :I-vnet2-arp-mac ACCEPT
> :libvirt-I-vnet3 ACCEPT
> :I-vnet3-mac ACCEPT
> :I-vnet3-arp-mac ACCEPT
> 
> -A PREROUTING -i vnet7 -j libvirt-I-vnet7
> -A PREROUTING -i vnet0 -j libvirt-I-vnet0
> -A PREROUTING -i vnet4 -j libvirt-I-vnet4
> -A PREROUTING -i vnet5 -j libvirt-I-vnet5
> -A PREROUTING -i vnet1 -j libvirt-I-vnet1
> -A PREROUTING -i vnet2 -j libvirt-I-vnet2
> -A PREROUTING -i vnet3 -j libvirt-I-vnet3
> -A libvirt-I-vnet7 -j I-vnet7-mac
> -A libvirt-I-vnet7 -p ARP -j I-vnet7-arp-mac
> -A I-vnet7-mac -s 0:1a:4a:6b:89:df -j RETURN
> -A I-vnet7-mac -j DROP
> -A I-vnet7-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:df -j RETURN
> -A I-vnet7-arp-mac -j DROP
> -A libvirt-I-vnet0 -j I-vnet0-mac
> -A libvirt-I-vnet0 -p ARP -j I-vnet0-arp-mac
> -A I-vnet0-mac -s 0:1a:4a:6b:89:12 -j RETURN
> -A I-vnet0-mac -j DROP
> -A I-vnet0-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:12 -j RETURN
> -A I-vnet0-arp-mac -j DROP
> -A libvirt-I-vnet4 -j I-vnet4-mac
> -A libvirt-I-vnet4 -p ARP -j I-vnet4-arp-mac
> -A I-vnet4-mac -s 0:1a:4a:6b:89:f5 -j RETURN
> -A I-vnet4-mac -j DROP
> -A I-vnet4-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:f5 -j RETURN
> -A I-vnet4-arp-mac -j DROP
> -A libvirt-I-vnet5 -j I-vnet5-mac
> -A libvirt-I-vnet5 -p ARP -j I-vnet5-arp-mac
> -A I-vnet5-mac -s 0:1a:4a:6b:89:fe -j RETURN
> -A I-vnet5-mac -j DROP
> -A I-vnet5-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:fe -j RETURN
> -A I-vnet5-arp-mac -j DROP
> -A libvirt-I-vnet1 -j I-vnet1-mac
> -A libvirt-I-vnet1 -p ARP -j I-vnet1-arp-mac
> -A I-vnet1-mac -s 0:1a:4a:6b:89:f8 -j RETURN
> -A I-vnet1-mac -j DROP
> -A I-vnet1-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:f8 -j RETURN
> -A I-vnet1-arp-mac -j DROP
> -A libvirt-I-vnet2 -j I-vnet2-mac
> -A libvirt-I-vnet2 -p ARP -j I-vnet2-arp-mac
> -A I-vnet2-mac -s 0:1a:4a:6b:89:11 -j RETURN
> -A I-vnet2-mac -j DROP
> -A I-vnet2-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:11 -j RETURN
> -A I-vnet2-arp-mac -j DROP
> -A libvirt-I-vnet3 -j I-vnet3-mac
> -A libvirt-I-vnet3 -p ARP -j I-vnet3-arp-mac
> -A I-vnet3-mac -s 0:1a:4a:6b:89:15 -j RETURN
> -A I-vnet3-mac -j DROP
> -A I-vnet3-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:15 -j RETURN
> -A I-vnet3-arp-mac -j DROP
> 
> hald (pid  2172) is running...
> htcacheclean is stopped
> httpd (pid  11862) is running...
> Table: filter
> Chain INPUT (policy ACCEPT)
> num  target prot opt source   destination
> 1ACCEPT all  ::/0 ::/0state
> RELATED,ESTABLISHED
 2ACCEPT icmpv6::/0 ::/0
> 3ACCEPT all  ::/0 ::/0
> 4ACCEPT tcp  ::/0 ::/0state NEW
> tcp dpt:22
 5REJECT all  ::/0 ::/0 
>   reject-with icmp6-adm-prohibited 
> Chain FORWARD (policy ACCEPT)
> num  target prot opt source   destination
> 1REJECT all  ::/0 ::/0   
> reject-with icmp6-adm-prohibited
 
> Chain OUTPUT (policy ACCEPT)
> num  target prot opt source   destination
> 
> ipmievd is stopped
> Table: nat
> Chain PREROUTING (policy ACCEPT)
> num  target prot opt source   destination
> 
> Chain POSTROUTING (policy ACCEPT)
> num  target prot opt source   destination
> 
> Chain OUTPUT (policy ACCEPT)
> num  target prot opt source   destination
> 
> Table: filter
> Chain INPUT (policy ACCEPT)
> num  target prot opt source   destination
> 
> Chain FORWARD (policy

[ovirt-users] Re: Data Centers status Not Operational

2021-05-25 Thread nexpron
Thank you for your time.

SSH is working in every host and I can connect to everyone.

I'm not sure Super VDSM daemon server is vdsmd service.

See commands and responses from HV3

systemctl
-bash: systemctl: command not found

service --status-all


abrt-ccpp hook is not installed
abrtd (pid  2709) is running...
abrt-dump-oops is stopped
acpid (pid  2163) is running...
atd (pid  2775) is running...
auditd (pid  1903) is running...
automount (pid  2404) is running...
certmonger (pid  2814) is running...
Running
cgred is stopped
cpuspeed is stopped
crond (pid  2762) is running...
cupsd (pid  2138) is running...
dnsmasq is stopped
# Generated by ebtables-save v1.0 on Tue May 25 18:54:05 CEST 2021
*nat
:PREROUTING ACCEPT
:OUTPUT ACCEPT
:POSTROUTING ACCEPT
:libvirt-I-vnet7 ACCEPT
:I-vnet7-mac ACCEPT
:I-vnet7-arp-mac ACCEPT
:libvirt-I-vnet0 ACCEPT
:I-vnet0-mac ACCEPT
:I-vnet0-arp-mac ACCEPT
:libvirt-I-vnet4 ACCEPT
:I-vnet4-mac ACCEPT
:I-vnet4-arp-mac ACCEPT
:libvirt-I-vnet5 ACCEPT
:I-vnet5-mac ACCEPT
:I-vnet5-arp-mac ACCEPT
:libvirt-I-vnet1 ACCEPT
:I-vnet1-mac ACCEPT
:I-vnet1-arp-mac ACCEPT
:libvirt-I-vnet2 ACCEPT
:I-vnet2-mac ACCEPT
:I-vnet2-arp-mac ACCEPT
:libvirt-I-vnet3 ACCEPT
:I-vnet3-mac ACCEPT
:I-vnet3-arp-mac ACCEPT
-A PREROUTING -i vnet7 -j libvirt-I-vnet7
-A PREROUTING -i vnet0 -j libvirt-I-vnet0
-A PREROUTING -i vnet4 -j libvirt-I-vnet4
-A PREROUTING -i vnet5 -j libvirt-I-vnet5
-A PREROUTING -i vnet1 -j libvirt-I-vnet1
-A PREROUTING -i vnet2 -j libvirt-I-vnet2
-A PREROUTING -i vnet3 -j libvirt-I-vnet3
-A libvirt-I-vnet7 -j I-vnet7-mac
-A libvirt-I-vnet7 -p ARP -j I-vnet7-arp-mac
-A I-vnet7-mac -s 0:1a:4a:6b:89:df -j RETURN
-A I-vnet7-mac -j DROP
-A I-vnet7-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:df -j RETURN
-A I-vnet7-arp-mac -j DROP
-A libvirt-I-vnet0 -j I-vnet0-mac
-A libvirt-I-vnet0 -p ARP -j I-vnet0-arp-mac
-A I-vnet0-mac -s 0:1a:4a:6b:89:12 -j RETURN
-A I-vnet0-mac -j DROP
-A I-vnet0-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:12 -j RETURN
-A I-vnet0-arp-mac -j DROP
-A libvirt-I-vnet4 -j I-vnet4-mac
-A libvirt-I-vnet4 -p ARP -j I-vnet4-arp-mac
-A I-vnet4-mac -s 0:1a:4a:6b:89:f5 -j RETURN
-A I-vnet4-mac -j DROP
-A I-vnet4-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:f5 -j RETURN
-A I-vnet4-arp-mac -j DROP
-A libvirt-I-vnet5 -j I-vnet5-mac
-A libvirt-I-vnet5 -p ARP -j I-vnet5-arp-mac
-A I-vnet5-mac -s 0:1a:4a:6b:89:fe -j RETURN
-A I-vnet5-mac -j DROP
-A I-vnet5-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:fe -j RETURN
-A I-vnet5-arp-mac -j DROP
-A libvirt-I-vnet1 -j I-vnet1-mac
-A libvirt-I-vnet1 -p ARP -j I-vnet1-arp-mac
-A I-vnet1-mac -s 0:1a:4a:6b:89:f8 -j RETURN
-A I-vnet1-mac -j DROP
-A I-vnet1-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:f8 -j RETURN
-A I-vnet1-arp-mac -j DROP
-A libvirt-I-vnet2 -j I-vnet2-mac
-A libvirt-I-vnet2 -p ARP -j I-vnet2-arp-mac
-A I-vnet2-mac -s 0:1a:4a:6b:89:11 -j RETURN
-A I-vnet2-mac -j DROP
-A I-vnet2-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:11 -j RETURN
-A I-vnet2-arp-mac -j DROP
-A libvirt-I-vnet3 -j I-vnet3-mac
-A libvirt-I-vnet3 -p ARP -j I-vnet3-arp-mac
-A I-vnet3-mac -s 0:1a:4a:6b:89:15 -j RETURN
-A I-vnet3-mac -j DROP
-A I-vnet3-arp-mac -p ARP --arp-mac-src 0:1a:4a:6b:89:15 -j RETURN
-A I-vnet3-arp-mac -j DROP

hald (pid  2172) is running...
htcacheclean is stopped
httpd (pid  11862) is running...
Table: filter
Chain INPUT (policy ACCEPT)
num  target prot opt source   destination
1ACCEPT all  ::/0 ::/0state 
RELATED,ESTABLISHED
2ACCEPT icmpv6::/0 ::/0
3ACCEPT all  ::/0 ::/0
4ACCEPT tcp  ::/0 ::/0state NEW tcp 
dpt:22
5REJECT all  ::/0 ::/0reject-with 
icmp6-adm-prohibited

Chain FORWARD (policy ACCEPT)
num  target prot opt source   destination
1REJECT all  ::/0 ::/0reject-with 
icmp6-adm-prohibited

Chain OUTPUT (policy ACCEPT)
num  target prot opt source   destination

ipmievd is stopped
Table: nat
Chain PREROUTING (policy ACCEPT)
num  target prot opt source   destination

Chain POSTROUTING (policy ACCEPT)
num  target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
num  target prot opt source   destination

Table: filter
Chain INPUT (policy ACCEPT)
num  target prot opt source   destination

Chain FORWARD (policy ACCEPT)
num  target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
num  target prot opt source   destination

irqbalance (pid  1957) is running...
No active sessions
iscsid (pid  3083) is running...
jboss-as is running (pid 12011)
Kdump is operational
ksm is running
ksmtuned is stopped
Current ktune sysctl settings:
kernel.sched_min_granularity_ns = 1000
kernel.sched_wakeup_granularity_ns = 1500
kernel.sched_migration_cost = 500
vm.swappines

[ovirt-users] Re: Data Centers status Not Operational

2021-05-25 Thread Vojtech Juranek
Hi,

On Tuesday, 25 May 2021 16:00:13 CEST nexp...@gmail.com wrote:
> Hi everyone,
> I found 3 servers (HV1, HV2, HV3) that contains VMs at another servers room.
> These servers are hosts based on KVM.
 I logged into oVirt Engine Web
> Administration. Data Centers tab show me only one entry Name: RCV
> Storage: Shared
> Status: Not Operational
> Compability Version: 3.4 
> Description: [Empty]
> Webbrowser oVirt Engine Web Administrator show me
> oVirt Engine Version: 3.4.0-1.el6
> One VM on HV3 has stopped, Hosts tab show Non Responsive Status for every
> host (HV1-3);

If all the hosts are non-responding, the data center status is also non-
operational. Start with investigation why these hosts are down/non-responsive. 
If there are alive and you can ssh there, check is vdsmd service is running. 
If it's running, check vdsm logs (/var/log/vdsm/vdsm.log) if there are any 
error.

Also 3.4 is very old version, once you make it running, you should really 
consider to upgrade

> every VM in Virtual Machines tab  show Unknown status. 
 What
> do I'll do to change status in Data Center? How to start debug the reason?
> Last administrator leave documentation in vestigial form :) 
> DataCenter: RCV
> -->Cluster: RCV_Cluster
> >Host: HV1 node
> >Host: Hv2 node
> >Host: HV3 engine
> 
> Best regards,
> nexpron
> ___
> 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/CMC2S5HGV7JLA
> QZAE5IVFCYWNIRPRTCP/



signature.asc
Description: This is a digitally signed message part.
___
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/JXAP5UUQ3FU5UUJSBWKZBGVFENZSQ2LJ/