cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mike-tutkowski <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Notify listeners when a host has been add...
Date Mon, 09 May 2016 18:13:20 GMT
Github user mike-tutkowski commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/816#discussion_r62545797
  
    --- Diff: engine/api/src/org/apache/cloudstack/engine/subsystem/api/storage/HypervisorHostListener.java
---
    @@ -21,7 +21,13 @@
     import com.cloud.exception.StorageConflictException;
     
     public interface HypervisorHostListener {
    +    boolean hostAdded(long hostId);
    +
         boolean hostConnect(long hostId, long poolId) throws StorageConflictException;
     
         boolean hostDisconnected(long hostId, long poolId);
    +
    +    boolean hostAboutToBeRemoved(long hostId);
    --- End diff --
    
    This event was added specifically to address hypervisors like VMware that need to be told
to remove iSCSI targets.
    
    Those kind of hypervisor hosts need to be notified to do this before the host is removed
because CloudStack can no longer talk to those hosts once they're in the Removed state.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message