Comments (9)
@hunner: is this still relevant? I'm trying to use the cs_shadow on a CentOS 6.4 box, and after fixing the mess caused by the SuSE crmsh package (see https://savannah.nongnu.org/bugs/?39013#comment0) I can easily list all shadow CIBs on the system with a simple crm cib list
call.
To remove the lingering of the CIB on the system, it should be quite easy to delete the CIB once it has been committed in the cs_commit
sync function, right?
//edit, just thinking about it, currently the instances
function of cs_shadow
always returns an empty array. This causes the resource to be created every Puppet run, even when no Pacemaker changes are needed at all, which is quite silly. By leaving the shadow CIB on the system and implementing the instances function using crm cib list
you could avoid this. Not sure if the remaining data in the shadow CIB could cause an issue when the cluster is out of sync with the shadow file and Puppet makes a change, maybe you'd need a way to reset the shadow CIB on changes first.
from puppet-corosync.
Not sure if the remaining data in the shadow CIB could cause an issue when the cluster is out of sync with the shadow file and Puppet makes a change, maybe you'd need a way to reset the shadow CIB on changes first.
That will definitely cause a problem. When the shadow CIB is created, it is initially a mirror of the live CIB. If they get out of sync, then the shadow is committed, it will have the effect of reverting the live CIB to the state it was in when the shadow was created, plus whatever changes were made to the shadow. Probably not what's desired.
Currently this is avoided because cs_shadow deletes, then recreates, the shadow CIB on each run.
from puppet-corosync.
@bitglue: indeed, that's also what I experienced. I've made some code changes to properly use the shadow file and only when needed, even got rid of cs_commit altogether. Stay tuned for a commit & PR!
from puppet-corosync.
Is this still an issue?
from puppet-corosync.
Yes and a fix is coming
from puppet-corosync.
Can you link to the relevant PR?
from puppet-corosync.
from puppet-corosync.
@roidelapluie what's the current pr for this particular issue?
from puppet-corosync.
Fixed in #209
from puppet-corosync.
Related Issues (20)
- ACL support missing HOT 1
- fails to create order with pacemaker 2.0.1 (Debian 10) HOT 1
- Catalog compilation should not fail when set_votequorum=true and cluster_name is set (but quorum_members and multicast_address are not)
- Allow puppet uri for authkey
- cs_order fails with pcs provider because of score parameter HOT 2
- Next tag after v6.0.1 ?? HOT 4
- Make hacluster/user group creation optional on qdevice
- Configuring unicast mode is confusing HOT 1
- When Managing PCS Auth, pcs_cluster_auth Executes Every Puppet Run HOT 1
- Information on udpu seems not totally clear and doc is missing any mention of Knet
- test_corosync_config fails for pacemaker 3.x HOT 3
- How to refresh/restart/reload a resource? HOT 1
- Does this module support VirtualDomains/libvirt? HOT 1
- `version_corosync` et al have been renamed to `ensure_corosync`
- The `promotable` and `ms_metadata` attributes have been removed from `ms_metadata`. HOT 1
- Add support for EL8 HOT 3
- `cs_rsc_defaults` not committed from shadow cib to live cib
- Unit tests don't run HOT 3
- Warning: Found multiple default providers for cs_primitive: crm, pcs; using crm HOT 1
- Support stdlib version 9 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-corosync.