slavkap commented on issue #6455:
URL: https://github.com/apache/cloudstack/issues/6455#issuecomment-1156079778

   @rohityadavcloud, I checked the code, and the method `getStorageAdaptor` is 
used in almost every case. Before StorPool, if you use SharedMountPoint, it's 
not added to `_storageMapper` because there isn't a specific adaptor for it, 
and it uses the libvirt storage adapter. It should get in here:
   ```
           StorageAdaptor adaptor = _storageMapper.get(type.toString());
           if (adaptor == null) {
               // LibvirtStorageAdaptor is selected by default
               adaptor = _storageMapper.get("libvirt");
           }
   ```
   I'm working to change our storage pool type to StorPool in a way that will 
not affect current clients. But I think the best solution is to rewrite the 
`getStorageAdaptor` in cases where different adaptors use `SharedMountPoint`.


-- 
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