You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improvement request: scale vm with new service offering, despite of storage tags #5512
@weizhouapache, it will be great if this limitation is removed. There is the same case when we migrate a volume to a different storage pool, which I guess according to the comments is needed only for VMware
// OfflineVmwareMigration: check storage tags on disk(offering)s in comparison to destination storage pool
// OfflineVmwareMigration: if no match return a proper error now
DiskOfferingVO diskOffering = _diskOfferingDao.findById(vol.getDiskOfferingId());
if (diskOffering == null) {
throw new CloudRuntimeException("volume '" + vol.getUuid() + "', has no diskoffering. Migration target cannot be checked.");
}
if (!doesTargetStorageSupportDiskOffering(destPool, diskOffering)) {
throw new CloudRuntimeException(String.format("Migration target pool [%s, tags:%s] has no matching tags for volume [%s, uuid:%s, tags:%s]", destPool.getName(),
getStoragePoolTags(destPool), vol.getName(), vol.getUuid(), diskOffering.getTags()));
}
Activity
slavkap commentedon Nov 3, 2021
@weizhouapache, it will be great if this limitation is removed. There is the same case when we migrate a volume to a different storage pool, which I guess according to the comments is needed only for VMware
sureshanaparti commentedon Dec 16, 2021
@weizhouapache @slavkap I think, this can be addressed properly after decoupling the service and disk offerings (done in the PR: #5008).
nvazquez commentedon Feb 4, 2022
@sureshanaparti @slavkap can this limitation be removed now? I see the PR mentioned is already merged
sureshanaparti commentedon Feb 4, 2022
@nvazquez I think so, we have to check / confirm the current behavior in main as the service and disk offerings are decoupled. cc @harikrishna-patnala
slavkap commentedon Feb 4, 2022
@nvazquez, I didn't have the chance to test it, but I will do it and let you know