[Hawkular-dev] Remove / rename servers from / in inventory

Heiko W.Rupp hrupp at redhat.com
Tue Sep 15 15:12:33 EDT 2015


On 15 Sep 2015, at 19:52, Jay Shaughnessy wrote:
> No.  I think data should just live on until some TTL perhaps kicks in.

That would work for metrics (out of the box).
What about other data like alert trigger definitions?
Or group memberships?

> I think this is a problem to ignore.  If the feed name/resource path
> changes then it's basically new resource.  I don't think

Do I understand you correctly that you say that a feed name
once set will be the same no matter where the (WF-)server
moves to? So that a resource under that feed would be the
same no matter where the feed is located.
For a WF-Server with the embedded agent, this is certainly
true. 

I may may be wrong here: in OpenShift3 / Kubernetes (K8s),
K8s may kill a container at any time and start it on a different
machine. If an application consist of e.g. 3 servers, having
one killed and restarted would imply to me that all the previous
"settings" would still apply to the freshly started instance no
matter where it is then located. In this case, we should probably
record the fact of the restart, but the resource would at least
logically (from my PoV) be the same one of 3 servers of that app.

(of course that last paragraph does not apply to explicit manual
uninventory).

I also recall from RHQ that we had a situation where a user was
deploying my-super-app-v1.war and later my-super-app-v2.war,
where both deployments are the same app and even with a different
name just two different versions of the same resource and not
different resources. Also in this case, the user wants all metrics,
trigger definitions etc. to survive the deployment of v2.


More information about the hawkular-dev mailing list