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?
  • 0 Votes
    5 Posts
    502 Views
    pdoniasP
    @duxepu Ok, this is weird, I'm not able to reproduce that and I don't see how it's possible. Could you check a few things? from an admin point of view, at the bottom of the VM's advanced tab, please check that the user has Admin ACLs on the VM from the user's point of view, when you're on the snapshots tab, open the browser console (press F12 > Console tab) and check if there are any errors do you have this issue with all the users of all your Self Service groups or is it more specific? Thanks!
  • Bizarre Error during backup process (from the sources, 20.04)

    12
    0 Votes
    12 Posts
    1k Views
    DanpD
    Yesterday I updated to the latest sources and my backup ran successfully, so it appears that this issue is resolved. @carlosfrederico You'll need to switch back to the master branch before your normal update routine will work.
  • Debian cloud template for XenServer Default Password

    6
    0 Votes
    6 Posts
    4k Views
    olivierlambertO
    There's no root password. Use sudo -s
  • Server can no longer connect after crash

    Solved pool server
    5
    0 Votes
    5 Posts
    733 Views
    grapesmcG
    @olivierlambert FYI turned out to be a networking issue that had nothing to do with the server itself. I'm still getting to the bottom of what exactly the cause was, and will update here once I do just in case someone else runs into this. Thanks again. And thanks for the awesome software. ! -Rob
  • Uncertain state of VM tools

    7
    0 Votes
    7 Posts
    873 Views
    olivierlambertO
    No, there's no need to upgrade VM tools when you upgrade the host. You can keep old tools, it will work fine.
  • VDI is not available Error

    4
    0 Votes
    4 Posts
    2k Views
    F
    @dan2462 Did you get a resolution to your VDI issue? I have a similar problem as it seems hosts are locking up the VDI's on my shared iscsi storage and if they are shutdown and I try to boot them on an alternate host, I get the VDI not available error.
  • HOST_NOT_ENOUGH_FREE_MEMORY

    9
    0 Votes
    9 Posts
    2k Views
    M
    @olivierlambert Thanks for the quick feedback!
  • What ordering does XO trigger backups in?

    3
    0 Votes
    3 Posts
    352 Views
    badrAZB
    Hi @xo-g , We don't use any specific order to pick the VMs to backup.
  • How to implement the perfect backup strategy with Xen Orchestra?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Single backup job two locations

    2
    0 Votes
    2 Posts
    231 Views
    olivierlambertO
    You can have one job with 2 remotes. Or a job with backup and DR at the same time.
  • SAML, automatic user generation

    5
    0 Votes
    5 Posts
    1k Views
    pdoniasP
    @mrbaz Thanks for the detailed feedback! If XO had a way of pulling the user's group information and only allowing those in a certain group to have authorization to XO to have their accounts automatically generated, that would work too. That wouldn't be trivial to implement with our current plugin system. But as you said, a user that logs into XO isn't able to do anything without granting them permissions first. Also, if this is still a concern for you, you can disable user auto-generation in xo-server configuration by adding this line: createUserOnFirstSignin = false However, you'd then have to create the users manually before they can log in. the issue still stands that I can't put a user into a group or assign ACLs until after they have signed in for the first time. I agree but I'm not sure what a good solution to this would be. If we add an option to import all the users at once, it could mean importing a lot of users for some companies, even if many of those users would never actually log in later.
  • Cannot import a large VHD using Import Disk option

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    D
    @nraynaud @olivierlambert Thanks guys!
  • S3 Remote

    12
    0 Votes
    12 Posts
    2k Views
    F
    @lawrencesystems said in S3 Remote: I was hoping to avoid this method as my pfsense is not connected at 10G. Thank you for the clarification. Happy I could help.
  • un-zstd .xva files exported with XOA?

    Solved
    3
    0 Votes
    3 Posts
    257 Views
    ForzaF
    @olivierlambert said in un-zstd .xva files exported with XOA?: Hi! Again, before starting to talk about technical solution, can you explain the use case? If you have zstd installed on your machine, yes. It's a tar with compression (gzip or zstd). But then it won't be trivial to assemble VM data (but you can exctract metadata easily!) I didn't really mean disassemble the .xva, but rather create an uncompressed .xva that has broader support/portability. The zstd command line tool seems to be able to uncompress it just fine. Thanks.
  • Reset Xen Orchestra Community Edition Web Password

    2
    0 Votes
    2 Posts
    8k Views
    olivierlambertO
    Hey there! It's a good thing to start by reading our doc. If you enter "Password" in the search field, you would have find: https://xen-orchestra.com/docs/troubleshooting.html#recover-web-login-password As you are using Xen Orchestra into production, may I suggest to go for XOA with pro support at some point?
  • Automating VM creation via Terraform

    7
    0 Votes
    7 Posts
    2k Views
    E
    @newknowledge Thanks, I'll try it out later.
  • Pool Metadata backup sometimes fails when using multiple remotes

    4
    5
    0 Votes
    4 Posts
    259 Views
    ForzaF
    @olivierlambert Maybe. Ive created a support ticket for now. Hopefully you can see if the problem is a configuration mistake on our end or a problem in XO. Thanks.
  • Multiple internal networks in pool for each user

    2
    0 Votes
    2 Posts
    490 Views
    T
    @jfrelik Similar issue here - still trying to figure this out. https://xcp-ng.org/forum/topic/4209/xcp-ng-and-network-virtualisation-help
  • Ansible dynamic inventory and XO

    11
    0 Votes
    11 Posts
    1k Views
    olivierlambertO
    Nice
  • xo-cli - Get alarms

    Solved
    8
    1
    0 Votes
    8 Posts
    533 Views
    olivierlambertO
    You are welcome Enjoy! (great thing about xo cli is that you can get alarms of all your hosts from a single endpoint)