Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    361 Topics
    3k Posts
    P
    @irtaza9 Install the tools
  • ACLs, Self-service, Cloud-init, Load balancing...

    89 Topics
    761 Posts
    R
    Hello, I believe there is an issue with Netbox synchronization plugin. In short, Xen Orchestra does not appear to check if an address of a newly-created VM is already in Netbox and blindly tries to create it. This makes the whole IP address creation step fail for all other VMs even during subsequent synchronizations. Steps to reproduce the issue: Create an address in Netbox Create a VM in XO with the address from the previous step Run synchronization You will see a "400 Bad Request" error with a message stating that "Duplicate IP address found in global table" Xen Orchestra creates your VM with an interface in Netbox, but fails to create and assign the IP address. I think there are two ways to fix the issue: You could either make XO "adopt" the address when it has to be assigned to a VM, or you could delete the address and create it again. I Think the latter makes more sense as that would strip away all attributes (i.e. tags) which could no longer be correct after the address is assigned to a virtual machine. I am using a source-built version of XO. Netbox version: 4.2.7 Xen Orchestra commit: 3c54363 Thanks
  • All XO backup features: full and incremental, replication, mirrors...

    364 Topics
    4k Posts
    R
    @florent Great work, thanks for the fixes
  • Everything related to Xen Orchestra's REST API

    64 Topics
    492 Posts
    MathieuRAM
    This is normal, as the tasks endpoints are in the old REST API (undocumented by Swagger). We are gradually migrating to the new REST API to document all endpoints.
  • Terraform, Packer or any tool to do IaC

    33 Topics
    309 Posts
    I
    @olivierlambert @nathanael-h @Team-DevOps Please let me know if you have answers for any of the flollowing questions: Why JSON-RPC over websocket regularly returns not expected result for calls and what could be done with it? examples: method xo.getAllObjects sometimes returns empty result, but following: jsonrpc method params ------- ------ ------ 2.0 all @{type=enter; items=} On retry - everything is fine and we have all data jsonrpc result ------- ------ 2.0 @{bbdb1ed0-4c86-24ec-...=;..... method vm.copy sometimes returns only task with name_label host.get_server_certificate and no task async.vm.copy. Meanwhile copy operation is started in XEN Orchestra, so we have to separately search for the task currently running in all objects and if it is not there anymore suggest that it completed successfully. Afterwards we need to check if vm was copied and appeared in all objects. That is really frustrating as we have no info about successfully completed tasks in XEN - records just removed as nothing happen. most likely this happens due to other tasks being popped up in tasks at the same time and websocket call recives not its own responce, is it possible to workaround? What is correct syntax for JSON to run job.create method? Are there any article with supported methods for JSON-RPC calls and examples to use them? Calling for "system.getMethodsInfo" I can see "job.create": { "description": "Creates a new job from description object", "params": { "job": { "type": "object", "properties": { "userId": { "type": "string", "optional": true }, "name": { "type": "string", "optional": true }, "timeout": { "type": "number", "optional": true }, "type": { "type": "string" }, "key": { "type": "string" }, "method": { "type": "string" }, "paramsVector": { "type": "object", "properties": { "type": { "type": "string" }, "items": { "type": "array", "items": { "type": "object" } } }, "optional": true } } } }, "permission": "admin" }, But it is unclear what values should I provide to paramsVector and looking into the job created manually (in web interface) with method job.getall I can see 2 jobs [ { "type": "call", "name": "copyvm", "key": "generictask", "method": "vm.copy", "paramsvector": { "type": "crossproduct", "items": [ { "type": "set", "values": [ { "name": "nevm", "vm": "GUID", "sr": "GUID" } ] } ] }, "userid": "GUID", "id": "GUID" }, { "method": "vm.copy", "key": "vm.copy", "name": "copyvmjob", "type": "call", "userid": "GUID", "id": "GUID" } ] How can I create similar job myself if it is not possible to find out why vm.copy does not return async.vm.copy task info?
  • This topic is deleted!

    Solved
    11
    3
    0 Votes
    11 Posts
    18 Views
  • VM-GenerationID when restoring from backup?

    2
    0 Votes
    2 Posts
    523 Views
    olivierlambertO
    To get assistance on XOA, since you have support, it's better to go with our support ticket system. This way, you can be sure to have an answer with direct developer access in a guaranteed amount of time. Please open a ticket here: https://support.vates.fr/#/tickets XOA isn't dealing on what's inside on the VM: it's an hypervisor-level agentless backup solution. As soon you create the ticket, we'll take a more in-depth look about details (what kind of backup are you using? Delta or full etc.) and also if there anything special we could do at our level.
  • Reverse proxy access

    2
    0 Votes
    2 Posts
    952 Views
    olivierlambertO
    I don't know what's the /xen path? Install via this docker isn't the official/documented way, so it's hard to assist. Please try to build it according the doc and double check if reverse work as documented too. Otherwise, it's an issue of the Docker you use with our doc, so you'll better time to create an issue on the 3rd party "installer".
  • Uninstall XO

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    It depends where you decided to install it (basically where you cloned to repo). Also remove the redis database if it's only used for XO.
  • Centralized backup reporting

    14
    1 Votes
    14 Posts
    2k Views
    mmuehlbauerM
    @borzel I added a feature request here. ANy opinion or insight to help this feature along would be appreciated. https://github.com/vatesfr/xen-orchestra/issues/4153 mmuehlbauer created this issue in vatesfr/xen-orchestra open Backup report summary #4153
  • disaster recovery backup test - skipped, missingvms

    6
    1
    0 Votes
    6 Posts
    397 Views
    olivierlambertO
    If you didn't, I strongly suggest that you watch the live YT webinar I did on XO backups. IIRC, there is a part talking about smart backup. https://www.youtube.com/watch?v=FfUqIwT8KzI
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    43 Views
    No one has replied
  • Help with stuck delta backups.

    9
    0 Votes
    9 Posts
    1k Views
    olivierlambertO
    You have a problem on your XCP-ng, this is not related to a XO issue. It's stuck doing a snapshot, which is really a basic operation that shouldn't fail at all. Double check your SMlog on the host.
  • Remotes not mounted after upgrade

    4
    0 Votes
    4 Posts
    731 Views
    2
    It looks like I can remove the remotes and set them up again, and configure the backup jobs to address the new share. That's okay, there are not too many.
  • How to start an XOA continuous replication image at the backup end?

    7
    0 Votes
    7 Posts
    767 Views
    olivierlambertO
    You need one XOA, connected to both pools. It will stream the VM content (delta) from the source to the destination. You don't need any directly link between your SR in both DCs. You DCs can be isolated with just one XOA connected to both, and it will work.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Can't access Orchestra after build

    4
    1 Votes
    4 Posts
    571 Views
    B
    I was able to fix my issue by adding http to firewalld.
  • Delta backup failes if previous transfer isnt done.

    4
    1
    0 Votes
    4 Posts
    401 Views
    olivierlambertO
    No XCP-ng/XenServer workaround, it's a "built-in"/by design limitation (it's considered as "stalled"). So your goal would be to avoid these extremely long tasks (ie: to finish before the task is destroyed)
  • scheldued snapshots and manual snapshots

    Moved
    6
    1
    0 Votes
    6 Posts
    989 Views
    olivierlambertO
    You'll end up with a chain, yes (so every read will need to make "hops" on each member of the chain). Longer the chain, slower the operation. But it shouldn't be too catastrophic either (for a heavily IOPS loaded VM, you'll notice the difference, but not in other less IOPS hungry scenarios)
  • Changing delta backup schedules breaks backups.

    5
    0 Votes
    5 Posts
    327 Views
    ForzaF
    The error I get when changing snapshot schedule is [image: 1554793685216-delta-fail_1.png]
  • shanshot scheldue - no snapshots visible in XCP-center

    Moved
    5
    1
    0 Votes
    5 Posts
    527 Views
    akurzawaA
    Sure, thanks. I'm using xoa and desktop app simultaneously. I hope that the desktop app will be available for long time.
  • Delete Log Backup-NG

    2
    1
    0 Votes
    2 Posts
    731 Views
    olivierlambertO
    No, because those logs are useful in case of problem (to find a potential bug). However, they are garbage collected automatically (the oldest ones) after a while.
  • Unable to copy a machine on the same host.

    9
    1
    0 Votes
    9 Posts
    2k Views
    olivierlambertO
    All I can tell is that's not an usual issue. Never heard of problem of this kind before… So yeah, there is something weird. Could be related to NFS permissions maybe, or something between XCP-ng and your NFS host. It's not XCP-ng code directly, because otherwise everyone else using NFS will endure the same problems. So it's more a "combo" between XCP-ng and your NFS within your infrastructure. Please read the wiki on where to check logs (especially SMlog) to spot potential hints on where's the issue.
  • Limit backup speeds

    6
    0 Votes
    6 Posts
    962 Views
    nikadeN
    @S-Pam Having a VIF for management and one for storage-traffic is a good solution, we do it that way to avoid crippling management during backups.
  • Where are the logs for "Backup NG" kept?

    Moved
    3
    1
    0 Votes
    3 Posts
    540 Views
    D
    sorry mate - you are correct - will do