autoprovision on domain with already existing gateways
Trying to enable autoprovision on one domain, but this domain is having already some gateways in it. I've configured it and all is failing on API calls like this:
File "/opt/CPsuite-R80.20/fw1/scripts/autoprovision/monitor.py", line 1888, in __call__
2019-05-24 07:27:14,130 MONITOR INFO raise Exception('failed API call: %s%s' % (command, msg))
2019-05-24 07:27:14,131 MONITOR INFO Exception: failed API call: show-simple-gateway: Requested object [xxx] not found
I didn't found any documentation, that this cannot be done..also waiting on TAC response..
@Javier_Hijas any insight on this?
There could be two problems that may be resulting in this failure.
1. Rest API is not running properly on the MDS. If you can api status ensure there are no errors.
2. The MGMT API may be trying to make a call to the CPM database. If there are any failures this error could result in this failure.
Recommendations moving forward:
- Reboot the MDS. This will clear out all possible API connections and may also resolve the CPM issue if any.
- After reboot the issue continues capture and review the following debugs files.
$MDS_FWDIR/scripts/cpm_debug.sh -t crud -s debug
Replicate the issue
$MDS_FWDIR/scripts/cpm_debug.sh -t crud -s info
Also highly recommend to ensure you are always at the latest autoprov-cfg version.
Dan Morris, Technology Leader, Ottawa Technical Assistance Center