Hi guys,
In template i have master_lb_disabled and i want to overwrite this option using:
ยป openstack coe cluster create cluster002 --cluster-template b7e0be01-bf3b-4c32-af60-98b9edefa0be --keypair ioni --master-count 2 --node-count 2 --master-lb-enabled
master_count must be 1 when master_lb_enabled is False (HTTP 400) (Request-ID: req-608b8634-d98e-4efd-b0e4-543ebc9eb315
Looking at the code
It seems that the validator doesn't take in consideration the new cluster dictionary.
I've modified the validator with:
cluster.get('master_lb_enabled', cluster_template['master_lb_enabled']):
and it seems to work fine
Not sure if it is the right fix.
--