Subcategories

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

    482 Topics
    4k Posts
    I
    The sr.probeIscsiIqns and sr.createIscsi is very slow. I checked the payload too and it send the target, which turned out to be a synthetic "*" (wildcard). Any way to optimize the SR.probe and creation? [image: 1787475941008-89b00c18-ae23-4259-981e-62d0f5d58d58-image.jpeg]
  • ACLs, Self-service, Cloud-init, Load balancing...

    106 Topics
    867 Posts
    olivierlambertO
    Question for @Team-XO-Backend
  • All XO backup features: full and incremental, replication, mirrors...

    526 Topics
    6k Posts
    T
    It looks like this is identified and solved, I'll test on a new version of XO next week at some point, but I just wanted to confirm that I've been seeing what appears to be the same problem. This hasn't affected any of my full, delta or mirror backups, on any of the NFS targets - but it does affect two different Pool metadata & xo config backups. Both on different NFS targets on different schedules. It's an infrequent failure, sometimes not failing for a couple of days, but sometimes failing up to 3 or 4 times per day - this is on an hourly schedule. [image: 1787394387803-912ddd51-e6c1-4a62-8529-79d6b2fe8ad0-image.jpeg] My most recent failure on the hourly job was yesterday morning, the one before that was almost 24 hours earlier. This is currently on Xen Orchestra, commit 24913 but it was also noticeable on a version from the end of July. From what I've read, I'm guessing the fix will be in the main branch soon enough and an update will solve it, but if there's any useful information I can provide, please let me know.
  • Everything related to Xen Orchestra's REST API

    87 Topics
    650 Posts
    A
    @poddingue Borrow away - "smoke alarm" is a better name for it than anything we had, so we might borrow it right back. Since you mentioned reading the matrix - here is the classification you would be reading, straight from the file: grep access: dadl/xen-orchestra.dadl | sort | uniq -c 49 access: admin 21 access: dangerous 122 access: read 75 access: write 122 of the 267 tools are plain read - that is the entire surface a review-capped agent gets. The other 145 exist in the same file, but for that agent they might as well not. The whole security taxonomy is greppable plaintext - which is rather the point of a declarative format. And if anything in the matrix looks wrong or missing, this thread is exactly the right place - real-world corrections are how it improves.
  • Terraform, Packer or any tool to do IaC

    51 Topics
    472 Posts
    JeremyLARDENOISJ
    New releases! Terraform Provider Xen Orchestra v0.40.0 This new release allows users to import VMs directly from Xen Orchestra into Terraform without recreating it or modifying manually the Terraform state. There is still some drift when importing it, but nothing that changes the real state of VM and we are currently on it! https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.40.0 Golang SDK for Xen Orchestra v1.17.0 v2 The network service is now available from the v2 client! You can now create, get and delete your network directly from it! v1 & v2 The template value in VM struct params has been fixed, We can now get the template id directly from it. https://github.com/vatesfr/xenorchestra-go-sdk/releases/tag/v1.17.0
  • Changing Hosts and XOA IP

    14
    1 Votes
    14 Posts
    10k Views
    olivierlambertO
    No problem. XOA is meant to be disposable
  • Feat: Improvements to the VM statistics page:

    4
    4
    0 Votes
    4 Posts
    1k Views
    ForzaF
    @julien-f said in Feat: Improvements to the VM statistics page:: Yes, I've noted this for XO6 Great. Thanks Now we just need a XO 6.0 release
  • Shared SR (two pools)

    7
    0 Votes
    7 Posts
    3k Views
    J
    @olivierlambert Okay. I'll give it a shot.
  • Creating NFS remote trouble

    1
    0 Votes
    1 Posts
    448 Views
    No one has replied
  • XenOrchestra with Terraform

    4
    0 Votes
    4 Posts
    2k Views
    D
    @ddelnano Sorry to drag this up and also no OP, but I'm just looking at how to set a static RAM allocation via terraform too so this would be relevant to me. Here's a snippet of code, it's using a generic Ubuntu 22.04 LTS cloud image template which has 1GB ram by default, in the code I set the memory to 4GB, which works but uses Dynamic rather than static resource "xenorchestra_vm" "bar" { name_label = "TerraformCreatedMe" name_description = "Terraform Managed" template = data.xenorchestra_template.ubuntu22.id memory_max = 4294967296 cpus = 4 destroy_cloud_config_vdi_after_boot = true hvm_boot_firmware = "uefi" From the hypervisor side the VM looks like this: memory-static-max ( RW): 4294967296 memory-dynamic-max ( RW): 4294967296 memory-dynamic-min ( RW): 1073741824 memory-static-min ( RW): 1073741824 So to me it looks like memory_max in terraform changes just memory-static-max and memory-dynamic-max which leaves the VM with dynamic memory control. I want the behaviour to be, when I create a new VM or change the RAM allocation for the VM to have static RAM not dynamic. I hope this is possible.
  • VM_BAD_POWER_STATE

    13
    0 Votes
    13 Posts
    3k Views
    nick.lloydN
    @jmm Can you check to see if the health check is turned off? In your backup config, it'll be in the schedule just under the "Replication Retention" section. I've found that you can leave it on, but it will "fail" (despite the recovery working fine, unchecking it will get rid of the error on subsequent backups).
  • Shared Storage Redundancy Testing

    13
    0 Votes
    13 Posts
    3k Views
    olivierlambertO
    You can lazy umount a failed network share, then PBD unplug will work.
  • Can't Enable High Availability Feature

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    D
    @olivierlambert Thanks! With HBA SR the HA feature is on for now
  • XOA quick deploy on 8.3 beta 2?

    Solved xoa 8.3 beta2
    4
    0 Votes
    4 Posts
    1k Views
    F
    Just tried it again...it's all good now!
  • Quick Deploy does not list storage options

    Solved xcp-ng xoa quick deploy
    11
    1
    0 Votes
    11 Posts
    8k Views
    SenekenS
    @olivierlambert : Thank you very much for this information. I really happy with xcp-ng!
  • Can't create bond on pool. Error: You do not have permissions

    Solved
    15
    1
    0 Votes
    15 Posts
    3k Views
    L
    Thank you @Danp , that suggestion worked! For anyone seeing this in the future, I just bond the nics on the master before adding the rest of the hosts to the pool.
  • Monitoring Xen Orchestra with Icinga2

    2
    0 Votes
    2 Posts
    1k Views
    J
    @fesch said in Monitoring Xen Orchestra with Icinga2: Hello XOA Community, We are in the process of migrating from VMware to XCP-NG with XOA. We are using Icinga2 as an unster infrastructure monitoring tool and would like to monitor the XOA and the hosts with Icinga2 as well. Does anyone know a good check plugin for Icinga or another good solution to monitor an XCP-NG cluster via Icinga/Nagios? Unfortunately, my searches on the web have not yielded any particularly good results. I am thankful for any hint. Best regards Felix @fesch There's in Xen Orchestra a plugin called "transport-icinga2" so if your got a high enough edition of Xen Orchestra (depending on Vate's bundle) subscription. So if you have this plugin in Xen Orchestra and configure it with the following:- Server (as a http or https url) Username Password Filter to use You may depending on whether your using valid cross signed certificates or not you may need to configure "allow unauthorised certificates". After configuring the plugin then enable it to start monitoring Xen Orchestra and through it the XCP-ng hosts being managed!
  • How to determine if VM is a fast clone i XO/A?

    11
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    Hi, I answered in the GH issue. Please don't try to duplicate requests on multiple places.
  • Problem with importing large VMDK disks

    Solved
    12
    6
    0 Votes
    12 Posts
    4k Views
    A
    To conclude this: @florent and I discussed the issue in a private conversation. I provided the vmdk file that was causing the problem. It turned out that the problem was caused by the vmdk thin file from VMware Workstation Pro, which has a slightly different structure than the vmdk files on ESXi hypervisors. Currently XO imports these files fine and the problem can be considered solved. Thank you very much @florent for your cooperation and help.
  • 0 Votes
    15 Posts
    4k Views
    A
    That's exactly it, thank you [image: 1717165046697-1533660b-c0eb-45b1-b81c-ae50d03a4f36-image.png]
  • Update release channels

    Solved
    3
    0 Votes
    3 Posts
    785 Views
    F
    @olivierlambert Perfect, thank you
  • Vmware migration to XCP-NG no longer works

    Solved
    18
    0 Votes
    18 Posts
    5k Views
    K
    @olivierlambert Sorry, I will tell it clearly next time.
  • 2 Votes
    2 Posts
    638 Views
    olivierlambertO
    Pinging @florent about this
  • NDB Connection

    3
    1
    0 Votes
    3 Posts
    936 Views
    H
    @Andrew, Thank you for the reply.
  • Live Migration in XO Fails

    6
    0 Votes
    6 Posts
    1k Views
    O
    @omatsei I found the following error on the source host, if it helps. I rebooted it and restarted iscsid on both the source and destination hosts, just to make sure nothing was pending or hung. May 28 10:15:32 xcp09 xapi: [error||2507 ||backtrace] SR.scan D:9f4f3c05cc88 failed with exception Storage_error ([S(Redirect);[S(192.168.1.201)]]) May 28 10:15:32 xcp09 xapi: [error||2507 ||backtrace] Raised Storage_error ([S(Redirect);[S(192.168.1.201)]]) May 28 10:15:32 xcp09 xapi: [error||2507 ||backtrace] 1/1 xapi Raised at file (Thread 2507 has no backtrace table. Was with_backtraces called?, line 0 May 28 10:15:32 xcp09 xapi: [error||2507 ||backtrace] May 28 10:15:32 xcp09 xapi: [error||2507 ||storage_interface] Storage_error ([S(Redirect);[S(192.168.1.201)]]) (File "storage/storage_interface.ml", line 436, characters 51-58) May 28 10:15:32 xcp09 xapi: [error||2506 HTTP 127.0.0.1->:::80|Querying services D:6b15aa4c5bcd|storage_interface] Storage_error ([S(Redirect);[S(192.168.1.201)]]) (File "storage/storage_interface.ml", line 431, characters 49-56) May 28 10:15:32 xcp09 xapi: [error||2506 HTTP 127.0.0.1->:::80|Querying services D:6b15aa4c5bcd|storage_interface] Storage_error ([S(Redirect);[S(192.168.1.201)]]) (File "storage/storage_interface.ml", line 436, characters 51-58) Note that 192.168.1.201 is the pool master. I ended up rebooting the pool master after manually migrating VM's off it, and it seems to have fixed the issue. No idea why, but whatever.