Subcategories

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

    362 Topics
    3k Posts
    G
    @tjkreidl Once I install graphics drivers (nvidia) and allow pci passthrough of the graphics card, i get: NVRM: cpuidInfoAMD Unrecognised AMD processor in cpuInfoAMD and the VM refuses to boot If I remove the drivers or detach the card, then the VM boots
  • ACLs, Self-service, Cloud-init, Load balancing...

    89 Topics
    762 Posts
    olivierlambertO
    Hi, It was never meant to be a 2 ways synchronization plugin. Making it 2 ways considerably raise the complexity of such plugin (because we would need to make configuration for decision on when to take it one way and the other, and each use case is different). I would say: you shouldn't have any IP that's already in Netbox from other source in the IP range that's used for your VMs.
  • 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?
  • Build from source Error

    Solved
    12
    0 Votes
    12 Posts
    657 Views
    olivierlambertO
    Thanks for the report!
  • NTP Settings XOA?

    13
    2
    0 Votes
    13 Posts
    6k Views
    olivierlambertO
    This section has nothing to do with XOA IP address, but useful to restrict some VMs to some IP address. I agree it's unclear. But as I said, for now, there's 0 GUI to configure the system per se. That's why I said it could be an addition sure, but there's nothing yet, so adding it will take some time or efforts, and it's not a priority as we speak (our backlog is already pretty big). But again, as an Open Source project, we are welcoming contributions!
  • Questions: Placing a new VM in a suitable pool/How is a host chosen ?

    2
    0 Votes
    2 Posts
    221 Views
    olivierlambertO
    To pick a pool: it's up to you to decide, depending on available pool storage capacity, speed. Same for compute and network. It's very very specific to your own needs, there's no universal rules. Host selection for a VM: it's not decided by XO but by XAPI (except if you specifically ask to boot on a host). IIRC, it's a mix of load and memory available, but if you want to dig further, it should be written in the XAPI code somewhere
  • USB Hard drives for VM exports

    13
    0 Votes
    13 Posts
    4k Views
    IndyJI
    @indyj FYI when I ran this test again it worked. this time: I ran it as a "Delta" backup. And then rescanned the removable media. I was then able to restore an individual file from the backup on USB media.
  • creating trunked connections through physical interfaces.

    3
    0 Votes
    3 Posts
    568 Views
    fohdeeshaF
    @garrya Hi, it sounds like you've set up VLAN interfaces correctly on the XCP-ng side, but the switch they are connected to also needs to be aware of VLAN tags to pass them, or else it will only pass untagged traffic as you noticed. You'll need a smart/managed switch with VLAN capability to do so
  • Authentication via Active Directory

    3
    0 Votes
    3 Posts
    2k Views
    B
    @deoccultist Sadly, none of this seemed to make any difference.
  • Can Network be selected for Backups?

    4
    1
    0 Votes
    4 Posts
    684 Views
    olivierlambertO
    See my answer in the other thread.
  • Support for XO in docker container

    21
    0 Votes
    21 Posts
    9k Views
    olivierlambertO
    We are investigating an elegant solution called RunX. Basically, it might be able to transparently any standard "container stack" (Docker and/or k8s). See https://www.youtube.com/watch?v=9m95hojMtsU There's some work to adapt that to XAPI, but it might be doable. This means XCP-ng could be "container" native while having very good level of isolation with very small VMs (only few MiB overhead).
  • Add rescan ISO SR from VM menu

    6
    1
    0 Votes
    6 Posts
    921 Views
    pdoniasP
    This is simple enough so we'll implement it in XO 5. Thanks for the feedback!
  • Wasabi just wont work...

    9
    0 Votes
    9 Posts
    968 Views
    K
    5.79.3 / 5.81.0 All of my backups work (now), and speeds range between 5 MB/s to 20 MB/s. Most of my VM's are smaller (zstd helps a lot), though the largest archive is about 80 GB. Also, all of my backups are sequential -- I seem to remember a previous note where somebody had problems with concurrent uploads. My XOCE VM runs with 12 GB, which was the number that "just works" according to some of my earlier problems (and I haven't bothered to chase down or fine tune further).
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    4 Views
  • backblaze b2 / amazon s3 as remote in xoa

    59
    2
    0 Votes
    59 Posts
    17k Views
    S
  • Migrating VM fails with DUPLICATE_VM error

    12
    0 Votes
    12 Posts
    2k Views
    I
    @olivierlambert having exactly the same issue as wcom939 reported. What did you mean by "Can you try with xe command to see if you have the same error?" ? Migrate using CLI? there are too many options:)
  • Alpine Linux from HUB: xe-daemon: CollectOS error

    9
    0 Votes
    9 Posts
    1k Views
    olivierlambertO
    @fohdeesha let's work on another clean Alpine template.
  • Task aborted before completion

    3
    0 Votes
    3 Posts
    262 Views
    mauzillaM
    @danp thank you, but in our case the 2nd remote is a hypervisor? I dont know how we should run the backup first then copy the VHD files to the the 2nd hypervisor as continuous replication also creates a VM? I am sure that if I can limit the amount of VM's that is exported once (it's currently 2) then the backups for the large VM should complete. Is there a setting available for this?
  • Can't edit XO metatata backup config

    Solved
    12
    2
    0 Votes
    12 Posts
    914 Views
    olivierlambertO
    Thanks @badrAZ for the fix!
  • Is there a feature to auto start a VM?

    4
    0 Votes
    4 Posts
    554 Views
    mauzillaM
    Thanks both, agreed, in hindsight this should be configured on the VM itself as it could lead to unexpected issues (like maintenance and having VM's start by themselves) Thanks for the input
  • VM Memory Limits Question

    2
    0 Votes
    2 Posts
    2k Views
    olivierlambertO
    Here is a good explanation: https://docs.citrix.com/en-us/xencenter/7-1/dmc-about.html Static can only be set while the VM is offline. Dynamic can be changed in live. When you'll live migrate a VM, it will be decreased to the dynamic min. So take care to use a value that's higher than your VM operating system minimum RAM usage.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Creating network bonds in XO

    5
    0 Votes
    5 Posts
    958 Views
    olivierlambertO
    You can change the bond name yes.