Open wdwill2wdwill2 opened 6 years ago
If i change the force parameter to True, it updates the cluster config as expected.
Still like to understand why the "Check" doesn't see differences.
So here is the updated playbook.
Thanks Bill
Bill - I looked at the check code and am not happy with it. It is too messy and may not be accurate. I have not been able to re-create it right now to fix it. There are a few other changes I want to merge into master before I start fixing it.
Please use the force flag - which skips the check logic for now.
I'm planning to upgrade from 9.0.2.1 to 9.0.4.0. The readme for the firmware talks about unconfiguring the masters before applying the firmware.
I have a primary, secondary, tertiary defined to the cluster.
I am trying to remove just the tertiary, so i created the following playbook:
Build out entire environment
When i run this playbook it does not remove the tertiary from the cluster configuration. It says "JSON provided is already contained in the current appliance configuration". if i look at the output, current config has the tertiary information, but the "to Apply" does not.
Any thoughts?
Based on what i am trying to do should I be using the POST or PUT method for updating the cluster configuration. I did try updating the configuration.py with the PUT method, but since the compare/check thinks there is no changes, it produces the same results.
Let me know if you need anymore information.
Thanks Bill