jeanvetorello opened a new pull request, #11690:
URL: https://github.com/apache/cloudstack/pull/11690

   Description
   
   When using Ceph RBD as primary storage on KVM, the agent currently tries to 
run:
   
   mountpoint -q /mnt/<uuid>
   
   
   This fails because RBD pools are not mounted like NFS or other network 
filesystems.
   As a result, snapshot and template operations fail with errors such as:
   
   libvirt failed to mount storage pool <uuid> at /mnt/<uuid>
   
   
   This patch updates LibvirtStorageAdaptor to skip the mountpoint check when 
the storage pool type is RBD.
   It prevents false errors while keeping the logic unchanged for NFS/NetFS 
pools.
   
   Types of changes
   
    Bug fix (non-breaking change which fixes an issue)
   
   Bug Severity
   
    Major (affects snapshot/template functionality on Ceph RBD)
   
   How Has This Been Tested?
   
   CloudStack 4.21.0.0 + Ceph RBD backend (client.cloudstack user)
   
   Created multiple VM snapshots → successfully registered in Ceph
   
   Created templates from snapshots → completed without mountpoint errors
   
   Verified no regressions on other pool types (NFS untouched)
   
   Checked agent.log: no further mountpoint failures for RBD pools
   
   Related issues
   
   N/A (first-time fix)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to