Re: Backup prozess
by Jonas Liechti
Would you mind sharing a link to this script? I would be interested in how it works.Am 14.02.2022 19:45 schrieb marcel d'heureuse <marcel(a)deheureu.se>:
>
> Moin,
>
> We have in our Environment 12 servers managed by one self hosted engine. It is ovirt 4.3.9. We are Freizeit on that Version.
>
> How did you make Backups? We use a github Script which generate via api a snapshot and Mount this disk into the vm where the backup Script is running. The backup Script Export this additional Hard disk to a storage and disconnect the disk and remove the snapshot.
>
> This works on Linux vm fine if they have Medium load. If we try this with a Windows 10 vm or Windows Server vm or a Linux vm with high load or with a very big Hard drive this will not work. Disk can't Export and snapshot will not delete.
>
> I have found winchin and bareos but I have not start to check this first I want to have some more possible options.
>
> Thanks
>
> Marcel
2 years, 11 months
Backup prozess
by marcel d'heureuse
Moin,
We have in our Environment 12 servers managed by one self hosted engine. It is ovirt 4.3.9. We are Freizeit on that Version.
How did you make Backups? We use a github Script which generate via api a snapshot and Mount this disk into the vm where the backup Script is running. The backup Script Export this additional Hard disk to a storage and disconnect the disk and remove the snapshot.
This works on Linux vm fine if they have Medium load. If we try this with a Windows 10 vm or Windows Server vm or a Linux vm with high load or with a very big Hard drive this will not work. Disk can't Export and snapshot will not delete.
I have found winchin and bareos but I have not start to check this first I want to have some more possible options.
Thanks
Marcel
2 years, 11 months
Re: oVirt 4.3 - Fibre Channel Data Domain as ISO dump.
by Nir Soffer
On Mon, Feb 14, 2022 at 4:31 PM Angus Clarke <angus(a)charworth.com> wrote:
>
> Hello
>
> RE: oVirt 4.3 - Fibre Channel Data Domain as ISO dump.
>
> Thanks for letting me join the list.
Welcome!
> I added a fibre channel Data domain with a view to using it as an ISO dump however I cannot mount CDs to VMs with this error:
>
> "Error while executing action Change CD: Drive image file could not be found"
>
> A bit of reading suggests there is no way around this when using fibre channel data domains - is this the case?
This works since 4.4.6, but was broken in 4.3. You should upgrade to
4.4 at this point.
> I guess I could present the LUN to a VM and run NFS from there as an alternative option.
Yes NFS works for ISO on data domain in 4.3.
Nir
2 years, 11 months
oVirt 4.3 - Fibre Channel Data Domain as ISO dump.
by Angus Clarke
Hello
RE: oVirt 4.3 - Fibre Channel Data Domain as ISO dump.
Thanks for letting me join the list.
I added a fibre channel Data domain with a view to using it as an ISO dump however I cannot mount CDs to VMs with this error:
"Error while executing action Change CD: Drive image file could not be found"
A bit of reading suggests there is no way around this when using fibre channel data domains - is this the case?
I guess I could present the LUN to a VM and run NFS from there as an alternative option.
Thanks a lot
Angus
2 years, 11 months
ERROR (mailbox-spm) [storage.MailBox.SpmMailMonitor] mailbox 65 checksum failed, not clearing mailbox, clearing new mail
by Petr Kyselák
Hi,
I see a lot of errors in vdsm.log
2022-02-14 08:42:52,086+0100 ERROR (mailbox-spm) [storage.MailBox.SpmMailMonitor] mailbox 65 checksum failed, not clearing mailbox, clearing new mail (data=b'\xff\xff\xff\xff\ <lot of data> \x00\x00', checksum=<function checksum at 0x7f2454712b70>, expected=b'\xbfG\x00\x00') (mailbox:602)
2022-02-14 08:42:52,087+0100 ERROR (mailbox-spm) [storage.MailBox.SpmMailMonitor] mailbox 66 checksum failed, not clearing mailbox, clearing new mail (data=b'\x00\x00\x00\x00\ <lot of data> \xff\xff', checksum=<function checksum at 0x7f2454712b70>, expected=b'\x04\xf0\x0b\x00') (mailbox:602)
We are running latest ovirt engine and hosts:
Hosts: ovirt-node-ng-installer-4.4.10-2022020214.el8.iso
engine: ovirt-engine-4.4.10.6-1.el8.noarch
We have 3 hosts and 8 iSCSI domains. I found similar issue from 2018 https://lists.ovirt.org/archives/list/users@ovirt.org/thread/FJ6KIEOXEEFF...
I am not sure how to determinate which mailbox I should try to "clean". Can anybody help me please?
I observed the issue prior we upgraded to v4.4 (I hoped the upgrade will fix it, but it does not)
2 years, 11 months
Upgrade CentOS 7 oVirt host to CentOS 8 Stream from backup file - Python error
by Matyi Szabolcs
Hi Support,
The following is the problem.
I am trying to upgrade a CentOS 7 oVirt host to CentOS 8 Stream with oVirt-engine backup.
https://www.ovirt.org/documentation/upgrade_guide/#SHE_Upgrading_from_4-3
I perform the reset as follows:
hosted-engine --deploy --restore-from-file=/path/to/backup
When ansible-playbook is almost finished it gives the following error:
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Initialize lockspace volume]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 5, "changed": true, "cmd": ["hosted-engine", "--reinitialize-lockspace", "--force"], "delta": "0:00:00.227640", "end": "2022-02-08 08:22:54.615
461", "msg": "non-zero return code", "rc": 1, "start": "2022-02-08 08:22:54.387821", "stderr": "Traceback (most recent call last):\n File \"/usr/lib64/python3.6/runpy.py\", line 193, in _run_modul
e_as_main\n \"__main__\", mod_spec)\n File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n exec(code, run_globals)\n File \"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_s
etup/reinitialize_lockspace.py\", line 30, in <module>\n ha_cli.reset_lockspace(force)\n File \"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/client/client.py\", line 286, in reset_lo
ckspace\n stats = broker.get_stats_from_storage()\n File \"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py\", line 148, in get_stats_from_storage\n result = self._p
roxy.get_stats()\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1112, in __call__\n return self.__send(self.__name, args)\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1452, i
n __request\n verbose=self.__verbose\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1154, in request\n return self.single_request(host, handler, request_body, verbose)\n File \"/usr
/lib64/python3.6/xmlrpc/client.py\", line 1166, in single_request\n http_conn = self.send_request(host, handler, request_body, verbose)\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 12
79, in send_request\n self.send_content(connection, request_body)\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1309, in send_content\n connection.endheaders(request_body)\n File \
"/usr/lib64/python3.6/http/client.py\", line 1268, in endheaders\n self._send_output(message_body, encode_chunked=encode_chunked)\n File \"/usr/lib64/python3.6/http/client.py\", line 1044, in _
send_output\n self.send(msg)\n File \"/usr/lib64/python3.6/http/client.py\", line 982, in send\n self.connect()\n File \"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/unixrpc.
py\", line 76, in connect\n self.sock.connect(base64.b16decode(self.host))\nFileNotFoundError: [Errno 2] No such file or directory", "stderr_lines": ["Traceback (most recent call last):", " Fil
e \"/usr/lib64/python3.6/runpy.py\", line 193, in _run_module_as_main", " \"__main__\", mod_spec)", " File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code", " exec(code, run_globals
)", " File \"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/reinitialize_lockspace.py\", line 30, in <module>", " ha_cli.reset_lockspace(force)", " File \"/usr/lib/python3.6/site-p
ackages/ovirt_hosted_engine_ha/client/client.py\", line 286, in reset_lockspace", " stats = broker.get_stats_from_storage()", " File \"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/li
b/brokerlink.py\", line 148, in get_stats_from_storage", " result = self._proxy.get_stats()", " File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1112, in __call__", " return self.__send(
self.__name, args)", " File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1452, in __request", " verbose=self.__verbose", " File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1154, in requ
est", " return self.single_request(host, handler, request_body, verbose)", " File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1166, in single_request", " http_conn = self.send_request(ho
st, handler, request_body, verbose)", " File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1279, in send_request", " self.send_content(connection, request_body)", " File \"/usr/lib64/python3
.6/xmlrpc/client.py\", line 1309, in send_content", " connection.endheaders(request_body)", " File \"/usr/lib64/python3.6/http/client.py\", line 1268, in endheaders", " self._send_output(mes
sage_body, encode_chunked=encode_chunked)", " File \"/usr/lib64/python3.6/http/client.py\", line 1044, in _send_output", " self.send(msg)", " File \"/usr/lib64/python3.6/http/client.py\", line
982, in send", " self.connect()", " File \"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/unixrpc.py\", line 76, in connect", " self.sock.connect(base64.b16decode(self.host))",
"FileNotFoundError: [Errno 2] No such file or directory"], "stdout": "", "stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
[ INFO ] Stage: Clean up
What is the problem?
Thanks!
2 years, 11 months