CBT: the thread to centralize your feedback
-
can't run live migration to another pool because
VDI_CBT_ENABLED
. is it intended? -
@Tristis-Oris even halted VMs can't migrate with snapshot. need to remove it.
-
That's weird, ping @florent
-
@Tristis-Oris We've had the same problem, so are not using CBT for now.
-
@Tristis-Oris migration of a vdi between sr is not supported with cbt enabled. U need to disable cbt first. This is done by xoa. Live migration of vm between hosts is supported as long as the sr stays the same. This is by design on xen
-
@rtjdamen but i can't disable CBT globaly? it auto applied to every VDI when been implemented.
Disable CBT for each VDI not required, because it happens automaticaly during migration. I only need to remove all snapshots. -
@Tristis-Oris indeed seems like thats a bug in xoa that it does not delete the snapshots
-
@flakpyro
I have the same problem.
I'm on 8.2 as well and have a local ZFS SR.
I'm going to upgrade to 8.3 and look, if it helps. -
Another interesting development. In our test environment this week i installed the latest HP Service pack for proliant, doing so required a server reboot so I ran a rolling pool reboot from XOA, later when the test environment backup job kicked off, i noticed it was running a regular Delta despite the migrations that must have occurred during rolling pool reboot.
SSHing onto a host and checking i see sure enough the cbtlog is reporting all zeros...
[17:27 xcpng-test-01 45e457aa-16f8-41e0-d03d-8201e69638be]# cbt-util get -c -n 73877c18-a5bf-43bb-aaf5-299f46710d7e.cbtlog 00000000-0000-0000-0000-000000000000
However the backup ran as a delta, running the backup again manually and it is once again it runs as a delta.
Checking after the manual backup the result is not all zeros anymore:
[17:28 xcpng-test-01 45e457aa-16f8-41e0-d03d-8201e69638be]# cbt-util get -c -n 65d8656e-93e8-4e81-b1a8-0b0462f6fbb8.cbtlog 1950d6a3-c6a9-4b0c-b79f-068dd44479cc
Now..just for fun i decided to manually migrate a small VM to another host and then back to see what happens:
After the migration back to all zeros:
[17:32 xcpng-test-01 45e457aa-16f8-41e0-d03d-8201e69638be]# cbt-util get -c -n 65d8656e-93e8-4e81-b1a8-0b0462f6fbb8.cbtlog 00000000-0000-0000-0000-000000000000
And running a backup manually resulted in the usual error:
Can't do delta with this vdi, transfer will be a full Can't do delta, will try to get a full stream
So...this just makes the issue even more confusing, why does a rolling pool reboot not cause this behaviour but a manual migration does? Does the ID being all zeros not actually matter? I seem to be able to consistently reproduce this too. Ill be curious to next test if a "rolling pool update" causes this behaviour next time a batch of updates is released.
-
@flakpyro very strange issue indeed, we can’t reproduce the problem on our end. So as @olivierlambert mentioned before it has to be something specific. The new developments make it indeed more difficult to understand, but i believe there is a logical explanation to this.
-
@flakpyro How do you migrate the VM already? I mean the exact steps you do.