sureshanaparti commented on a change in pull request #5955:
URL: https://github.com/apache/cloudstack/pull/5955#discussion_r800587449



##########
File path: 
plugins/storage/volume/solidfire/src/main/java/org/apache/cloudstack/storage/datastore/provider/SolidFireSharedHostListener.java
##########
@@ -67,13 +67,18 @@ public boolean hostAdded(long hostId) {
         HostVO host = hostDao.findById(hostId);
 
         if (host == null) {
-            LOGGER.error("Failed to add host by SolidFireSharedHostListener as 
host was not found with id = " + hostId);
+            LOGGER.error(String.format("Failed to add host by 
SolidFireSharedHostListener as host was not found with id = %s ", hostId));
 
             return false;
         }
 
+        if (host.getClusterId() == null) {
+            LOGGER.error("Failed to add host by SolidFireHostListener as host 
has no associated cluster id");

Review comment:
       ```suggestion
               LOGGER.error("Failed to add host by SolidFireSharedHostListener 
as host has no associated cluster id");
   ```




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to