Subcategories

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

    363 Topics
    3k Posts
    dthenotD
    @Razor_648 While I was writing my previous message, I have been reminded that there are also issues with LVHDoISCSI SR and CBT, you should disable CBT on your backup job and on all VDI on the SR. It might help with the issue.
  • ACLs, Self-service, Cloud-init, Load balancing...

    90 Topics
    766 Posts
    D
    @Danp said in Advanced VM settings Logs: Hi Dustin, Yes... these types of actions are recorded in the Audit log (Settings > Audit) if you have access to this feature and have enabled it. Dan Perfect, thanks!
  • All XO backup features: full and incremental, replication, mirrors...

    368 Topics
    4k Posts
    M
    @olivierlambert said in Confirming health checks work: xe vm-param-list uuid= [07:16 hst100 ~]# xe vm-param-list uuid=57ca2b95-2516-41ea-c2a3-1df02dc9ed4e uuid ( RO) : 57ca2b95-2516-41ea-c2a3-1df02dc9ed4e name-label ( RW): server.cloud - rtr000 name-description ( RW): pfSense user-version ( RW): 1 is-a-template ( RW): false is-default-template ( RW): false is-a-snapshot ( RO): false snapshot-of ( RO): <not in database> snapshots ( RO): 6ac4aa42-5d12-ca8e-aa70-bc5a70e12012; e491e534-8a09-b1c6-e124-9ee18c8d7c48 snapshot-time ( RO): 19700101T00:00:00Z snapshot-info ( RO): parent ( RO): e491e534-8a09-b1c6-e124-9ee18c8d7c48 children ( RO): is-control-domain ( RO): false power-state ( RO): running memory-actual ( RO): 1073729536 memory-target ( RO): 1073741824 memory-overhead ( RO): 11534336 memory-static-max ( RW): 1073741824 memory-dynamic-max ( RW): 1073741824 memory-dynamic-min ( RW): 1073741824 memory-static-min ( RW): 134217728 suspend-VDI-uuid ( RW): <not in database> suspend-SR-uuid ( RW): <not in database> VCPUs-params (MRW): VCPUs-max ( RW): 1 VCPUs-at-startup ( RW): 1 actions-after-shutdown ( RW): Destroy actions-after-softreboot ( RW): Soft reboot actions-after-reboot ( RW): Restart actions-after-crash ( RW): Restart console-uuids (SRO): b324db63-c892-09a2-6b34-332732eeebdc hvm ( RO): true platform (MRW): timeoffset: 0; device-model: qemu-upstream-compat; secureboot: false; viridian: true; nx: true; acpi: 1; apic: true; pae: true; hpet: true allowed-operations (SRO): metadata_export; changing_dynamic_range; migrate_send; pool_migrate; checkpoint; snapshot current-operations (SRO): blocked-operations (MRW): pause: true; clean_shutdown: true; suspend: true; hard_shutdown: true; shutdown: true; hard_reboot: true; clean_reboot: true; destroy: true allowed-VBD-devices (SRO): 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; 20; 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; 37; 38; 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; 55; 56; 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; 73; 74; 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; 91; 92; 93; 94; 95; 96; 97; 98; 99; 100; 101; 102; 103; 104; 105; 106; 107; 108; 109; 110; 111; 112; 113; 114; 115; 116; 117; 118; 119; 120; 121; 122; 123; 124; 125; 126; 127; 128; 129; 130; 131; 132; 133; 134; 135; 136; 137; 138; 139; 140; 141; 142; 143; 144; 145; 146; 147; 148; 149; 150; 151; 152; 153; 154; 155; 156; 157; 158; 159; 160; 161; 162; 163; 164; 165; 166; 167; 168; 169; 170; 171; 172; 173; 174; 175; 176; 177; 178; 179; 180; 181; 182; 183; 184; 185; 186; 187; 188; 189; 190; 191; 192; 193; 194; 195; 196; 197; 198; 199; 200; 201; 202; 203; 204; 205; 206; 207; 208; 209; 210; 211; 212; 213; 214; 215; 216; 217; 218; 219; 220; 221; 222; 223; 224; 225; 226; 227; 228; 229; 230; 231; 232; 233; 234; 235; 236; 237; 238; 239; 240; 241; 242; 243; 244; 245; 246; 247; 248; 249; 250; 251; 252; 253; 254 allowed-VIF-devices (SRO): 2; 3; 4; 5; 6 possible-hosts ( RO): cb2ae4d4-6ed4-4790-8739-3cf0c2940c99 domain-type ( RW): hvm current-domain-type ( RO): hvm HVM-boot-policy ( RW): BIOS order HVM-boot-params (MRW): firmware: bios; order: cd HVM-shadow-multiplier ( RW): 1.000 PV-kernel ( RW): PV-ramdisk ( RW): PV-args ( RW): PV-legacy-args ( RW): PV-bootloader ( RW): PV-bootloader-args ( RW): last-boot-CPU-flags ( RO): vendor: AuthenticAMD; features: 178bfbff-f6f83203-2e500800-040001f3-0000000f-f1bf07a9-00405f4e-00000000-711ed005-10000010-00000020-18000144-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000 last-boot-record ( RO): '' resident-on ( RO): cb2ae4d4-6ed4-4790-8739-3cf0c2940c99 affinity ( RW): <not in database> other-config (MRW): auto_poweron: true; import_task: OpaqueRef:2d9c20fa-8f3f-ab13-da2e-523397d0311b; mac_seed: aead2513-60f2-c322-af2a-2e2a5b13a0f0; xo:6eb22368: {"creation":{"date":"2025-03-09T05:14:39.610Z","template":"552bce37-51b2-445d-84f2-5f33fa112d7e","user":"a2e57b71-9b1b-4044-b7c6-4199ab307f28"}}; base_template_name: Other install media; install-methods: cdrom dom-id ( RO): 8 recommendations ( RO): <restrictions><restriction field="memory-static-max" max="137438953472"/><restriction field="vcpus-max" max="64"/><restriction field="has-vendor-device" value="false"/><restriction field="supports-bios" value="yes"/><restriction field="supports-uefi" value="yes"/><restriction field="supports-secure-boot" value="yes"/><restriction max="255" property="number-of-vbds"/><restriction max="7" property="number-of-vifs"/></restrictions> xenstore-data (MRW): vm-data/mmio-hole-size: 268435456; vm-data: ha-always-run ( RW) [DEPRECATED]: false ha-restart-priority ( RW): blobs ( RO): start-time ( RO): 20250710T21:50:55Z install-time ( RO): 19700101T00:00:00Z VCPUs-number ( RO): 1 VCPUs-utilisation (MRO): 0: 0.026 os-version (MRO): netbios-name (MRO): PV-drivers-version (MRO): PV-drivers-up-to-date ( RO) [DEPRECATED]: true memory (MRO): disks (MRO): VBDs (SRO): f219ecc9-6986-11ef-901c-e9843e595f19 networks (MRO): PV-drivers-detected ( RO): true other (MRO): platform-feature-xs_reset_watches: 1; platform-feature-multiprocessor-suspend: 1; has-vendor-device: 0; feature-suspend: 1; feature-reboot: 1; feature-poweroff: 1 live ( RO): true guest-metrics-last-updated ( RO): 20250710T21:51:20Z can-use-hotplug-vbd ( RO): unspecified can-use-hotplug-vif ( RO): unspecified cooperative ( RO) [DEPRECATED]: true tags (SRW): Backup appliance ( RW): <not in database> groups ( RW): snapshot-schedule ( RW): <not in database> is-vmss-snapshot ( RO): false start-delay ( RW): 0 shutdown-delay ( RW): 0 order ( RW): 0 version ( RO): 0 generation-id ( RO): hardware-platform-version ( RO): 0 has-vendor-device ( RW): false requires-reboot ( RO): false reference-label ( RO): other-install-media bios-strings (MRO): bios-vendor: Xen; bios-version: ; system-manufacturer: Xen; system-product-name: HVM domU; system-version: ; system-serial-number: ; baseboard-manufacturer: ; baseboard-product-name: ; baseboard-version: ; baseboard-serial-number: ; baseboard-asset-tag: ; baseboard-location-in-chassis: ; enclosure-asset-tag: ; hp-rombios: ; oem-1: Xen; oem-2: MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d pending-guidances ( RO): vtpms ( RO): pending-guidances-recommended ( RO): pending-guidances-full ( RO)
  • Everything related to Xen Orchestra's REST API

    66 Topics
    502 Posts
    lsouai-vatesL
    @StephenAOINS This endpoint is not currently present in our REST API swagger, but we do plan to add it to the list of endpoints. We are currently finalizing the migration of existing endpoints, the next step will be adding new ones. We will keep you informed when it is available. Feel free to come back to us if you want to learn more and follow our blog posts. have a good day
  • 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?
  • Orphaned host after pool metadata restore

    7
    0 Votes
    7 Posts
    955 Views
    S
    @oryon-br I didn't get any more help on this and I couldn't find any solutions so I ended up rebuilding the pool to fix this issue. Not ideal.
  • Backup speed XO vs command line

    1
    1
    0 Votes
    1 Posts
    315 Views
    No one has replied
  • New XOA PLugins

    4
    0 Votes
    4 Posts
    700 Views
    olivierlambertO
    Sure: please create an issue on Github repo asking for this feature, but also explaining you'd like to contribute. This way, our devs will help you to set it up
  • XOCE and Zerotier SDN

    2
    0 Votes
    2 Posts
    537 Views
    W
    its working, it just took very long time to detect,
  • Manage XCP-NG with XOA and Cloudstack

    11
    0 Votes
    11 Posts
    1k Views
    olivierlambertO
    Sure @kurushi9000 there's a free trial exactly for that kind of cases
  • Backups silently fail with invalid XO Proxy License

    Solved
    7
    0 Votes
    7 Posts
    746 Views
    N
    @julien-f Thanks!
  • Backup failed with obscure error message

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    The issue is to snapshot the VM while there's USB passthrough. Offline backup might work, please try.
  • cloud-init ssh key works but not user config

    8
    0 Votes
    8 Posts
    2k Views
    C
    Hello, Did you manage to make it work with a static addressing network ? I tried this (where myip and mygateway are replaced by real values) network: version: 1 config: - type: physical name: eth0 subnets: - type: static address: myip/24 gateway: mygateway with no success. and as I don't have an IP assignated and theses cloud images are passwordless by default I can't event log in from the console to troubleshoot.
  • Delta Backup transferred thru slow management network...

    8
    0 Votes
    8 Posts
    1k Views
    I
    @darkbeldin Any additional idea, why this still happens after the suggested change? Many thanks!
  • VM Migration stuck at 0% VM metadata import

    2
    1
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    Please check your XOA is fully up to date
  • Delta backup Questions

    2
    0 Votes
    2 Posts
    232 Views
    olivierlambertO
    The initial job will take some time, but it will be fine after that. You can modify the job after getting your second or third run, to see how much data between each run is generated
  • Performance enancement for backups possibe?

    feature to groom
    5
    0 Votes
    5 Posts
    735 Views
    julien-fJ
    Ok, let me know
  • Encrypt server passwords in database

    4
    0 Votes
    4 Posts
    552 Views
    olivierlambertO
    I'm not an English native speaker, it wasn't meant to be passive aggressive at all. I just told you that @julien-f already explained the initial reasons (also telling you we are aware of that fact). Also, XO 6 work is a major rework of the whole thing, and this will be taken into account on our redesign. A note, however: if someone can slip into your XOA, password, tokens and XAPI access are available in memory (regardless the fact you have encryption or not). In that case, a passphrase won't change anything. That's why we decided to remove any default password in the XO virtual Appliance template, so nobody still use default creds as a "known" entry point. And finally, as Xen Orchestra is fully Open Source, your contributions are very welcome
  • [SOLVED] Migrate XO from sources to another machine

    Solved
    3
    0 Votes
    3 Posts
    404 Views
    xiscoX
    @danp hi I did it but, no network shares have been imported and neither backup jobs. will try to reboot machine Well Rebooting did the job, thanks @Danp
  • XOA Hub

    xoa
    7
    0 Votes
    7 Posts
    1k Views
    olivierlambertO
    Can you give some details? How do you imagine to work with that? Because it might be done via RunX at some point I think
  • s3 backups with minio using https and various CAs

    5
    1
    0 Votes
    5 Posts
    771 Views
    nraynaudN
    @sidsanders Hi, I gave a look at your issue, it seems that it is often associated with the ssl certificate missing the middle of the Merkle chain. here are a couple of explanations: https://serverfault.com/questions/693033/unable-to-use-builtin-ca-bundle-to-verify-godaddy-sha2-ssl-certificate https://www.npmjs.com/package/ssl-root-cas I suspect that the certificate you gave to minio was incomplete. Note that the chain of certificate should not include the root certificate, only all the certificates in the chain minus the root. Nico.
  • Disaster Recovery Backups - Remove 'Auto-Start' field?

    8
    0 Votes
    8 Posts
    783 Views
    T
    I do not get this problem on XCP-ng 8.1, just to add more information.
  • Import problem which Mikrotik Cloud Hosted Router

    10
    0 Votes
    10 Posts
    3k Views
    nraynaudN
    I think the issue is solved, you can follow the fix here: https://github.com/vatesfr/xen-orchestra/pull/5903 nraynaud opened this pull request in vatesfr/xen-orchestra closed fix(xo-server/{disk,vm}.import): fix import of very small VMDK files #5903
  • xoa setup static ip

    11
    0 Votes
    11 Posts
    15k Views
    kdmK
    @tony Yes, that's the setting I was talking about. OKay. I've no idea what VIF-locking is, so I'll leave it there! Thanks again.
  • Ubuntu 20.04 Cloud Image

    14
    0 Votes
    14 Posts
    3k Views
    T
    @encryptblockr Why don't you just download the official cloud image from ubuntu? It's not worth the headache lol. https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.ova