Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Martin_Valenta
Advisor

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?

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

Does the gateway showing in the error message actually exist?
0 Kudos
Martin_Valenta
Advisor

Yes, this gateway is normal gateway object.

0 Kudos
Dan_Morris
Employee
Employee

Hi Martin,

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
$MDS_FWDIR/scripts/cpm_debug.sh -r

Also highly recommend to ensure you are always at the latest autoprov-cfg version.

Thank you,
Dan Morris, Technology Leader, Ottawa Technical Assistance Center
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.