Hi all,
We want to test if a cluster bundle on cluster manager needs to restart the cluster peers using the REST API.
In the first step we run a POST against:
https://CLM:8089/services/cluster/manager/control/default/validate_bundle?output_mode=json
and check for json.entry[0].content.checksum to get the checksum of the new bundle. If there is no checksum, there is no new bundle.
Second we check the checksum against GET:
https://CLM:8089/services/cluster/manager/info?output_mode=json
json.entry[0].content.last_validated_bundle.checksum
json.entry[0].content.last_dry_run_bundle.checksum
to verify if the bundle check and test of the restart is completed and consider
json.entry[0].content.last_check_restart_bundle_result
if the restart is nessary or not. Unfurtunatly we see that the value of json.entry[0].content.last_check_restart_bundle_result changes, even if last_dry_run_bundle.checksum and last_dry_run_bundle.checksum are set to the correct values.
to make a long story short we see that the red value is changing, while green is not changing. which is unexprected for us.