XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. DustyArmstrong
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 65
    • Groups 0

    DustyArmstrong

    @DustyArmstrong

    10
    Reputation
    8
    Profile views
    65
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    DustyArmstrong Unfollow Follow

    Best posts made by DustyArmstrong

    • RE: XO Backups - Offline Storage Best Practices?

      @planedrop Not opposed to cloud of course, but it's a network with no internet!

      posted in Backup
      DustyArmstrongD
      DustyArmstrong
    • RE: Detached VM Snapshots after Warm Migration

      @Pilow Time for a drink, I think.

      posted in Backup
      DustyArmstrongD
      DustyArmstrong
    • RE: Detached VM Snapshots after Warm Migration

      Well, scratch the help, I have fixed it.

      Bad VM:

      xe vm-param-list uuid={uuid} | grep "other-config"

      other-config (MRW): xo:backup:schedule: one-time; xo:backup:vm: {uuid}; xo:backup:datetime: 20260214T18:13:03Z; xo:backup:job: 97665b6d-1aff-43ba-8afb-11c7455c16ff; xo:backup:sr: {uuid}; auto_poweron: true; base_template_name: Debian Buster 10;

      Clean VM:

      other-config (MRW): auto_poweron: true; base_template_name: Debian Buster 10; [...]

      Stale references to my old backup job causing the VM to disassociate with the VDI chain. Removing the extra config resolved it. Simple when you know where to look.

      xe vm-param-remove uuid={uuid} param-name=other-config param-key=xo:backup:job
      xe vm-param-remove uuid={uuid}  param-name=other-config param-key=xo:backup:sr
      xe vm-param-remove uuid={uuid}  param-name=other-config param-key=xo:backup:vm
      xe vm-param-remove uuid={uuid}  param-name=other-config param-key=xo:backup:schedule
      xe vm-param-remove uuid={uuid}  param-name=other-config param-key=xo:backup:datetime
      

      VMs now snapshot clean.

      posted in Backup
      DustyArmstrongD
      DustyArmstrong
    • RE: Xen Orchestra OpenMetrics Plugin - Grafana Dashboard

      Edit: For anyone with this issue, stopping and starting the Openmetrics plugin after saving the password in XO fixed it.

      I keep getting the {"error":"Query authentication does not match server setting"} problem, is there something I'm missing? I run XO proxied through Nginx with HTTPS, is there some additional config required to get it working? I have set the key with openssl rand -hex 32 and have verified that is saved correctly in the plugin, and that I am using the same key for curl. I am able to obtain the /health endpoint as expected, I just cannot obtain the full metrics, only returns that error.

      Command:

      curl --insecure -H "Authorization: Bearer mytoken" https://xo.mydomain.local/openmetrics/metrics

      XO commit:

      91c5d

      I should note that running the command inside my Docker container returns only the error, including the health endpoint. Do I need to expose 9004?

      posted in Infrastructure as Code
      DustyArmstrongD
      DustyArmstrong
    • RE: Has REST API changed (Cannot GET backup logs)?

      @julien-f Thank you and thank you for the quick resolution, you guys rock.

      posted in REST API
      DustyArmstrongD
      DustyArmstrong
    • RE: Has REST API changed (Cannot GET backup logs)?

      @olivierlambert Yes but didn't see any changes for backup/logs which is where the issue seemed to arise from. I pull the status from each log entry not the job info itself.

      @julien-f awesome, thanks!

      posted in REST API
      DustyArmstrongD
      DustyArmstrong
    • RE: New Rust Xen guest tools

      Testing the agent out on Arch Linux (mainly due to the spotty 'support' in the AUR/generally) and it is working fine - better than what I had before (which did not report VM info properly). I've set it up as a systemd service to replace the previous one I had, also working as expected.

      This would be fun to contribute towards.

      posted in Development
      DustyArmstrongD
      DustyArmstrong
    • RE: PRs for wording cleanup - worth doing?

      @olivierlambert Cool, thanks! I really like XCP/XO and thought if I could help in some way that would be nice, even if it's quite trivial.

      posted in Development
      DustyArmstrongD
      DustyArmstrong
    • RE: Console keyboard problems using Firefox

      For anyone who comes across this, you can just add an exception for your management page and shift will work on the console.

      Settings > Privacy & Security > Enhanced Tracking Protection > Manage Exceptions > Add the site url e.g. https://xo.fqdn.com.

      posted in Xen Orchestra
      DustyArmstrongD
      DustyArmstrong

    Latest posts made by DustyArmstrong

    • RE: PRs for wording cleanup - worth doing?

      @olivierlambert Cool, thanks! I really like XCP/XO and thought if I could help in some way that would be nice, even if it's quite trivial.

      posted in Development
      DustyArmstrongD
      DustyArmstrong
    • RE: PRs for wording cleanup - worth doing?

      @olivierlambert No it's in English, not too big a deal but I noticed it:

      "What does protected means" <- would just be "mean"

      "Running good" <- preferable grammatically to have "running well" or just "All good"

      Happy to do that if it's worth doing!

      posted in Development
      DustyArmstrongD
      DustyArmstrong
    • PRs for wording cleanup - worth doing?

      Just curious if there would be any benefit to opening a PR to fix some of the wording in XO (6)? I have spotted a couple of things that are wrong grammatically, but I believe XO is being reworked entirely and therefore didn't know if it was worth submitting one. Equally I don't want to waste your time if you feel this sort of thing is too trivial to require attention at the moment.

      posted in Development
      DustyArmstrongD
      DustyArmstrong
    • RE: AMD 'Barcelo' passthrough issues - any success stories?

      @timemaster5 Ah very cool, thank you for looking into this and the comprehensive write up, great work. I went on a small journey to try various workarounds but didn't get as far as yourself and others, particularly as my use-case is only a "nice-to-have". Most everything I found was in relation to Proxmox and others. Little did I know when I thought I was helping you over on Github, you would actually end up helping me!

      As I understand from your notes, the full procedure would be:

      1. Enable passthrough for the GPU on the host
      2. Apply the patched wrapper to enable custom model args and respect platform vga
      3. Disable emulated VGA via platform:vga=none
      4. Apply the config to the VM via -device loader options
      5. Reboot the host
      6. Mount the GPU to the VM and boot it up
      posted in Hardware
      DustyArmstrongD
      DustyArmstrong
    • RE: AMD 'Barcelo' passthrough issues - any success stories?

      @TeddyAstie Thanks for the update.

      I do actually have a VBIOS for that GPU, but I wasn't entirely sure what to do with it - is there a process to inject it? I've found resources for Proxmox and others, but I really like XCP and equally I don't want to migrate my entire setup just for that.

      If it's really tricky then I'm not too worried about it, as I say the VM actually runs the cameras perfectly fine on CPU alone, it's negligible.

      Edit: Looks like this post might answer my question: https://github.com/xcp-ng/xcp/issues/786

      "Even when specifying romfile and rombar properties on the xen-pci-passthrough device in QEMU, the ROM region is not mapped into guest memory."

      timemaster5 created this issue in xcp-ng/xcp

      open PCI ROM BAR not exposed to guest when using xen-pci-passthrough #786

      posted in Hardware
      DustyArmstrongD
      DustyArmstrong
    • RE: AMD 'Barcelo' passthrough issues - any success stories?

      @TeddyAstie yarp.

      My bad, the VM has it as 00:08.0 but on the host it's actually 00:06.0, I just didn't think about the specifics of your request!

      06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo (rev c1) (prog-if 00 [VGA controller])
      	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 1636
      	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
      	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
      	Interrupt: pin A routed to IRQ 38
      	Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
      	Region 2: Memory at e0000000 (64-bit, prefetchable) [size=2M]
      	Region 4: I/O ports at d000 [size=256]
      	Region 5: Memory at fca00000 (32-bit, non-prefetchable) [size=512K]
      	Capabilities: [48] Vendor Specific Information: Len=08 <?>
      	Capabilities: [50] Power Management version 3
      		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
      		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
      	Capabilities: [64] Express (v2) Legacy Endpoint, MSI 00
      		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
      			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
      		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
      			RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
      			MaxPayload 256 bytes, MaxReadReq 512 bytes
      		DevSta:	CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
      		LnkCap:	Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
      			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
      		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
      			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
      		LnkSta:	Speed 8GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
      		DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not Supported
      		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
      		LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
      			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
      			 Compliance De-emphasis: -6dB
      		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+, EqualizationPhase1+
      			 EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest-
      	Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
      		Address: 0000000000000000  Data: 0000
      	Capabilities: [c0] MSI-X: Enable- Count=4 Masked-
      		Vector table: BAR=5 offset=00042000
      		PBA: BAR=5 offset=00043000
      	Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
      	Capabilities: [270 v1] #19
      	Capabilities: [2a0 v1] Access Control Services
      		ACSCap:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
      		ACSCtl:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
      	Capabilities: [2b0 v1] Address Translation Service (ATS)
      		ATSCap:	Invalidate Queue Depth: 00
      		ATSCtl:	Enable-, Smallest Translation Unit: 00
      	Capabilities: [2c0 v1] Page Request Interface (PRI)
      		PRICtl: Enable- Reset-
      		PRISta: RF- UPRGI- Stopped+
      		Page Request Capacity: 00000100, Page Request Allocation: 00000000
      	Capabilities: [2d0 v1] Process Address Space ID (PASID)
      		PASIDCap: Exec+ Priv+, Max PASID Width: 10
      		PASIDCtl: Enable- Exec- Priv-
      	Capabilities: [400 v1] #25
      	Capabilities: [410 v1] #26
      	Capabilities: [440 v1] #27
      	Kernel driver in use: pciback
      
      
      posted in Hardware
      DustyArmstrongD
      DustyArmstrong
    • RE: Issue to load gpu passthrough "Invalid PCI ROM header signature: expecting 0xaa55, got 0x4556"

      @Greg_E Thanks, I've got another thread up and it's potentially being addressed!

      posted in Hardware
      DustyArmstrongD
      DustyArmstrong
    • RE: AMD 'Barcelo' passthrough issues - any success stories?

      @TeddyAstie Sure no problem.

      lspci -vvv -s 00:08.0
      
      00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
      	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
      	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
      

      Host is Debian, slightly older kernel so that may be why? Happy to try a different VM distro if you think it might help.

      Linux cctv 6.12.69+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.69-1 (2026-02-08) x86_64 GNU/Linux

      posted in Hardware
      DustyArmstrongD
      DustyArmstrong
    • RE: Issue to load gpu passthrough "Invalid PCI ROM header signature: expecting 0xaa55, got 0x4556"

      @itnok fair enough and understandable, thanks for taking the time to reply.

      posted in Hardware
      DustyArmstrongD
      DustyArmstrong
    • RE: AMD 'Barcelo' passthrough issues - any success stories?

      @TeddyAstie Thanks for that - I was going off of other old XCP hosts I have had running that did show IOMMU info there, so I figured it wasn't working on these particular machines. I also had the the Intel GPU working on those hosts, which further supported my theory. I do have a USB controller passed through to the same VM and that works perfectly, basically native functionality, but from the research I was doing it was suggested USB controllers are way less bothered about imperfect passthrough.

      I was able to find a ROM for my particular GPU, but I don't know what - if anything - I can do with it in XCP. I've found lots of info for QEMU and Proxmox, but I'm not sure they directly translate.

      If there's nothing I can do for the moment then I can live without the GPU, running decode on the CPU isn't really taxing it that much. Appreciate you looking into it.

      posted in Hardware
      DustyArmstrongD
      DustyArmstrong