OVA Export to local storage failes
by David White
I have an unused 200GB partition that I'd like to use to copy / export / backup a few VMs onto, so I mounted it to one of my oVirt hosts as /ova-images/, and then ran "chown 36:36" on ova-images.
From the engine, I then tried to export an OVA to that directory.
Watching the directory with "ls", I see a filename.ova.tmp eventually appear, and it grows to the size I would expect for the image... and then a few seconds later, it disappears.
What am I missing?
Here's what I see in the Event Manager inside the Engine:
Aug 21, 2021, 8:35:26 PM
Failed to export Vm server.example.org as a Virtual Appliance to path /ova-images/server.example.org.ova on Host cha2-storage.mgt.example.com
Aug 21, 2021, 8:34:33 PM
Pack OVA. Retrieving the temporary path for the OVA file.
Aug 21, 2021, 8:34:33 PM
Pack OVA. Allocating the temporary path for the OVA file.
Aug 21, 2021, 8:34:33 PM
Pack OVA. Removing the temporary file.
Aug 21, 2021, 8:34:33 PM
Pack OVA. Examine target directory.
Aug 21, 2021, 8:34:33 PM
Pack OVA. Set facts.
Aug 21, 2021, 8:34:33 PM
Pack OVA. Run import yaml on py3.
Aug 21, 2021, 8:34:21 PM
Image measure. Measure an image.
Aug 21, 2021, 8:33:56 PM
Starting to export Vm server.example.org as a Virtual Appliance
Aug 21, 2021, 8:33:52 PM
Export OVA. Examine target directory.
Aug 21, 2021, 8:33:49 PM
Export OVA. Set facts.
Aug 21, 2021, 8:33:49 PM
Export OVA. Run import yaml on py3.
Sent with ProtonMail Secure Email.
3 years, 4 months
about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name
by Tommy Sway
Everybody is good!
As you all know, to use the client's network card name in cloud-init, you
must fill in the exact name of the network card interface.
This was easy in version 7 and before, which usually started with EN0.
After version 8, however, the naming conventions for network cards changed a
lot. In my own test environment, for example, I started with ENS3.
I'm not sure what naming convention it uses, which would make it impossible
to specify nic information using cloud-init.
Could you help me explain how to deal with this problem?
Thank you very much!
3 years, 4 months
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 ?
3 years, 4 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
3 years, 4 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...>
3 years, 4 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...>
3 years, 4 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.
3 years, 4 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
3 years, 4 months