MAAS API retries and timeout for DNSHA are not customizable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack HA Cluster Charm |
New
|
Undecided
|
Unassigned |
Bug Description
There is a python script in hacluster charm, which invokes a MAAS API on the DNS endpoint change event from the Pacemaker:
charm-hacluster git:(master*) $ grep -RiP 'binfile='
files/ocf/
charm-hacluster git:(master*) $ grep -RiP 'add_argument' files/ocf/
parser.
parser.
parser.
parser.
parser.
parser.
parser.
parser.
parser.
charm-hacluster git:(master*) $ grep -RiP 'python3 \$binfile'
files/ocf/maas/dns: cmd="python3 $binfile --fqdn=
As we could see from the above output, this script has an option to adjust the timeout - however, a non-default parameter is never passed through to the CLI in "files/