Ovirt OVN help needed
by Strahil Nikolov
Hi Community,
can someone hint me how to get rid of some ports? I just want to 'reset' my ovn setup.
Here is what I have so far:
[root@ovirt1 openvswitch]# ovs-vsctl list interface
_uuid : be89c214-10e4-4a97-a9eb-1b82bc433a24
admin_state : up
bfd : {}
bfd_status : {}
cfm_fault : []
cfm_fault_status : []
cfm_flap_count : []
cfm_health : []
cfm_mpid : []
cfm_remote_mpids : []
cfm_remote_opstate : []
duplex : []
error : []
external_ids : {}
ifindex : 35
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current : []
link_resets : 0
link_speed : []
link_state : up
lldp : {}
mac : []
mac_in_use : "7a:7d:1d:a7:43:1d"
mtu : []
mtu_request : []
name : "ovn-25cc77-0"
ofport : 6
ofport_request : []
options : {csum="true", key=flow, remote_ip="192.168.1.64"}
other_config : {}
statistics : {rx_bytes=0, rx_packets=0, tx_bytes=0, tx_packets=0}
status : {tunnel_egress_iface=ovirtmgmt, tunnel_egress_iface_carrier=up}
type : geneve
_uuid : ec6a6688-e5d6-4346-ac47-ece1b8379440
admin_state : down
bfd : {}
bfd_status : {}
cfm_fault : []
cfm_fault_status : []
cfm_flap_count : []
cfm_health : []
cfm_mpid : []
cfm_remote_mpids : []
cfm_remote_opstate : []
duplex : []
error : []
external_ids : {}
ifindex : 13
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current : []
link_resets : 0
link_speed : []
link_state : down
lldp : {}
mac : []
mac_in_use : "66:36:dd:63:dc:48"
mtu : 1500
mtu_request : []
name : br-int
ofport : 65534
ofport_request : []
options : {}
other_config : {}
statistics : {collisions=0, rx_bytes=0, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=0, tx_bytes=0, tx_dropped=0, tx_errors=0, tx_packets=0}
status : {driver_name=openvswitch}
type : internal
_uuid : 1e511b4d-f7c2-499f-bd8c-07236e7bb7af
admin_state : up
bfd : {}
bfd_status : {}
cfm_fault : []
cfm_fault_status : []
cfm_flap_count : []
cfm_health : []
cfm_mpid : []
cfm_remote_mpids : []
cfm_remote_opstate : []
duplex : []
error : []
external_ids : {}
ifindex : 35
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current : []
link_resets : 0
link_speed : []
link_state : up
lldp : {}
mac : []
mac_in_use : "1a:85:d1:d9:e2:a5"
mtu : []
mtu_request : []
name : "ovn-566849-0"
ofport : 5
ofport_request : []
options : {csum="true", key=flow, remote_ip="192.168.1.41"}
other_config : {}
statistics : {rx_bytes=0, rx_packets=0, tx_bytes=0, tx_packets=0}
status : {tunnel_egress_iface=ovirtmgmt, tunnel_egress_iface_carrier=up}
type : geneve
When I try to remove a port - it never ends (just hanging):
[root@ovirt1 openvswitch]# ovs-vsctl --dry-run del-port br-int ovn-25cc77-0
In journal I see only this:дек 12 04:13:57 ovirt1.localdomain ovs-vsctl[22030]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --dry-run del-port br-int ovn-25cc77-0
The stranger part to me is the log output:
[root@ovirt1 openvswitch]# grep ovn-25cc77-0 /var/log/openvswitch/*.log
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:26:28.642Z|00032|bridge|INFO|bridge br-int: added interface ovn-25cc77-0 on port 14
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:45:15.646Z|00113|bridge|INFO|bridge br-int: deleted interface ovn-25cc77-0 on port 14
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:45:15.861Z|00116|bridge|INFO|bridge br-int: added interface ovn-25cc77-0 on port 2
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:50:36.678Z|00118|bridge|INFO|bridge br-int: deleted interface ovn-25cc77-0 on port 2
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:52:31.180Z|00121|bridge|INFO|bridge br-int: added interface ovn-25cc77-0 on port 3
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:55:09.734Z|00125|bridge|INFO|bridge br-int: deleted interface ovn-25cc77-0 on port 3
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:58:15.138Z|00127|bridge|INFO|bridge br-int: added interface ovn-25cc77-0 on port 6
I'm also attaching the verbose output of the dryrun.
Thanks in advance.
Best Regards,Strahil Nikolov
5 years
ovirt 4.3.7 geo-replication not working
by adrianquintero@gmail.com
Hi,
I am trying to setup geo-replication between 2 sites, but I keep getting:
[root@host1 ~]# gluster vol geo-rep geo-master slave1.mydomain2.com::geo-slave status
MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
host1.mydomain1.com geo-master /gluster_bricks/geo-master/geo-master root slave1.mydomain2.com::geo-slave N/A Faulty N/A N/A
host2.mydomain2.com geo-master /gluster_bricks/geo-master/geo-master root slave1.mydomain2.com::geo-slave N/A Faulty N/A N/A
vmm11.virt.iad3p geo-master /gluster_bricks/geo-master/geo-master root slave1.mydomain2.com::geo-slave N/A Faulty N/A N/A
oVirt GUI has an icon in the volume that says "volume data is being geo-replicated" but we know that is not the case
From the logs i can see:
[2019-12-11 19:57:48.441557] I [fuse-bridge.c:6810:fini] 0-fuse: Unmounting '/tmp/gsyncd-aux-mount-5WaCmt'.
[2019-12-11 19:57:48.441578] I [fuse-bridge.c:6815:fini] 0-fuse: Closing fuse connection to '/tmp/gsyncd-aux-mount-5WaCmt'
and
[2019-12-11 19:45:14.785758] I [monitor(monitor):278:monitor] Monitor: worker died in startup phase brick=/gluster_bricks/geo-master/geo-master
thoughts?
thanks,
Adrian
5 years
Re: 3node HCI fails when HostedEngineLocal is trying to add additional Gluster members
by Strahil
Most probably the vdsm or supervdsm's PreExec task is doing it (they got multiple, so you can run manually till you find it out).
Just try the following:
systemctl stop vdsmd supervdsmd
systemctl start supervdsmd
Check for certs
systemctl start vdsmd
Keep in mind that that the chain of events (at least for me is):
1. VG activation
2. VDO activation
3. Gluster brick is mounted (I use systemd service due to deps between vdo, gluster brick and glusterd)
4. Glusterd and libvirt are started
5. Sanlock is started
6. Supervdsm
7. Vdsm
If this is a host that will host HostedEngine VM:
8. Ovirt-ha-broker
9. Ovirt-ha-agent
After cleanup, did you reboot?
Best Regards,
Strahil NikolovOn Dec 4, 2019 17:14, thomas(a)hoberg.net wrote:
>
> After spending another couple of hours trying to track down the problem, I have found that the "lost connection" seems due to KVM shutting down, because it cannot find the certificates for the Spice and VNC connections in /etc/pki/vdsm/*, where 'ovirt-hosted-engine-cleanup' deleted them.
>
> So now I wonder: Who is supposed to (re-)generated them afterwards?
>
> Assuming that it was a much earlier step I proceeded to completely undo the deployment, get rid of the Gluster setup etc. and start from the very beginning, only to find that that didn't change a thing: It still missed those certificates....
>
> ...while something or someone *did* generated them when I tried a distinct and new set of nodes for counter-testing..
>
> That setup failed with an Ansible error (reported separately), but I have now grown afraid of using 'ovirt-hosted-engine-cleanup' when I don't know how to get the ciphers/keys for /etc/pki/vsdm/{spice|vnc} regenerated...
>
> Can anyone shed some light into this darkness?
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z7AFFFU6KMD...
5 years
CPU Type compatibility matrix
by Gianluca Cecchi
Hello,
In my case I currently have a cluster with hosts with cpu Intel E5-2680 v4
(each socket with 14 cores) and their Cluster is set as "Intel Broadwell
Family" and I would like to add in the same oVirt Cluster two more hosts
with Intel E5-2640 v4 cpus (each socket 10 cores) that should be the same
CPU Family Type.
Is it true?
Is there a sort of matrix where one could compare and match?
Thanks in advance,
Gianluca
5 years
Gluster set up fails - Nearly there I think...
by rob.downer@orbitalsystems.co.uk
Gluster fails with
vdo: ERROR - Device /dev/sdb excluded by a filter.\n",
however I have run
[root@ovirt1 ~]# vdo create --name=vdo1 --device=/dev/sdb --force
Creating VDO vdo1
Starting VDO vdo1
Starting compression on VDO vdo1
VDO instance 1 volume is ready at /dev/mapper/vdo1
[root@ovirt1 ~]#
there are no filters in lvm.conf
I have run
wipefs -a /dev/sdb —force
on all hosts before start
5 years
update from 4.2 to 4.3
by Enrico Becchetti
Dear All.
my engine running in a virtual machine Centos 7.6.1810 and ovirt release
is 4.2.8.2-1.el7
my hypervisors are Centos 7.6.1810 with vdsm 4.20.46-1.el7, allof them
are ovirt-4.2 repository.
Now I need to update to the last 4.3 any suggestions ?
Thanks a lot
Best Regards
Enrico
--
_______________________________________________________________________
Enrico Becchetti Servizio di Calcolo e Reti
Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica 06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchetti<at>pg.infn.it
______________________________________________________________________
5 years
katello-host-tools-3.5.1 and Red Hat Satellite 6.4
by Matthias Leopold
Hi,
I'm trying to register hosts running CentOS 7.6 and oVirt 4.3.5 to a Red
Hat Satellite 6.4 server. The oVirt hosts have katello-host-tools-3.5.1
packages from oVirt repos, which seem to be too new for the Red Hat
Satellite 6.4 server, Satellite says:
Errata:
Could not calculate errata status, ensure host is registered and the
katello-host-tools package is installed
Is there a way to get around this?
Downgrade katello-host-tools? -> is this OK for oVirt?
Upgrade Red Hat Satellite? -> server not under my control...
Is there a compatibility matrix for katello-host-tools and Red Hat
Satellite versions?
I'm new to this topic....
thx
Matthias
5 years
Can't access Storage > Volumes through the UI.
by Valentin Bajrami
Hello everyone,
Recently, I upgraded ovirt-engine from 4.2.5.3-1.el7 to 4.3.6.7-1.el7
but going to Storage > Volumes nothing seems to happen. Volumes does
not open up.
The error I see in the debugger mode (firefox) is as follows:
org.ovirt.engine.ui.uicompat.EnumTranslator WARNING: Missing Enum
resource 'V5'. Cannot find constant 'StorageFormatType___V5'; expecting
a method name. There is also a bug here:
https://bugzilla.redhat.com/show_bug.cgi?id=1759102
Anyone any diea?
--
Met vriendelijke groeten / Kind regards,
Valentin Bajrami
Target Holding
5 years