XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. wilsonqanda
    3. Posts
    W
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 5
    • Posts 63
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Orphan VDIs in XO show health problem

      @Pilow Does disk show up after you do the snapshot? If it is able to do the snapshot there is a high chance it can boot up. So try booting up (and check for disk) and shut it down and do the snapshot at that time if the disk show up.

      It helps to boot up on the old v5 commit and check from that side too if you have both copy before the commit update.

      Yep I can confirm that snapshot doesn't always work. But using the older v5 that used to work before the update does get it showing up on the newer v5 commit if I go through whole snapshot, revert, etc. one of those case work.

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: Orphan VDIs in XO show health problem

      It will be a nightmare if I have to do all 286 VMs...
      😛
      18df0dd6-0185-4adb-9cb7-1c69679cef58-image.png

      slowing verifying if its going down the countdown... luckily most of them are related so it's not too bad.

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: VDI not showing in XO 5 from Source.

      Hello All,

      Found some roundabout solutions you may want to try:
      https://xcp-ng.org/forum/post/101370

      posted in Management
      W
      wilsonqanda
    • RE: Orphan VDIs in XO show health problem

      So far a few solutions for me has been:

      • Revert the SNAPSHOT and it magically find the disk...
      • Create a new SNAPSHOT and it magically find the disk... (esp. if you don't have a snapshot on some VMs like me)
      • SNAPSHOT sometime works but still missing disk so boot it up and disk show up 🙂
      • Some claim migrating the VM works... (migration fail for me as it can't find the disk lol...)

      There should be better solutions as sometime I want to keep old snapshots. Still testing other methods... as my old XO still finds everything... even though its loaded with the same CONFIG FILES and same XCP-ng machine metadata.

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: Orphan VDIs in XO show health problem

      @Pilow Ok I can confirm that this is extremely like this issue with the disks disappearing but still boot up and run fine lol 😞

      No disk on XO v5
      26fe5840-aa89-4aa4-bc54-f2fd74470d24-image.png

      Disk show up on v6
      3e6704af-a52b-4cf0-a57e-0c8e625daa57-image.png

      Fixed it by REVERTING the SNAPSHOT....
      1e734d79-ddd4-4de6-aa15-68ca303fbb0c-image.png

      Seem others was able to migrate the VM out and back in to fix it as well which seem ridiculously time consuming lol 😛 . I might try that for those that have no snapshot as its a lost cost...

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: Orphan VDIs in XO show health problem

      I think I am going to try wiping out everything and do a clean install and see what happen but will take a bit of time and report back...

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: Orphan VDIs in XO show health problem

      @anthoineb Seem it was never installed as far as i can tell as i tried running it and nothing processed:
      0b066144-6209-4734-ac9c-17eaaab946e4-image.png
      Don't even have a /etc/yum.repos.d but do have a yum directory.
      b59bf692-8442-46d7-871b-cd87f43fbfed-image.png

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: Orphan VDIs in XO show health problem

      @anthoineb Is there a cmd to check on the xcp-ng to see if "qcow2" was ever installed? Likely I either never did or installed and forgot about it but I did ready about it previously but don't remember if I acted on it or not.

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: Orphan VDIs in XO show health problem

      Really appreciate your help 🙂 !

      This is the SMlog on one of the machine. I cannot rule out qcow2 but I definitely upgrade it from back in the early release of 8.3a and 8.3b. If I did use qcow2 I probably install and forgot about it... but its definitely affecting every VMs on the XO (commit b89c2)

      SMlog.txt
      SMlog2.txt

      I have also notice that all the VMs on the XO (commit b89c2) run on debian 12 all have missing disks.

      FROM:
      Xen Orchestra, commit 0a28a (Pre Update on XO disk available still as long as I use the old GUI)
      0cab6272-e0aa-4e47-af2c-d174efa16ebf-image.png

      TO:
      Xen Orchestra, commit b89c2 (Post Update on XO missing Disks)
      Surprisingly the VM still loads and run without the disks but extremely confusing...
      b61af712-04aa-43ef-bc06-8f3b6a4c2794-image.png

      Snapshots on it fail for both XO commit version with the following error might be a related issue too which I just notice now:

      vm.revert
      {
        "snapshot": "d0734350-87a4-97f8-97dc-9d9ac5c24b5d"
      }
      {
        "code": "INVALID_VALUE",
        "params": [
          "snapshot_metadata:HVM__boot_policy",
          "null"
        ],
        "task": {
          "uuid": "058f49ac-82cc-a49b-eaaf-d20e4a319432",
          "name_label": "Async.VM.revert",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20260106T02:19:26Z",
          "finished": "20260106T02:19:26Z",
          "status": "failure",
          "resident_on": "OpaqueRef:ea86afa1-6562-0eac-79fc-75be4ce1cb2a",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "INVALID_VALUE",
            "snapshot_metadata:HVM__boot_policy",
            "null"
          ],
          "other_config": {},
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_snapshot.ml)(line 432))((process xapi)(filename ocaml/xapi/xapi_vm_snapshot.ml)(line 428))((process xapi)(filename ocaml/xapi/xapi_vm_snapshot.ml)(line 471))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2334))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2292))((process xapi)(filename ocaml/xapi/rbac.ml)(line 188))((process xapi)(filename ocaml/xapi/rbac.ml)(line 197))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 77)))"
        },
        "message": "INVALID_VALUE(snapshot_metadata:HVM__boot_policy, null)",
        "name": "XapiError",
        "stack": "XapiError: INVALID_VALUE(snapshot_metadata:HVM__boot_policy, null)
          at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202512260040/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xo/xo-builds/xen-orchestra-202512260040/packages/xen-api/_getTaskResult.mjs:13:29)
          at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202512260040/packages/xen-api/index.mjs:1078:24)
          at file:///opt/xo/xo-builds/xen-orchestra-202512260040/packages/xen-api/index.mjs:1112:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202512260040/packages/xen-api/index.mjs:1102:12)
          at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202512260040/packages/xen-api/index.mjs:1275:14)"
      }
      
      posted in Xen Orchestra
      W
      wilsonqanda
    • Orphan VDIs in XO show health problem

      Version:
      XO:
      From:
      Xen Orchestra, commit 0a28a
      To:
      Xen Orchestra, commit b89c2

      XCP-ng:
      From:
      8.3 loaded from ISO: xcp-ng-8.3.0-rc1.iso
      To:
      8.3 loaded from ISO: xcp-ng-8.3.0-20250606.iso
      and haven't update it since until there is a major version release.

      Issue:
      Orphan VDIs in XO show health problem for my "base copy" snapshots as it can't find the VDIs anymore for some reason?
      Note: I have clone of before the XO update and have both XO commit 0a28a and commit b89c2 running that's why I was able to take snapshots below so not everything is all lost and done for...

      From: (before update)
      2ab15d5a-9bf5-40e8-ba1b-82496ae817fb-image.png
      f01117f6-91b1-41c9-944a-6351fcd7d2b9-image.png

      To: (after update)
      3daec9f7-6e48-4071-b9cc-01a7254ab234-image.png
      442119c6-bced-4526-91e9-24218fd1112b-image.png

      Is it ok to delete it seem like I can't delete it... in fear of breaking all my VMs.

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: Auto power on delay seconds not set or change with Xen Orchestra

      @DustinB Totally in line with you but in the meantime since i figure this cli out too now i am totally ok with what i have currently and its not too pressing.

      posted in Management
      W
      wilsonqanda
    • RE: Auto power on delay seconds not set or change with Xen Orchestra

      @olivierlambert
      I think JanP is on point here. I just test it for auto power on and it works like a charm.

      To close the loop if your team use the toggle for Auto power on to show and hide a new added feature called "Auto power on delay (seconds)" on this gui this will satisfy many people trying to find the "Auto power on delay (seconds)" a new feature request. Many people have been getting confused with "Start delay (seconds)" for "Auto power on delay (seconds)". So adding this will be a huge delight and since this is an existing cli in xcp-ng hopefully its simple enough.

      // This will update delay to 30 sec
      xe vm-param-set other-config:auto_poweron_delay=30 uuid=<VM_UUID>
      // This will turn off the delay
      xe vm-param-set other-config:auto_poweron_delay= uuid=<VM_UUID>
      // This will leave delay ON but set time to 0 sec. Do NOTE that "0" set delay to 0 while a blank "" like above remove auto power on delay.
      xe vm-param-set other-config:auto_poweron_delay= uuid=<VM_UUID>
      

      38d3ff1c-a62e-401d-9912-5308b2c856f9-image.png
      I just expecting the "Auto power on delay (seconds)" to look like "Start delay (seconds)" gui wise but just under the "Auto power on" to make it obvious enough for people hopefully. Til this day never really understand the "Start delay (seconds)" lol 😛 even after using XCP-ng for testing for the last 2 years at least.

      Thanks all! Please like this if it helps anyone else 🙂 as it's a backup cli solution until the gui is hopefully updated with this feature.

      posted in Management
      W
      wilsonqanda
    • RE: Nvidia P40s with XCP-ng 8.3 for inference and light training

      @Vinylrider Lol i like this 🙂 getting stuff done customized haha! Great pictures.

      posted in Share your setup!
      W
      wilsonqanda
    • RE: Updating Xen Orchestra from '13f2afb0d' to '943ad781c' STATS empty

      @manilx Nice was about to ask this too lol. Glad someone point this out already 🙂

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: Minisforum MS-01 unstable and hangs running Xcp-ng 8.3

      @olivierlambert Wow really nice unit makes me want to jump on those lighter fanless unit as i have lots of those 1L unit that works perfectly but has a small fans that i can hear if i really focus. I just like fanless unit to avoid dust getting in lol. 🙂

      posted in Hardware
      W
      wilsonqanda
    • RE: Nvidia P40s with XCP-ng 8.3 for inference and light training

      @gskger Nice. I am curious too as there are some many opensource LLM available nowadays to test out.

      posted in Share your setup!
      W
      wilsonqanda
    • RE: XO cant Snapshot itself ?

      @julien-f Thanks a lot for this update!

      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: XO cant Snapshot itself ?

      @julien-f Thanks a lot Julien. So this going to be implemented in next release?

      So when I run [NOSNAP] it will ignore these VDI with [NOSNAP] at the beginning of the name but just wondering when loading from the snapshot those [NOSNAP] vdi won't be loaded so i just have to add them in to the disk tab so it can be boot back up like normal correct? This is the default case currently when running snippet below.

      xe vm-snapshot new-name-label="newname_YYYY-MM-DDTHH:MM:SS.sssZ" uuid=vmUUID ignore-vdi-uuids=uuid1
      
      posted in Xen Orchestra
      W
      wilsonqanda
    • RE: XO cant Snapshot itself ?

      @Gheppy Wow great illustration 🙂 i think this is perfect but only if it is feasible to implement it now...

      FYI as a side note I notice that when I do ignore-vdi-uuids=uuid1,uuid2,uuid3 I notice that when I reload snapshots of the VM the ignore vdi(s) disappear in the Disks section. Which makes logical sense as those ignore-vdi-uuids are not part off the list that are snapshotted. But it's a bit of an inconvenient to add VDI back in as those vdi should still be part of the disk just not part of the snapshots. But otherwise it works great.

      To snapshot do the following to ignore certain vdi(s):

      xe vm-snapshot new-name-label="newname_YYYY-MM-DDTHH:MM:SS.sssZ" uuid=vmUUID ignore-vdi-uuids=uuid1
      

      where uuid1=[NOSNAP] TESTING
      e9a2aa43-a1ce-4616-99df-bdaada587151-image.png

      Once reload the [NOSNAP] disappear:
      74a25d27-1b2e-4968-844c-799ab2dc1742-image.png

      Beside that this is the best workaround for now and this little inconvenience is not a big deal. But in case someone need to understand it hopefully I added enough detail to clarify this content for future readers.

      posted in Xen Orchestra
      W
      wilsonqanda