Migrating VM from old ovirt to a new one
by Facundo Badaracco
Hi everyone
I would like to ask you a question
I have an ovirt 4.4 which got corrupted certs and I can't access the gui.
It gives me error 500 internal when I want to access.
I have a new ovirt 4.5 on glusterfs which I would like to migrate all my
vm's to.
Is this possible? Can it be done by cli? It would save me from having to
reinstall all the vm's.
2 years, 2 months
Gluster setup for oVirt
by Jonas
Hello all
I tried to setup Gluster volumes in cockpit using the wizard. Based on
Red Hat's recommendations I wanted to put the Volume for the oVirt
Engine on a thick provisioned logical volume [1] and therefore removed
the line thinpoolname and corresponding configuration from the yml file
(see below). Unfortunately, this approach was not successful. My
solution is now to only create a data volume and manually create a thick
provisioned gluster volume manually. What would you recommend doing?
Thanks your any input :)
Regards,
Jonas
[1]:
https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infr...
hc_nodes:
hosts:
server-005.storage.int.rabe.ch:
gluster_infra_volume_groups:
- vgname: vg_tier1_01
pvname: /dev/md/raid_tier1_gluster
gluster_infra_mount_devices:
- path: /gluster_bricks/tier1-ovirt-engine-01/gb-01
lvname: lv_tier1_ovirt_engine_01
vgname: vg_tier1_01
- path: /gluster_bricks/tier1-ovirt-data-01/gb-01
lvname: lv_tier1_ovirt_data_01
vgname: vg_tier1_01
blacklist_mpath_devices:
- raid_tier1_gluster
gluster_infra_thinpools:
- vgname: vg_tier1_01
thinpoolname: lv_tier1_ovirt_data_01_tp
poolmetadatasize: 16G
gluster_infra_lv_logicalvols:
- vgname: vg_tier1_01
lvname: lv_tier1_ovirt_engine_01
lvsize: 100G
- vgname: vg_tier1_01
thinpool: lv_tier1_ovirt_data_01_tp
lvname: lv_tier1_ovirt_data_01
lvsize: 16000G
server-006.storage.int.rabe.ch:
gluster_infra_volume_groups:
- vgname: vg_tier1_01
pvname: /dev/md/raid_tier1_gluster
gluster_infra_mount_devices:
- path: /gluster_bricks/tier1-ovirt-engine-01/gb-01
lvname: lv_tier1_ovirt_engine_01
vgname: vg_tier1_01
- path: /gluster_bricks/tier1-ovirt-data-01/gb-01
lvname: lv_tier1_ovirt_data_01
vgname: vg_tier1_01
blacklist_mpath_devices:
- raid_tier1_gluster
gluster_infra_thinpools:
- vgname: vg_tier1_01
thinpoolname: lv_tier1_ovirt_data_01_tp
poolmetadatasize: 16G
gluster_infra_lv_logicalvols:
- vgname: vg_tier1_01
lvname: lv_tier1_ovirt_engine_01
lvsize: 100G
- vgname: vg_tier1_01
thinpool: lv_tier1_ovirt_data_01_tp
lvname: lv_tier1_ovirt_data_01
lvsize: 16000G
server-007.storage.int.rabe.ch:
gluster_infra_volume_groups:
- vgname: vg_tier0_01
pvname: /dev/md/raid_tier0_gluster
gluster_infra_mount_devices:
- path: /gluster_bricks/tier1-ovirt-engine-01/gb-01
lvname: lv_tier1_ovirt_engine_01
vgname: vg_tier0_01
- path: /gluster_bricks/tier1-ovirt-data-01/gb-01
lvname: lv_tier1_ovirt_data_01
vgname: vg_tier0_01
blacklist_mpath_devices:
- raid_tier0_gluster
gluster_infra_thinpools:
- vgname: vg_tier0_01
thinpoolname: lv_tier1_ovirt_data_01_tp
poolmetadatasize: 1G
gluster_infra_lv_logicalvols:
- vgname: vg_tier0_01
lvname: lv_tier1_ovirt_engine_01
lvsize: 20G
- vgname: vg_tier0_01
thinpool: lv_tier1_ovirt_data_01_tp
lvname: lv_tier1_ovirt_data_01
lvsize: 32G
vars:
gluster_infra_disktype: JBOD
gluster_infra_daling: 1024K
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:
- server-005.storage.int.rabe.ch
- server-006.storage.int.rabe.ch
- server-007.storage.int.rabe.ch
gluster_features_hci_cluster: '{{ cluster_nodes }}'
gluster_features_hci_volumes:
- volname: tier1-ovirt-engine-01
brick: /gluster_bricks/tier1-ovirt-engine-01/gb-01
arbiter: 1
- volname: tier1-ovirt-data-01
brick: /gluster_bricks/tier1-ovirt-data-01/gb-01
arbiter: 1
2 years, 2 months
static IP with OVN subnet
by ravi k
Hello,
Hope you are all doing well. We have an interesting thing going on and so wanted to share with you all for some ideas and feedback.
We configured a cluster with OVS switch and added an external network with subnet. So OVN started managing the subnet using DHCP. But here's the problem. When we add a nic with this network, an ip is assigned by DHCP. But we want an IP of our choice to be assigned. Here's what we tried.
1. We tried using the ovn-nbctl lsp-set-address like ovn-nbctl lsp-set-addresses 7840c97b-73c2-4246-a2a8-0e9e5b7f420a "56:6f:6b:54:00:ec 10.19.3.8" to update the static IP. But this does not persist a NIC unplug or a VM reboot.
So you might ask why not just try assigning a static IP and not add the external subnet. We want to use security groups. For security groups to work, the ip assigned to the NIC and the IP in the value for fixed_ips in `openstack port show` should be the same. So the same thing repeats here as well. If we use the `openstack port set` to update the fixed_ips, a NIC unplug or a VM reboot will remove the IP.
We have an internal IPAM that provides us IPs during our automated provisioning. Did anyone try this or have any ideas how to work around this? The only option seems to be just use DHCP and then update that IP in our internal IPAM tool.
Please let me know if I'm unclear and any more info is required.
Regards,
rav
2 years, 2 months
Re: Network usage for VMs not displayed
by jplorier@gmail.com
Hi, I have the same scenario with 4.0 setup
El vie, 16 de sep. de 2022 5:58 a. m., <users-request(a)ovirt.org> escribió:
> Send Users mailing list submissions to
> users(a)ovirt.org
>
> To subscribe or unsubscribe via email, send a message with subject or
> body 'help' to
> users-request(a)ovirt.org
>
> You can reach the person managing the list at
> users-owner(a)ovirt.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."Today's Topics:
>
> 1. Re: Error during deployment of ovirt-engine (Jonas)
> 2. Re: Error during deployment of ovirt-engine (Yedidyah Bar David)
> 3. Resize hosted-engine disk (Jorge Visentini)
> 4. Network usage for VMs not displayed (0%) (Ricardo Alonso)
>
>
>
> ---------- Forwarded message ----------
> From: Jonas <jonas(a)rabe.ch>
> To: Yedidyah Bar David <didi(a)redhat.com>, oVirt Users <users(a)ovirt.org>
> Cc:
> Bcc:
> Date: Thu, 15 Sep 2022 21:46:37 +0200
> Subject: [ovirt-users] Re: Error during deployment of ovirt-engine
> Ok, thanks for the info. Do you have any further information?
>
> On 9/15/22 09:11, Yedidyah Bar David wrote:
> > On Wed, Sep 14, 2022 at 11:31 PM Jonas <jonas(a)rabe.ch> wrote:
> >> Ok even after resetting the password through SSH it is not accepted on
> the web page.
> >>
> >> [root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user password-reset
> admin --password-valid-to="2222-09-14 20:07:39Z" --password="interactive:"
> --force
> >> Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
> >> Password:
> >> Reenter password:
> >> updating user admin...
> >> user updated successfully
> >>
> >> On 9/14/22 21:40, Jonas wrote:
> >>
> >> Hello all
> >>
> >> I'm trying to deploy an oVirt Engine through the cockpit interface.
> Unfortunately the deployment fails with the following error:
> > Sorry, but the cockpit hosted-engine deployment is broken. Please use
> > the CLI. Thanks.
> >
> > Best regards,
>
>
> ---------- Forwarded message ----------
> From: Yedidyah Bar David <didi(a)redhat.com>
> To: Jonas <jonas(a)rabe.ch>
> Cc: oVirt Users <users(a)ovirt.org>
> Bcc:
> Date: Thu, 15 Sep 2022 23:01:26 +0300
> Subject: [ovirt-users] Re: Error during deployment of ovirt-engine
> On Thu, Sep 15, 2022 at 10:46 PM Jonas <jonas(a)rabe.ch> wrote:
> >
> > Ok, thanks for the info. Do you have any further information?
>
> Not sure what you mean. How to deploy HE using the CLI? Here:
>
>
> https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_eng...
>
> Best regards,
>
> >
> > On 9/15/22 09:11, Yedidyah Bar David wrote:
> > > On Wed, Sep 14, 2022 at 11:31 PM Jonas <jonas(a)rabe.ch> wrote:
> > >> Ok even after resetting the password through SSH it is not accepted
> on the web page.
> > >>
> > >> [root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user password-reset
> admin --password-valid-to="2222-09-14 20:07:39Z" --password="interactive:"
> --force
> > >> Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
> > >> Password:
> > >> Reenter password:
> > >> updating user admin...
> > >> user updated successfully
> > >>
> > >> On 9/14/22 21:40, Jonas wrote:
> > >>
> > >> Hello all
> > >>
> > >> I'm trying to deploy an oVirt Engine through the cockpit interface.
> Unfortunately the deployment fails with the following error:
> > > Sorry, but the cockpit hosted-engine deployment is broken. Please use
> > > the CLI. Thanks.
> > >
> > > Best regards,
> >
>
>
> --
> Didi
>
>
>
> ---------- Forwarded message ----------
> From: Jorge Visentini <jorgevisentini(a)gmail.com>
> To: users <users(a)ovirt.org>
> Cc:
> Bcc:
> Date: Fri, 16 Sep 2022 00:53:15 -0300
> Subject: [ovirt-users] Resize hosted-engine disk
> Hi all.
> Is it possible to resize the disk of the HostedEngine VM?
> I resized the LUN on Storage, but I can't resize the disk/LVM.
>
> How is it possible to resize the disk?
>
> All the best!
> --
> Att,
> Jorge Visentini
> +55 55 98432-9868
>
>
>
> ---------- Forwarded message ----------
> From: Ricardo Alonso <ricardoalonsos(a)gmail.com>
> To: users <users(a)ovirt.org>
> Cc:
> Bcc:
> Date: Fri, 16 Sep 2022 09:57:48 +0100
> Subject: [ovirt-users] Network usage for VMs not displayed (0%)
> Hello guys,
>
> I notice for several weeks that the network usage is displaying 0% for all
> VMs. I notice an old message (
> https://lists.ovirt.org/archives/list/users@ovirt.org/thread/NNK6ERGAWDGI...)
> but still seems to have no solution.
>
> Also on Grafana, no data is displayed. Has anyone noticed this issue? I
> can open a bug to verify.
>
> Best regards,
> --
> Ricardo Alonso
> ricardoalonsos(a)gmail.com
> +44 7340-546916
> Skype: ricardoalonso
> GPG Fingerprint: FC7E 4A5F B7A4
> 87F4 6876 5325 D95F BFBF B7AC EE54
> _______________________________________________
> 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/
>
2 years, 2 months
Resize hosted-engine disk
by Jorge Visentini
Hi all.
Is it possible to resize the disk of the HostedEngine VM?
I resized the LUN on Storage, but I can't resize the disk/LVM.
How is it possible to resize the disk?
All the best!
--
Att,
Jorge Visentini
+55 55 98432-9868
2 years, 2 months
OLVM gets error "VDSM hostname command AddImageTicketVDS failed: Image daemon is unsupported: ()" when uploading iso file
by Raul Diaz
Hello guys.
I'm new with OLVM and KVM. Right now I have installed a fresh OL8 with kvm in an HPE Superdome Flex. And I have installed OLVM in a VMware VM, but when I want to upload an iso file to create a VM in the KVM I get an error "VDSM hostname command AddImageTicketVDS failed: Image daemon is unsupported: ()"
This is my environment:
KVM - OL8.6; qemu-kvm-6.2.0-11 HPE Superdome Flex
OLVM - OL8.6; ovirt-engine-4.4.10.7-1.0.10.el8.noarch, VMware Virtual Machine.
Best regards.
2 years, 2 months
Ovirt version 4.4.9.5-1.el8 vm doesn't start after power outage
by florianvanoudgaarden@gmail.com
After we had a power outrage 2 of my 7 vm's doesn't start anymore.
When i look at the logfile while starting i get the following errors in the engine.log
2022-09-14 15:18:29,078+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-138161) [40d05c63] EVENT_ID: IRS_BROKER_COMMAND_FAILURE(10,803), VDSM command GetVmLeaseInfoVDS failed: Command ['/usr/bin/dd', 'if=/rhev/data-center/mnt/_data_images/d036345b-be92-453d-a822-c08977fe3982/dom_md/xleases', 'iflag=direct,skip_bytes', 'skip=1048576', 'bs=253952', 'count=1'] failed with rc=1 out='[suppressed]' err=b"/usr/bin/dd: failed to open '/rhev/data-center/mnt/_data_images/d036345b-be92-453d-a822-c08977fe3982/dom_md/xleases': No such file or directory\n"
2022-09-14 15:18:29,079+02 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (EE-ManagedThreadFactory-engine-Thread-138161) [40d05c63] IrsBroker::Failed::GetVmLeaseInfoVDS: IRSGenericException: IRSErrorException: Failed to GetVmLeaseInfoVDS, error = Command ['/usr/bin/dd', 'if=/rhev/data-center/mnt/_data_images/d036345b-be92-453d-a822-c08977fe3982/dom_md/xleases', 'iflag=direct,skip_bytes', 'skip=1048576', 'bs=253952', 'count=1'] failed with rc=1 out='[suppressed]' err=b"/usr/bin/dd: failed to open '/rhev/data-center/mnt/_data_images/d036345b-be92-453d-a822-c08977fe3982/dom_md/xleases': No such file or directory\n", code = 100
2022-09-14 15:18:29,085+02 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmLeaseInfoVDSCommand] (EE-ManagedThreadFactory-engine-Thread-138161) [40d05c63] FINISH, GetVmLeaseInfoVDSCommand, return: , log id: 7d38bb40
2022-09-14 15:18:29,085+02 ERROR [org.ovirt.engine.core.bll.storage.lease.GetVmLeaseInfoCommand] (EE-ManagedThreadFactory-engine-Thread-138161) [40d05c63] Failure in getting lease info for VM '831e1a9d-2f87-48b5-af69-93d13f24d95d' from storage domains 'd036345b-be92-453d-a822-c08977fe3982', message: EngineException: org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException: IRSGenericException: IRSErrorException: Failed to GetVmLeaseInfoVDS, error = Command ['/usr/bin/dd', 'if=/rhev/data-center/mnt/_data_images/d036345b-be92-453d-a822-c08977fe3982/dom_md/xleases', 'iflag=direct,skip_bytes', 'skip=1048576', 'bs=253952', 'count=1'] failed with rc=1 out='[suppressed]' err=b"/usr/bin/dd: failed to open '/rhev/data-center/mnt/_data_images/d036345b-be92-453d-a822-c08977fe3982/dom_md/xleases': No such file or directory\n", code = 100 (Failed with error GeneralException and code 100)
What noticed is the "No such file or directory" message so did a manual look at the "dom_md" directory and i notice the file "xleases" doesn't exist.
Output from commandline listing
[root@ovirt dom_md]# ll
totaal 4
-rw-rw----. 1 vdsm kvm 0 14 jan 2022 ids
-rw-rw----. 1 vdsm kvm 16777216 14 jan 2022 inbox
-rw-rw----. 1 vdsm kvm 0 14 jan 2022 leases
-rw-r--r--. 1 vdsm kvm 481 14 jan 2022 metadata
-rw-rw----. 1 vdsm kvm 16777216 14 jan 2022 outbox
[root@ovirt dom_md]# pwd
/rhev/data-center/mnt/_data_images/d036345b-be92-453d-a822-c08977fe3982/dom_md
What can I do to get the 2 vm's started again?
2 years, 2 months