andrijapanicsb commented on code in PR #9207:
URL: https://github.com/apache/cloudstack/pull/9207#discussion_r1637950918


##########
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
##########
@@ -2279,15 +2280,15 @@ protected StartAnswer execute(StartCommand cmd) {
                 // attach ISO (for patching of system VM)
                 Pair<String, Long> secStoreUrlAndId = 
mgr.getSecondaryStorageStoreUrlAndId(Long.parseLong(_dcId));
                 String secStoreUrl = secStoreUrlAndId.first();
-                Long secStoreId = secStoreUrlAndId.second();
                 if (secStoreUrl == null) {
-                    String msg = "secondary storage for dc " + _dcId + " is 
not ready yet?";
+                    String msg = String.format("NFS secondary or cache storage 
of dc %s either doesn't have enough capacity (less than %d usage) or not ready 
yet, or non-NFS secondary storage is used",

Review Comment:
   Not sure if this makes sense, but just to be slighlty more clear.



-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to