Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apache/cloudstack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: apache/cloudstack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.22
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 32 files changed
  • 8 contributors

Commits on Nov 10, 2026

  1. SSVM: entity download URL creation: ensure userdata base dir exists (#…

    …14447)
    
    Co-authored-by: waterWang <waterWang@users.noreply.github.com>
    DaanHoogland and waterWang authored Nov 10, 2026
    Configuration menu
    Copy the full SHA
    b56bbc2 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2026

  1. Recalculate the allocated size in bytes for each Object Storage provi…

    …der (#14678)
    
    Fixes the deletion of S3 buckets
    bernardodemarco authored Nov 23, 2026
    Configuration menu
    Copy the full SHA
    16238b1 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2026

  1. kvm: refresh the RBD pool when resizing a volume libvirt has not cach…

    …ed (#14623)
    
    * kvm: refresh the RBD pool when resizing a volume libvirt has not cached
    
    LibvirtResizeVolumeCommandWrapper gets the disk with
    pool.getPhysicalDisk() and then looks the volume up through libvirt
    with storageVolLookupByPath() to resize it.
    
    Before #14188, getPhysicalDisk() went through
    LibvirtStorageAdaptor.getVolume(), which refreshes the libvirt pool when
    the volume is not found, so the volume was in libvirt's cache by the
    time the wrapper looked it up. #14188 made getPhysicalDisk() stat RBD
    images through librbd, so nothing refreshes the pool any more. RBD
    volumes are created through librbd, not libvirt, so a new volume is not
    in libvirt's cache on a host until something refreshes the pool there,
    and resizing it fails with:
    
      Storage volume not found: no storage vol with matching path
      '<pool>/<uuid>'
    
    When the lookup by path fails with VIR_ERR_NO_STORAGE_VOL on an RBD
    pool, refresh the pool and look the volume up once more. That is what
    getVolume() did for this path before #14188, and the refresh only
    happens when the volume is not cached. Other errors and other pool
    types are handled as before.
    
    Signed-off-by: Brad House <bhouse@nexthop.ai>
    
    * kvm: move the RBD volume lookup into LibvirtUtilitiesHelper
    
    Move the lookup by path that refreshes an RBD pool when the volume is
    not in libvirt's cache out of LibvirtResizeVolumeCommandWrapper and into
    LibvirtUtilitiesHelper.getStorageVolumeByPath(), and call it from the
    wrapper. The behaviour and the log messages are unchanged.
    
    The tests of the lookup itself move to LibvirtUtilitiesHelperTest.
    LibvirtComputingResourceTest keeps a resize of an RBD volume that is
    not in libvirt's cache, through the real helper, and adds a resize that
    fails when the lookup fails.
    
    Signed-off-by: Brad House <bhouse@nexthop.ai>
    
    * Smoke tests: resize the ROOT volume of a running VM too
    
    test_08_resize_volume and test_12_resize_volume_with_only_size_parameter
    only resized DATADISK volumes. Both now also grow the VM's ROOT volume
    by 1 GB while it runs and wait for the new size and the Ready state. The
    step runs on any primary storage type, so on Ceph RBD it covers the
    libvirt pool-cache miss this PR fixes. PowerFlex rounds sizes up to a
    multiple of 8 GB, which the expected size accounts for, as in test_12.
    
    Suggested by Wei Zhou.
    
    Signed-off-by: Brad House <bhouse@nexthop.ai>
    
    ---------
    
    Signed-off-by: Brad House <bhouse@nexthop.ai>
    bhouse-nexthop authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    759bb81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    878175f View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2026

  1. StorPool: reject Instance Snapshots with memory (#14788)

    DefaultVMSnapshotStrategy accepts the allocation because StorPool
    volumes are recorded as QCOW2, but StorPoolVMSnapshotStrategy then
    takes over the creation and makes a disk-only group snapshot that is
    saved as DiskAndMemory. Such a snapshot can only be reverted while the
    VM is running, and StorPool then reverts the volumes under the running
    VM, which corrupts its data.
    
    Reject memory snapshots for VMs with volumes on StorPool during
    allocation, do not handle allocated DiskAndMemory snapshots in the
    StorPool strategy, and block reverting existing DiskAndMemory snapshots
    on StorPool.
    slavkap authored Nov 25, 2026
    Configuration menu
    Copy the full SHA
    6489766 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2026

  1. systemvm: Bump systemvm template version to debian 12.15 (#14846)

    * systemvmtemplate: bump to Debian 12.15.0
    
    * systemvmtemplate: bump systemvm template version to 4.22.2.0
    
    * systemvmtemplate: give the build VMs 1024M RAM and 2 vCPUs
    weizhouapache authored Nov 27, 2026
    Configuration menu
    Copy the full SHA
    224a32b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24ac853 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e05055 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0d8a9b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2026

  1. Configuration menu
    Copy the full SHA
    e68e2a9 View commit details
    Browse the repository at this point in the history
  2. test: fix smoke test failures on xen/vmware (#14887)

    Backport of the applicable test changes of #13628:
    - add sleeps and retries in tests that are sensitive to timing on xen and vmware
    - retry the domain deletion in tearDown of test_deploy_vms_in_parallel
    - avoid failures caused by other tests in test_cluster_drs and test_host_maintenance
    - fix test_usage
    
    (cherry picked from commit 1b4f19e)
    weizhouapache authored Nov 28, 2026
    Configuration menu
    Copy the full SHA
    a8735b2 View commit details
    Browse the repository at this point in the history
Loading