mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4850
[UCS] using template instead of cloning profile
This commit is contained in:
parent
8edaf63c4e
commit
eb8c0a7e17
|
|
@ -370,7 +370,7 @@ public class UcsManagerImpl implements UcsManager {
|
|||
throw new CloudRuntimeException(String.format("cannot associated a profile to blade[dn:%s]. please check your UCS manasger for detailed error information", dn));
|
||||
}
|
||||
|
||||
return xo.get("outConfig.lsServer.assocState").equals("associated");
|
||||
return xo.get("outConfig.computeBlade.association").equals("associated");
|
||||
//return !xo.get("outConfig.computeBlade.assignedToDn").equals("");
|
||||
}
|
||||
|
||||
|
|
@ -618,6 +618,7 @@ public class UcsManagerImpl implements UcsManager {
|
|||
}
|
||||
|
||||
@Override
|
||||
@DB
|
||||
public ListResponse<UcsBladeResponse> refreshBlades(Long mgrId) {
|
||||
SyncBladesThread synct = new SyncBladesThread();
|
||||
synct.run();
|
||||
|
|
|
|||
Loading…
Reference in New Issue