Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't block VHD backup if CBT doesn't exist #7877

Closed
olivierlambert opened this issue Jul 30, 2024 · 8 comments
Closed

Don't block VHD backup if CBT doesn't exist #7877

olivierlambert opened this issue Jul 30, 2024 · 8 comments

Comments

@olivierlambert
Copy link
Member

Are you using XOA or XO from the sources?

both

Which release channel?

both

Provide your commit number

No response

Describe the bug

Some old XS doesn't support CBT at all. It's not a big deal since we can still use regular VHD diff. However, the fact CBT is absent shouldn't break the "legacy" VHD export, eg if there's no NBD network nor any CBT backup enabled.

If it's not too hard to be more robust in this case then it might worth it.

Source: https://xcp-ng.org/forum/topic/9443/getting-message_method_unknown-vdi-get_cbt_enabled-with-xenserver-7-1

Error message

`MESSAGE_METHOD_UNKNOWN(VDI.get_cbt_enabled`

To reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Expected behavior

No response

Screenshots

No response

Node

20

Hypervisor

XenServer 7.1

Additional context

No response

@lukkri
Copy link

lukkri commented Jul 31, 2024

I confirm that. I use XOA from sources. Error is only on XenServer 7.1LTS, but only with delta backup. I have tried 2 commit number - 7b8a4e7 and latest master with same bug. For now I have setup a full backup of VMs until the problem will be fixed. Next XCP-NG 8.2LTS works without problem.

@bberndt
Copy link

bberndt commented Aug 5, 2024

I confirmed this too, with Delta Backup. Never tried the full one. What worked for me, was upgrading the host to XCP-ng 7.6 (as far as I can go right now)

-Sidenote, the update repos don't work. I assume because CentOS 7 is gone?

I was getting the same error right away when running the backup task manually, or scheduled. Running it manually now, seems to work, its transferring a disk now, at least.

Xen Orchestra, commit [cb6cf]
Master, commit [4d768]
from https://github.com/ronivay/XenOrchestraInstallerUpdater

I'd have to check, it might be one of my last hosts on Citrix 7.1. The XCP-ng 8 branch breaks the RAID card monitor software from Broadcom/ LSI/ Avaya/ 3Ware for a card we used a lot of...

@jmara
Copy link

jmara commented Nov 29, 2024

Hey @olivierlambert

is the fix still on track for a Q4 release?

Cheers,
Jan

@olivierlambert
Copy link
Member Author

IIRC It is already fixed from October release :)

Adding @fbeauchamp to double check that and close the issue

@jmara
Copy link

jmara commented Nov 29, 2024

I've just updated to XOA 5.99.1 and added a Continuous Replication from XS 7.0 (yeah I know, please dont judge me ;) -> XCP-ng 8.2.1 and still get the MESSAGE_METHOD_UNKNOWN(VDI.get_cbt_enabled) error while none of the Clusters has NBD enabled.

@olivierlambert
Copy link
Member Author

If it's fixed for October, it means the fix is in latest until this afternoon. With this afternoon release, stable will go to 5.100 containing the fix. Please check if it works for you on latest or wait few hours :)

@olivierlambert
Copy link
Member Author

FYI the release announcement of last month regarding this: https://xen-orchestra.com/blog/xen-orchestra-5-100/#better-old-xenserver-support-73-without-cbt

@jmara
Copy link

jmara commented Nov 29, 2024

Great stuff, just switched to latest and the fix is working :) Will switch back to stable on monday.

Many thanks and keep up the great work 👍

Cheers,
Jan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants