Skip to content

Commit eb8c0a7

Browse files
author
Frank.Zhang
committed
CLOUDSTACK-4850
[UCS] using template instead of cloning profile
1 parent 8edaf63 commit eb8c0a7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎plugins/hypervisors/ucs/src/com/cloud/ucs/manager/UcsManagerImpl.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ private boolean isBladeAssociated(Long ucsMgrId, String dn) {
370370
throw new CloudRuntimeException(String.format("cannot associated a profile to blade[dn:%s]. please check your UCS manasger for detailed error information", dn));
371371
}
372372

373-
return xo.get("outConfig.lsServer.assocState").equals("associated");
373+
return xo.get("outConfig.computeBlade.association").equals("associated");
374374
//return !xo.get("outConfig.computeBlade.assignedToDn").equals("");
375375
}
376376

@@ -618,6 +618,7 @@ public void deleteUcsManager(Long id) {
618618
}
619619

620620
@Override
621+
@DB
621622
public ListResponse<UcsBladeResponse> refreshBlades(Long mgrId) {
622623
SyncBladesThread synct = new SyncBladesThread();
623624
synct.run();

0 commit comments

Comments
 (0)