Multiple instances created in provisioning script
Zaid Abdulla
zaid at genieacs.com
Thu Mar 9 18:18:15 EST 2017
On Thu, 2017-03-09 at 14:11 -0900, Dan Morphis wrote:
> 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.WANP
> PPConnection.*", 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.WANPPPConnect
> ionNumberOfEntries 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"
> ...
Can you replicate this using the simulator? Also, are you using a fresh
database or migrating from v1.0 database?
--
Zaid Abdulla <zaid at genieacs.com>
More information about the Users
mailing list