You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you for this awesome piece of script; it is well written and can be understood easily. That being said, for me, I had to make some tweaks for it to work in my environment, and perhaps it might be helpful to implement it in your code if it helps someone else. Without any tweaks, when I ran the script, I got the following error:
ACTION: Onlinemirror
Start mirror 2024-05-20 17:48:07
Local Ceph Version: 17.2.7, Remote Ceph Version: 17.2.7
VM 101 - Starting mirror for dummy02
VM 101 - Checking for VM 101 on destination cluster pve01ceph01 /etc/pve/nodes/*/qemu-server
VM 101 - Transmitting Config for VM 101 to destination pve01ceph01 VMID 101
VM 101 - locked 101 [rc:0] on source
VM 101 - locked 101 [rc:0] on destination
VM 101 - Creating snapshot default_ssd/vm-101-disk-0@mirror-20240520174807
ERROR: VM 101 - QEMU-Guest could not fsunfreeze on guest.
VM 101 - unlocked source VM 101 [rc:0]
specified image /vm-101-disk-0 is not found.
rbd: du failed: (2) No such file or directory
pv: -s: integer argument expected
rbd: error opening image /vm-101-disk-0: (2) No such file or directory
VM 101 - created snapshot on 101 [rc:0]
VM 101 - Disk Summary: Took 1 Seconds to transfer 0 Bytes in a full run
VM 101 - Unlocking destination VM 101
Finnished mirror 2024-05-20 17:49:07
Job Summary: Bytes transferred 0 Bytes for 1 Disks on 1 VMs in 00 hours 01 minutes 00 seconds
VM Freeze OK/failed.......: 0/0
RBD Snapshot OK/failed....: 1/0
RBD export-full OK/failed.: 1/0
RBD export-diff OK/failed.: 0/0
Full xmitted..............: 0 Bytes
Differential Bytes .......: 0 Bytes
The above is happening because i have an underscore(_) in my pool name(default_ssd) and the regex pattern on the following line
First, thank you for this awesome piece of script; it is well written and can be understood easily. That being said, for me, I had to make some tweaks for it to work in my environment, and perhaps it might be helpful to implement it in your code if it helps someone else. Without any tweaks, when I ran the script, I got the following error:
The above is happening because i have an underscore(_) in my pool name(default_ssd) and the regex pattern on the following line
crossover/crossover
Line 90 in 2f985df
and on a similar note i also had to modify the following line
crossover/crossover
Line 835 in 2f985df
and Again thank you.
The text was updated successfully, but these errors were encountered: