Retrigger a module configuration¶
Important
The cloud operator takes all risks and responsibility for module execution on cluster machines. For any questions, contact Mirantis support.
There is no API to reexecute the same successfully applied module configuration
upon user request. Once executed, the same configuration will never be executed
prior to either of the following actions is taken on the hoc
object:
Change the module-related
values
of theconfigs
field listChange the data of the
Secret
object referenced by the module-relatedsecretValues
of theconfigs
field list
To retrigger exactly the same configuration for a module, select one of the following options:
Reapply
machineSelector
:Save the current selector value.
Update the selector to match no machines (empty value) or those machines where configuration should not be reapplied.
Update the selector to the previously saved value.
Re-create the
hoc
object:Dump the whole
hoc
object.Remove the
hoc
object.Reapply the
hoc
object from the dump.
Caution
The above steps retrigger all configuration from the configs
field of the hoc
object. To avoid such behavior, Mirantis recommends
the following procedure:
Copy a particular module configuration to a new
hoc
object and remove the previousmachineSelector
field.Remove this configuration from the original
hoc
object.Add the required values to the
machineSelector
field in the new object.