Multiple instances created in provisioning script

Dan Morphis dan at milkcarton.com
Thu Mar 9 18:11:15 EST 2017


I'm trying to ensure a WANPPPConnection instance exists. Per the docs I
should be able to use this:
log('Creating WANPPPInstance (if necessary)');
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*",
null, {path: 1});

However, when I have that in my script, dozens of instances get created,
and then the script faults with:
Channel has faulted; channel="Provision" retries=0
faultCode="endless_cycle" faultMessage="The provision seems to be repeating
indefinitely"

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnectionNumberOfEntries
 61

Those 60 instances (1 pre-existing) were created before I could kill the
cwmp process :)
Here is a snippet from the log:

2017-03-09T22:56:17.484Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Creating
WANPPPInstance (if necessary)
2017-03-09T22:56:17.497Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ab5497fed100" acsRequestName="AddObject"
2017-03-09T22:56:17.583Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ab5497fed101" acsRequestName="GetParameterNames"
2017-03-09T22:56:17.666Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ab5497fed102" acsRequestName="AddObject"
2017-03-09T22:56:17.757Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ab5497fed103" acsRequestName="GetParameterNames"
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170309/3f37123e/attachment.html>


More information about the Users mailing list