alikebackup / a3

Project for Alike Backup, a BDR solution for XenServer, XCP-ng, and Hyper-V virtualization platforms
GNU General Public License v3.0
5 stars 0 forks source link

Caught Error: Failed to provision new ABD. Please check that your Alike SR is plugged in and healthly. Xen Error: Error: More than one matching template found #21

Open rtjdamen opened 1 month ago

rtjdamen commented 1 month ago

I have installed the Alike A3 version and try to run first backup job, i get an error "Caught Error: Failed to provision new ABD. Please check that your Alike SR is plugged in and healthly. Xen Error: Error: More than one matching template found" no idea how to recover from this one!

rtjdamen commented 1 month ago

i found there is a template file created for every host that is in my pool on the default sr, think we got a bug there ;-), i will delete them and check again.

don3sch commented 1 month ago

Rtdamen, I’m not a dev on this project, but read that Docker and Alike-SR have been deprecated on V10 (which is a great move), but that the codebase is not ready for prime time yet, as there are still hooks into those features that need to be removed. I’m hoping to be a tester for the new project, but for production I had to go back to the last version from Quadric.

Don Schaefer IT Manager Direct 817-710-2220 Cell

[cid:99354d91-2075-446c-8d70-198b2535ccb5.png]https://www.markspp.com/https://www.markspp.com/ https://www.facebook.com/user_name_herehttps://www.facebook.com/user_name_here[cid:facebook-logo-blue-small_ebaa82c4-78c2-4d01-b5d3-5b2550375123.png]https://www.facebook.com/Marksplumbingparts [cid:linkedin-logo-blue_1e628685-f78d-4ecf-a98e-8d7e6f8ec2e7.png] https://www.linkedin.com/company/mark's [cid:x_logo_blue_circle_small_45a0f1a8-336b-4903-a50b-8ee1526eb50d.png] https://x.com/marks_plumbing_

3312 Ramona Dr Fort Worth, Texas 76116 Office: 817-731-6211

From: rtjdamen @.> Sent: Wednesday, October 2, 2024 8:55 AM To: alikebackup/a3 @.> Cc: Subscribed @.***> Subject: [alikebackup/a3] Caught Error: Failed to provision new ABD. Please check that your Alike SR is plugged in and healthly. Xen Error: Error: More than one matching template found (Issue #21)

I have installed the Alike A3 version and try to run first backup job, i get an error "Caught Error: Failed to provision new ABD. Please check that your Alike SR is plugged in and healthly. Xen Error: Error: More than one matching template found" no idea how to recover from this one!

— Reply to this email directly, view it on GitHubhttps://github.com/alikebackup/a3/issues/21, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLYC7LU4JUXET4LEU7T5WFLZZP3JNAVCNFSM6AAAAABPHXN2UKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3DCNZWGA4DKNQ. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

rtjdamen commented 1 month ago

yes we do have a seperate old version running on production, doing test only on the test box

rtjdamen commented 1 month ago

correction it did also create around 18 templates. removed them and did the diag, it does now deploy one. So bug is inside the discovery i believe.

rtjdamen commented 1 month ago

After this deployment works gor abd but it fails after starting with an unhealthy message so more work to do here

rtjdamen commented 1 month ago
Caught Error: ABD 8 had errors. Cleaned and removed for good measure. | Caught Error: ABD 8 had errors. Cleaned and removed for good measure. -- | -- Caught Error: ABD 8 had errors. Cleaned and removed for good measure.  
alikebackup commented 1 month ago

I have installed the Alike A3 version and try to run first backup job, i get an error "Caught Error: Failed to provision new ABD. Please check that your Alike SR is plugged in and healthly. Xen Error: Error: More than one matching template found" no idea how to recover from this one!

Don3sch is essentially correct- this error references the "Alike SR" which has been removed from this project. Looking at the code, I can see the error message is merely cosmetic, so the actual problem has nothing to do with the old Alike SR. Instead, it seems that your ABD is not booting properly from the deployed template.

First, can you check and make sure there is a template on a viable, shared SR called "A3 ABD Template_7.5"? The current logic detects the ABD template by that name. If you have duplicates, then I would remove all except the one with the UUID listed in the UI (to find the uuid, hover over the tooltip on the ABD page next to "ABD Image Deployed").

Finally, after the above, I would suggest finding the template in XC/XO and manually making a VM from it and testing if it boots, and if not, perhaps you can capture the errors displayed.

I just tested a round trip deployment and diagnostic on a fresh install with no errors, and while the ABD template used in this project is the same as the old Quadric A3, it is possible there is some incompatibility with your hardware/environment.