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?
  • NFS SR not mounting

    8
    0 Votes
    8 Posts
    6k Views
    fohdeeshaF
    @thorcraftit seems like perhaps a permissions error, what does your share properties on truenas look like for this host? Is the allowed IP or denied IP boxes populated at all? Attach a screenshot if you can. Here's what mine looks like: [image: 1625573743330-f76ebeef-c5cf-452e-8a43-28144d9a8c94-image.png] Note that the mapall user and group must have permissions on the shared folder, I typically create a user on the freenas system just for xen shares, and give it ownership of the folder/dataset that's being shared. this ensures you don't have any weird permissions issues. I think in your case the key boxes to examine are the authorized networks however. What does your Services > NFS > Settings look like? here's mine: [image: 1625573851182-3ccf191c-575c-4094-b91f-b4e12e6a4091-image.png] Lastly and perhaps most importantly, can you run "yum install nmap" and then "nmap 172.16.60.200" on both a working host, and then this non-working host? Paste the results of both here - if they differ, for instance if the non-working server doesn't see any RPC services running like I suspect, that will heavily point towards a firewall/network/ACL issue
  • Config Password when exporting from 5.41.0 to 5.80

    7
    0 Votes
    7 Posts
    474 Views
    julien-fJ
    @cfm56 The error was probably due to https://github.com/vatesfr/xen-orchestra/issues/5836 This did not impact the import of the config though, anyway it should be fixed now trader418 created this issue in vatesfr/xen-orchestra closed Config restore error #5836
  • WORM / immutable backups

    2
    0 Votes
    2 Posts
    531 Views
    olivierlambertO
    But what about merging delta backup? This require write access. Except if we completely "move" the merge logic in the storage itself (which will be possible in few months)
  • Backup - Bypass XOA

    2
    0 Votes
    2 Posts
    303 Views
    olivierlambertO
    That's because of XCP-ng/XenServer design. The host isn't pushing data, it's only exposing an HTTP handler to pull from it. You can use XO Proxies if you prefer: https://xen-orchestra.com/docs/proxy.html
  • Clear Filters by Default

    Solved
    3
    0 Votes
    3 Posts
    433 Views
    kdmK
    @darkbeldin Thank you. That was just off the bottom of the screen and I did scroll past it a few times, but being a little lonely icon, when all the other items have text, it didn't even register as a thing!
  • Multi step Jobs?

    feature in backlog
    7
    0 Votes
    7 Posts
    980 Views
    M
    @pdonias @olivierlambert hey thanks for adding this in latest release!! [image: 1625251007022-45658591-208e-46f6-b3af-74144019b94e-cleanshot-2021-07-02-at-19.36.01-2x.png]
  • VM Backup Folders

    Solved
    5
    0 Votes
    5 Posts
    588 Views
    JoeArnonJ
    @danp tnx
  • Backup on encrypted, exchangable disks

    2
    0 Votes
    2 Posts
    607 Views
    olivierlambertO
    Questions for @julien-f I suppose
  • Edit Storage host info after creation?

    Solved
    2
    1
    0 Votes
    2 Posts
    2k Views
    olivierlambertO
    Hi! That's is possible, you just need to shutdown all VMs using disks in there. Then, 4 steps: 0. Find the PBD currently connected to this SR via xe pbd-list Save the PBD information somewhere (xe pbd-param-list uuid=<PBD UUID> Unplug and remove the PBD (xe pbd-unplug and xe pbd-destroy Recreate the PBD by just changing the information using xe pbd-create In short, the PBD is like the "cable" between your host and your SR. Removing it won't remove any actual data, just the link between them. If you recreate it, and replug it, you'll find everything back
  • XCP-ng patches download URL

    3
    0 Votes
    3 Posts
    370 Views
    olivierlambertO
    It doesn't work like Citrix patches. Xen Orchestra will send a XAPI command to the host, that will in fact do a yum update command. The result is returned to XO and it will display available updates. We got a system using the best mirror for you: https://xcp-ng.org/docs/mirrors.html#original-mirror
  • XO tries to deactivate lvm volume group on yarn start

    Solved
    3
    1
    0 Votes
    3 Posts
    292 Views
    jamochlJ
    @olivierlambert cool, thanks
  • new backup shows loading... for ever

    6
    0 Votes
    6 Posts
    520 Views
    olivierlambertO
    Hi, Please open a support ticket, that would be easier to assist (you can also open a support tunnel so we can remotely access your XOA to investigate faster, see https://help.vates.fr/kb/en-us/9-xen-orchestra-appliance-xoa/16-create-a-support-tunnel ) edit: don't forget to go in XOA/Support then doing an XOA check, see https://help.vates.fr/kb/en-us/9-xen-orchestra-appliance-xoa/17-xoa-check
  • backup failed

    35
    0 Votes
    35 Posts
    11k Views
    julien-fJ
    @black_sam Thanks for your feedback
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    138 Views
  • Change management network interface?

    8
    0 Votes
    8 Posts
    18k Views
    fohdeeshaF
    @station-already hehe glad you got it figured out Indeed, management interface changes are pretty "violent" in terms of how much they change and interrupt, so a reboot helps quite often - same for changing the virtual adapter/PIF assigned to a VM - alway a good idea to reboot the VM
  • Backup failed with message "HTTP request has been canceled"

    17
    1
    0 Votes
    17 Posts
    1k Views
    E
    @julien-f said in Backup failed with message "HTTP request has been canceled": node -p 'require.resolve("xen-api")' Hi all, I think the problem is fixed now. thanks for your help
  • backup failed with error writer is not defined

    Solved
    3
    0 Votes
    3 Posts
    309 Views
    R
    @danp after update, backup works fine, thanks
  • Remote Connection Failed.

    5
    0 Votes
    5 Posts
    1k Views
    olivierlambertO
    This means your NFS server doesn't support NFSv3.
  • 0 Votes
    3 Posts
    232 Views
    julien-fJ
    @josh-hemphill For the time being, xo-server generates certificates using RSA 2048 keys, but you can use your own certificate with other algos like P-384 ECDSA.
  • Zen Orchestra lite

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    This is not exposed in XAPI, so it might require to write a XAPI plugin.