Thu, 19 Mar 2026 19:36:47 UTC | login

Information for build xapi-25.33.1-2.1.0.ydi.4~ydi4.1.xcpng8.99

ID5412
Package Namexapi
Version25.33.1
Release2.1.0.ydi.4~ydi4.1.xcpng8.99
Epoch
DraftFalse
Sourcegit+https://github.com/xcp-ng-rpms/xapi.git#51115e89615a20a05c13908ac2ef3495ea29b6d3
Summaryxapi - xen toolstack for XCP
DescriptionXCP toolstack.
Built byydirson
State failed
Volume DEFAULT
StartedThu, 19 Mar 2026 16:15:46 UTC
CompletedThu, 19 Mar 2026 16:16:58 UTC
Taskbuild (v9.0-u-ydi1, /xcp-ng-rpms/xapi.git:51115e89615a20a05c13908ac2ef3495ea29b6d3)
Extra{'source': {'original_url': 'git+https://github.com/xcp-ng-rpms/xapi.git?#51115e89615a20a05c13908ac2ef3495ea29b6d3'}}
Tags No tags
RPMs No RPMs
Changelog * Mon Dec 01 2025 Yann Dirson <yann.dirson@vates.tech> - 25.33.1-2.1.0.ydi.4 - Rebuild for v9 - Do not require python2-udev on v9+ - list identified missing Requires - Don't rely on upstream mechanism for the version - HACK replace $sha-dirty strings with $version - Require dhcp-client not dhclient - Hack the qemu epoch to stay compatible with current qemu - Fix xcp-rrdd posttans parsing of systemctl output - Add missing rrdd-plugins dep on sysstat (iostat) - Add missing core dep on openssl-perl (c_rehash) - Add in core directories whose lack blocks startup: /usr/libexec/xapi/cluster-stack /opt/xensource/www /var/lib/xcp - Add host-network-device-ordering branch contents as a single patch - Add 4.19 compat patches from Andriy - Relax Xen version constraint of xen-dom0-libs to allow installing - Require iptables-legacy - Comment out the runtime dependency on oxenstored-split-out-from-xen - Don't require 4.20 - Temporarily disable hard-numa * Wed Nov 19 2025 Pau Ruiz Safont <pau.safont@vates.tech> - 25-33.1-2.1 - Update to upstream 25.33.1-2 - *** Upstream changelog *** * Thu Oct 30 2025 Rob Hoes <rob.hoes@citrix.com> - 25.33.1-2 - Bump release and rebuild * Thu Oct 30 2025 Rob Hoes <rob.hoes@citrix.com> - 25.33.1-1 - CA-419227 Move force_state_reset after refresh_vm * Thu Oct 16 2025 Gabriel Buica <danutgabriel.buica@cloud.com> - 25.33.0-2 - CP-53573: Enable NUMA placement in XS9 * Tue Oct 14 2025 Gabriel Buica <danutgabriel.buica@cloud.com> - 25.33.0-1 - Update dune lang to 3.20 - Avoid no-cmx-warning when building xapi_version - CP-308455 VM.sysprep turn on feature - XSI-1969 CA-418141 more thorough resource cleanup - CA-417951: Split checks for migration and detecting RPU - CA-417951: Host.create now takes a software version argument - python3/perfmon: Remove broken calls to /etc/init.d/perfmon - Extend diagnostic-timing-stats to optionally show counts - xapi_vm_clone: Remove impossible, confusing case when dealing with suspend VDIs - CA-417020: DNS not cleared after reconfiguring to static IP without DNS - fix: Xen Version checks * Tue Sep 30 2025 Gabriel Buica <danutgabriel.buica@cloud.com> - 25.32.0-1 - XSI-1969 more thorough resource cleanup - CP-54163: xapi: Add secure boot field to host - http-lib: Add filename hint to file response - system_status: Clean up imports, add an interface - system_status: Reduce logging - system_status: reify the output types for xen-bugtool - system_status: Group bugtool command-handling into a module - system_status: consolidate error-handling - system_status: suggest consistent filenames to clients - system_status: add URL parameter to show xen-bugtool entries - Fix missing-dependency alerts for unix and str on OCaml 5 - Fix test for OCaml 5 - Remove unused Xenctrlext function - idl: Remove apparently unused gen_test.ml - idl/gen_client: Don't specify argument values when they're equal to defaults * Wed Sep 24 2025 Gabriel Buica <danutgabriel.buica@cloud.com> - 25.31.0-1 - CP-308811: Add an option to limit the span depth in tracing - CP-309305: Split Spans.since into chunks for exporting - Use a forwarder so each component updates their depth and chunk size - CA-416351: Slave shutdown timeout - rrd: Fix absolute rate calculations - CP-309523: Make networkd_db utility return bridge MAC address - xapi_vm_migrate: Fix reservations not being cleared on halted VMs - CP-308863: Count vGPU migrations - CA-416516: vm.slice/cgroup.procs write operation gets EBUSY - CA-367765: remove reference to obsolete default URL - Remove obsolete test script - host.disable: Add auto_enabled parameter for persistency - Simplify UTF-8 decoding - Adjust quality-gate.sh - xapi/nm: Send non-empty dns to networkd when using IPv6 autoconf - CP-53479: Add xapi-ssh-monitor script and service - CP-308800: Dynamically control ssh firewalld service in xapi-ssh-monitor - xapi-idl/network: Remove code duplication for DNS persistence decisions - Remove redundant check - xapi_pbd: use HA shared SR constraint violation when plugging and unplugging - xapi_pif: use HA shared network constraint violation when plugging and unplugging - xapi_ha_vm_failover: remove superfluous debug message - xenopsd: Drop unused variables in domain.ml - docs: Update add-function.md to fix example - ocaml: allow xapi to compile under OCaml 5.3 - XSI-1987 & CA-416462: Fix RPU host evacuation version check - CA-417390: No RRD metric for vGPU migration with local storage - ocaml: prepare formatting for ocamlformat 0.27.0 - git-blame-ignore-revs: ignore previous, formatting commit - networkd: Remove usage of ovs-vlan-bug-workaround - networkd: Remove has_vlan_accel from network_utils * Tue Sep 02 2025 Gabriel Buica <danutgabriel.buica@cloud.com> - 25.30.0-1 - CA-411297: XAPI UTF8 - CA-412983: HA doesn't keep trying to start best-effort VM - Add Xapi_globs.ha_best_effort_max_retries to eliminate hard-coding - Optimize with List.compare_lengths - Copy dependency libraries to the output folder. Build using the project file (or the build switches in it are ignored). - CP-308539 Added preprocessor conditions to compile with .NET 8 - Updated language use. Removed redundant calls and initializers. Use Properties instead of public fields. - CP-308539 Replaced obsolete code. - CP-308539 Use HttpClient for .NET as HttpWebRequest is obsolete. - CP-44752: propagate System.Diagnostics tracing information using W3C traceparent header. - Action from CA-408836: Deprecate the method SaveChanges. It is a XenCenterism and not always correct. - libs/log: adapt backtrace test to pass on aarch64 - ocaml/util: delete module xapi_host_driver_helpers and tests - Updated dependencies for PS 5.1. - I forgot to initialize the Roles. - ci: enable experimental ocaml workflow on aarch64 - CP-308455 VM.sysprep if CD insert fails, remove ISO - CP-308455 VM.sysprep declare XML content as SecretString - CP-308539: Updated certificate validation to support .NET 8.0 in PowerShell. - Revert "xapi/nm: Send non-empty dns to networkd when using IPv6 autoconf (#6586)" * Wed Aug 27 2025 Andrew Cooper <andrew.cooper3@citrix.com> - 25.29.0-2 - Rebuild against Xen 4.20 * Thu Aug 21 2025 Gabriel Buica <danutgabriel.buica@cloud.com> - 25.29.0-1 - CP-40265 - xenopsd: Drop max_maptrack_frames to 0 by default on domain creation - CP-40265 - xenopsd: Calculate max_grant_frames dynamically - Treat 64 max_grant_frames as the lower bound - xenopsd: Don't iterate over StringMaps twice - xapi_vm_helpers: Raise allowed_VIF limit from 7 to 16 - xapi/nm: Send non-empty dns to networkd when using IPv6 autoconf - xapi-idl/network: Remove code duplication for DNS persistence decisions - CI: update pre-commit config - CI: update diff-cover parameters - Minor wording improvement - CP-53858: Domain CPU ready RRD metric - runnable_any - CP-54087: Domain CPU ready RRD metric - runnable_vcpus - CP-308465: RRD metric "runnable_vcups": rebase on top of xen.spec/PR#481 - python3/usb_scan: Skip empty lines in usb-policy.conf, add more comments - Changed the order of operations so that the sources are stored before any CI runs. - CA-413254: Sort and remove duplicate serialized types. - message_forwarding: Log which operation is added/removed from blocked_ops - xe-cli: Allow floppy to be autocompleted - CA-415952: HA can not be enabled * Wed Aug 06 2025 Gabriel Buica <danutgabriel.buica@cloud.com> - 25.28.0-1 - CA-413424: Enhance xe help output - CP-308455 VM.sysprep CA-414158 wait for "action" key to disappear - Disable SARIF upload for now: they are rejected - CP-308455 VM.sysprep CA-414158 wait for "action" key to disappear (#6604) - CP-309064 Add SSH Management feature design - CA-414418: Detection of AD account removal does not cause logout - CA-414418: Perf: save user validate result and apply to sessions - CA-414418: Code refine for comments - CA-414627: increase polling duration for tapdisk - Update datamodel lifecycle * Tue Oct 21 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.27.0-2.3 - Add an optimization for VHD export from QCOW2 VDIs * Sat Oct 18 2025 Pau Ruiz Safont <pau.safont@vates.tech> - 25.27.0-2.2 - Revert rsyslog changes from Xenserver * Mon Sep 22 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.27.0-2.1 - Update to upstream 25.27.0-2 - Drop 0003-xcp-ng-disable-cancellable-sleep.patch, alternative fix merged upstream - Drop 0004-xcp-ng-add-debug-info-in-observer.patch, merged upstream - Rename 0005-xcp-ng-fix-IPv6-import.patch to 0003-xcp-ng-fix-IPv6-import.patch - Rename 0006-xcp-ng-open-close-openflow-port.patch to 0004-xcp-ng-open-close-openflow-port.patch - Rename 0007-xcp-ng-update-db-tunnel-protocol-from-other-config.patch to 0005-xcp-ng-update-db-tunnel-protocol-from-other-config.patch - Drop 0008-CA-408126-rrd-Do-not-lose-ds_min-max-when-adding-to-.patch, merged upstream - Drop 0009-CA-408126-follow-up-Fix-negative-ds_min-and-RRD-valu.patch, merged upstream - Drop 0010-CA-408841-rrd-don-t-update-rrds-when-ds_update-is-ca.patch, merged upstream - Drop 0011-Check-that-there-are-no-changes-during-SR.scan.patch, merged upstream - Drop 0012-xapi_guest_agent-Update-xenstore-keys-for-Windows-PV.patch, merged upstream - Drop 0013-xapi_xenops-Try-to-avoid-a-race-during-suspend.patch, merged upstream - Drop 0014-CA-409510-Make-xenopsd-nested-Parallel-atoms-explici.patch, merged upstream - Drop 0015-CA-409510-Give-a-warning-if-atoms-nested-incorrectly.patch, merged upstream - Drop 0016-CA-410782-Add-receive_memory_queues-for-VM_receive_m.patch, merged upstream - Drop 0017-CA-411319-Concurrent-VM.assert_can_migrate-failure.patch, merged upstream - Drop 0018-CA-409488-prevent-Xenctrl-exceptions-from-escaping-o.patch, merged upstream - Drop 0019-CA-409489-prevent-running-out-of-pages-with-lots-of-.patch, merged upstream - Drop 0020-rrd_file_writer-protect-against-resource-leak.patch, merged upstream - Drop 0021-Raise-log-level-for-rrd-thread-monitor.patch, merged upstream - Drop 0022-CA-410001-Check-rrdi.rrd-to-avoid-ds-duplicate.patch, merged upstream - Drop 0023-CA-409482-Using-computed-delay-for-RRD-loop.patch, merged upstream - Drop 0024-CA-411679-Runstate-metrics-return-data-over-100.patch, merged upstream - Drop 0025-xcp-rrdd-change-the-code-responsible-for-filtering-o.patch, merged upstream - Drop 0026-rrdd-Avoid-missing-aggregation-of-metrics-from-newly.patch, merged upstream - Drop 0027-CA-407370-Use-remote.conf-for-customer-rsyslog-forwa.patch, merged upstream - Drop 0028-xenopsd-set-xen-platform-pci-bar-uc-key-in-xenstore.patch, merged upstream - Drop XSA-474 backport to 25.6.0 (0029-prepare-make-StringPool-share-safer.patch and 0030-Simplify-UTF-8-decoding.patch), replace with the upstream backport to 25.27.0 - *** Upstream changelog *** * Tue Sep 02 2025 Gabriel Buica <danutgabriel.buica@cloud.com> - 25.27.0-2 - CA-411297/XSA-474: XAPI UTF8 * Wed Jul 23 2025 Gabriel Buica <danutgabriel.buica@cloud.com> - 25.27.0-1 - CP-54332 Update host/pool datamodel to support SSH auto mode - CP-53721 Implement SSH set auto mode API for Dom0 SSH control - CP-53724 Add xe CLI commands for setting and querying Dom0 SSH auto mode - CP-54382 Set Different Auto-Mode Default Values for XS8 and XS9 - CP-54382 Reconfigure Auto mode when pool join and pool eject - CA-412854 Fix ssh_expiry drift after XAPI restart - CA-413328 Enable auto-mode when XAPI failed for a extend period that exceeds the timeout duration - CA-413319: Ensure console timeout file exists when timeout is configured - CA-413424: Enhance xe help output - xapi_sr_operations: Report more useful info when raising other_operation_in_progress error - xapi_cluster_helpers: Correctly report other_operation_in_progress error - xapi_vm_lifecycle: Correctly report other_operation_in_progress error - qcow-stream-tool: Add a minimal CLI wrapper for Qcow_stream - {export,import}_raw_vdi: add qcow as supported format - export_raw_vdi: Add support for differential QCOW2 export with base - CP-52334 MVD - add -d option to mock driver-tool - xapi_vbd_helpers: Fix operation reporting when raising other_operation_in_progress - xapi_vdi: Report more useful information when raising other_operation_in_progress - xapi_{vif,vusb}_helpers: Report more useful information when raising other_operation_in_progress - message_forwarding: Report more info when raising other_operation_in_progress - xapi_pool_helpers: Report more info when raising other_operation_in_progress error - xapi_pif: Report more info when raising other_operation_in_progress error - xapi_vm_appliance_lifecycle: Report more info when raising other_operation_in_progress error - xapi_vbd: Report more useful info when raising other_operation_in_progress error - xapi_host_helpers: Report more useful info when raising other_operation_in_progress error - xapi/helpers: Fix handling of other_operation_in_progress delays - idl/datamodel_errors: Add operation_{type,ref} to other_operation_in_progress - Adjust tests after other_operation_in_progress refactoring - CA-412420: Set vdi-type When Create snapshot on SMAPIv3 SR - [doc] add documentation about tracing - CP-54480 Update release number for ssh_auto_mode - CA-413587: Checking feature for old FreeBSD driver * Wed Jul 16 2025 Rob Hoes <rob.hoes@citrix.com> - 25.26.0-1 - xenopsd: set xen-platform-pci-bar-uc key in xenstore - CP-308455 VM.sysprep add timeout parameter - CP-308455 VM.sysprep wait for shutdown - CP-308455 VM.sysprep update documentation - CP-308455 VM.sysprep wait for "action" key to disappear - CA-413713: Change bash-completion shortcut - Replace `List.fold_left (||) false (List.map f lst)` with `List.exists f lst` - CP-308875: set Xen PCI MMIO BAR to WB - Add message argument to LICENSE_CHECKOUT_ERROR * Sun Jul 13 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.25.0-1 - CA-393417: Drop device controller of cgroup v1 and fix USB passthrough for XS9 - xapi-stdext-threads: calibrate ratio for delay times - Downgrade unknown SM.feature errors to warnings - CP-308455 VM.sysprep use watch to detect sysprep running - datamodel_lifecycle: automatic update - CA-413412: Fail to designate new master - XSI-1954: Only block pool join for clustering on non-management VLAN * Sun Jul 06 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.24.0-1 - CA-410965: Modify default ref of console - Design proposal for supported image formats (v3) - CA-411477: Fix SM API version check failure - CP-54207: Move VBD_attach outside of VM migrate downtime - xenopsd/xc: upstream more NUMA changes - idl: Remove unused vm_lacks_feature_* errors - python: Add qcow2-to-stdout.py script - Move collection of memory metrics from xcp-rrdd to rrdp-squeezed - Move common retry_econnrefused function to xcp_client - CA-412636: hostname changed to localhost with static IP and reboot - Add mlis for observer_helpers and observer_skeleton - CP-308455 Toolstack VM.sysprep API - `xapi_vm_lifecycle`: Improve feature handling, avoid crashes - CA-413304: Restore VBD.unplug function to keep old functionality * Wed Jun 25 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.23.0-1 - Improve the xapi_observer debug logs by adding more context - Reduce code duplication by using a common Observer Interface - CA-409431: Use an Observer forwarder for xapi-storage-script - xapi: Move cpu_info keys to xapi-consts from xapi_globs to be used across modules - Improve xapi-cli-server - Improve `xe-cli` completion - xapi/helpers: Note that get_localhost can fail while the database is starting up - xapi_host: missing UEFI certificates warrant a warning, not an error - CA-412164: XSI-1901: uid-info does not support `:` in gecos - CP-47063: Instrument message-switch functions - CA-412313: DT spans not exported on host evacuation (XAPI shutdown) - xenopsd: Allow to override the default NUMA placement - Fix `message-switch` opam metadata - opam: generate xapi-log with dune - xapi-log: remove circular dependency on tests - datamodel_lifecycle: automatic update - CA-412146 Filter out VF when scan - Update datamodel_host - Update XE_SR_ERRORCODES from SM - CP-308253: `Task.destroy` spans should no longer be orphaned - CP-308392: Create specialized functions - xapi-idl: Clean up xenops-related interfaces - xapi_xenops: Remove unnecessary Helpers.get_localhost call - xapi_xenops: Split update_vm internals into a separate function - CA-408552: Improve bootstrom performance by save db ops - xenops_server_plugin: Refer to the type alias instead of its definition - xapi-idl/updates: Make filterfn in inject_barrier only look at keys - xapi_xenops: Refactor update_vm_internal - CP-308253: Instrument `Consumers` Spans in `Message-switch`. - CP-50001: Add instrumentation to `xapi_xenops.ml` - CA-406770: Improve error message - xenopsd: Remove data/updated from the list of watched paths - xapi_xenops: Simplify update_* functions - CP-308201: make unimplemented function more obvious * Thu Jun 12 2025 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 25.22.0-2 - Bump release and rebuild * Wed Jun 11 2025 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 25.22.0-1 - xcp-rrdd: change the code responsible for filtering out paused domains - Update datamodel_lifecycle (25.21.0) - CA-410085: Improving clearing cgroup after vfork - Adapt code to new mirage-crypto (CP-308222) - CP-308252 add VM.call_host_plugin - xapi-client: Add Tasks.wait_for_all_with_callback - xapi_host: Parallelize host evacuation even more - github: keep scheduled yangtze's runs working - rrdd: Avoid missing aggregation of metrics from newly destroyed domains - xapi-aux: remove cstruct usage from networking_info - xapi-cli-server: Expose evacuate-batch-size parameter in the CLI - [maintenance]: add forkexecd C objects to .gitignore - unixext: Add a raise_with_preserved_backtrace function - xapi_vgpu_type: Don't pollute the logs with non-critical errors - networkd: Add ENOENT to the list of expected errors in Sysfs.read_one_line - xenguestHelper: Don't dump errors on End_of_file * Tue Jun 10 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.21.0-4 - Bump release and rebuild * Mon Jun 09 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.21.0-3 - Bump release and rebuild * Fri Jun 06 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.21.0-2 - Bump release and rebuild * Fri Jun 06 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.21.0-1 - CP-53477 Update host/pool datamodel to support SSH status query and configure - CP-53802: Restore SSH service to default state in pool eject - CP-53711: Apply SSH settings in joiner before update_non_vm_metadata - CP-53723 Implement Console timeout configure API for Dom0 SSH control - CP-53478: Implement SSH enabeld timeout API for Dom0 SSH control - CP-53725 Create SSH-related xe CLI for Dom0 SSH control - CP-54138: Sync SSH status during XAPI startup - CP-308049: rrdview tool - CA-410948 Avoid rasie full Exception when disable/enable ssh failed - CA-409949 CA-408048 XSI-1912 remove unabailable SM plugin by ref - xapi-types: remove dev errors when adding features - xenctrlext: add function to set the hard-affinity for vcpus - xenopsd: pass the hard-affinity map to pre_build - xenopsd: do not send hard affinities to xenguest when not needed - xenopsd: set the hard affinities directly when set by the user - xenopsd: expose a best-effort mode that set the hard affinity mask (CP-54234) - xapi: use hard-pinning with best-effort as an experimental feature (CP-54234) - CA-411679: Runstate metrics return data over 100% - Modify doc mistakes - CONTRIBUTING: add some initial guidelines - Removed PowerShell 5.x build due to the retirement of windows-2019. - Add file-upload support to xe host-call-plugin - CP-53475 Update release number to latest tag - XSI-1918: Host can not join pool after enable external auth - xapi_vif: Guarantee the device parameter is an unsigned decimal integer - xapi-idl: Avoid printing cli output when testing - xapi-storage-script: avoid output when running python tests - CA-411766: Detach VBDs right after VM Halted - datamodel_lifecycle: automatic update * Fri May 23 2025 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 25.20.0-2 - Bump release and rebuild * Fri May 23 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.20.0-1 - CA-409949 CA-408048 remove unavailable SM types at startup - CP-307933: database: do not marshal/unmarshal every time - CP-307865 Support SHA-512 Certificates for XenServer Hosts - gencert testing: use human-readable errors for validation - CA-409510: xenopsd operations time out due to deadlock - CA-411122: do not call set-iscsi-initiator with an empty string for IQN - CA-410782: Add receive_memory_queues for VM_receive_memory operations - xapi: Cleanup unused functions - CP-308075 document changing paths for SM plugins in XS9 - CP-53642: change default NUMA placement policy to best-effort - CP-54275: Add a blocklist mechanism to avoid incorrect/old repo config. - CP-307922: Implement SMAPIv3 outbound migration - CA-409482: Using computed delay for RRD loop - CA-411319: Concurrent `VM.assert_can_migrate` failure * Thu May 15 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.19.0-1 - [maintenance]: bool is a keyword in newer C versions, cannot be a parameter - CP-307947: cleanup database interface - Mux mirror failure check for SXM - Bring back DATA.MIRROR.list and DATA.MIRROR.stat - Add more debugging to storage_smapiv1_migrate - CP-307958: database: small lock and RPC tweaks + benchmarks - CA-408492: Keep backwards compatibility for SMAPIv2 * Fri May 09 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.18.0-1 - CP-52880: [XSI-1763]: Xapi_vdi.update_allowed_operations is slow - Add additional tracing to VBD plug/unplug - CP-53554: Split plug xenopsd atomic into attach/activate - CP-53555: Split unplug atomic into deactivate/detach - Move update_snapshot_info_dest to storage_mux - Refactor Storage_smapiv1.find_vdi - Use the new scan2 - Add new interface for mirror operation in SMAPIv3 - Add more states for SXM - Remove receive_start(2) from storage_migrate - Change how receive_start2 is called - Add qcow2 as supported format by xcp-rrdd-iostat - CA-404946: NBD: increase timeout to match iSCSI timeout and use persistent connections - Update datamodel_lifecycle - [maintenance]: reformat dune files in sdk-gen - build: avoid race condition on install - [maintenance]: drop sexprpp - XAPI website link updated in README - xapi-log/test: Package the cram test in xapi-log - CA-409710: Modify the default backup parameters - xenopsd: Don't balloon down memory on same-host migration - CA-410001: Check rrdi.rrd to avoid ds duplicate - xapi_xenops: Avoid a race during suspend - CP-54828: RBAC: Avoid raising exception on happy path - CP-54827: Optimize pool object - CP-54826: Mutex.execute: avoid costly backtrace formatting in finally - CA-403867: Block pool join if IP not configured on cluster network * Thu Apr 24 2025 Bengang Yuan <bengang.yuan@cloud.com> - 25.17.0-1 - xe-reset-networking: Avoid truncating IPv6 addresses - networkd: simplify parsing of config - networkd: read IPv6 entries in the firstboot management config file - xapi: Log exceptions in check_network_reset - CA-408230: Enable destroy op for HA statefile VDI after HA is disabled - CP-52131/CP-53474: Reorder operations during pci_add - xapi_guest_agent: Update xenstore keys for Windows PV drivers versions - tests: Add Windows PV driver version parsing test to test_guest_agent - Explicitly define failures for SXM - Define the utility function for choosing the backend - Move the copying function to storage_smapiv1_migrate - Move MigrateRemote before MigrateLocal - Move `find_local_vdi` utility function - Split Storage_migrate.start - Remove duplicate Storage_migrate.stop impl - Implement send_start for SMAPIv1 - doc: Add sxm mux design - doc: Add an overview of SXM - doc: Add error handling of SXM - CA-409628: Do not lose the original backtrace in log_backtrace - Update cluster-stack-version lifecycle - CP-54034: Expose `expected_votes` in Cluster object * Tue Apr 15 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.16.0-1 - CP-54072: Create template for storage_smapi{v1,v3}_migrate - CA-401023: Remove smapi observer config if smapi is set as experimental - xapi_message: Implement proper expression handling in get_all_records_where - CP-54026: option to control VM-internal shutdown behaviour under HA - CP-53951: Drop SSL and Lwt dependency from XAPI - quicktest: Add a test verifying Message.get_all_records_where filtering - CI: allow XAPI linking with Lwt for now - Check that there are no changes during SR.scan - CA-408843: XSI-1852: Set encryption type of machine account - CP-52745: Add `ThreadLocalStorage` in `Threadext` - CA-409488: prevent Xenctrl exceptions from escaping on VM boot/shutdown races - CA-409489: prevent running out of pages with lots of domains - rrd_file_writer: protect against resource leak - Raise log level for rrd thread monitor - xapi-aux: Add function to return all management ip addresses - gencert: Allow adding more than one IP as the certificate subject - network_server: add gateway and dns options to DHCP6 - opam: update xapi-storage-cli metadata * Fri Apr 11 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.15.0-3 - Bump release and rebuild * Tue Apr 08 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.15.0-2 - Bump release and rebuild * Tue Apr 08 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.15.0-1 - CP-53313: Add field services in VM_guest_metrics - CP-53314: Read and watch <domain>/data/service in xenstore to DB - Define SR_CACHING capability - CP-52365 fix up driver-tool invocations - CA-408339: Respect xenopsd's NUMA-placement-policy default - Use records when accumulating events - Remove mutable last_generation from Xapi_event - Factor out event reification - Use record type for individual event entries - xenctrlext: do not truncate the amount of memory in claims to 32 bits - CA-407177: Fix swtpm's use of SHA1 on XS9 - forkexecd: do not tie vfork_helper to the forkexec package - opam: add missing dependencies to packages - Simplify code by using get_trace_context - CA-404460: Expose Stunnel_verify_error for mismatched or corrupted certificate, and expose ssl_verify_error during update syncing - CA-408550: XSI-1834: Host netbios name should be added to local - CP-54020: Refactor sxm and storage_mux code - CA-408500: Remove ListFile with Xapi_stdext_unix.Unixext - CP-53472: Create parent for add_module spans - xapi-stdext-threads, test: use stable testing interface - CA-408841 rrd: don't update rrds when ds_update is called with an empty datasource array - Remove xapi-stdext-date - CP-50836: Add VM_migrate_downtime and request_shutdown spans - opam: move all opam files to the opam subdir - numa: add test binary that prints changes in free memory and domain lifetime - CP-53658: adapt claim_pages to new version with numa node parameter - xenctrl: Don't use numa_node in domain_claim_pages calls - xenopsd: log_reraise doesn't ignore the result - CP-54065, xenopsd: use domain_claim_pages on a single node, if possible - xenopsd/xc: Do not try to allocate pages to a particular NUMA node - xapi_vm_migrate: Avoid duplicate, overly-strict CBT check on VDIs - Update datamodel lifecycle VM_guest_metrics.services - CA-408048 add library to represent version strings - CA-408048 remove SM plugins from DB if unavailable * Tue Mar 18 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.14.0-1 - IH-533: Remove usage of forkexecd daemon to execute processes - Add opam local switch in gitignore - xenopsd: start vncterm for PVH guests * Mon Mar 17 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.13.0-1 - CP-48824: Increase xenopsd worker-pool-size to 25 - CP-52074: Add systemctl enable and disable API - CP-53161: Pass `baggage` back into `xapi` from `smapi`. - CA-405864: Drop usage of init.d functions - doc: Update xapi storage layer code links - CA-405864: Fix shellcheck warnings - CP-53827, xenopsd: claim pages for domain on pre_build phase - CI: fix compile_commands.json caching - Resolve build failure in message_forwarding.ml - CP-48676: Reuse pool sessions on slave logins. - xapi-stdext-date: replace all usages to use clock instead - CA-408126 follow-up: Fix negative ds_min and RRD values in historical archives * Wed Mar 12 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.12.0-1 - Revert "CA-403851 stop management server in Pool.eject ()" * Tue Mar 11 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.11.0-1 - Design proposal for supported image formats - (docs) Describe the flows of setting NUMA node affinity in Xen by Xenopsd - CA-407687/XSI-1834: get_subject_information_from_identifier should - CA-408126 - rrd: Do not lose ds_min/max when adding to the RRD - Change Ocaml version in readme - CA-403851 stop management server in Pool.eject () * Fri Mar 07 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.10.0-1 - CA-407328: Change vm parameter names of SXM calls - CP-53708: Expose the existing PCI vendor/device IDs - CP-53444: For XenServer 9, remove python dnf plugins - XSI-1821: Add pre-condition for host.emergency_reenable_tls_verification - CP-50934: fix qemu cgroups to be compatible with cgroupv2 - opam: move stunnel metadata to dune-project - stdext: replace all ignore_type with annotated ignores - xapi_vdi_helpers: actually write raw vdi when possible - CA-399631: Increase the max size of xcp-rrdd-plugins for bug-tool - CP-53779: Guard all `Tgroup` library call behind `tgroups-enabaled` - CI: add a codechecker workflow - [maintenance] xa_auth.h: avoid using reserved macro names - unixpwd.c: fix error path file descriptor leak - [maintenance] syslog_stubs.c: avoid using reserved identifier names - [maintenance] blkgetsize64: avoid warning about uninit value - CP-53747 document PEM/Certificate relation - c_stubs: use 'new' acquire and release runtime functions - Hoist value access outside section without lock - CA-407370: Use remote.conf for customer rsyslog forwarding rules - Revert: Refactor Xapi_event #6306 * Mon Mar 03 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.9.0-2 - Bump release and rebuild * Thu Feb 27 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.9.0-1 - Design proposal to support import/export of Qcow2 VDI - message_forwarding: Change call_slave_... functions to reduce repetition - Revert "CA-403867: Block pool join if IP not configured on cluster network" * Wed Feb 26 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.8.0-1 - CP-52744: Thread `TraceContext` as json inside debug_info - Use records when accumulating events - Remove mutable last_generation from Xapi_event - Use record type for individual event entries - CA-403867: Block pool join if IP not configured on cluster network - CA-403744: Implement other_config operations - CP-45795: Decompress compressed trace files without Forkexecd - CP-53362: Rename hcp_nss to nss_override_id - CP-52365 adjust interface to dmv-utils - CA-407033: Call `receive_finalize2` synchronously - Add internal links to XenAPI reference - CA-405643: Update DNF to DNF5 - Add filter_by to Dm_api - Use Cmdliner for gen_api_main.exe - CA-407322 - libs/rrd: Keep lastupdate XML field as int, XenCenter relies on it * Mon Feb 24 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.7.0-2 - Bump release and rebuild * Tue Feb 18 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.7.0-1 - CP-51393: Datamodel: update Repository for syncing from a remote pool (#6049) - CP-51835: Keep the HTTP /repository handler enabled - CP-50789: Enable verified rpc to external host - CP-51836: Restrict/check binary_url of remote_pool repository - CP-51391: Implement handling for /repository/enabled - CP-51988: Fix functions not work for remote_pool repo - CP-50787 CP-51347: Support pool.sync_updates from remote_pool repo - CP-52245: Temp disable repo_gpgcheck when syncing from remote_pool repo - Revert "CP-52245: Temp disable repo_gpgcheck when syncing from remote_pool repo" - python3: Add previously unused API classes to Python stubs used during testing - CA-404660: Refine repository enabling error message - doc: walkthroughs/VM.start: Update the xenguest chapter (domain build) - debug traces for is_component_enabled - CP-53470 Additional spans in & around the pause section in VM.migrate - Hugo docs: Support dark themes: Invert images to match the theme - README: Submission: Add DCO, issues & remove the disabled xen-api list - docs/xenopsd: List the child pages using the children shortcode - CA-405820 guard /etc/init.d/functions in xe-toolstack-restart - Simplify cases of may_be_side_effecting - Drop count_mandatory_message_parameters - message-switch/unix: simplify the scheduler - docs: Add dedicated walk-throughs for VM.build and xenguest - xenopsd docs: Add Walk-through descriptions, show them on the index page - python3: Resurrect metrics.py helper script - python3: Resurrect a metricsgraph.py helper script - CA-406403: Do not return HTTP 500 when Accept header can't be parsed - Replace startswith and endswith with stdlib calls - Domain.build docs: Improve notes on node_affinity, move to new page - (docs) VM.migrate.md: Rephrase and simplify, improve readability * Wed Feb 12 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.6.0-2 - Bump release and rebuild * Tue Sep 09 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.12 - Backport XSA-474 fix * Fri Jul 18 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.11 - Packaging changes associated with the "xenopsd: set xen-platform-pci-bar-uc key" improvement to allow for custom user xenopsd configuration * Wed Jul 16 2025 Anthoine Bourgeois <anthoine.bourgeois@vates.tech> - 25.6.0-1.10 - Cherry-pick 83a48882655d "xenopsd: set xen-platform-pci-bar-uc key in xenstore", commit is upsteam in 25.26.0. * Wed Jun 25 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.9 - Fix remote syslog configuration being broken on updates * Mon Jun 09 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.8 - Fix several RRD issues and make the plugins more robust: - Cap Derive values within a certain range without making them NaN - Use a computed delay time for RRD loop to prevent gaps in metrics collection - Avoid duplicating datasources on plugin restore - Protect against a resource leak in the plugins - Avoid running out of mmap-ed pages in xcp-rrdd-cpu for large numbers of domains - Prevent exceptions from escaping and introducing gaps into metrics collection - Avoid missing metrics from new and destroyed domains * Thu May 22 2025 Guillaume Thouvenin <guillaume.thouvenin@vates.tech> - 25.6.0-1.7 - Fix another deadlock in xenopsd - Prevent xapi concurrent calls during migration from indirectly make each other fail * Tue May 20 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.6 - Fix a deadlock in xenopsd due to atom nesting * Tue May 13 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.5 - Remove pvsproxy.service from the list of units restarted on xcp-rrdd update * Wed May 07 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.4 - Fix a race during VM suspend that would make the snapshot unresumable * Wed Apr 23 2025 Gaëtan Lehmann <gaetan.lehmann@vates.tech> - 25.6.0-1.3 - Remove remaining dependency on rrd-client-lib in xcp-rrdd-devel. * Tue Apr 22 2025 Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.2 - Remove dependency on rrd-client-lib. It's not used by XCP-ng. - Update xenstore keys that Xapi Guest Agent checks for Windows PV driver versions * Tue Apr 15 2025 Gaëtan Lehmann <gaetan.lehmann@vates.tech> - 25.6.0-1.1 - Update to upstream 25.6.0-1 - Regenerate and rename patches with git format-patch - Rename xapi-24.11.0-update-xapi-conf.XCP-ng.patch to 0001-xcp-ng-configure-xapi.conf-to-meet-our-needs.patch - Rename xenopsd-22.20.0-use-xcp-clipboardd.XCP-ng.patch to 0002-xcp-ng-renamed-xs-clipboardd-to-xcp-clipboardd.patch - Rename xen-api-24.39.1-test-disable-cancellable-sleep.patch to 0003-xcp-ng-disable-cancellable-sleep.patch - Rename xen-api-24.39.1-debug-traces-for-is_component_enabled.patch to 0004-xcp-ng-add-debug-info-in-observer.patch - Rename xapi-24.19.2-fix-ipv6-import.XCP-ng.patch to 0005-xcp-ng-fix-IPv6-import.patch - Rename xapi-24.39.0-open-openflow-port.XCP-ng.patch to 0006-xcp-ng-open-close-openflow-port.patch - Rename xapi-24.39.0-update-db-tunnel-protocol-from-other_config.XCP-ng.patch to 0007-xcp-ng-update-db-tunnel-protocol-from-other-config.patch - Add 0008-CA-408126-rrd-Do-not-lose-ds_min-max-when-adding-to-.patch - Add 0009-CA-408126-follow-up-Fix-negative-ds_min-and-RRD-valu.patch - Add 0010-CA-408841-rrd-don-t-update-rrds-when-ds_update-is-ca.patch - Rename 0003-Check-that-there-are-no-changes-during-SR.scan.patch to 0011-Check-that-there-are-no-changes-during-SR.scan.patch - Drop xen-api-24.39.1-0001-CA-399669-Do-not-exit-with-error-when-IPMI-readings-.patch, merged upstream - Drop xen-api-24.39.1-0002-rrdp-dcmi-remove-extraneous-I-argument-from-cli-call.patch, merged upstream - Drop xen-api-24.39.1-0003-CA-399669-Detect-a-reason-for-IPMI-readings-being-un.patch, merged upstream - Drop 0001-CA-399757-Add-CAS-style-check-for-SR-scan.patch, merged upstream - Drop 0002-Improve-the-scan-comparison-logic.patch, merged upstream - *** Upstream changelog *** * Mon Feb 10 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.6.0-1 - CP-52114: Add pool.license_server for pool level licensing - CP-52116: Support pool level licensing data in Host.apply_edition - CP-51209: add hooks lock_acquired/released for bpftrace - Hugo docs update - CA-405628: unmount/detach PVS cache VDI before destroying - xenopsd tests: split suite into 3 executables - CP-53335, topology: do not raise exception when loading invalid distance matrices - test_topology: reorganise test cases - Fix CI: Re-enable running shellcheck even when only docs changed - CP-49141: Mark the DB lock as high priority: try to avoid voluntary Thread.yield while we hold it - CP-49140: prepare for database optimizations - Document Xapi's auto-generated modules - CA-405754: Update xapi-storage-script state.db - Add Pool_role.is_master benchmarks - Optimize fastpath in Pool_role - CA-405971: avoid calling DB functions when in emergency mode * Mon Feb 03 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.5.0-1 - CP-49158: [prep] Add Task completion latency benchmark - CP-51690: [prep] Xapi_periodic_scheduler: Factor out Delay.wait call - CP-51690: [bugfix] Xapi_periodic_scheduler: avoid 10s sleep on empty queue - CP-51693: feat(use-xmlrpc): [perf] use JSONRPC instead of XMLRPC for internal communication - CP-51701: [perf] Xapi_event: do not convert to lowercase if already lowercase - CP-51701: [perf] Xapi_event: drop duplicate lowercase_ascii - CP-51701: [perf] Xapi_events: replace List.any+map with List.exists - CP-49064:`Tgroup` library - CP-51493: Add `set_cgroup` - CP-51488: Set `tgroup` based on request header. - CP-49064: Init cgroups at xapi startup - CP-50537: Always reset `_extra_headers` when making a connection. - CP-50537: Propagate originator as a http request header - CP-51489: Classify threads based on http requests. - CP-50537: Add a guard in `xapi_globs`, `Xapi_globs.tgroups_enabled`. - CP-51692: feat(use-event-next): introduce use-event-next configuration flag - CP-52625: workaround Rpc.Int32 parsing bug - CP-51692: feat(use-event-next): cli_util: use Event.from instead of Event.next - CP-51692: feat(use-event-next): xe event-wait: use Event.from instead of Event.next - CA-401651: stunnel_cache: run the cache expiry code periodically - CA-401652: stunnel_cache: set stunnel size limit based on host role - CA-388210: rename vm' to vm - CA-388210: drop unused domain parameter - CA-388210: factor out computing the domain parameter - CA-388210: SMAPIv3 concurrency safety: send the (unique) datapath argument as domain for Dom0 - CA-388210: SMAPIv3 debugging: log PID - CP-52707: Improve Event.from/next API documentation - CA-388210: SMAPIv3 concurrency: turn on concurrent operations by default - CA-388210: delete comment about deadlock bug, they are fixed - CA-388564: move qemu-dm to vm.slice - CP-52821: Xapi_periodic_scheduler: introduce add_to_queue_span - CP-52821: Xapi_event: use Clock.Timer instead of gettimeofday - CP-52821: xapi_periodic_scheduler: use Mtime.span instead of Mtime.t - CP-49158: [prep] batching: add a helper for recursive, batched calls like Event.{from,next} - CP-49158: [prep] Event.from: replace recursion with Batching.with_recursive - CP-51692: Event.next: use same batching as Event.from - CP-49158: [prep] Event.{from,next}: make delays configurable and prepare for task specific delays - CP-49158: Event.next is deprecated: increase delays - CP-49158: Use exponential backoff for delay between recursive calls - CP-49158: Throttle: add Thread.yield - CP-49141: add OCaml timeslice setter - CP-52709: add timeslice configuration to all services - CP-52709: add simple measurement code - CP-52709: recommended measurement - CP-52709: Enable timeslice setting during unit tests by default - CP-52320: Improve xapi thread classification - CP-52320 & CP-52795: Add unit tests for tgroup library - CP-52320 & CP-52743: Classify xapi threads. - CP-51692: Do not enable Event.next ratelimiting if Event.next is still used internally - CA-399669: Do not exit with error when IPMI readings aren't available - rrdp-dcmi: remove extraneous -I argument from cli calls - CA-399669: Detect a reason for IPMI readings being unavailable - xcp-rrdd: Make parsing of cmd's output more robust - CA-405593: Normalise API-installed host certificates - Refactor xapi-storage-script to use modules * Wed Jan 29 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.4.0-1 - docs: Update doc/README.md and Hugo Relearn (to 5.23.0 for now) - CA-403759: Initialise licensing after no-other-masters check - CA-400272: pool.set_igmp_snooping_enabled: ignore non-managed PIFs - Revert "CP-45016: Clean up the source VM earlier" - CA-405502: Change post_detach to post_deactivate * Mon Jan 27 2025 Vincent Liu <shuntian.liu2@cloud.com> - 25.3.0-1 - CA-403634: Corrected error text (this error can be issued for other types of devices, not only disks). - Removed errors that are not issued by the API. - fe_test: add test for syslog feature - CA-404591 - rrd: Do not lose precision when converting floats to strings - MVD CP-52334 multi-version driver API/CLI - Refactor feature processing logic in `Smint` - Move `transform_storage_exn` to Storage_utils - CP-45016: Add support for specifying nbd export in sparse_dd - CP-45016: Implement inbound SXM SMAPIv3 SRs - CP-45016: Delay VDI.compose in SXM - CA-404693 prohibit selecting driver variant if h/w not present - CP-45016: Implement a new nbd proxy handler - CP-45016: Clean up the source VM earlier - Update XE_SR_ERRORCODES.xml from SM - CA-404611: SXM: check power-state just before metadata export - CA-404611: live import: only check CPUID if VM is not Halted - CA-399260: Keep both new and old certs during the switchover - Added preprocessor directive so that the assembly internals are visible to XenServerTest only when specified. - Remove dangling use of python-future from rrdd.py - opam: add missing dependencies - CA-405404: Fix path to dracut * Fri Jan 17 2025 Gang Ji <gang.ji@cloud.com> - 25.2.0-1 - CA-364194: use timespans for script timeouts - Remove unused Unixext.Direct module - github: update release for ubuntu 24.04 - github: remove dependency of python wheel's on dune - CA-404640 XSI-1781 accept in PEM key/cert in any order - CA-404640 XSI-1781 bring back fail-06.pem - Log proper names for POSIX signals - Debug: add pretty-printing function for signals - CA-404597: rrd/lib_test - Verify that RRD handles non-rate data sources correctly - CA-404597: rrd - Pass Gauge and Absolute data source values as-is * Mon Jan 13 2025 Gang Ji <gang.ji@cloud.com> - 25.1.0-1 - CA-403620: Drop the usage of fuser in stunnel client proxy - CA-403620: Make the stunnel proxy local port configurable - Removed deprecated methods. - Cmdlet refactoring: - CP-53003: Use JsonRpc v1.0 by default and switch to v2.0 once the API version is known. - Use Mtime.Span.to_float_ns instead of Mtime.Span.to_uint64_ns+Int64.to_float - CA-404013: do not relock the mutex when backing up rrds - database: do not log when a field is dropped when loading from db_xml - CA-403700 use iso9660 file system for updates - rrd2csv: Accept a trailing comma in metrics names - CA-404512: Add feature flag to the new clustering interface * Thu Jan 09 2025 Gang Ji <gang.ji@cloud.com> - 25.0.0-1 - Simplify event generation predicate in Xapi_event - Update comment to include implicit invariant - IH-747 - xapi/import: Don't lie in VDI import logs - IH-747 - database: Add an internal get_by_uuid_opt method - IH-747 - xapi/import: Use get_by_uuid_opt to not log backtraces when failure is expected - Simplify Eventgen - Add eventgen.mli - Hide that get_records are stored in a Hashtbl - Document eventgen.mli - Precompute symmetric closure table - CA-402921: Relax VIF constraint for PVS proxy - CA-402921: Update PVS-proxy tests - CA-402921: Restrict VIF.create - CA-402921: Add some unit tests for Xapi_vif_helpers - CA-403422: lengthen the timeout for xenopsd's serialized tasks - xenopsd: remove unused subtask parameter - XSI-1773 improve logging if service file unexpectedly exists - XSI-1773 clean up swtpm service files - CA-404020: Do not fail when removing a non-existing datasource - rrd/lib: remove outdated functions from utils - rrdd: add more comments about its datastructures - CA-404062: Wrongly restart xapi when receiving HTTP errors - CA-404062: Reformat - CP-51895: Drop FCoE support when fcoe_driver does not exists - Report memory available as Kib - xenopsd: Avoid calling to_string every time - gencert: name the pem parsers - CA-404236, gencert: when parsing pems, ignore data between key and certificates - CP-51895: Drop FCoE support when fcoe_driver does not exists - CA-403344: Add `db_get_by_uuid_opt` to db_cache* - Add unit test to the new `db_get_by_uuid_opt` function - Style: Refactor using failwith_fmt - CA-404013: replace Thread.delay with Delay module * Wed Dec 18 2024 Gang Ji <gang.ji@cloud.com> - 24.40.0-1 - CP-51694: Add testing of C# date converter - CP-51694: Add testing of Java date deserializer - rrdd: avoid constructing intermediate lists, use Seq - CA-391651 - rrd: Remove deprecated member of rra struct - CA-391651: Make timestamps of data collectors in xcp-rrdd independent - CA-391651: rrdd_server - read plugins' timestamps, don't just ignore them - CA-391651: Propagate the timestamp inside RRD. - CA-391651: Rename 'new_domid' parameter to 'new_rrd' - CA-391651 - rrd: Carry indices with datasources - CA-391651: Use per-datasource last_updated timestamp during updating and archiving - CA-391651: rrd - don't iterate over lists needlessly - CA-391651: rrdd_monitor - Handle missing datasources by resetting them explicitly - CA-391651 - rrd protocol: Stop truncating timestamps to seconds - CA-391651 - rrdd.py: Stop truncating timestamps to seconds - CA-391651 rrd: Don't truncate timestamps when calculating values - CA-391651: Update RRD tests to the new interfaces - CA-391651 - docs: Update RRD design pages - Increase wait-init-complete timeout - CP-51694: Add testing of Go date deserialization - Set non-UTC timezone for date time unit test runners - Fix parsing of timezone agnostic date strings in Java deserializer - Ensure C# date tests work when running under any timezone - Minimize xenstore accesses during domid-to-uuid lookups - CP-52524 - dbsync_slave: stop calculating boot time ourselves - CP-52524: Generate an alert when various host kernel taints are set - xenopsd: Optimize lazy evaluation - NUMA docs: Fix typos and extend the intro for the best-effort mode - CP-51772: Remove traceparent from Http.Request - CP-51772: Remove external usage of traceparent - CP-51772: Add TraceContext to Tracing - CP-51772: Add Http Request Propagator - CP-51772: Extract traceparent back out - CP-51772: Remove tracing dependency from http-lib - CP-51772: Consolidate propagation into tracing lib - CP-51772: Repair xapi-cli-server's tracing - CP-51772: Repair tracing in xapi - Restructuring - CP-51772: Forward baggage from xe-cli - CP-51772: Propagate trace context through spans - Apply fix by psafont: [Xenopsd] chooses NUMA nodes purely based on amount of free memory on the NUMA nodes of the host - Apply fix by psafont: "Future XAPI versions may change `default_policy` to mean `best_effort`." - xe-cli completion: Use grep -E instead of egrep - CA-388210: factor out computing the domain parameter - CA-388210: SMAPIv3 concurrency safety: send the (unique) datapath argument as domain for Dom0 - CA-388210: SMAPIv3 debugging: log PID - CA-388210: SMAPIv3 concurrency: turn on concurrent operations by default - Improve Delay test - CP-42675: add new SM GC message ID - CA-403101: Keep host.last_update_hash for host joined a pool - xapi_message: Fix incorrect slow path invocation (and its logs) - xapi: move the 'periodic' scheduler to xapi-stdext-threads - Check index before using it removing an element from Imperative priority queue - Fix removing elements from Imperative priority queue - Remove possible systematic leak in Imperative priority queue - Add test for is_empty for Imperative priority queue - Move and improve old test for Imperative priority queue - Initialise Imperative priority queue array on creation - CA-399757: Add CAS style check for SR scan - xapi-stdext-threads: use mtime.clock.os - Remove unused ocaml/perftest - Remove references to perftest - Update quality-gate - CA-401075: remove misleading logs from HTTP client - CP-52807: No more cluster stack alert - Rewrite Delay module - CA-394851: Update allowed operations on the cloned VBD - CP-51429 Avoid redundant processing when full metadata already exists during sync_updates - Delay: wait a bit more testing the module - Simple test for periodic scheduler - Limit mutex contention in add_to_queue - Compare correctly Mtime.t - Protect queue with mutex in remove_from_queue - Remove signal parameter from add_to_queue - Fix multiple issues in periodic scheduler - Add test for removing periodic event in periodic scheduler - Add test for handling event if queue was empty in periodic scheduler - xapi_sr: remove commented code from 2009 - Add a test to check the loop is woken up adding a new event - CA-390025: do not override SR's client-set metadata on update - xe-cli completion: Hide COMPREPLY manipulation behind functions - Improve the scan comparison logic - CA-402901: Update leaked dp to Sr - Added manually messages that are not autogenerated. - Docs tidy up: - Add VM_metrics to metadata export - Add VM_metrics to metadata import - Cross-pool live migration: move CPU check to the target host - CA-380580: cross-pool migration: no CPU checks for halted VMs - CA-403633: Keep vPCI devices in the same order - CA-403767: verifyPeer can't use root CA for appliance cert check * Tue Nov 26 2024 Gang Ji <gang.ji@cloud.com> - 24.39.0-2 - Bump release and rebuild * Thu Apr 03 2025 Guillaume Thouvenin <guillaume.thouvenin@vates.tech> - 24.39.1-1.3 - Check that there are no changes during SR.scan - Improve the scan comparison logic - Add CAS style check for SR scan * Fri Feb 14 2025 Yann Dirson <yann.dirson@vates.tech> - 24.39.1-1.1 - Update to upstream 24.39.1-1 - Reformat changelog to allow diffing with upstream - Adjust change to avoid pulling upgrade-pbis-to-winbind (XS8-only) - Reworked non-installation of yum plugins - Adjust xapi-23.31.0-open-openflow-port.XCP-ng.patch for file rename - Adjust xapi-24.11.0-update-db-tunnel-protocol-from-other_config.XCP-ng.patch - Drop xapi-24.16.0-openvswitch-config-update-fix-python2ism-in-python3.patch, merged upstream - Drop backport: xapi-24.19.2-update-new-fingerprint-fields-on-DB-upgrade.backport.patch - Drop ipv6 patches merged into v24.31.0 - Drop xapi-24.19-2-fix-pem-fingerprint-startup.XCP-ng.patch now that #6006 is merged - New xen-api-24.39.1-test-disable-cancellable-sleep.patch: disable "cancellable sleep" flaky test - Add missing Requires: python3-wrapt - More traces for is_component_enabled (PR #6280) - IPMI fixes from psafont for testing (PR #6261) - Bump version requirement on jemalloc to get required libjemalloc.so.2 - Upstream changelog: * Tue Jan 14 2025 Vincent Liu <shuntian.liu2@cloud.com> - 24.39.1-1 - CA-404512: Add feature flag to the new clustering interface * Tue Nov 26 2024 Gang Ji <gang.ji@cloud.com> - 24.39.0-2 - Bump release and rebuild * Mon Nov 25 2024 Gang Ji <gang.ji@cloud.com> - 24.39.0-1 - IH-728: Refactor tracing logic - Update datamodel_lifecycle.ml - CA-401274: Remove external auth limitation during set_hostname_live - CP-49134: tracing: do not destroy stacktrace - CP-49078: Use Hashtbl within Schema - opam: update vhd packages' opam metadata - maintenance: compatibility with cstruct 6.2.0 - CA-402326: Fetch SM records from the pool to avoid race - CA-402654: Partially revert 3e2e970af - CA-402263, xapi_sr_operatrions: don't include all API storage operations in all_ops * Wed Nov 13 2024 Christian Lindig <christian.lindig@cloud.com> - 24.37.0-3 - Bump release and rebuild * Wed Nov 13 2024 Christian Lindig <christian.lindig@cloud.com> - 24.37.0-2 - Bump release and rebuild * Mon Nov 11 2024 Christian Lindig <christian.lindig@cloud.com> - 24.37.0-1 - CP-50475: Remove unnecessary Parallel atoms from the xenopsd queues - CP-50475: parallelize device ops during VM lifecycle ops - xapi_stdext_unix/test: Fix intermittent systemd cram test failure - Fix a build warning with GCC 12.3.0 - Remove use of deprecated syslog Standard* type - CA-400860: rrdp-netdev - drop xenctrl, use xenstore to get UUIDs from domids instead - CP-51870: Delegate restarting systemd services order to systemd - CP-51938: Generate XML alert for cluster health - CP-50546: Remove initscripts family - Remove notion of weird string from sexpr library - CA-399396: Adjust the jemalloc parameters for memory performance - CP-52039: Drop Semaphore from Xapi_stdext_threads - CA-400560: Fix version segment division error - Do not include xapi-clusterd.service in toolstack.target - CA-401324: Update pvsproxy socket location - CA-400560: Support tilde in RPM version/release comparison - CA-401404: Only check previous active service status - CA-401242: avoid long-running, idle connections on VDI.pool_migrate - xapi_vdi: replaces nested if-elses with monadic Result - datamodel: Add all VDI operations to the SR operations variant - CA-401498: Fix test_systemd occasional timeout - CA-399629: make daily-license-check aware of never - license_check: clean up interface - license_check: update the concept of "never" - daily_license_check: Do not use floats for handling time - CA-400060: Introduce new field for sm class - CA-400060: Sm feature intersection - CA-400060: Reject pool join if sm features mismatch - Document Rbac module * Tue Oct 29 2024 Christian Lindig <christian.lindig@cloud.com> - 24.36.0-1 - CA-400559: API Error too_many_groups is not in go SDK - chore: annotate types for non-returning functions - CA-400199: open /dev/urandom on first use * Wed Oct 23 2024 Christian Lindig <christian.lindig@cloud.com> - 24.35.0-1 - CA-398341: Populate fingerprints of CA certificates on startup - CP-51527: Add --force option to pool-uninstall-ca-certificate - CA-400924 - networkd: Add bonds to `devs` in network_monitor_thread * Mon Oct 21 2024 Christian Lindig <christian.lindig@cloud.com> - 24.34.0-1 - fix(test): avoid running XAPI hooks in unit tests - IH-715 - rrdp-netdev: Remove double (de)serialization - fixup! IH-715 - rrdp-netdev: Remove double (de)serialization - chore: update datamodel versions - IH-577 Implement v7 UUID generation - Update wire-protocol.md to have working Python3 code examples - Added WLB_VM_RELOCATION to the list of recognized messages. - Python command correction. - Remove unused Http_svr.Chunked module - chore: Fix some grammatical errors in cluster alerts - buf_io: remove unused function input_line - Access pvsproxy via a socket in /run - http-svr: change request_of_bio(_exn) to read_request(_exn) - xmlrpc_client: remove us of Buf_io - http-svr: remove read from Buf_io in read_body - xapi_http: unify cases in add_handler - Remove BufIO HTTP handler type completely - Remove now-unused Buf_io and associated tests - CA-400860: make CPU and netdev RRDD plugins pick up changes in domains - CP-51683: Make Cluster_health non-exp feature * Mon Oct 14 2024 Christian Lindig <christian.lindig@cloud.com> - 24.33.0-1 - CA-392674: nbd_client_manager retry connect on nbd device busy - http-lib: add backtrace to logs on connection without response - http-lib: convert bash script to cram tests - http-lib: prepare test client for more commands - http-libs: add test about error logging - http-lib: use let@ for perf testing of the client - http-lib: make perf shorter - CA-399256: Ensure AD domain name check is case insensitive - Replace fold with of_list in rbac - maintenance: write interface files for vhd-tool - maintenance: add interface to vhd-tool's Chunked - maintenance: remove data from chd-tool's chunked datastructure - Revert "CP-48676: Don't check resuable pool session validity by default" - Revert "CP-48676: Reuse pool sessions on slave logins." - maintenance: remove unused code from stream_vdi * Thu Oct 10 2024 Christian Lindig <christian.lindig@cloud.com> - 24.32.0-1 - xapi-stdect-unix: catch exceptions when testing the server - CP-51714: Remove noisy xenopsd debug logs - maintenance: avoid deprecated bindings in uuidm 0.9.9 - ezxenstore: avoid copies when converting to and from uuids - CP-50603: Replace `c_rehash` with `openssl rehash` sub command - CA-400124: rrd: Serialize transform parameter for data sources - CA-400124 - rrdd: only serialize transform when it's not default - XSI-1722 fix timer for host heartbeat * Fri Oct 04 2024 Christian Lindig <christian.lindig@citrix.com> - 24.31.0-1 - message-switch: remove dependency on async binaries * Mon Sep 23 2024 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 24.30.0-1 - CP-32622, CP-51483: Switch to epoll - CA-399187: Allow gencert to be called without groupid - Date: Accept all valid timezones from client, allow sub-second precision - CP-50614: Tracing, optimize and reduce overhead - xe autocompletion: Fix prefix escaping bug - Fix network reset script in static IPv6 - CA-398128: Be wary that dates in database lose precision - Don't use dhcp4 for none mode - CA-398138: Handle enum value unknown error for Go SDK * Mon Sep 16 2024 Christian Lindig <christian.lindig@citrix.com> - 24.29.0-1 - Use templates to generate `Types.java` - Use templates to generate Java classes - CP-38343: xenopsd: GC and memory RRD stats - CP-38343: use sscanf to parse /proc - CA-396743: log non managed devices in PIF.scan - CA-396743: make Network.managed reflect PIF.managed - CA-396743: forbid setting NBD purpose on unmanaged networks - CA-396743: fix bridge name for unmanaged devices - Extend Java deserialization support for xen-api dates - Minor doc corrections. - Removed entries that don't correspond to API messages. Removed obsolete parsing for CSLG failures. - C SDK: curl flags are not needed since the SDK does not depend on curl. - Expand Go deserialization support for xen-api dates - Expand C# deserialization support for xen-api dates - Expand C deserialization support for xen-api dates - Split generation of Types.java into separate functions - Split generation of classes into separate functions - CA-397788: Execute pre shutdown hook for xapi - Add sr to the Sr_unhealthy error constructor - Add more description on sr health - CP-49448: Add handling logic for SR health state - CP-51352: Compare before setting a new value in `last_active` - CP-51352: Configurable threshold for updating `last_active` - Add Java SDK to SDK actions - Fix syntax in CustomDateDeserializer.java - CP-47509: Revisited the setting of response headers to avoid errors when multiple threads use the same session object. - CA-397599 XSI-1704 implement setter for blocked ops manually * Tue Sep 10 2024 Christian Lindig <christian.lindig@citrix.com> - 24.28.0-1 - Update record_util tests to the current state - IH-689: Include auto-generated record_util - Introduce mli for xapi_clustering - Make Daemon.enabled as an Atomic.t - CA-398438: Signal exit to the watcher thread - Remove the condition check for Daemon.enabled - fix(CI): feature/py3 has been merged, refer to master now - fix(WLS): disable non-root unit test - Update the docs for Volume.compose - CP-51042: Introduce new SR.scan2 for SMAPI{v1,v2,v3} - Replace Xapi_sr.scan with Xapi_sr.scan2 - CP-50422: Destroy authentication cache in disable_external_auth - CP-32625: xenops-cli - replace handwritten JSON prettifier with yojson - IH-666: Report guest AD domain name and host name in the API - CP-47617: Expose backwards compat info to update packaging tooling - CP-46933: Expose XAPI API version in the output of HTTP API /updates - [maintenance]: mark data only dirs as such - [maintenance] disable preprocessor for modules that do not need them - [maintenance] only copy test_data when running tests - [maintenance]: reduce run count for test_timer - [maintenance]: speed up device_number_test - [maintenance]: reduce iteration count for unixext_test - [maintenance]: speed up vhd tests - [maintenance]: reduce sleeps in concur-rpc-test.sh - [maintenance]: vhd_format_lwt_test: speed up by using Cstruct.compare * Wed Sep 04 2024 Christian Lindig <christian.lindig@citrix.com> - 24.27.0-1 - CA-390883 CP-46112 CP-47334 CP-47555 CP-47653 CP-47869 CP-47935 CP-48466 - CP-49148 CP-49896 CP-49900 CP-49901 CP-49902 CP-49903 CP-49904 CP-49906 - CP-49907 CP-49909 CP-49910 CP-49911 CP-49912 CP-49913 CP-49914 CP-49915 - CP-49916 CP-49918 CP-49919 CP-49920 CP-49921 CP-49922 CP-49923 CP-49925 - CP-49926 CP-49927 CP-49928 CP-49930 CP-49931 CP-49934 CP-49975 CP-50091 - CP-50099 CP-50100 CP-50172 - Move Pyhton code to Python 3 - CP-51278: define import_activate datapath operation - Fixup link. - Update VM failover planning document. - xe autocompletion: Only show required/optional prefixes when parameter name is - xe autocompletion: Exclude previously entered parameters before deciding * Thu Aug 29 2024 Christian Lindig <christian.lindig@citrix.com> - 24.26.0-1 - quicktest: disable open 1024 fds on startup for now * Thu Aug 29 2024 Christian Lindig <christian.lindig@citrix.com> - 24.25.0-1 - Quicktest: actually run the quickcheck tests too - xapi-fd-test: fix compatibility with old losetup - xapi-fd-test: fix BLK tests - xapi-fd-test: fix BLK EBADF - Quicktest: add unixext_test - xapi_fd_test: introduce testable_file_kind - xapi-fd-test: introduce with kind list - xapi-fd-test: introduce testable_file_kinds - xapi-fd-test: generate inputs for select - unixext_test: add test for select - CP-32622: introduce select-as-epoll in Unixext - xapi-fd-test: switch to testing Unixext.select - CP-32622: Thread.wait_timed_read/wait_timed_write - xenctrlext: remove xenforeignmemory module - IH-676: improve xe autocompletion - Allow xapi_globs specifications with descriptions - CP-50053: Add authentication cache - Cache external authentication results - Add feature flag to block starting VMs - Add feature flag to block starting VM appliances - Update datamodel lifecycle - http-lib: log reason that causes lack of response * Thu Aug 22 2024 Christian Lindig <christian.lindig@citrix.com> - 24.24.0-1 - Add temporary exception for deprecation of `xmlStringDecodeEntities` - new-docs: Toggle hidden documentation only on header clicks - Revert "CP-51042: Raise error in sr-scan when SR.stat finds an unhealthy SR" * Tue Aug 20 2024 Christian Lindig <christian.lindig@citrix.com> - 24.23.0-1 - CP-49212: Update datamodel for non-CDN update - CP-49212: Add UT for update datamodel for non-CDN update - CP-49213: Add new tar unpacking module - CP-49213: UT for add new tar unpacking module - CP-49214: Upload and sync bundle file - CP-49214: Allowed operations for sync bundle - CP-49214: UT for upload and sync bundle file - CP-49214: Refactor cli_operations - CP-49526: Resolve non-CDN design comments - CA-396540: Add API error for bundle syncing failure - CP-49217: Update datamodel_lifecycle - CP-49217: Update schem in Cli_operations.pool_sync_bundle - CP-49217: Bump up schema vsn - CP-51042: Raise error in sr-scan when SR.stat finds an unhealthy SR - CP-49217: Refine test_tar_ext and add copyright * Thu Aug 15 2024 Ming Lu <ming.lu@cloud.com> - 24.22.0-1 - IH-662 - helpers.ml: Move to a threadsafe Re.Pcre instead of Re.Str - CP-50181: Percent decode all Uri paths before using them - clock: use external qcheck-alcotest - CP-50448: move quickcheck tests into internal libraries - Catch system exit in observer.py to close gracefully - CP-49876: Create spans for observer.py itself - CP-50121: Remove bc package from XS9 dom0 - dune: declare stresstests dependencies - Update qcheck-alcotest dependencies - docs: add design documents for certificate-related features - CA-396479: Use default value for unknown enums in Java - Default to "UNRECOGNIZED" when using `toString()` of Type enums - xapi-idl: Delete String.{explode,implode} functions - xapi-idl: do not use custom operators for bit manipulations - xapi-idl: Refactor out find_index and add it to Listext - CP-50426: Add tracing to external auth functions - ci: use the names of binaries, not libraries in stresstests - CA-395789: Add polling to cluster health state update - ci: Avoid breaking through the opam sandbox in tests - ci: use ocaml-setup v3 - ci: Do not spend time pinning packages - CA-389345: fix incorrect data type in python3 - CP-50444: Intrument `http_svr` - CI: use ubuntu-22.04 for SDK too - CI: avoid mixing caches from different OSes - openvswitch-config-update: fix python2ism in python3 - CA-396635: Wait for corosync to update its info - CP-50518: Add stub for crypt_r to ocaml/auth - CP-50444: Intrument `request_of_bio` - tracing: fix `make check` warnings - tracing: increase the default maximum number of spans in a trace - CP-50444: Add specialized function for tracing http requests to `Http.Request` - Output if parameter is required in JSON backend - Python SDK: Move "Packaging" section out of the public docs - Allow remediation commits for DCO - CI: fix spurious failure on busy system - CA-397171: Replace libjemalloc.so.1 with libjemalloc.so.2 - CA-392685: Replace /tmp/network-reset with /var/tmp/network-reset to persist tmp file after reboot - Retroactively sign off 8337fa94b76097428621d1e1987 - CA-396751: write updated RRDD data before headers - CA-397268: vbd.create failed: The device name is invalid * Fri Jul 26 2024 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 24.21.0-1 - Improve build and test times - maintenance: delete unused fields - xapi: update mirage-crypto version - mirage-rng: Initialize it only in tests and selfcert * Thu Jul 25 2024 Ming Lu <ming.lu@cloud.com> - 24.20.0-2 - Bump release and rebuild * Wed Jul 24 2024 Ming Lu <ming.lu@cloud.com> - 24.20.0-1 - xe-xentrace: fix binary location - scripts/xentrace: detect host CPU spikes and dump xentrace - CA_388624: fix(C SDK): fix build failure with recent GCC - build: add sdk-build-c Makefile rule to test building C SDK locally - gen_api: generate an all_<enum> for enum types - fix(Host.set_numa_affinity_policy): be consistent about accepting mixed case - test(record_util): make a copy to test for backwards compatibility - test(record_util): add tests for all enums - redo_log: report redo log as broken if we cannot find the block device - CA-389506: fix platform:nested_virt typo - CA-389241: import-update-key compatible with xs8 and xs9 - CA-381119: use JsonRPC V2 for error replies - CP-46944: Update yum plugins to dnf plugins (#5526) - Routine feature branch sync (#5531) - XenAPI.py: use correct type for 'verbose' and 'allow_none' with Python3 - XenAPI: suppress pytype false positives - remove XenAPI.py from pytype expected to fail list - CP-48623: use persistent unix socket connection for SM to XAPI communication - CP-48623: avoid querying the API version, it is not used - CP-48623: avoid 4 additional API calls after each SM login - CP-45921: Use dnf as package manager for XS9 (#5534) - CP-48221: Support new gpg for XS9 (#5543) - [maintenance]: disable implicit transitive deps - fix(dune): avoid "module unavailable" errors when running dune build @check - CP-47001: [xapi-fdcaps]: dune plumbing for new library - CP-47001: [xapi-fd-test]: dune plumbing for a new test framework - CP-47001: [xapi-fdcaps]: add -principal flag - CP-47001: [xapi-fdcaps]: optional coverage support - CP-47001: [xapi-fdcaps]: add properties module and tests - CP-47001: [xapi-fdcaps]: add operations module and tests - CP-47001: [xapi-fdcaps]: wrap more Unix operations - CP-47001: [xapi-fdcaps] runtime tests for read-write properties - CP-47001: [xapi-fdcaps-test]: add observations module - CP-47001: [xapi-fdcaps-test]: add generate module - CP-47001: [unixext-test]: add quickcheck-style test - CP-47001: Add unit tests for threadext - CP-47001: [unixext-test]: add test for Unixext.proxy - Unix.time_limited_write: fix timeout behaviour on >64KiB writes/reads - Unix.time_limited_{read,write}: replace select with Polly - add Unixext.time_limited_single_read - CP-32622: replace select with Thread.delay - CP-32622: Delay: replace select with time_limited_read - CP-32622: replace select in proxy with polly - CP-32622: move new libraries to proper subdir - Update update.precheck/apply to be compatible with yum and dnf (#5564) - IH-543: Add IPMI DCMI based power reading rrdd plugin - CP-32622: Use Unix.sleepf for sleeps instead of select - CP-47536: drop Unix.select in newcli - CP-47536: test for Buf_io timeouts - [maintenance]: quicktest: add the ability to run without XAPI - CP-47536: add ezxenstore quicktest - master_connection: log why we failed to connect - xapi.conf: introduce test_open - xapi_main: enable backtraces earlier to get backtraces from early startup failures - fix(XenAPI.py): fix pylint warning - CA-394343: After clock jump the xapi assumed the host is HOST_OFFLINE - IH-642 Restructure xs-trace to use Cmdliner - Refactor watcher creation code - Only create watcher once - Refactor cluster change watcher interval - Add new internal API cstack_sync - CP-394109: Alert only once for cluster host leave/join - Feature flag the cstack_sync call - CP-50193: Update new fingerprint fields on DB upgrade - CP-50108: Use Ipaddr instead of string-based CIDR handling - Fix pytype warnings. - dune: fix tests to packages - CP-50259 simplify raising error in record_util - Refactor to use List apis - Add new check for new parameters' default value - Refactored HTTP_actions template. - CP-50259 simplify parsing size with kib, mib, etc suffix - Update datamodel lifecycle - xapi-cli-server: simplifications around error handling - xapi-cli-server: remove function s2sm to serialize data - xapi-cli-server: remove function s2brm to serialize data - CP-49101: Fix pylint error - CA-395626: Fix (server status report generation report) - CP-50078: Instrument xapi-storage-script with tracing (#5808) - context: `complete_tracing` should be called last - context: catch error inside span - tracing: Instrument task related functionality - time: use `Date.now` over `Unix.time` in `taskHelper.ml` - formatting: Use `let@` and `match` statements. - CA-395626: Add a unit test to detect incorrect cookie parsing - quicktest: associate unit-test with xapi package - CP-50270: Set the correct parent in `make_connection` - gen_empty_custom: avoid wildcards for actions - CA-390277: Add API to fetch references matching a query - xapi-cli-server: use helper remote in migrate function - CA-390277: Reduce record usage on CLI cross-pool migrations - Refactor: Move to default optional parameters when they were reimplemented by hand - Moved PS destructors to a template. - Add -run-only and -list-tests parameters to quicktests - CP-50079: Add correct cookie parsing alongside the old style - CP-50079: Expands http quicktests to also check parsing of cookies. - CP-50079: Remove legacy sync_config_files interface - CP-50079: Remove unused unixpwd function and its associated tests - quality-gate: fix list.hd - CP-49811: Remove redundant method object from span name - CA-395784: fix(xapi-fd-test): do not generate <1us timeouts - CA-395784: fix(xapi-fd-test): timeouts get converted to microseconds, must be at least 1 - CA-395784: fix(buf_io_test): the timeout is per read, not per function call - CP-49875: Group the auto_instrumentation spans by module - CP-49634: Add alerting for Corosync upgrade - CA-395512: process SMAPIv3 API calls concurrently (default off) - vhd-tool, xen-api-client: Remove duplicated cohttp_unbuffered_io module - vhd-tool, ezxenstore: Remove duplicate xenstore module - Fix Short/Long duration printing - forkexecd: do not clip commandline in logs - CA-395174: Try to unarchive VM's metrics when they aren't running - rrdd_proxy: Change *_at to specify the IP address - rrdd_proxy: Use Option to encode where VMs might be available at - http-lib: avoid double-queries to the radix tree - rrdd_proxy: Return 400 on bad vm request - CA-394148: Fix dry-run handling in xe-restore-metadata - CA-393578: Fix vbd cleanup in metadata scripts - CA-383491: [Security fix] Use debugfs on xe-restore-metadata probes - Updates to Portable SR Functionality - Fixes for shellcheck - Remove unused `yes` parameter in xe-backup-metadata - Remove ineffectual parameter wiping (#5868) - CP-47536: Drop posix_channel and channel_helper: unused and a mix of Unix/Lwt - opam: dunify vhd-tool's metadata - CP-47536: replace Protocol_unix.scheduler.Delay with Threadext.Delay - fix(xapi-idl): replace PipeDelay with Delay, avoid another Thread.wait_timed_read - opam: dunify message-switch-unix's metadata - IH-507: xapi_xenops: raise an error when the kernel isn't allowed - IH-507: Do not allow guest kernels in /boot/ * Tue Jul 16 2024 Ming Lu <ming.lu@cloud.com> - 24.19.2-1 - CA-395626: Fix (server status report generation report) * Tue Feb 11 2025 Yann Dirson <yann.dirson@vates.tech> - 24.19.2-1.10 - Add 0001-CA-389506-fix-platform-nested_virt-typo.patch, backport for nested-virt support * Thu Oct 10 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.19.2-1.9 - Add xapi-24.19-2-fix-pem-fingerprint-startup.XCP-ng.patch * Tue Oct 01 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.19.2-1.8 - Add xapi-24.19.2-ipv6-virtual-pif.XCP-ng.patch * Tue Sep 24 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.19.2-1.7 - Add xapi-24.19.2-ipv6-pool-eject.XCP-ng.patch * Tue Sep 24 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.19.2-1.6 - Add xapi-24.19.2-keep-ipv6-management-disable.XCP-ng.patch * Fri Sep 20 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.19.2-1.5 - Add xapi-24.19.2-keep-address-type-network-reset.XCP-ng.patch * Wed Sep 18 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.19.2-1.4 - Add xapi-24.19.2-ipv6-reset-networking.XCP-ng.patch * Wed Aug 28 2024 Samuel Verschelde <stormi-xcp@ylix.fr> - 24.19.2-1.3 - Add xapi-24.19.2-update-new-fingerprint-fields-on-DB-upgrade.backport.patch, backported from XAPI project - Add xapi-24.19.2-more-fingerprint-field-updates-fixes.XCP-ng.patch to complement the fix - Fixes an issue where new fingerprint fields are not populated, which under some circumstances makes pool join fail. * Wed Aug 14 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.19.2-1.2 - Add xapi-24.19.2-fix-ipv6-import.XCP-ng.patch * Tue Aug 13 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.19.2-1.1 - Rebase on 24.19.2-1 - Drop xapi-24.11.0-sb-state-api.XCP-ng.patch - Drop xapi-24.11.0-don-t-generate-link-local-address-for-interfaces.patch - Drop xapi-23.31.0-fix-ipv6-import.XCP-ng.patch - *** Upstream changelog *** * Tue Jul 16 2024 Ming Lu <ming.lu@cloud.com> - 24.19.2-1 - CA-395626: Fix (server status report generation report) * Tue Jul 09 2024 Ming Lu <ming.lu@cloud.com> - 24.19.1-1 - Fixes: 99c43569a0 ("Transition from exception-raising Unix.getenv to Sys.getenv_opt with") * Tue Jul 09 2024 Ming Lu <ming.lu@cloud.com> - 24.19.0-1 - CP-47304: [Toolstack] - Add data model for anti-affinity group - CP-47655: [Toolstack] - Associate/disassociate VM to/from anti-affinity group - CA-391880: Update related field 'groups' of VM when destroying VM group. - CP-47302: VM start with anti-affinity - CA-392177: Keep current group after reverting from snapshot - CP-47656 Anti-affinity feature generate alert - CP-48570: Load recommendations from config file when Xapi starts - CP-48011: Xapi Support anti-affinity feature flag - CA-393421: Special VMs cannot be added to VM groups - CP-48625: Code refactoring - opam: add psq to xapi dependencies - CP-49665: Anti-affinity support for host evacuation - CP-48752: Add UT for host evacuation with anti-affinity support - CP-49953: Remove parse_uri, switch to using Uri module instead - doc: remaining API docs - doc: add XenAPI release info - Printf.kprintf is deprecated, replace with Printf.ksprintf - Fix misplaced inline attributes - CP-50050 track CBT status for SMAPIv3 SRs - CP-49953: Remove parse_uri, switch to using Uri module instead - CI: Complete parallel Coveralls uploads: Finish when done - CP-49116: Replace fingerprint in certificate DB with sha256 and sha1 - CA-392887: set_tls_config immediately after enabling clustering - CI: Update endcover step to v2 to fix CI (#5763) - CA-386173: Update the message of WLB authentication issue - Revert "CP-49953: Remove parse_uri, switch to using Uri module instead" - Fix a bug noticed by a quicktest run - Eliminate unnecessary usage of List.length to check for empty lists - Transition from exception-raising Unix.getenv to Sys.getenv_opt with - Replace Hashtbl.find with Hashtbl.find_opt in trivial cases - Refactor Hashtbl.find out of resources/table.ml - Refactor Hashtbl.find out of xenopsd/xc/readln.ml - Add a gate for Hashbtl.find - CP-50135: Bump datamodel_lifecycle for anti-affinity - IH-621: Add IPMI host power on support and remove DRAC - opam: generate xapi-forkexecd with dune - opam: remove unversioned opam dependencies - opam: generate xapi-networkd using dune - fe_test: print stacktrace on unit test failure - fix(fe_test): make it compatible with fd-send-recv 2.0.2 - Fix indentation in C code * Mon Jul 01 2024 Ming Lu <ming.lu@cloud.com> - 24.18.0-1 - doc/README.md: Improve the Hugo Quick start guide for an easier start - .codecov.yml: Remove scripts (Codecov is confused, we move scripts/ to python3/) - CA-394444: Update task cancellation in `message_forwarding.ml` - Hugo docs: Add dark mode support, theme variant selector and print - Don't generate link-local address for interfaces - Make `cluster-stack-version` show up in the CLI - Update datamodel lifecycle - Removed headers from the templates. - Renamed files and reordered table of contents. - IH-583 Create standalone implementations of systemd functions - Fix failing builds by attaching package to the cram test - CA-394883: fix race condition allocating task ids - CA-394882: avoid error on tasks that are not ours - CA-381119: use JsonRPC V2 for error replies - CA-394169: Allow task to have permissions on itself - CI: use new version of codecov action - Merge .codecov.yml from feature/py3 to drop scripts checks - CP-50055 Add Go SDK as a release package in XAPI - CI: codecov is unstable, use coveralls - CA-394921: Ignore unkown properties during Java SDK deserialisation - CP-49446: expose SR health values to Python - opam: record correct authorship for stdext packages - IH-628: add new package clock for timekeeping * Tue Jun 18 2024 Ming Lu <ming.lu@cloud.com> - 24.17.0-1 - CP-48666: initialize a skeleton project for Go SDK - CP-47347: Add mustache template for Enum Types - CP-47351: generate Record and Ref Type Golang code for all classes - CP-47348: generate Golang code of Enum Type for all classes - CP-47362: generate file headers - CP-48666: collect api errors - CP-47364: generate api messages and errors of Golang code - refactor: create an `Alcotest.testable` to check structure of generated JSON is wanted - refactor: move `objects` and `session_id` from `Gen_go_helper` to `CommonFunctions` - CP-48666: use dune rule to get the destination dir for the generated files - CP-48666: generate all enums to a file - refactor the way of getting enums - CP-48666: refactor the JSON schema checking - CP-48666: refactor `render_template` with an optional newline parameter - CP-47361: generate mustache template for deserialize and serialize functions - CP-47358: Generate convert functions Go code - CP-48855: update templates (APIErrors, APIMessages, Record) - CP-48855: adjust generated json for templates changed - CP-48855: add templates for option and APIVersions - CP-48855: render options - CP-47355, CP-47360: generate mustache template for xapi data module class messages - CP-47354: Generate messages functions Golang code for all classes - CP-47354: add unit tests for `func_name_suffix` and `string_of_ty_with_enums` - CP-48855: render APIVersion - CP-48855: fix go lint var-naming warnings - fix `StringOfTyWithEnumsTest` after merged - CP-48855: it should be only one empty line at end of Go file - CP-47356: expose `published_release_for_param` and `compare_versions` for usage of other modules - CP-47358: Add unit tests for generating convert functions - CP-47355, CP-47360: generate mustache template for xapi data module class messages - CP-47354: Generate messages functions Golang code for all classes - CP-47354: add unit tests for `func_name_suffix` and `string_of_ty_with_enums` - CP-48855: update templates (APIErrors, APIMessages, Record) - CP-48855: adjust generated json for templates changed - CP-48855: add templates for option and APIVersions - CP-48855: render options - CP-48855: render APIVersion - CP-48855: remove go lint var-naming warnings - CP-47356: Support backwards capability for Go SDK - CP-47361: generate mustache template for deserialize and serialize functions - CP-47358: Generate convert functions Go code - CP-47358: Add unit tests for generating convert functions - CP-47354: Generate messages functions Golang code for all classes - CP-47354: add unit tests for `func_name_suffix` and `string_of_ty_with_enums` - CP-48855: render options - CP-48855: render APIVersion - CP-47357: Add a Go JSON-RPC client file - CP-47357: fix review issues - CP-47367 Add type checking for generated SDK Go files - CP-49350: fix variable naming in Go SDK - Set up Github Action for go SDK component test (#5588) - CA-391381: Avoid errors for Partial Callables in observer.py - xapi-tracing: bind its test to the package - opam: generate xapi-tracing with dune - opam: generate xapi-tracing-export with dune - opam: generate rrdd-plugin with dune - opam: generate xapi-rrd-transport-utils with dune - opam: generate xapi-rrdd with dune - opam: drop xapi-rrd-transport - opam: drop xen-api-sdk - Revert "CP-47660 define anti-affinity feature" - Remove CVM and relevant test cases (#5655) - opam: Fix metadata - opam: de-templatise message-switch-core - ocaml: remove unused bindings - dune: enforce version +3 - Add `VM.set_uefi_mode` API call - Go SDK: Misc fixes for on-going component tests (#5661) - Add `VM.get_secureboot_readiness` API call - Add `Pool.get_guest_secureboot_readiness` API call - CP-49446: Update SR health to include new constructors - doc: copy design documents from xapi-project.github.io - doc: add info table to design docs - doc: style design doc index - CP-47928: Add component test for Go SDK - CP-49647 use URI for create_misc - CP-49647 use URI for dbsync_master - CP-49647 use URI for export.ml - CP-49647 use URI for import.ml - CP-49647 use URI for importexport.ml - CP-49647 use URI for rrd_proxy.ml - CP-49647 use URI for sm_fs_ops.ml - CP-49647 use URI for xapi_message.ml - CP-49647 use URI for xapi_xenops.ml - CP-49647 use URI for xapi_vm_migrate.ml - CP-49647 use URI for xapi_host.ml - CP-49647 use URI for cli_util.ml - CP-49647 use URI for http.ml - CP-49647 use URI for cli_operations - CP-45235: Support for `xe-cli` to transmit `traceparent` - doc: add design review links (historical) - doc: RDP design: fix list nesting - CP-48995: Instrument `XenAPI.py` to submit traceparent - Update datamodel_lifecycle.ml - CP-49768: Update GO SDK README file (#5671) - CP-49249: Implement SMAPIv3 CBT Forwarding - CA-393866: Add support for Infinity in Java SDK parser - CA-393507: Default cluster_stack value - Remove fix_firewall.sh - CA-393119: Don't use HTTPS for localhost migrations - CP-49828: Remove iovirt script - CP-49129: Add unit test for parallel parsing. - CP-49129: Make unit test run on alcotest. - CP-49129: Replace `ocamlyacc` with `menhir` - CP-49129: Drop global lock around sexpr parsing - CP-49045: replace all uses of ocamlyacc with menhir which is thread-safe - CP-49129: Update `quality-gate.sh` for `ocamlyacc` - Link just qcheck-core, not qcheck - Define qcheck-core dependency in opam packages - Makefile: fix compatibility with the dash shell - CP-49858: Fix phrasing in readme - CP-49858: Add licence text on top of Go source files - CP-49858: Unit test: licence template variable - CP-49858: Remove template variables 'first' and 'is_session_id' - CP-49858: Unit test: Update for changes on template variables - rpm: remove `sexprpp` from public_name - sexpr: add tests to the package - xapi-rrdd: change tests to reduce amount of logs produced - rrd-transport: generate opam metadata using dune - http-lib: generate opam metadata using dune - wsproxy: test with alcotest instead of ounit - vhd-format-lwt: run tests using alcotest - xen-api-client: run tests with alcotest - xapi-sdk: add empty packge to be able to run tests for it - CI: pin packages - CP-49647 use URI for newcli.ml - CP-49677 implement Http.Url using URI - Update quality-gate.sh * Mon Jun 10 2024 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 24.16.0-3 - Bump release and rebuild - Remove vm_anti_affinity tag and dependency on m2crypto * Wed Aug 07 2024 Yann Dirson <yann.dirson@vates.tech> - 24.16.0-1.3 - Fix openvswitch-config-update not fully ported to python3 * Fri Jul 05 2024 Samuel Verschelde <stormi-xcp@ylix.fr> - 24.16.0-1.2 - Require python2-pyudev instead of python-pyudev - It's best to require by the actual package name to avoid ambiguities, and we switched from python-pyudev to python2-pyudev in our repos * Fri Jun 21 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.16.0-1.1 - Rebase on 24.16.0-1 - Drop xapi-24.11.0-disable-fileserver-option.XCP-ng.patch - Rebase changelog on upstream changelog - *** Former XCP-ng 8.3 changelog *** - * Wed Jun 19 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.14.0-1.1 - - Rebase on 24.14.0-1 - - Drop xapi-23.3.0-filter-link-local-address-ipv6.XCP-ng.patch - - Drop xapi-23.31.0-fix-ipv6-get-primary-address.XCP-ng.patch - - Drop xapi-23.31.0-use-lib-guess-content-type.XCP-ng.patch - - Drop xapi-23.31.0-xapi-service-depends-on-systemd-tmpfiles-setup.patch - - Drop xapi-24.11.0-pci-passthrough.XCP-ng.patch - * Fri May 31 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.11.0-1.5 - - Add xapi-24.11.0-sb-state-api.XCP-ng.patch - * Thu May 16 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.11.0-1.4 - - Add xapi-24.11.0-disable-fileserver-option.XCP-ng.patch - * Mon Apr 22 2024 Benjamin Reis <benjamin.reis@vates.tech> - 24.11.0-1.3 - - Add xapi-24.11.0-pci-passthrough.XCP-ng.patch - * Thu Apr 18 2024 Damien Thenot <damien.thenot@vates.tech> - 24.11.0-1.2 - - Add largeblock to sm-plugins in xapi.conf - * Wed Apr 03 2024 Benjamin Reis <benjamin.reis@vates.tech> - 23.31.0-1.7 - - Add xapi-23.31.0-use-lib-guess-content-type.XCP-ng.patch - * Mon Feb 26 2024 Guillaume Thouvenin <guillaume.thouvenin@vates.tech> - 23.31.0-1.6 - - Add xapi-23.31.0-xapi-service-depends-on-systemd-tmpfiles-setup.patches - * Wed Feb 14 2024 Benjamin Reis <benjamin.reis@vates.tech> - 23.31.0-1.5 - - Add xapi-23.31.0-fix-ipv6-get-primary-address.XCP-ng.patch - * Wed Feb 14 2024 Yann Dirson <yann.dirson@vates.tech> - 23.31.0-1.4 - - Rebuild with xs-opam-repo-6.74.0-1.2 - * Thu Feb 08 2024 Benjamin Reis <benjamin.reis@vates.tech> - 23.31.0-1.3 - - Add xapi-23.31.0-fix-ipv6-import.XCP-ng.patch - * Tue Dec 12 2023 Benjamin Reis <benjamin.reis@vates.tech> - 23.25.0-1.6 - - Add xapi-23.25.0-extend-uefi-cert-api.patch - - Update xapi-23.25.0-update-xapi-conf.XCP-ng.patch - * Wed Oct 25 2023 Samuel Verschelde <stormi-xcp@ylix.fr> - 23.25.0-1.4 - - Set override-uefi-certs=true in xapi.conf - - Update xapi-23.25.0-update-xapi-conf.XCP-ng.patch - * Fri Oct 20 2023 Samuel Verschelde <stormi-xcp@ylix.fr> - 23.25.0-1.3 - - Don't require XS's fork of the setup RPM - - We chose to revert to CentOS' version, as we don't share XenServer's view - regarding where to do changes to add users and groups, and we don't need - the added users and groups they put there yet. - * Thu Oct 05 2023 Samuel Verschelde <stormi-xcp@ylix.fr> - 23.25.0-1.2 - - Add missing Requires towards nbd - * Wed Sep 27 2023 Samuel Verschelde <stormi-xcp@ylix.fr> - 23.25.0-1.1 - - Update to 23.25.0-1 - * Wed Sep 20 2023 Samuel Verschelde <stormi-xcp@ylix.fr> - 23.24.0-1.1 - - Update to 23.24.0-1 - - Remove patches merged upstream. - - Rework xapi-23.24.0-update-xapi-conf.XCP-ng.patch - - Rework xapi-23.24.0-update-db-tunnel-protocol-from-other_config.XCP-ng.patch - * Mon Aug 28 2023 Guillaume Thouvenin <guillaume.thouvenin@vates.tech> - 23.3.0-1.9 - - Add xapi-23.3.0-Add-vdi_update-filter-to-some-tests.backport.patch - * Wed Aug 23 2023 Guillaume Thouvenin <guillaume.thouvenin@vates.tech> - 23.3.0-1.8 - - Add xapi-23.3.0-Allow-a-user-to-select-on-which-SR-to-run-quicktest.backport.patch - * Mon Jul 31 2023 Benjamin Reis <benjamin.reis@vates.fr> - 23.3.0-1.7 - - Drop `ext4` from `sm-plugins` in `xapi.conf` - * Fri Jul 21 2023 Benjamin Reis <benjamin.reis@vates.fr> - 23.3.0-1.6 - - Rebuild for xs-opam-repo-6.66.0-1.2.xcpng8.3 - - Add xapi-23.3.0-filter-link-local-address-ipv6.XCP-ng.patch - * Thu May 04 2023 Samuel Verschelde <stormi-xcp@ylix.fr> - 23.3.0-1.5 - - Rebuild for blktap-3.53.0-1.xcpng8.3 and sm-3.0.3-1.1.xcpng8.3 - * Mon Apr 24 2023 Benjamin Reis <benjamin.reis@vates.fr> - 23.3.0-1.4 - - Remove `/etc/xapi.conf.d` files, patch `xapi.conf` instead - * Thu Mar 16 2023 Samuel Verschelde <stormi-xcp@ylix.fr> - 23.3.0-1.3 - - Rebuild for xs-opam-repo-6.66.0-1.1 - * Mon Mar 06 2023 Benjamin Reis <benjamin.reis@vates.fr> - 23.3.0-1.2 - - Update xapi-23.3.0-update-xapi-conf.XCP-ng.patch to re-enable HTTP (prerequisite for HTTP to HTTPS redirect) - * Wed Jan 18 2023 Samuel Verschelde <stormi-xcp@ylix.fr> - 22.34.0-2.1 - - Update to 22.34.0-2 - - Drop xapi-22.20.0-redirect-fileserver-https.backport.patch, included in 22.34 - * Tue Dec 20 2022 Samuel Verschelde <stormi-xcp@ylix.fr> - 22.32.0-1.1 - - Update to 22.32.0-1 - * Thu Dec 08 2022 Benjamin Reis <benjamin.reis@vates.fr> - 22.31.0-1.1 - - Rebase on latest XS 8.3 prerelease updates - - Drop two patches merged upstream - * Thu Dec 01 2022 Benjamin Reis <benjamin.reis@vates.fr> - 22.20.0-1.2 - - Add xapi-22.20.0-redirect-fileserver-https.backport.patch - * Wed Aug 31 2022 Samuel Verschelde <stormi-xcp@ylix.fr> - 22.20.0-1.1 - - Rebase on CH 8.3 Preview - - Remove dependency to non-free packages again - - Remove dependency to new non-free package pvsproxy - - Remove patches merged upstream - - Keep other patches still necessary. - - Rediff xapi-22.20.0-fix-quicktest-default-sr-param.backport.patch - - Add patch xenopsd-22.20.0-use-xcp-clipboardd.XCP-ng.patch, migrated from retired repo xenopsd - - Rediff xenopsd-22.20.0-use-xcp-clipboardd.XCP-ng.patch and adapt paths - - Remove ptoken.py and accesstoken.py yum plugins and their configuration - - Add xapi-22.20.0-xenospd-dont-run-cancel-utils-test-as-unit-test.backport.patch to fix tests in koji * Thu Jun 06 2024 Ming Lu <ming.lu@cloud.com> - 24.16.0-1 - CA-393507: Default cluster_stack value * Thu May 23 2024 Ming Lu <ming.lu@cloud.com> - 24.15.0-1 - Rewrite fail function to support format and argument - Use fail instead of failwith if possible - Compute exe variable just once - Fix file descriptor leak in case safe_close_and_exec fails - Use /proc/self instead of /proc/%d and pid if possible - CP-48195: Instrument client side of `forkexecd` - CP-48195: Comment out `warn`. - CA-392453: Misc fixes to Java SDK - IH-568, fix(dune): avoid "module unavailable" errors when running dune build @check - IH-568, fix (dune utop): conflicting module names with compiler libraries - IH-568, fix (dune): allow all packages to be pinned - tracing: add missing locks on read - tracing: replace global ref with Atomic - CP-48195: Set `Tracing.observe` default to `false` - CP-48969: Reduce amount of logspam created by iostat - opam: update dependencies from the code - idl: bump datamodel_lifecycle - CA-389319: Wait and retry for GET_UPDATES_IN_PROGRESS - CA-392163 on start failure, clear a VM's resource allocations - CP-48195: Add unit tests for `tracing` library. - CP-48195: Remove code duplication. - CP-48195: Tracing -- Move `create`\`set`\`destroy`\... - API docs in Hugo - xenopsd/scripts: Make pygrub wrapper use the libexec path - CP-48027: Corosync upgrade add `cluster_stack_version` datamodel change - CP-48027: Unittest file change for cluster_interface - CP-48027: Add FIST point to allow Corosync2 cluster - CP-48027: Add feature flag for corosync3 - Add option to disable fileserver in XAPI conf - CA-392930: Fixed exception handling which prevents the user from reviewing certificates in PS 5.1 and connecting to the server. - Added Debug profiles to the Powershell project. - Avoids calling Unix.readlink twice - CA-392836,CA-392847: Lost the power state on suspended VM import - CP-49029: Instrument `xapi_session.ml` with tracing - CP-49635: Add FIST point for corosync upgrade - CP-49429 add IPv6 support for winbind/KDC - CP-49429 store KDC in xapi as URI * Tue Apr 30 2024 Rob Hoes <rob.hoes@citrix.com> - 24.14.0-1 - CP-46576: Add standard http attributes - CP-47660 define anti-affinity feature - Detect automatically whether we are on cygwin. - Use templates to generate all the C files. CA-387885 (do not call internal headers from the public ones). - Removed erroneously ported recipe. - CP-47033: Protocol_{lwt,async}: process requests concurrently (optional) - CP-47033: Make message switch concurrent processing optional - CP-47033: Add test for concurrent message switch server - Remove mention of `dotnet-packages` in `sdk-gen`'s README - CP-48768: Update Folder Structure section in PS SDK's READMEs - CA-391485: Avoid InterpolationSyntaxError by turning off interpolation - opam: add xapi-log to message-switch-core dependencies - Remove _t suffix for syslog_stdout_t type - CA-389929: xenopsd: fix Xen version comparison. 4.17 is > 4.2, not lower! - Add test for lock implementation in message_switch - Check elapsed time for timeout test - CP-47991: add CBT fields to the volume struct - CP-46576: Add standard network attributes - ocaml/idl: generate enum{_to_string,__all} functions - test: add tests for allowed VM operations - ocaml/xapi: use generated enum list instead of hand-maintained ones - Added github workflow to build and release the C SDK. - xenopsd: add mli to cli/xn and remove unused code - CP-48195: Split tracing library - CP-48195: Improvements to `tracing_export` - CP-48195: Add `with_tracing` helper function - PCI passthrough API - IH-553: Optimize Sexpr.escape - IH-553: Sexpr.escape should be a noop when nothing to escape - IH-553: Optimise SExpr.unescape - ci: remove warnings about outdated node versions - pyproject.toml update settings for pytest etc for running CI locally - pyproject.toml: Migrate pytype_reporter from scripts to python3 - ci: do not comment on PRs after merging - ci: ignore pylint and pyflakes checks - test_observer.py: Add setUp() and tearDown() of mock modules - observer.py: Update error handling - ci: install observer.py dependencies - opam: delete xapi-stdext package - opam: fix xapi-squeezed metadata - opam: create package xapi-tracing-export - datamodel_lifecycle: bump - CA-391859: Failed to stop varstord-guard - Exposed methods to fetch the methods available in the API. - The github workflow artifacts for C contained unnecessary files. - CI: update to Ubuntu 22.04 - ci(nopin): pinning is very slow and not necessary - ci(opam-dune-cache): cache dune builds from opam - ci(norm): we have enough space now - ci: separate workflows - Update README with different build instructions - ci: trim dune cache - Removed header because it does not look good on github. - Install xapi-tracing-export library - CA-392163 clear scheduled assignments on startup - tests: Allow the alcotest_suite to run - CA-371529 XSI-1329 remove license check for has-vendor-device - CA-371529 remote VCustom IDL data type - CA-371529 expunge create_from_record_without_checking_licence ... - CA-371529 Update quality-gate.sh - CA-371529 document changes in datamodel * Mon Apr 15 2024 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 24.13.0-2 - Bump release and rebuild * Tue Apr 09 2024 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 24.13.0-1 - Cleanup some unused code in forkexecd - Fix vm_lifecycle quicktest to use specified SR - message-switch: Print more complete time info in diagnostics - CA-390570: Py3 socket.sendto needs bytes instead of a string - CP-46179 Deterministic UUID for Back-Up VDI - CP-48385: Enhancements for xapi-guard cache - CA-378317 fix EBADF in waitpid_nohang - CA-384483: Can't export VDI to VHD file with base VDI - fileserver: use library to guess served files' mimetype - CA-388624: Fix C SDK build on Fedora39 - Minor forkexecd test changes - CA-390988: Prevent varstored-guard from shutting down while domains run - CP-46851: add parameter to skip device types on get_export_metadata * Mon Mar 18 2024 Rob Hoes <rob.hoes@citrix.com> - 24.12.0-1 - xenopsd: fix config to match install location (#5444) - CP-47754: Do not report errors attempting to read PCI vendor:product - CP-47431: Replace patched `Newtonsoft.Json.CH` with `Newtonsoft.Json` in C# SDK - Add `.gitignore` to C# SDK source - Use correct naming in `FriendlyErrorNames.resx` - Generate `FriendlyErrorNames.Designer.cs` with templates - Add 'threads_per_core' in 'Host.cpu_info' - Filter out link IPv6 when migrating VMs - Xapi service depends on systemd-tmpfiles-setup - CP-47431: Use NuGet references in PowerShell SDK project - Add reusable workflow for generating and building all SDKs - Remove unused logic in `gen_powershell_binding.ml` - Store trace_log_dir in XS_EXPORTER_BUGTOOL_ENDPOINT of the observer.conf - Set traceparent trace flag to 01 - Add service.name attribute as a default observer attribute. - Add the default_attributes to Dom0ObserverConfig Observers - Create a new python3 directory for python3-only scripts - fix: typo in doc - Update xapi-idl unittest data for cluster interface - CP-45496: Xapi writes host name/uuid to corosync.conf - Add feature flag - Replace use of `sdksanity` with reusable workflow for testing SDKs - Build and package C# and PowerShell SDKs when creating a release - Add and use `cleanup-xapi-environment` composite action - Misc changes to SDK actions - Use consistent artefact naming for SDK binaries - CP-46151: Productise the observer.py. - CP-46157: Add unit test for `observed_components_of` - opam: add hex to xapi dependencies - CP-45888: Java SDK updates - Split the API reference markdown into smaller files and use templates to generate it. - CA-389496: Avoid configuration conflicts for rotating xapi logs - CA-389840: Bug in parsing output of 'xen-livepatch list' - CP-48430 Update the running_domains metrics to count the not paused state domains - fix typos: priviledges -> privileges - CA-390109: Use `$PROFILE` path to store and read known cert list - Fix typo in `XenServerPowerShell.csproj` - Github CI updates * Thu Feb 29 2024 Rob Hoes <rob.hoes@citrix.com> - 24.11.0-1 - rrd_updates: output JSON in the same structure as XML - Exposed GFS2_CAPACITY in the known message types (for the purpose of providing user friendlier messages on the client side). - CA-389206: Revert incompatible CLI protocol changes for update calls - CA-383867: xapi-guard cache * Thu Feb 15 2024 Rob Hoes <rob.hoes@citrix.com> - 24.10.0-1 - Improvements to the handling of update guidance: - CP-45565: Add new guidance fields to API and CLI - CP-45568: Do not enable host if its mandatory host guidance is pending - CP-45566: [1/4] Change to use new guidance format in updateinfo.xml - CP-45566: [2/4] Update evaluating guidances from new data structures - CP-45566: [3/4] Fixup handling pending mandatory guidances - CP-45566: [4/4] Update unit tests - CP-46747: Expose 'title' field in updateinfo.xml to HTTP /updates - CP-45567: Set recommended and full pending guidance lists - CP-45567: Unit tests for livepatch failures - CP-45567: Add safety check in host.apply_updates - CP-45567: Set pending RestartVM for all VMs in the pool - CA-387034: RestartVM is added to pending guidances of shutdown VMs - CA-387033: Update xapi error document - CP-43875: Record the repository hash on the host object when updating - CP-45569: Add API Host.emergency_clear_mandatory_guidance - CA-387201: Pool.last_sync_date not reset if the user changes the update channel - CP-45570: Clear host update guidance - CP-45570: Clear VM update guidance - CP-45572,CP-45573: Split 'check_task_status' function out - CP-45572,CP-45573: Split 'do_http_get' function out - CP-44324: Block "host.enable" during "host.apply_updates" - CA-388107: Make sure VM is running when starting restart_device_models - CA-388351: Always apply livepatches even if host will reboot - CP-45573: Add 'xe host-updates-show-available' CLI - CP-45572: Print update guidance in xe host-apply-updates - CP-45572,CP-45573: Refine to use 'command_in_task' more - CP-46946: Bumped API version to 2.21 for update guidance improvement - CP-47012: change pending guidance in old xapi to recommended ones in new xapi - CA-388699: No async support on VM.restart_device_models - CP-47509: Expose RequestHeaders and ResponseHeaders in C# SDK. - Add Nile release * Mon Feb 12 2024 Rob Hoes <rob.hoes@citrix.com> - 24.5.0-1 - Import xapi-project/stdext - CA-372059: refactor the type of host in `squeeze.ml` - CA-372059: delete the unused code - CA-372059: use `Opt.value` instead of `match` and use `find_opt` to find a domain - CP-46939: Add config options to disable http and https endpoints - GitHub CI: Enable Codecov for Python, add pytype and other CI checks - CA-372059: add an interface for squeeze.ml - CA-382640: open SHM with os.open to allow for RW/Creat - CP-46377: Splitting `xapi_observer.ml` in separete files - CP-46477: Add helper function `is_component_enabled` - CP-46377: Add env vars `TRACEPARENT` and `OBSERVER_CONFIG_DIR` to `sm_exec` calls - CP-46377: Define default env var path in `forkhelpers.ml` - CP-46377: Improve maintainabilty of `Dom0ObserverConfig` - CP-46377: Refactor `env_vars_of_observer` - Python2 os.fdopen() does not take keyword arguments, doh! - xapi-rrd: attach tests to package - add helper function for checking platform field - Xen-4.15+: CDF_NESTED_VIRT - Xen 4.15+: X86_MSR_RELAXED - Xen 4.16+: CDF_VPMU - Xen-4.16+: support max_grant_version field - Xen-4.17+: cpupool_id - [maintenance]: fix formatting after Xen-4.17 merge - ci: delete needless files from base image - fix(ci): use $TMPDIR instead of hardcoding /tmp in ocaml/libs/vhd - fix(ci): use /mnt for temporary files and dune cache - CA-388437: fix bond status reporting - datamodel_lifecycle: update cluster forum introduction versions - CA-388295: Revert the python3 changes for perfmon and hfx_filename - Refactor cluster_health flag checking - ci: remove action lint - CP-46155: Call smapi scripts via observer.py when smapi observer is enabled - Add support for Reverting changes to pytype_reporter.py - Update API doc for cluster_host - CP-46324: Send alert when a host leaves/joins the cluster - rrdd.py: Python3: Fix crash on failure contacting xcp-rrdd - CI: Unit-Test the crash-fix for rrdd.API.wait_until_next_reading() - Actually get the traceparent from debuginfo instead of trace_id - CA-385323: do not try to connect to xapi when creating sockets - CP-46631: Improved list of span attributes. - CP-46631: Remove code duplication - CP:46157: Add `observer_experimental_components` flag - xapi-guard: separate base types to its own module - doc: Add some information about xapi-guard - CA-388625: fix build of the Xen-API Java SDK - build: add sdk-build-java Makefile target - Make clear which drivers list we are getting * Wed Jan 31 2024 Andrew Cooper <andrew.cooper3@citrix.com> - 24.4.0-2 - Rebuild against Xen 4.17 * Tue Jan 30 2024 Rob Hoes <rob.hoes@citrix.com> - 24.4.0-1 - CA-388180 Correcting Domain CPU Usage Values - CP-46200 CP-45741 pass -std-vga to QEMU in the case of compute GPU - Added unit in the description of PIF_metrics.speed and bumped last_known_schema_hash. - xapi.conf: fix setting name for custom UEFI certs - CA-388318: usb_reset.py: fixed byte issue * Thu Jan 25 2024 Rob Hoes <rob.hoes@citrix.com> - 24.3.0-1 - xenopsd: avoid log message about vmdesc - CA-387456 serialise Pool.eject - fix(test): kill child process on test failure too - fix(test): use SO_REUSEADDR to rebind port when run in a loop - test: reduce sleep time - CA-387588: test(forkexecd): fix off by one in test resulting in MSG_CTRUNC - build: set a timeout for the tests - CP-46264 deprecate host.bios_strings[hp-rombios] entry - Refine the description and units of 'running_vcpus' and 'running_domains' - Update datamodel_lifecycle - Update API doc for cluster_host - CA-387560 add support for more systemd execution types - fixup! CA-387560 add support for more systemd execution types - fix(ci): remove 1024 fd limit for now - [maintenance]: enable generate_opam_files in dune-project - CA-386920 destroy VTPM at the end of a migration directly (#5379) - CA-387560 swtpm-wrapper: create PID file after socket - CP-45970 remove qemu_trad_image.py - CP-47043: Port usb_reset.py to python3 - Add API fields for quorum info from clusterd - CP-46323: Expose quorum and cluster membership through the API - CP-46374: Add a minimal observer.py - CA-387698: datamodel: eliminate next_release - Revert "Add mutex for concurrent processing of messages" - CA-388064: Revert "Protocol_{lwt,async}: process requests concurrently" - Only start cluster watcher if cluster_health feature enabled * Tue Jan 16 2024 Rob Hoes <rob.hoes@citrix.com> - 24.2.1-1 - Revert "update mail-alarm and usb_scan to python3" - CP-46238: Conditionally apply patch on xen-upstream only * Tue Jan 16 2024 Rob Hoes <rob.hoes@citrix.com> - 24.2.0-1 - CP-45979 update link-vms-by-sr.py to python3 - Fixed markdown links (brackets=>parentheses). - update mail-alarm and usb_scan to python3 - Allow passing extra headers into the HTTP calls (useful for CP-33676). Renamed a couple of local parameters. - format with black - refactory doexec with xcp.cmd - CP-46122: Support PAX/POSIX tar on import - CP-47075 Toolstack: Dumping VM RRDD Data to an Accessible JSON File for Regular User - CP-45985: Update hfx_filename from python2 to python3 - CP-45985: Update perfmon to python3 - CP-45985: Update static-vdis to python3 - CP-45985: Update xe-scsi-dev-map to python3 - CP-45985: Remove unnecessary "list()" in loop - CP-45985: Add some unit tests for perfmon/static-vdis - CA-382035: Verify commandline items for service process in "pid" - CA-387699: Fix Protocol_async.with_lock bug spotted by Vincent * Wed Jan 10 2024 Rob Hoes <rob.hoes@citrix.com> - 24.1.0-1 - CP-46804: Add function to get master's external certificate thumbprint - CP-46806: Add master's cert thumbprint to header when host_is_slave - fix(NUMA): 'default' is a keyword in some SDK languages - build: add command to check that the C# SDK compiles - build: add SDK sanity test to CI * Wed Jan 10 2024 Rob Hoes <rob.hoes@citrix.com> - 24.0.0-1 - CP-45974: Porting examples to python3 - update print-custom-templates to python3 - CA-386865: External auth plugin logs are not saved - CA-386866: Invalid cross-device link during extauth configure update - CA-385278: Add interface for flush spans and exit the export thread - CP-45981: Update xenopsd from python2 to python3 - CP-46379: Set correct traceparent for `storage_smapiv1*.ml` functions - ci(main): add a make install smoketest - CP-46378: Propagate `dbg` to `Sm_exec.exec_xmlrpc` - Rename 'override_uefi_certs' with 'allow_custom_uefi_certs' - Introduce new methods for custom uefi certs - Do not break symlink when no custom certificates are set - Do not fail when fullpath is given to extract certificates - Check for used UEFI certificates when updating vm platform - Always set pool.uefi_certificates - CP-46917 wait for DEMU "running" before unpausing - CP-46917 improve error handling - CP-47046 optimise rule emitter for xenopsd PVS Proxy setup - Protocol_{lwt,async}: process requests concurrently - Add mutex for concurrent processing of messages - CP-46379: Propagate `dbg` to `sr_*` functions in `sm.ml` - CP-44533 Add running vCPU and running domain of host into rrdd - CA-384537 simplify reporting internal error (1/2) - CA-384537 simplify reporting internal error (2/2) - CA-384537 support NBD for CD device - CP-46149: Execute observer db_fn before the forwarders. - CP-46149: Add W3CBaggage module - CP-46149: Create Dom0ObserverConfig and SMObserverConfig - CP-46149: Use EnvRecord to format the env variables - Avoid using a hardcoded value for Tracing Bugtool - CA-385065 VM import with VTPM, don't block on power state - OIL: introduce internal_error(fmt) for error reporting - CP-44174: Add cpu_usage and memory_internal_free alarms for dom0 VM - CA-386457: fix environment variable loading of `$PERFMON_FLAGS` in perfmon.service - CP-46379: `Sm.vdi_generate_config` missing `dbg` - CP-46378: Propagate `traceparent` from `Sm.register` - CP-47153 add task list to bugtool - CP-38020: always initialize NUMA information on startup - CP-38020: drop numa-placement-strict - CP-38020: add HOST.set_numa_affinity_policy - CP-38020: introduce Host.numa_affinity_policy - CP-38020: add CLI interface for NUMA policy host field - doc(NUMA): move large comment to separate Hugo doc and update design - doc(NUMA): Dom0 and IONUMA are out of scope * Tue Dec 19 2023 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 23.32.0-1 - CP-46677: Decrease the cardinality of "Export of VM" span name. - CP-46677: Remove repeated code when creating a new span. - CP-46677: Improve function performance - Add VM migration walkthrough - Remove unused code for getting dom0 memory - CP-46379: Pass unchaged dbg to underlying function. - CA-384457: Add special case for End_of_file to sparse_dd_wrapper - Move squeezed docs from xapi-project.github.io - Moving Event handling docs from xapi-project.github.io - Add CLI architecture doc - Add storage docs - Add xcp-rrdd docs - Add redo-log doc - Update generated cluster test_data - Update doc on how to update generated test data - CP-44531 Toolstack: Add Dom0 CPU usage, total and free memory into rrdd - CP-46085: Add quorum info to `xcli diagnostics dbg` - CP-46379: Refactor 'with_dbg' to handle exceptions. - CP-46379: Instrument 'storage_smapiv1.ml' to create spans. - CA-386552 XSI-1534 Failed to disable pool HA after missing HA statefile - Make sure observer exporter is only created once - CA-386582: Always create exporting thread for observers - CA-386676: Start clusterd observer when it is already enabled - CP-46140 PVS IPv6 accept both IPv4, IPv6 for PVS Server - CP-46140 add pvs-setup, replacing setup-pvs-proxy-rules - CP-46379: Propagate 'traceparent' to 'Sm.*' functions - Add an overview of how XAPI handles a migration request - maintenance: reformat using ocamlformat 0.26.1 - maintenance: ignore latest reformat commit in git blames * Mon Dec 04 2023 Rob Hoes <rob.hoes@citrix.com> - 23.31.0-1 - maintenance: update opam metadata from xs-opam - CP-45847: Allow any value of trace flag for traceparent - CA-384936 attach static VDIs for redo-log (#5235) - CP-43578: Raise Error in tracing export when HTTP error occurs (#5230) - CA-385080: Finish trace locally for forwarded tasks - Add space between header name and value (#5238) - CP-45921: Make yum commands nonessential - CA-378591: Clear span tables when all observers are disabled - CP-46004: Finish eventgen span to remove spans table clutter - Add span table lengths to export span to help catch future issues. - Add tracing for xe calls in the CLI server - Update datamodel lifecycle - CP-45978 update /etc/xapi.d/plugins/power-on-host - CP-45978 update /etc/xapi.d/plugins/disk-space - CA-365486: repository-domain-name-allowlist could accept a full hostname - using xcp.cmd instead of popen - CA-384537 add logging to quemu_media_change - CA-384537 simplify qemu_media_change - CP-46168: Some py2->py3 update for xapi startup - Update DRAC.py for replacing subprocess.popen - CP-45981: Update xenopsd from python2 to python3 - Revert "CA-379472 increase startup timeout for block_device_io" - CA-384148 enable logging for redo_log_alert - CA-384148 remove lock in Redo_log.startup - CA-385315: document the certificates' fingerprints hash algorithm - formatting with black - using the shared lib xcp.cmd instead of subprocess.popen - CP-45977: Update scripts/extensions from python2 to python3 - CP-42559: Add RBAC info to C# SDK XML docs - CP-42559: Add RBAC info to Java SDK docs - CP-42559: Add RBAC info to C SDK docs - CP-42559: Hide internal roles from SDK docs - Remove special handling for `get_all_records` messages in C# SDK - xe pif-list: include host-uuid (#5263) - xe pif-list: fix displaying of MAC - CP-45978 update /etc/xapi.d/plugins to python3 for xs9 - format with black - ci: create final releases - ci: Simplify release workflow - ci: set up configure appropriately on release - ci: Avoid unnecessary workaround - Advanced changes for python3 syntax: - Improves Code Readability - Change type of observer components to use variant - Enhance debug message in tracing module - Expose `flush_spans` from tracing.ml - Refactor typeCombinator as a single module - Add xapi-clusterd as an observer component - CP-45469: Distributed tracing for xapi-clusterd - Add xenopsd docs from old site - Add live-migration diagram for xenopsd - Remove old xenopsd docs from ocaml/xenopsd/doc - Adjust quality gate for List.hd from 320 to 318 - Simplify scanning /sys/block/<dev>/ stats for iostat - CA-365059: Clear source pool messages after migrating VM - Revert "CP-45981: Update xenopsd from python2 to python3"