[
https://issues.apache.org/jira/browse/CLOUDSTACK-8813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743021#comment-14743021
]
ASF GitHub Bot commented on CLOUDSTACK-8813:
--------------------------------------------
GitHub user mike-tutkowski opened a pull request:
https://github.com/apache/cloudstack/pull/816
Notify listeners when a host has been added to a cluster, is about to…
… be removed from a cluster, or has been removed from a cluster
This PR addresses the following JIRA ticket:
https://issues.apache.org/jira/browse/CLOUDSTACK-8813
The problem is that there needs to be notifications sent when a host is
added to, about to be removed from, and removed from a cluster.
Such notifications can be used for many purposes. For example, it can allow
storage plug-ins to update ACLs on their storage systems. Also, it can allow us
to clean up IQNs from ESXi hosts that are no longer needed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mike-tutkowski/cloudstack addremovehosts2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/816.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #816
----
commit 088eb45fcd1618624b72af3c3eba0b19acb77aac
Author: Mike Tutkowski <[email protected]>
Date: 2015-08-14T00:44:12Z
Notify listeners when a host has been added to a cluster, is about to be
removed from a cluster, or has been removed from a cluster
----
> No notification is sent when a node is added to or removed from a cluster
> -------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8813
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8813
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.6.0
> Environment: All supported
> Reporter: Mike Tutkowski
> Assignee: Mike Tutkowski
> Fix For: 4.6.0
>
>
> This has probably always been an issue in CloudStack, but only recently have
> I been getting requests to implement this. Also, it has only been noticeable
> since storage plug-in support was added to CloudStack in 4.2.
> If you have a custom storage plug-in that makes use of access control lists,
> your plug-in needs to be notified when a host is added to or removed from a
> cluster (so that you can update your ACL).
> Also, these kinds of events are your opportunity to tell the newly added (or
> removed) host to update its knowledge of, say, IQNs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)