Backup to tape
by duparchy@esrf.fr
Hi,
Part of our Disaster Recovery Plan we do tape backup.
Our previous infrastructure was Oracle VM and VMs fisk were files (.img) we could apply filters to our tar and backup to tape only required files.
Now preparing the migration to Oracle flavor of oVirt (OLVM).
VMs disks are LVM partitions, within an iSCSI LUNs.
I've tested "dd" to backup the entire iSCSI LUN to the tape. Seems OK ,providing the right block size we achieve reasonable performances.
Though I don't quite see how to have that granular backup we had, in a simple manner, which a goal too.
Although there is compression at the LTO level, the dd conv=sparse parameter may speed-up things. To be tested.
I'm just wondering if conv=sparse may breaks things at the LVM / qcow2 containers ?
2 years, 7 months
Impossible to move disk after a previous disk move failed
by James Wadsworth
This is the log of when it fails
2021-08-23 21:24:10,667+0200 WARN (tasks/0) [storage.LVM] Command with specific filter failed or returned no data, retrying with a wider filter: LVM command failed: 'cmd=[\'/sbin/lvm\', \'lvcreate\', \'--config\', \'devices { preferred_names=["^/dev/mapper/"] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter=["a|^/dev/mapper/36001405299f83b19569473f9c580660c$|", "r|.*|"] hints="none" obtain_device_list_from_udev=0 } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 use_lvmetad=0 use_lvmpolld=1 } backup { retain_min=50 retain_days=0 }\', \'--autobackup\', \'n\', \'--contiguous\', \'n\', \'--size\', \'40960m\', \'--wipesignatures\', \'n\', \'--addtag\', \'OVIRT_VOL_INITIALIZING\', \'--name\', \'432ceb20-efb7-4a40-8431-1b5c825a6168\', \'c23a5bef-48e0-46c7-9d5b-93c97f0240c0\'] rc=5 out=[] err=[\' Logical Volume "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']' (l
vm:534)
2021-08-23 21:24:10,859+0200 WARN (tasks/0) [storage.LVM] All 2 tries have failed: LVM command failed: 'cmd=[\'/sbin/lvm\', \'lvcreate\', \'--config\', \'devices { preferred_names=["^/dev/mapper/"] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter=["a|^/dev/mapper/36001405299f83b19569473f9c580660c$|^/dev/mapper/36001405cdf35411dd040d4121d9326d1$|^/dev/mapper/36001405df393063de6f0d4451d8a61d3$|", "r|.*|"] hints="none" obtain_device_list_from_udev=0 } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 use_lvmetad=0 use_lvmpolld=1 } backup { retain_min=50 retain_days=0 }\', \'--autobackup\', \'n\', \'--contiguous\', \'n\', \'--size\', \'40960m\', \'--wipesignatures\', \'n\', \'--addtag\', \'OVIRT_VOL_INITIALIZING\', \'--name\', \'432ceb20-efb7-4a40-8431-1b5c825a6168\', \'c23a5bef-48e0-46c7-9d5b-93c97f0240c0\'] rc=5 out=[] err=[\' Logical Volume "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group "c23a5bef-4
8e0-46c7-9d5b-93c97f0240c0"\']' (lvm:561)
2021-08-23 21:24:10,859+0200 ERROR (tasks/0) [storage.Volume] Failed to create volume /rhev/data-center/mnt/blockSD/c23a5bef-48e0-46c7-9d5b-93c97f0240c0/images/2172a4ac-6992-4cc2-be1b-6b9290bc9798/432ceb20-efb7-4a40-8431-1b5c825a6168: Cannot create Logical Volume: 'vgname=c23a5bef-48e0-46c7-9d5b-93c97f0240c0 lvname=432ceb20-efb7-4a40-8431-1b5c825a6168 err=[\' Logical Volume "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']' (volume:1257)
2021-08-23 21:24:10,860+0200 ERROR (tasks/0) [storage.Volume] Unexpected error (volume:1293)
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/storage/volume.py", line 1254, in create
add_bitmaps=add_bitmaps)
File "/usr/lib/python3.6/site-packages/vdsm/storage/blockVolume.py", line 508, in _create
initialTags=(sc.TAG_VOL_UNINIT,))
File "/usr/lib/python3.6/site-packages/vdsm/storage/lvm.py", line 1633, in createLV
raise se.CannotCreateLogicalVolume(vgName, lvName, err)
vdsm.storage.exception.CannotCreateLogicalVolume: Cannot create Logical Volume: 'vgname=c23a5bef-48e0-46c7-9d5b-93c97f0240c0 lvname=432ceb20-efb7-4a40-8431-1b5c825a6168 err=[\' Logical Volume "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']'
2021-08-23 21:24:10,860+0200 ERROR (tasks/0) [storage.TaskManager.Task] (Task='55a4e8dc-9408-4969-b0ba-b9a556bccba1') Unexpected error (task:877)
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/storage/task.py", line 884, in _run
return fn(*args, **kargs)
File "/usr/lib/python3.6/site-packages/vdsm/storage/task.py", line 350, in run
return self.cmd(*self.argslist, **self.argsdict)
File "/usr/lib/python3.6/site-packages/vdsm/storage/securable.py", line 79, in wrapper
return method(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vdsm/storage/sp.py", line 1945, in createVolume
initial_size=initialSize, add_bitmaps=addBitmaps)
File "/usr/lib/python3.6/site-packages/vdsm/storage/sd.py", line 1216, in createVolume
initial_size=initial_size, add_bitmaps=add_bitmaps)
File "/usr/lib/python3.6/site-packages/vdsm/storage/volume.py", line 1254, in create
add_bitmaps=add_bitmaps)
File "/usr/lib/python3.6/site-packages/vdsm/storage/blockVolume.py", line 508, in _create
initialTags=(sc.TAG_VOL_UNINIT,))
File "/usr/lib/python3.6/site-packages/vdsm/storage/lvm.py", line 1633, in createLV
raise se.CannotCreateLogicalVolume(vgName, lvName, err)
vdsm.storage.exception.CannotCreateLogicalVolume: Cannot create Logical Volume: 'vgname=c23a5bef-48e0-46c7-9d5b-93c97f0240c0 lvname=432ceb20-efb7-4a40-8431-1b5c825a6168 err=[\' Logical Volume "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']'
The logical volume it is trying to create already exists in the volume group. Can anyone help me get out of this situation?
Thanks, James
2 years, 7 months
Re: [External] : Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?
by Tommy Sway
Thank you!
From: Marcos Sungaila <marcos.sungaila(a)oracle.com>
Sent: Monday, August 23, 2021 11:39 PM
To: Tommy Sway <sz_cuitao(a)163.com>; 'wodel youchi' <wodel.youchi(a)gmail.com>
Cc: 'users' <users(a)ovirt.org>
Subject: RE: [ovirt-users] Re: [External] : Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?
Tommy,
I remember I used the doc from Debian page as a starting point and adapted to Fedora.
I deactivated the NetworkManager on the WLAN interface and prepared many commands to add to rc.local.
I remember I had issues with routing when using NAT network (it was a KVM host only, not an oVirt instance) despite it woked fine with bridge connections.
I will look if I have a copy in my old backups. It was a long time ago.
Marcos
From: Tommy Sway <sz_cuitao(a)163.com <mailto:sz_cuitao@163.com> >
Sent: segunda-feira, 23 de agosto de 2021 12:05
To: Marcos Sungaila <marcos.sungaila(a)oracle.com <mailto:marcos.sungaila@oracle.com> >; 'wodel youchi' <wodel.youchi(a)gmail.com <mailto:wodel.youchi@gmail.com> >
Cc: 'users' <users(a)ovirt.org <mailto:users@ovirt.org> >
Subject: [ovirt-users] Re: [External] : Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?
Thank you!
Could you give me some guide doc ?
Moreover, my use environment is only for testing functions and does not involve security issues. I just want to make full use of physical resources.
From: users-bounces(a)ovirt.org <mailto:users-bounces@ovirt.org> <users-bounces(a)ovirt.org <mailto:users-bounces@ovirt.org> > On Behalf Of Marcos Sungaila
Sent: Monday, August 23, 2021 9:13 PM
To: wodel youchi <wodel.youchi(a)gmail.com <mailto:wodel.youchi@gmail.com> >; Tommy Sway <sz_cuitao(a)163.com <mailto:sz_cuitao@163.com> >
Cc: users <users(a)ovirt.org <mailto:users@ovirt.org> >
Subject: [ovirt-users] Re: [External] : Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?
Hi Tommy,
Two comments for your appreciation:
1st: Technically, it is possible. You can configure your wireless network as a bridge and use it as you wish. I did it in my laptop a long time ago to test KVM instances.
2nd: Taking security in focus, it is not a recommendation to use wireless cards in servers. Wireless connections can be easily attacked since there is no need for someone to have logical access to your server.
Regards,
Marcos
From: wodel youchi <wodel.youchi(a)gmail.com <mailto:wodel.youchi@gmail.com> >
Sent: domingo, 22 de agosto de 2021 07:13
To: Tommy Sway <sz_cuitao(a)163.com <mailto:sz_cuitao@163.com> >
Cc: users <users(a)ovirt.org <mailto:users@ovirt.org> >
Subject: [External] : [ovirt-users] Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?
Hi,
In my little experience, no you can't, I tried that a while ago it didn't work, there is some old tutorial on Debian but it didn't work for me.
May be what you can do is share you wireless connexion with your wired connexion (where you can create your bridge). And play with the firewall to expose the ovirt webadmin-ui to your external network.
Regards.
Le dim. 22 août 2021 à 07:18, Tommy Sway <sz_cuitao(a)163.com <mailto:sz_cuitao@163.com> > a écrit :
Thanks!
_______________________________________________
Users mailing list -- users(a)ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-leave(a)ovirt.org <mailto:users-leave@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html <https://urldefense.com/v3/__https:/www.ovirt.org/privacy-policy.html__;!!...>
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://urldefense.com/v3/__https:/www.ovirt.org/community/about/communit...>
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FRZB5SQD4NO... <https://urldefense.com/v3/__https:/lists.ovirt.org/archives/list/users@ov...>
2 years, 7 months
Re: [External] : Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?
by Tommy Sway
Thank you!
Could you give me some guide doc ?
Moreover, my use environment is only for testing functions and does not involve security issues. I just want to make full use of physical resources.
From: users-bounces(a)ovirt.org <users-bounces(a)ovirt.org> On Behalf Of Marcos Sungaila
Sent: Monday, August 23, 2021 9:13 PM
To: wodel youchi <wodel.youchi(a)gmail.com>; Tommy Sway <sz_cuitao(a)163.com>
Cc: users <users(a)ovirt.org>
Subject: [ovirt-users] Re: [External] : Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?
Hi Tommy,
Two comments for your appreciation:
1st: Technically, it is possible. You can configure your wireless network as a bridge and use it as you wish. I did it in my laptop a long time ago to test KVM instances.
2nd: Taking security in focus, it is not a recommendation to use wireless cards in servers. Wireless connections can be easily attacked since there is no need for someone to have logical access to your server.
Regards,
Marcos
From: wodel youchi <wodel.youchi(a)gmail.com <mailto:wodel.youchi@gmail.com> >
Sent: domingo, 22 de agosto de 2021 07:13
To: Tommy Sway <sz_cuitao(a)163.com <mailto:sz_cuitao@163.com> >
Cc: users <users(a)ovirt.org <mailto:users@ovirt.org> >
Subject: [External] : [ovirt-users] Re: Is it possible to configure the wireless network card on the Linux host as the bridge to provide oVirt for use?
Hi,
In my little experience, no you can't, I tried that a while ago it didn't work, there is some old tutorial on Debian but it didn't work for me.
May be what you can do is share you wireless connexion with your wired connexion (where you can create your bridge). And play with the firewall to expose the ovirt webadmin-ui to your external network.
Regards.
Le dim. 22 août 2021 à 07:18, Tommy Sway <sz_cuitao(a)163.com <mailto:sz_cuitao@163.com> > a écrit :
Thanks!
_______________________________________________
Users mailing list -- users(a)ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-leave(a)ovirt.org <mailto:users-leave@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html <https://urldefense.com/v3/__https:/www.ovirt.org/privacy-policy.html__;!!...>
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://urldefense.com/v3/__https:/www.ovirt.org/community/about/communit...>
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FRZB5SQD4NO... <https://urldefense.com/v3/__https:/lists.ovirt.org/archives/list/users@ov...>
2 years, 8 months
Moving datacenters & IP addresses with minimal downtime
by David White
So it looks like I'm going to move to a new datacenter. I went into somewhere cheap on a month-to-month contract earlier this year, and they've been a pain to deal with. At the same time, I've grown a lot faster than expected, so I've decided to move into a better, more reputable datacenter sooner rather than later.
I currently have HCI with 3 servers. Within the cluster, I can tolerate a host "failure", so I can run on 2 servers. I have a 4th server that I haven't really been doing anything yet, but I think will be a good asset to me as I move, to keep things to a minimum. One of my production nodes, as well as my 4th server don't have the right storage, so if/when I move things, I'll need to configure Gluster to run on a single node for a time.
I'd like to ask about best practices here.
Before I move any hardware, I'm thinking about removing 1 of my 3 production servers from the existing HCI cluster, and installing a NEW hyperconverged single node onto this production server with Gluster storage. Then, add my 4th server to that new oVirt environment. Once I did that, I'm wondering if I could clone 100% of the VMs from the 1 environment over to the other.
Once that was done, I could move one of my oVirt clusters to the new datacenter, update DNS for the virtual servers, run a final rsync, and I'm done -- then I would just move the other two servers, do a fresh install of oVirt, and add them to the new cluster.
Is this possible?
Is there a better way to do this move?
Thanks,David
Sent with ProtonMail Secure Email.
2 years, 8 months
Unable to change Mail Recipient for Event Notifications
by Rodrigo G. López
Hello all,
There seems to be a problem with oVirt 4.4.7.7 when modifying the Mail
Recipient field in the Add Event Notification modal with the `admin'
user. It defaults to `root@localhost' and I can't change it no matter
what I try. It happens whether I check some Events for Notification or
not, and the ovirt-engine-notifier service is also running healthily.
Is this known behavior? What am I missing? I'm following §21 of the
Administration Guide.
Best,
-rodri
2 years, 8 months
I can't download console.rdp on VM Portal with Firefox
by Dominique D
I am testing the lastest version of ovirt-engine 4.4.7.7-1 before updating.
when I log into the VM portal and want to download the Remote Destop file (console.rdp) from a Windows VM, the file I receive is console.vv instead of console.rdp. So I have to rename the file to console.rdp.
This problem is only with firefox. Edge and google chrome don't have this problem.
Do you know why ?
2 years, 8 months
Faster local disk for VM
by Shantur Rathore
Hi Users,
Does oVirt support node local disk cache or scratch / transient disk for
faster disk access?
The idea is similar to options we get on cloud where one can attach fast
node local scratch disk/ssd to the VM which gets deleted when VM dies.
Thanks in advance.
Kind Regards,
Shantur
2 years, 8 months
oVirt keeps crashing
by Staniforth, Paul
Hello,
today we have a server that is repeatedly crashing after a few minutes after startup.
the output of systemctl status ovirt-engine.service
● ovirt-engine.service - oVirt Engine
Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2021-08-20 11:52:47 BST; 30s ago
Process: 6606 ExecStart=/usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py --redirect-output --systemd=notify $EXTRA_ARGS start (code=exited, status=1/FAILURE)
Main PID: 6606 (code=exited, status=1/FAILURE)
Aug 20 11:47:12 hostname systemd[1]: Starting oVirt Engine...
Aug 20 11:47:12 hostname systemd[1]: Started oVirt Engine.
Aug 20 11:47:13 hostname ovirt-engine.py[6606]: 2021-08-20 11:47:13,760+0100 ovirt-engine: INFO _detectJBossVersion:186 Detecting JBoss version. Running: /usr/lib/jvm/jre-11-openjdk-11.0.11.0.>
Aug 20 11:47:14 hostname ovirt-engine.py[6606]: 2021-08-20 11:47:14,676+0100 ovirt-engine: INFO _detectJBossVersion:206 Return code: 0, | stdout: '['WildFly Full 23.0.2.Final (WildFly Core 15>
Aug 20 11:52:47 histname ovirt-engine.py[6606]: 2021-08-20 11:52:47,434+0100 ovirt-engine: ERROR run:542 Error: process terminated with status code 1
Aug 20 11:52:47 hostname systemd[1]: ovirt-engine.service: Main process exited, code=exited, status=1/FAILURE
Aug 20 11:52:47 hostname systemd[1]: ovirt-engine.service: Failed with result 'exit-code'.
Thanks for any help,
Regards,
Paul S.
To view the terms under which this email is distributed, please go to:-
https://leedsbeckett.ac.uk/disclaimer/email
2 years, 8 months