Subcategories

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

    491 Topics
    4k Posts
    tjkreidlT
    @irtaza9 Is this on a single host or a pool? Are all hosts properly time-synchronized? It it related to just one specific storage device or on any, e.g., is the behavior the same on a locally-created SR? Are there any hung tasks causing unnecessary I/O on that storage device?
  • ACLs, Self-service, Cloud-init, Load balancing...

    107 Topics
    874 Posts
    poddingueP
    @dknight-bg the Feeder post you linked asks for two things: sending audit events to syslog, which is what this PR does, and recording successful logins, which as far as I can tell the PR doesn't touch. If others reading this need either one, a vote on https://feedback.vates.tech/posts/88/audit-log-forward-events-to-remote-syslog-record-successful-logins is the easiest way to show it. The PR is still waiting for a reviewer, as far as I can see.
  • All XO backup features: full and incremental, replication, mirrors...

    545 Topics
    6k Posts
    poddingueP
    Hi, @Velocity1192 . On v6 first: creating and editing backup jobs still happens in XO 5 for now, XO 6 shows the jobs but doesn't create them yet (https://docs.xen-orchestra.com/backups-and-dr/backups-in-xo6). For the schedule, @abudef asked almost the same question earlier this year. @Pilow's answer there is clearer than anything I'd write: https://xcp-ng.org/forum/post/104108. As I read it, you either use one daily schedule plus the "Full backup interval" setting (the full lands N runs after the chain starts), or two schedules on the same job with "Force full backup" ticked on the Sunday one. That second way is how you get to pick the day, and he says not to mix the two. One thing to expect, from @Danp in another thread (https://xcp-ng.org/forum/post/91943) : the oldest backup is always a full and old deltas get merged into it, so for a while you'll see two fulls on the remote rather than weeks 1 and 2 being deleted. I don't think the scheduler can say "every other Sunday". I might be wrong there; someone who runs this kind of plan may know a trick.
  • Everything related to Xen Orchestra's REST API

    89 Topics
    656 Posts
    P
    Hi, This was fixed in Latest. But if you need to stay on Stable, you can open a ticket to have a patch.
  • Terraform, Packer or any tool to do IaC

    54 Topics
    507 Posts
    D
    For anyone else who steps through this, I've also installed the latest xen-guest-agent with the below process. Repeat for each host in the environment, 1 at a time from your Helper VM. ### ssh into your helper ### oc debug node/fedora-cmp-1/2/3 chroot /host cd /var/tmp curl -LO https://gitlab.com/xen-project/xen-guest-agent/-/jobs/6041686376/artifacts/raw/RPMS/x86_64/xen-guest-agent-0.4.0-0.fc37.x86_64.rpm sudo rpm-ostree install /var/tmp/xen-guest-agent-0.4.0-0.fc37.x86_64.rpm mkdir /var/tmp/xga && cd /var/tmp/xga rpm2cpio ../xen-guest-agent-0.4.0-0.fc37.x86_64.rpm | cpio -idmv ### From your helper... DRAIN YOUR WORKERS ### oc adm drain fedora-cmp-1/2/3 --ignore-daemonsets --delete-emptydir-data ### log back into fedora-cmp-1/2/3... ### sudo systemctl reboot ### from helper ### oc adm uncordon fedora-cmp-1/2/3 ### login to fedora-cmp-1/2/3 ### chroot /host sudo systemctl enable --now xen-guest-agent And then from XO this is what your VMs will look like. [image: image.jpeg]
  • XoError: no such host & Firefox crashing at Logs

    2
    0 Votes
    2 Posts
    564 Views
    G
    Tested with Chrome now, on chrome it works. So it seems only a firefox problem. I switched off the extensions ( https everywhere, ublock origin and privacy badger ) but still crashes. Had htop running on my client while crashing, no unusual increase in RAM usage while going to crash. Rebooted XO VM, now it is ok again with firefox. so for me the issue is closed, if somebody is bored and wants to look into some logs for bug hunting i am glad to provide them. i also restarted the toolstack on one of the pool members ( not master ) and the "no such host" error is gone.
  • How does Xen Orchestra work.

    12
    0 Votes
    12 Posts
    4k Views
    olivierlambertO
    xe CLI. Type xe --help.
  • http authentication

    5
    0 Votes
    5 Posts
    1k Views
    julien-fJ
    @sborrill I have a work-in-progress branch with a plugin for this: https://github.com/vatesfr/xen-orchestra/pull/4701 To test, you will need to checkout this branch, add a symlink to the packages/xo-server-auth-http plugin into the directory xo-server/node_modules and then to configure and unable the plugin from XO. This will make basic authentication available with the path /signin/basic, note that you can make it the default authentication by overriding authentication.defaultSignInPage in your configuration file.
  • Command failed: npm uninstall -g --silent xoa-updater

    3
    0 Votes
    3 Posts
    846 Views
    bpbB
    Will do. I've got an installation of it in two locations and neither are behind a proxy. In a moment of early-onset senility/dementia I confused npm with dnf - somehow! So there's obviously a chance I'm doing something incorrectly.
  • Xen Orchestra CE not show home section in web interface

    18
    1
    0 Votes
    18 Posts
    4k Views
    DanpD
    @AgentZoy Sorry, but I don't understand your current issue. Please restate.
  • [SOLVED] XO From source restore backup fails with VDI_IO_ERROR

    Solved
    16
    0 Votes
    16 Posts
    6k Views
    olivierlambertO
    This is not related to the original, feel free to create a new one regarding this issue. You can't "manually" move a VM, there's always a client to do that (XO, xe, XCP-ng Center etc.). So you need to understand why it's failing first.
  • XOA on Xenserver 6.5

    2
    0 Votes
    2 Posts
    533 Views
    olivierlambertO
    It should work on XS 6.5, yes. Feel free to create a ticket if you need assistance
  • Little bug or better error handling?

    1
    0 Votes
    1 Posts
    589 Views
    No one has replied
  • XO from source & Netdata

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    D
    @Biggen Ahh gotcha. I’ll check that out
  • Backups to SMB remote failing

    19
    1
    0 Votes
    19 Posts
    7k Views
    julien-fJ
    @Danp The implementation would be very different
  • xoa - repair iso SR after host restart

    2
    1
    0 Votes
    2 Posts
    434 Views
    olivierlambertO
    Repair is just replug the pbd. Of course you can do that with XO
  • XO Delta Backup failure

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    Okay thanks for the feedback
  • Problem with restore through XenOrchestra

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    A
    But now release xo-server 5.53.0 backup export concurrency >2 didn't apply. Setting concurrency to 4 or 6. but only 2 tasks works at the same time. Reverted to release xo-server 5.52.1 then 4 and 6 concurrency tasks are shown as expected.
  • XOA won't start HTTPS listen on configured port

    29
    0 Votes
    29 Posts
    14k Views
    julien-fJ
    @bill-gertz It depends of how you install it, but it look ok. In our appliances we install and run xo-server as a global service, and there is only /etc/xo-server/config.toml which is used for user customization (you could remove it and it would still work).
  • can we run simple bash sript in cron in xoa?

    5
    0 Votes
    5 Posts
    1k Views
    akurzawaA
    I can put the script everywhere - but I want to avoid non standard config. In case of failure of {system} I'm reinstalling it, and restoring config from file. I don't need to remember that I've put some fancy staff somewhere on the lan.
  • This topic is deleted!

    2
    1
    0 Votes
    2 Posts
    31 Views
  • 0 Votes
    3 Posts
    2k Views
    G
    @Danp thanks for responding. Your suggestions are very good, caused me to check other things and reveal some things: My metadata and XOA config backups have started to fail with the error 'no such object' The metadata/config backup job's pool parameter was highlighted red with a warning symbol, showing a long GUID style id. I could not update the pool parameter - I have the spinning circle (of doom). After deleting the metadata/config backup job, I cannot recreate it - similar problem with pool parameter, none shown plus spinnng circle (of ongoing doom). To cut a story shorter - I think I have fixed my problem by re-attaching the hosts/SRs to my XOA-community VM... Then I also noticed that the 'successful' backups are not successful as when I looked at their logs by clicking on the green 'successful' indicator in the backup logs I see they are skipping missing VMs. Terrific. So I have now updated all the jobs and reselected each VM, saved them and then re-run the backups. So my big concern (understatement) is my XOA host VM backups have gone bad without any external changes, other than my applying XOA community updates. Do I need to check the backups carefully after every update? Surely not? Perhaps my method of updating, by running a script is horribly HORRIBLY flawed?? I found and have used an update script by Jarli01, applied as noted here. I've got a script to pull the latest update script and execute it. Not clear if I should inbclude the '-b stable' parameter. #!/bin/bash sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash To answer your useful questions: Q. When did you last pull from the source? A. Assume you mean 'when did I last retore from the backup volume'? Never. This is a first time for me. Q. What type of SR(s) should be showing? A. I have two: a local xcp-ng host (also hosting the XOA-community VM being used) and a remote xcp-ng host. Although it does seem an SR is an xcp-ng host, I am confused to the nomclature of 'SR' - I will try to find that out with Google ;). However, as mentioned above my hosts had disconnected themselves... WTF? Q. Are you able to target an SR when defining a new backup job? A. No! OMG. Also noticed the VMs have stopped being shown, no hostts connected!! WTF? Q. Have I opened dev tools (F12), checked console for errors? A. No, but I will when I next report something. Checking the backup page today I do get an error in index.js. I am happy to debug more and return trace/debug data if it is useful; below is what I see today on the backups page: [React Intl] Error formatting time. RangeError: date value is not finite in DateTimeFormat.format() index.js:525 Z index.js:525 formatTime index.js:719 value index.js:1168 React 81 _renderOverlay Portal.js:84 componentDidMount Portal.js:47 m factory.js:665 React 12 notifyAll close closeAll perform perform perform S closeAll perform batchedUpdates batchedUpdates dispatchEvent Q. Check system logs? A. Assume you mean from xoa vm? I will include those next time I post - when I find where they are. Google will no doubt help me out there.
  • Workload Balancing Issue.

    1
    0 Votes
    1 Posts
    558 Views
    No one has replied
  • Build error during upgrade

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    P
    I have isolated the problem. The issue was with dynamic memory allocation on our test server. This was definitely a localized issue. Cheers
  • Feature request - RDP Link in Console window

    4
    1 Votes
    4 Posts
    2k Views
    A
    @olivierlambert https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-uri a plain rpd://ip-address seems to work fine in Mac OS and iOS but more information may be needed on windows clients not sure if the uris work on all systems the same. EDIT Looks like windows doesn't support URI to RDP but Microsoft makes it work for basically every other OS. I still think its a worthwhile feature even if it is slightly less functional because Microsoft is weird.