HA Bundles need to store properties on per-host basis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Michele Baldessari |
Bug Description
Traditionally resource agents need to store information in the Cluster Information Base. Information like 'what was the last node where a service stopped' (i.e. which node has the latest freshest data).
Typically resource agents store this info in node properties by leveraging the OCF function called ocf_local_nodename.
This function currently will return the bundle name. The problem is that the bundle might be running on any node and the freshest data is host-based not bundle-based.
So we need to introduce a number of changes so that we actually are able to reference the host when we record attributes in the resource agents.
We will fix this in three steps:
1) We will set the meta attribute container-
2) We will add a common function in the ocf scripts to help us discern host vs bundle programmatically. Code is here: https:/
3) We will tweak the resource agents to use this newly introduced function
Changed in tripleo: | |
milestone: | pike-rc1 → pike-rc2 |
Changed in tripleo: | |
milestone: | pike-rc2 → queens-1 |
Changed in tripleo: | |
status: | Triaged → In Progress |
https:/ /review. openstack. org/#/c/ 497766/