Fresh db. I haven't tried the simulator. But its very repeatable. I'll look at the sim here in a few mins.
Another question, how do I prevent a provision from being executed multiple times? I created a provision to exec on 1 BOOT, and it executed 4 times very quickly before being stopped by the endless_cycle check. Channel: Provision Weight; 0 Schedule: (blank) Events: 1 BOOT Precondition: Tag = 'Managed', Tag != 'Provisioned', Model = 'SR515ac' Under config, I have one provision. http://imgur.com/Xsr3qcl Log is at http://pastebin.com/9zxc0BwQ On Thu, Mar 9, 2017 at 2:18 PM, Zaid Abdulla <[email protected]> wrote: > 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 <[email protected]> > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
