Subcategories

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

    337 Topics
    3k Posts
    C
    @olivierlambert If I SSH onto the XCP Host it was orig on (XCP Host1) and run xe vm-list it shows on there and running; If I SSH onto XCP Host2 xe vm-list shows it on there and running too. Also...the XO VM was fully updated; no outstanding commits. I just updated it earlier this morning.
  • ACLs, Self-service, Cloud-init, Load balancing...

    86 Topics
    739 Posts
    J
    hello running xcp-ng version 8.2.1 build date 2025-05-07 restart of node has been done netdata-ui version 1.19 release 6.xcpng8.2 from xcp-ng-updates repo netdata version1.44.3 release 6.xcpng8.2 from xcp-ng-updates repo confirmed following also installed xen-dom0-libs-devel yajl-devel xen-devel i have removed and reinstalled netdata-ui as well this was working fine before but sometime in the last few months , maybe when netdata updated to the versions above and the interface all changed, VM's are no longer visible in netdata [image: 1747811341191-c0b11d3e-0a0f-41dc-b122-4f1e769a92fe-image.png] use to be a giant list of VMs here, this is happening on all my xcp-ng servers, not just the one. they are all at the above mentioned xcp-ng version and netdata version. anyone else experiencing this? have any suggestions on whats going on, why the VM's are not showing up in netdata anymore on any of my hosts?
  • All XO backup features: full and incremental, replication, mirrors...

    344 Topics
    3k Posts
    lsouai-vatesL
    @kosa7 from what the XO devs told me : for now you have to handle it completly manually, since we have separated collection a not a relationnal db... You could maybe use a smart mode backup with a VM tag. We plan to implement a relational database in the future, which would at least offer the possibility to handle this. "Reasonnably : warm migration should be more a one off , so the user must handle the consequence. If he uses this regularly, he should add a tag to the VM " DBPRODBACKUPPLZ" and then configure his job to use this tag" FYI @olivierlambert
  • Everything related to Xen Orchestra's REST API

    61 Topics
    476 Posts
    S
    @Studmuffn1134 I changed my link from ws:// to https:// and it now gives me this error File "Z:\Valera\School\Lakeland University\Finished\Programming 2\Python Programs\StudsPrograms.venv\Lib\site-packages\jsonrpc_base\jsonrpc.py", line 213, in parse_response raise ProtocolError(code, message, data) jsonrpc_base.jsonrpc.ProtocolError: (10, 'invalid parameters', {'error': {'message': 'invalid parameters', 'code': 10, 'data': {'errors': [{'instancePath': '/id', 'schemaPath': '#/properties/id/type', 'keyword': 'type', 'params': {'type': 'string'}, 'message': 'must be string'}]}}, 'id': '0a11ec72-9300-4030-a5d2-a5c0286f3811', 'jsonrpc': '2.0'})
  • Terraform, Packer or any tool to do IaC

    31 Topics
    285 Posts
    nathanael-hN
    xo-powershell moves from alpha to beta The XO-PowerShell module is published in the :microsoft: PowerShell Gallery as v1.0.0-beta https://www.powershellgallery.com/packages/xo-powershell/1.0.0-beta Grab it with one powershell command: Install-Module -Name xo-powershell -AllowPrerelease Doc here Thanks to @dinhngtu @iButcat
  • How it works the NBD? I don't see improvements

    7
    0 Votes
    7 Posts
    398 Views
    M
    @olivierlambert If you want me to check anything else, just tell me and I will test for you. Many Thanks BR Marco
  • Cloud Config success

    cloudinit config
    7
    3 Votes
    7 Posts
    2k Views
    M
    @mtcoffee Thank you. Just what I need.
  • Warm Migration HOST_CANNOT_ATTACH_NETWORK

    3
    0 Votes
    3 Posts
    118 Views
    J
    @nick-lloyd So looked at the network ports on the host it is going to. They show disconnected due to they are in a bond lacp so the 2 network ports show as disconnected but the bond shows as connected. Also have other VMs running on the receiving host so know the bond is working.
  • possible bug for cpu stats in XOA 5.101.0

    4
    2
    0 Votes
    4 Posts
    109 Views
    J
    Doesn’t the status history go back 1 year? Thanks for the info I’ll restart it and clear it
  • Can't copy between hosts

    8
    0 Votes
    8 Posts
    175 Views
    olivierlambertO
    Check XO Lite and XO 6, it will be closer to your habits, but not XenCenter is only community supported (we don't want to support it at Vates)
  • Ubuntu 22.04 template

    3
    0 Votes
    3 Posts
    157 Views
    F
    @olivierlambert said in Ubuntu 22.04 template: Is your XCP-ng fully up to date I am running 8.3 latest. I also found this guide since which helped #https://docs.xcp-ng.org/guides/create-use-custom-xcpng-ubuntu-templates/
  • XOA - Console freezing every few seconds consistently.

    Solved
    13
    0 Votes
    13 Posts
    414 Views
    olivierlambertO
    Great news, nice catch
  • Cannot Download Exported VM After Export Task Completes Successfully

    Unsolved
    18
    2
    0 Votes
    18 Posts
    467 Views
    K
    @olivierlambert Yep. Here's the video of the test - https://www.youtube.com/watch?v=tiVdR74PNjw
  • SR_BACKEND_FAILURE_108 | Unable to Add a Second NFS Storage Repository

    Solved
    4
    0 Votes
    4 Posts
    224 Views
    K
    @olivierlambert You're most welcome. XCP-ng + Xen Orchestra is a solid solution and I would very much like to see it get adopted within my organization, so I'll do anything (legal of course) to work through these problems and share the solutions, so the entire community can benefit.
  • Dynamic cloudinit network config [FEATURE REQUEST]

    7
    1
    0 Votes
    7 Posts
    295 Views
    D
    @julien-f Would that be something like this for a dynamic network config as an example? network: version: 1 config: - type: physical name: enX0 subnets: - type: static address: 192.168.99.{index}/24 gateway: 192.168.99.1 - type: nameserver address: - 172.31.31.1 - 192.168.45.11 search: - example.tld I plan to test this at some point, but I don't do a whole lot of bulk provisioning myself. Just curious.
  • Ubuntu 24.04 Cloud Image Template Not Working

    14
    0 Votes
    14 Posts
    2k Views
    D
    @encryptblockr said in Ubuntu 24.04 Cloud Image Template Not Working: did you mount the guest tools cdrom to the cloud image before you created a template from it? No, I just make my base images (for the end template) as generic as possible, and I do all mounts, package installs, accounts, keys, including the xe-guest utils package all in the user-data config for cloud-init. Makes the configurations more uniform across all stacks I have to maintain and scales really well with jinja templates. also what is point of {name}% in below? can you explain? where does it get {name} from and what is % use? That pulls the hostname from metadata that is provided by the nocloud datasource. If you ever want to see all the metadata available (for example, say your provisioning plane does dynamic configuration from some backend IAS platform, and you need logic that renders metadata to run different configurations; run the following after login: cloud-init query -a For example, I run different configurations based on what the 'distro' value is - example: cloud-init query -f {{v1.distro}} {% if distro in ['rocky', 'ol', 'centos', 'fedora', 'redhat', 'almalinux'] -%} //do the rpm things// This allows us to run completely different configuration settings based on what distro its being run in, or even what virtualization platform it is running on. Some platforms won't use the hostname, or fqdn meta values, so I have some if logic that only adds it when vendordata is null, example; {% if vendordata == '' %} fqdn: {name} {% endif %} Probably more than you wanted to know, but that's a brief summary of cloud-init metadata.
  • [SOLVED] How to install guest tools via apt?

    Solved
    2
    2
    0 Votes
    2 Posts
    2k Views
    E
    so i imported a new VM and made sure i mounted the guest-tools iso to it before converting it to template i just tried this and it worked!!! #cloud-config hostname: someotheruser ssh_authorized_keys: - ssh-rsa AAAAxxx - ssh-rsa AAAAxxx - ssh-ed25519 AAAAxxx runcmd: - [mkdir, -p, /mnt/guest-tools] - [mount, /dev/cdrom, /mnt/guest-tools] - [bash, /mnt/guest-tools/Linux/install.sh] - [umount, /dev/cdrom] - [rm, -rf, /mnt/guest-tools]
  • Can backups be "imported"?

    4
    0 Votes
    4 Posts
    543 Views
    J
    @olivierlambert Based on what you mentioned about losing everything and rebuilding, if you reconnect to the NFS share, will you be able to see the VMs listed below, or would additional steps be required to recover them? Thanks! [image: 1733646346634-a2bede49-af10-45e8-9014-7c70143688cf-image.png]
  • pool cpu usage vs host cpu usage

    2
    3
    0 Votes
    2 Posts
    83 Views
    J
    figured it out... When under "Pool" view its displaying the "stacked" value and not the average value.
  • SR NFS Creation Error 13

    Solved
    19
    5
    0 Votes
    19 Posts
    1k Views
    T
    I ran into this problem with a fresh install of XCP-ng and TrueNAS last night. The fix is on TrueNAS, NFS Advanced Options, set the maproot user to 'root' and maproot group to 'wheel'. By default the fields are empty.
  • Remote not working

    1
    0 Votes
    1 Posts
    70 Views
    No one has replied
  • XOA Quick Deploy

    29
    1
    0 Votes
    29 Posts
    8k Views
    M
    I know this is quite old but wanted to update with additional findings. I had the same error and it turns out you are using a non-standard port. In this case, tcp/8888 which I have blocked on my perimeter firewall.
  • No plugins visible on XOA [SOLVED]

    Solved
    3
    1
    0 Votes
    3 Posts
    97 Views
    T
    That must explain one or two things Thx
  • Some VMs Booting to EFI Shell in Air-gapped XOA Instance

    7
    0 Votes
    7 Posts
    274 Views
    K
    Good-day Folks, While troubleshooting this issue with my sales rep, I shared a screenshot of one of my VMs and he noted that it was odd that the boot disk was connected as device xvdb instead of xvda. So he asked me to go through and check if the VMs that were having problems booting, looked similar. I went through and confirmed that all the VMs that were failing to boot did not have an “xvda” device. I went through the Storage menu and found a few disks that did not have a name or description, which was quite odd (to say the least). I mounted each disk, one at a time, to one of the VMs and booted until I identified and renamed each of them. As it stands now, I’ve been able to get all the VMs back up and running again. However, that leaves some unanswered questions: How does taking a snapshot of a the MAIL01 VM (which was built with two disks – Disk1 for OS and Disk2 for Data), cause the VM to have its xvda device detached, and snowball that to other VMs? How is it that VDIs that I name myself during VM creation, all of a sudden become detached from their VMs and lose their name and description? How does a VM Template lose its disk? Because I was able to identify the disk that’s supposed to be attached to the template, but now it’s orphaned, and I don’t know how to re-attach it to the template. In any case, I’m glad this happened in this lab environment, so I'm willing to work with you all at Vates to see if we can do a root cause analysis to prevent this in the future. All I did was take a snapshot, and this is certainly not the experience I should have had (nor is what I'm used to seeing). Some screenshots to illustrate what I saw: [image: 1732747097783-screenshot_netxms01_no_vdi.png] [image: 1732747097860-screenshot_netxms01_no_vdi_2.png]
  • new smb remote fails

    4
    0 Votes
    4 Posts
    226 Views
    G
    @gonzametal I modified sudoers and could create the folder in the terminar but the error still there (I think because the syscall). I will install as root again to avoid this kind of issues in the future