noVNC console error : Something went wrong, connection is closed
by dvx.mellin@gmail.com
Hello everyone,
Context :
oVirt 4.4.9.3-1.el8
glusterfs 8.6
Self-hosted engine
Problem:
Since I update my certificates (with engine-setup) because of the warning that my certs will expire soon, I can't open the noVNC console anymore.
In the logs on engine, I have these :
in /var/log/messages :
ovsdb-server[510110]: ovs|04628|jsonrpc|WARN|ssl:[::ffff:<ip_node_1>]:51214: receive error: Protocol error
ovsdb-server[510110]: ovs|04629|reconnect|WARN|ssl:[::ffff:<ip_node_1>]:51214: connection dropped (Protocol error)
journal[516217]: 2022-12-21 11:31:27,800+0100 ovirt-websocket-proxy: INFO msg:871 handler exception: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:897)
ovirt-websocket-proxy.py[509812]: ovirt-websocket-proxy[516217] INFO msg:871 handler exception: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:897)
ovsdb-server[510110]: ovs|04632|stream_ssl|WARN|SSL_accept: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed
in /var/log/openvswitch/ovsdb-server-sb.log :
2022-12-21T10:31:22.540Z|04626|stream_ssl|WARN|SSL_accept: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed
2022-12-21T10:31:22.541Z|04627|jsonrpc|WARN|Dropped 1 log messages in last 8 seconds (most recently, 8 seconds ago) due to excessive rate
2022-12-21T10:31:22.541Z|04628|jsonrpc|WARN|ssl:[::ffff:<ip_node_1>]:51214: receive error: Protocol error
2022-12-21T10:31:22.542Z|04629|reconnect|WARN|ssl:[::ffff:<ip_node_1>]:51214: connection dropped (Protocol error)
I've tried these commands (found here : https://access.redhat.com/solutions/6877501) :
/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh --name="ovirt-provider-ovn" --password=mypass --subject="<subject_engine>" --keep-key
/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh --name="ovn-ndb" --password=mypass --subject="<subject_engine>" --keep-key
/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh --name="ovn-sdb" --password=mypass --subject="<subject_engine>" --keep-key
systemctl restart ovirt-provider-ovn.service
systemctl restart ovn-northd.service
Still not work, so I've seen that some certificates was still not renewed :
/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh --name="vmconsole-proxy-helper" --password=mypass --subject="<subject_engine>" --keep-key
/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh --name="vmconsole-proxy-host" --password=mypass --subject="<subject_engine>" --keep-key
/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh --name="vmconsole-proxy-user" --password=mypass --subject="<subject_engine>" --keep-key
And restart every ovirt services.
But it still does not work better.
I don't see any other unvalid certificates in /etc/pki/ovirt-engine/certs/, so I don't know which certificate is invalid for ovsdb.
Thanks for any advice.
Best regards,
Michael
2 years, 2 months
Re: Expand the disk space of the hosting engine
by ziyi Liu
Thank you very much, I know the operation steps, but there is still one point that I don’t quite understand, fdisk -l only shows 50G, the actual disk allocation has 100G, how can I display the remaining 50G.
The second question is that if the allocated 100G is also full, how should I expand it? I can’t expand it using wei ui
2 years, 2 months
Re: Expand the disk space of the hosting engine
by Jorge Visentini
Hi guys.
So... the problem is that we can't extend the virtual disk on oVirt... "*Cannot
edit Virtual Disk. The operation is not supported for HOSTED_ENGINE disks.*"
In my case I also created a 100GB Domain Storage, but the disk is only 58GB
and I can't increase it...
Em qui., 29 de dez. de 2022 às 18:53, Matthew.Stier(a)fujitsu.com <
Matthew.Stier(a)fujitsu.com> escreveu:
> If you used the default image for your self-hosted-engine, it will create
> the disk of the size you specified, (50GB) but only allocate the space it
> actually requires.
>
> This means the remaining space on the allocated disk, is there, unused.
>
> Since it setup with LVM, you can use 'fdisk' to create a partition of that
> unused space.
>
> Use pvcreate to add that partition to LVM,
>
> Use vgextend to extend the appropriate volume group
>
> Use lvextend to extend the appropriate logical volume, and file-system.
>
>
>
> -----Original Message-----
> From: ziyi Liu <lzy19930211(a)gmail.com>
> Sent: Thursday, December 29, 2022 10:13 AM
> To: users(a)ovirt.org
> Subject: [ovirt-users] Expand the disk space of the hosting engine
>
> Now my hosting engine /var directory is full, and the 15G free space is
> fully occupied. When creating the hosting engine, I use 100G, but actually
> only use 50G. What can I do to make /var bigger?
> disk expansion
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)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/V7UKBE5SJPH...
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)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/XKZDIQR77TF...
>
--
Att,
Jorge Visentini
+55 55 98432-9868
2 years, 2 months
Split hosts in a new engine - oVirt 4.4.5
by francesco@shellrent.com
Hello everyone!
We have less than 500 hosts and ~800 vms handled by our engine and we could benefit from deploy another engine for splitting the workload (in ex.:we perform daily and weekly backup via python script, scheduled snapshot (dell+add). Is there any way for migrating/moving a host from an engine to a new one (same version, ofc)?
I thought about export a backup and then import but then I'll have to "select" whihch host to import and remove all the structure (DC/cluster/host/storoge) from the old one... a bit tricky and dangerous, in my opinion.
Anyone that has already done this?
Thank you for your time and happy holidays!
Francesco
2 years, 2 months
Expand the disk space of the hosting engine
by ziyi Liu
Now my hosting engine /var directory is full, and the 15G free space is fully occupied. When creating the hosting engine, I use 100G, but actually only use 50G. What can I do to make /var bigger?
disk expansion
2 years, 2 months
USB Redirection - Auto choose devices
by jamie.briscoe@johnstonnc.com
Is there a way to auto choose which devices get redirected the the guest? I have a Windows 2022 VM and I can connect to is using the VM portal and Spice (virt-viewer) and it opens fullscreen perfectly. Perfect VDI solution... Except the fact that I have to click in the top menu and choose my usb devices every time I connect to the vm... I need it to save my selections... Any way to do this?
2 years, 2 months
Network Address Change
by Paul.LKW
Hi All:
I just has a case, I need to change the oVirt host and engine IP address
due to data center decommission I checked in the hosted-engine host
there are some files I could change ;
in ovirt-hosted-engine/hosted-engine.conf
ca_subject="O=simple.com, CN=1.2.3.4"
gateway=1.2.3.254
and of course I need to change the ovirtmgmt interface IP too, I think
just change the above line could do the tick, but where could I change
the other host IP in the cluster ?
I think I have to be lost all the host as once changed the hosted-engine
host IP as it is in diff. sub net.
Does there any command line tools could do that or someone has such
experience could share?
Best Regards,
Paul.LKW
2 years, 2 months
VM stuck reading and writing to disk
by Murilo Morais
Good morning people. I'm experiencing a weird problem.
I have a specific VM that the IO simply crashes.
This VM, during the backup period, executes mysqldump and tries to
compress, after a long period of compacting the JBD2 process appears using
100% of the CPU and also of WA (Wait in the TOP command). Numerous other
VMs perform the same process but only this one remains in this state. When
JBD2 appears, it is necessary to perform a forced reboot, because it stops
practically everything.
I'm using CephFS as Storage Backend. In the VM I can get rates of at least
600 Megs, I can generate gigs and more gigs of data without any problem.
The VMs are using Virtio instead of Virtio-blk.
Hosts are interconnected on 10G SFP+ interfaces, Storages on 40G interfaces.
I believe that the problem is not the Storage, as this behavior does not
exist in other VMs.
What I find strange is that JBD2 goes up and spikes at 100%.
What could be happening? Could it be something in the Guest itself?
2 years, 2 months
Ovirt-node don't communicate with qemu-agent
by Fernando Hallberg
Hi all,
I reinstalled one of the ovirt-nodes, with ovirt-4.5.4, and after the
reinstallation the agents of the vms connected to this node cannot
communicate with the ovirt-engine.
ovirt-engine 4.5.4
any idea?
VMs work perfectly, but the agent doesn't communicate.
Best regards,
Fernando Hallberg
2 years, 2 months