mirror of https://github.com/apache/cloudstack.git
rbd: Make secret usage names unique for all pools
Since only the cephx user like 'admin' was passed we couldn't define two RBD storage pools using the cephx user admin, even if they were running on different Ceph clusters. By adding the monitor hostname and poolname to the secret's usage (which we don't even use) it becomes unique.
This commit is contained in:
parent
c235073042
commit
f4a2298ca9
|
|
@ -212,7 +212,7 @@ public class LibvirtStorageAdaptor implements StorageAdaptor {
|
|||
|
||||
Secret s = null;
|
||||
|
||||
sd.setCephName(userInfoTemp[0]);
|
||||
sd.setCephName(userInfoTemp[0] + "@" + host + ":" + port + "/" + path);
|
||||
|
||||
try {
|
||||
s_logger.debug(sd.toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue